@ornikar/kitt-universal 25.61.0 → 25.61.1-canary.fd9c5d849ba04bad15df41a3aa988880a8a5efbf.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.
Files changed (28) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/{index-node-20.10.cjs.js → index-node-22.17.0.cjs.js} +1 -1
  3. package/dist/index-node-22.17.0.cjs.js.map +1 -0
  4. package/dist/{index-node-20.10.cjs.web.js → index-node-22.17.0.cjs.web.js} +1 -1
  5. package/dist/index-node-22.17.0.cjs.web.js.map +1 -0
  6. package/dist/{index-node-20.10.es.mjs → index-node-22.17.0.es.mjs} +1 -1
  7. package/dist/index-node-22.17.0.es.mjs.map +1 -0
  8. package/dist/{index-node-20.10.es.web.mjs → index-node-22.17.0.es.web.mjs} +1 -1
  9. package/dist/index-node-22.17.0.es.web.mjs.map +1 -0
  10. package/dist/{linaria-themes-node-20.10.cjs.js → linaria-themes-node-22.17.0.cjs.js} +1 -1
  11. package/dist/linaria-themes-node-22.17.0.cjs.js.map +1 -0
  12. package/dist/{linaria-themes-node-20.10.cjs.web.js → linaria-themes-node-22.17.0.cjs.web.js} +1 -1
  13. package/dist/linaria-themes-node-22.17.0.cjs.web.js.map +1 -0
  14. package/dist/{linaria-themes-node-20.10.es.mjs → linaria-themes-node-22.17.0.es.mjs} +1 -1
  15. package/dist/linaria-themes-node-22.17.0.es.mjs.map +1 -0
  16. package/dist/{linaria-themes-node-20.10.es.web.mjs → linaria-themes-node-22.17.0.es.web.mjs} +1 -1
  17. package/dist/linaria-themes-node-22.17.0.es.web.mjs.map +1 -0
  18. package/package.json +16 -16
  19. package/dist/index-node-20.10.cjs.js.map +0 -1
  20. package/dist/index-node-20.10.cjs.web.js.map +0 -1
  21. package/dist/index-node-20.10.es.mjs.map +0 -1
  22. package/dist/index-node-20.10.es.web.mjs.map +0 -1
  23. package/dist/linaria-themes-node-20.10.cjs.js.map +0 -1
  24. package/dist/linaria-themes-node-20.10.cjs.web.js.map +0 -1
  25. package/dist/linaria-themes-node-20.10.es.mjs.map +0 -1
  26. package/dist/linaria-themes-node-20.10.es.web.mjs.map +0 -1
  27. /package/dist/{index-node-20.10.cjs.web.css → index-node-22.17.0.cjs.web.css} +0 -0
  28. /package/dist/{index-node-20.10.es.web.css → index-node-22.17.0.es.web.css} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-node-20.10.es.mjs","sources":["../src/native-base/primitives.ts","../src/utils/hexToRgba.ts","../src/themes/palettes/lateOceanColorPalette.ts","../src/themes/late-ocean/colors.ts","../src/themes/late-ocean/actionCard.ts","../src/themes/late-ocean/avatar.ts","../src/themes/late-ocean/spacing.ts","../src/themes/late-ocean/bottomSheet.ts","../src/themes/late-ocean/button.ts","../src/themes/late-ocean/buttonBadge.ts","../src/themes/late-ocean/card.ts","../src/themes/late-ocean/cardModal.ts","../src/themes/late-ocean/choices.ts","../src/themes/late-ocean/dialogModal.ts","../src/themes/late-ocean/feedback.ts","../src/themes/late-ocean/autocomplete.ts","../src/themes/late-ocean/checkbox.ts","../src/themes/late-ocean/datePicker.ts","../src/themes/late-ocean/input.ts","../src/themes/late-ocean/inputField.ts","../src/themes/late-ocean/inputTag.ts","../src/themes/late-ocean/radio.ts","../src/themes/late-ocean/radioButtonGroup.ts","../src/themes/late-ocean/textArea.ts","../src/themes/late-ocean/timePicker.ts","../src/themes/late-ocean/toggle.ts","../src/themes/late-ocean/forms.ts","../src/themes/late-ocean/fullscreenModal.ts","../src/themes/late-ocean/highlight.ts","../src/themes/late-ocean/icon.ts","../src/themes/late-ocean/iconButton.ts","../src/themes/late-ocean/listItem.ts","../src/themes/late-ocean/mapMarker.ts","../src/themes/late-ocean/pageLoader.ts","../src/themes/late-ocean/typography.ts","../src/themes/late-ocean/picker.ts","../src/themes/late-ocean/shadows.ts","../src/themes/late-ocean/skeleton.ts","../src/themes/late-ocean/tag.ts","../src/themes/late-ocean/tooltip.ts","../src/themes/late-ocean/verticalSteps.ts","../src/themes/default.ts","../src/KittThemeContext.tsx","../src/ActionCard/utils/getStateKey.ts","../src/ActionCard/utils/getThemeName.ts","../src/ActionCard/ActionCardContentWrapper.tsx","../src/ActionCard/ActionCardDisabled.tsx","../src/ActionCard/ActionCard.tsx","../src/native-base/layout.ts","../src/KittBreakpoints.ts","../src/native-base/CurrentBreakpointContext.tsx","../src/native-base/utils.ts","../src/utils/createResponsiveStyleFromProp/createResponsiveStyleFromProp.ts","../src/utils/warnings.ts","../src/Button/utils/getCurrentBackgroundColorForNativeBaseTheme.ts","../src/Button/AnimatedContainer.tsx","../src/typography/typographyColors.ts","../src/typography/utils/getNBThemeColorFromColorProps.ts","../src/typography/utils/getTypographyColorValue.ts","../src/typography/utils/getTypographyFamily.ts","../src/typography/Typography.tsx","../src/ButtonBadge/ButtonBadge.tsx","../src/Icon/Icon.tsx","../src/typography/TypographyIcon.tsx","../src/Button/utils/getButtonTextColorByType.ts","../src/Button/ButtonContent.tsx","../src/Button/ButtonPadding.tsx","../src/Button/DisabledBorder.tsx","../src/Button/FocusBorder.tsx","../src/Button/getVariantValuesIfExist.ts","../src/Button/hooks/useNativeAnimation.ts","../src/Button/utils/getButtonSize.ts","../src/Button/Button.tsx","../src/Icon/SpinningIcon.tsx","../src/LoaderIcon/LoaderIcon.tsx","../src/Actions/ActionsItem.tsx","../src/Actions/ActionsButton.tsx","../src/Actions/Actions.tsx","../src/Avatar/utils/getCurrentRadius.ts","../src/Avatar/utils/getCurrentSize.ts","../src/Avatar/utils/getIconSize.ts","../src/Avatar/utils/getInitials.ts","../src/Avatar/Avatar.tsx","../src/BottomSheet/BottomSheet.tsx","../src/BottomSheet/useBottomSheet.ts","../src/BottomSheet/useStaticBottomSheet.tsx","../src/ModalBehaviour/ModalBehaviourPortal.tsx","../src/ModalBehaviour/OnCloseContext.tsx","../src/ModalBehaviour/ModalBehaviour.tsx","../src/Overlay/Overlay.tsx","../src/CardModal/CardModalAnimation/CardModalRotationContainer.tsx","../src/CardModal/CardModalAnimation/NativeOpacityAnimation.tsx","../src/CardModal/CardModalAnimation/NativeRotationAnimation.tsx","../src/CardModal/CardModalAnimation/CardModalAnimation.tsx","../src/CardModal/CardModalBehaviour.tsx","../src/CardModal/CardModalBody.tsx","../src/CardModal/CardModalFooter.tsx","../src/CardModal/CardModalHeader.tsx","../src/CardModal/CardModal.tsx","../src/Choices/utils/getBackgroundColor.ts","../src/Choices/utils/getBorderRadius.ts","../src/Choices/AnimatedChoiceItemView.tsx","../src/Choices/hooks/useNativeAnimation.tsx","../src/Choices/utils/getCurrentTextColor.ts","../src/Choices/ChoiceItem.tsx","../src/Choices/ChoiceItemContainer.tsx","../src/Choices/Choices.tsx","../src/DialogModal/DialogModalAnimation/NativeOpacityAnimation.tsx","../src/DialogModal/DialogModalAnimation/NativeRotationAnimation.tsx","../src/DialogModal/DialogModalAnimation/DialogModalAnimation.tsx","../src/DialogModal/DialogModalBehaviour.tsx","../src/DialogModal/DialogModal.tsx","../src/Emoji/Emoji.tsx","../src/ExternalAppLink/ExternalAppLink.tsx","../src/ExternalLink/ExternalLinkOpenLinkBehavior.ts","../src/ExternalLink/hooks/useOpenExternalLink.tsx","../src/ExternalLink/ExternalLink.tsx","../src/forms/InputIcon/InputIcon.tsx","../src/forms/InputPressable/InputPressable.tsx","../src/forms/InputText/InputTextContainer.tsx","../src/forms/InputText/InputText.tsx","../src/forms/Autocomplete/AutocompleteItem.tsx","../src/forms/Autocomplete/AutocompleteItemsListContainer.tsx","../src/forms/Autocomplete/AutocompleteOption.tsx","../src/forms/Autocomplete/Autocomplete.tsx","../src/forms/Checkbox/checkbox-mark.inline.svg","../src/forms/Checkbox/utils/getBackgroundColor.ts","../src/forms/Checkbox/utils/getBorderColor.ts","../src/forms/Checkbox/Checkbox.tsx","../src/utils/getEnterKeyHintForNumericInput/getEnterKeyHintForNumericInput.ts","../src/forms/DatePicker/utils/dateFormatter.ts","../src/forms/DatePicker/utils/datePartInInterval.ts","../src/forms/DatePicker/reducers/keyboardDatePickerReducer.ts","../src/forms/DatePicker/utils/onDatePartChange.ts","../src/forms/DatePicker/utils/isNumber.ts","../src/forms/DatePicker/utils/stringToNumber.ts","../src/forms/DatePicker/components/InputPart.tsx","../src/forms/DatePicker/components/PartContainer.tsx","../src/forms/DatePicker/components/KeyboardDatePicker.tsx","../src/forms/DatePicker/components/PressableDateInputs.tsx","../src/forms/DatePicker/components/NativeUIDatePicker/DatePickerAndroid.tsx","../src/forms/DatePicker/components/NativeUIDatePicker/PlatformDateTimePicker.tsx","../src/forms/DatePicker/components/NativeUIDatePicker/ModalPlatformDateTimePicker.tsx","../src/forms/DatePicker/components/NativeUIDatePicker/DefaultNativeUIDatePicker.tsx","../src/forms/DatePicker/components/NativeUIDatePicker/NativeUIDatePicker.tsx","../src/forms/DatePicker/DatePicker.tsx","../src/forms/DocumentPicker/DocumentPicker.tsx","../src/forms/ImagePicker/ImagePicker.tsx","../src/ListItem/ListItemContent.tsx","../src/ListItem/ListItemSideContent.tsx","../src/ListItem/ListItem.tsx","../src/forms/FilePicker/BottomSheetActions/BottomSheetActionsItem.tsx","../src/forms/FilePicker/BottomSheetActions/BottomSheetActions.tsx","../src/forms/FilePicker/FilePicker.tsx","../src/GoogleMapsApiKeyProvider/GoogleMapsApiKeyProvider.tsx","../src/GoogleMapsApiKeyProvider/hooks/useGoogleMapApiKey.ts","../src/GoogleMapsAutocompleteProvider/constants/countryCodes.ts","../src/GoogleMapsAutocompleteProvider/constants/languages.ts","../src/GoogleMapsAutocompleteProvider/constants/types.ts","../src/GoogleMapsAutocompleteProvider/utils/makeMapsApiUrl.ts","../src/GoogleMapsAutocompleteProvider/hooks/useGoogleMapsApi.ts","../src/GoogleMapsAutocompleteProvider/reducer/googleMapsAutocompleteReducer.ts","../src/utils/functions.ts","../src/GoogleMapsAutocompleteProvider/utils/formatAddressFromGoogle.ts","../src/GoogleMapsAutocompleteProvider/GoogleMapsAutocompleteProvider.tsx","../src/GoogleMapsAutocompleteProvider/hooks/useGoogleMapsAutocomplete.ts","../src/forms/InputAddress/InputAddressOption.tsx","../src/forms/InputAddress/utils/defaultItemToString.ts","../src/forms/InputAddress/utils/formatInitialValueDescription.ts","../src/forms/InputAddress/utils/formatInitialValueToAutocompletePrediction.ts","../src/forms/InputAddress/InputAddress.tsx","../src/forms/InputEmail/InputEmail.tsx","../src/forms/InputFeedback/InputFeedback.tsx","../src/forms/InputField/InputField.tsx","../src/forms/InputIban/InputIban.tsx","../src/forms/InputNumber/InputNumber.tsx","../src/forms/InputPassword/InputPassword.tsx","../src/forms/InputPhone/InputPhone.tsx","../src/forms/InputTag/InputTag.tsx","../src/forms/Label/Label.tsx","../src/forms/Radio/InnerCircle.tsx","../src/forms/Radio/utils/getBackgroundColor.ts","../src/forms/Radio/utils/getBorderColor.ts","../src/forms/Radio/OuterCircle.tsx","../src/forms/Radio/Radio.tsx","../src/forms/RadioButtonGroup/AnimatedContainer/AnimatedContainer.tsx","../src/forms/RadioButtonGroup/HoverBorder.tsx","../src/forms/RadioButtonGroup/hooks/useNativeAnimation.ts","../src/forms/RadioButtonGroup/utils/getCurrentTextColor.ts","../src/forms/RadioButtonGroup/RadioButton.tsx","../src/forms/RadioButtonGroup/RadioButtonGroup.tsx","../src/forms/TextArea/TextArea.tsx","../src/useKittTheme.tsx","../src/forms/Toggle/utils/getStateKey.ts","../src/forms/Toggle/ToggleAnimated.tsx","../src/forms/Toggle/Toggle.tsx","../src/FullscreenModal/Body.tsx","../src/FullscreenModal/Footer.tsx","../src/FullscreenModal/components/NativeOpacityAnimation.tsx","../src/FullscreenModal/components/NativeSlideInAnimation.tsx","../src/FullscreenModal/FullscreenModalAnimation.tsx","../src/FullscreenModal/FullscreenModalBehaviour.tsx","../src/FullscreenModal/FullscreenModalContainer.tsx","../src/FullscreenModal/Header.tsx","../src/FullscreenModal/FullscreenModal.tsx","../src/GroupTags/GroupTags.tsx","../src/Highlight/AnimatedCaret/AnimatedCaret.tsx","../src/Highlight/AnimatedContainer/AnimatedContainer.tsx","../src/Highlight/AnimatedContent/AnimatedContent.tsx","../src/Highlight/hooks/useNativeAnimation.ts","../src/Highlight/Highlight.tsx","../src/IconButton/Background.tsx","../src/IconButton/AnimatedBackground.tsx","../src/IconButton/AnimatedScale.tsx","../src/IconButton/hooks/useNativeAnimation.ts","../src/IconButton/utils/getIconButtonBackgroundColor.ts","../src/IconButton/utils/getIconButtonTextColorByColor.ts","../src/IconButton/IconButton.tsx","../src/InfoCard/InfoCard.tsx","../src/KittMapConfigProvider/KittMapConfigProvider.tsx","../src/KittMapConfigProvider/hooks/useKittMapConfig.ts","../src/MapMarker/assets/close-meeting-point-marker.inline.svg","../src/MapMarker/assets/home-marker.inline.svg","../src/MapMarker/assets/meeting-point-marker.inline.svg","../src/MapMarker/assets/shadow.inline.svg","../src/MapMarker/hooks/useNativeAnimation.ts","../src/MapMarker/utils/getBackgroundColor.ts","../src/MapMarker/MapMarker.tsx","../src/BaseMessage/IconContent.tsx","../src/BaseMessage/helper.ts","../src/BaseMessage/BaseMessage.tsx","../src/Message/Message.tsx","../src/native-base/KittNativeBaseProvider.tsx","../src/NavigationBottomSheet/NavigationBottomSheet.tsx","../src/NavigationModal/NavigationModalBehaviour.tsx","../src/NavigationModal/NavigationModal.tsx","../src/Notification/Notification.tsx","../src/PageLoader/AnimatedLoaderCircle.tsx","../src/PageLoader/AnimatedBackgroundCircle.tsx","../src/PageLoader/AnimatedFillCircleContainer.tsx","../src/PageLoader/AnimatedFillCircle.tsx","../src/PageLoader/PageLoader.tsx","../src/Picker/PickerItem.tsx","../src/Picker/PickerOption.tsx","../src/Picker/reducer/nativePickerReducer.ts","../src/Picker/Picker.tsx","../src/SegmentedProgressBar/assets/stripes.inline.svg","../src/SegmentedProgressBar/SegmentedProgressBar.tsx","../src/Skeleton/SkeletonContent.tsx","../src/Skeleton/Skeleton.tsx","../src/StaticMap/utils/getStaticMapImageUrl.ts","../src/StaticMap/hooks/useGetStaticMapImageUrl.ts","../src/StaticMap/StaticMapError.tsx","../src/StaticMap/StaticMapImage.tsx","../src/StaticMap/StaticMapLoader.tsx","../src/StaticMap/StaticMapMarker.tsx","../src/StaticMap/utils/getRangedWidthValue.ts","../src/StaticMap/utils/getShouldDisplay2x.ts","../src/StaticMap/StaticMap.tsx","../src/story-components/Flex.tsx","../src/story-components/theme.ts","../src/story-components/StoryBlock.tsx","../src/story-components/StoryTitle.tsx","../src/story-components/Story.tsx","../src/story-components/StorySection.tsx","../src/story-components/StoryContainer.tsx","../src/story-components/StoryDecorator.tsx","../src/story-components/StoryGrid.tsx","../src/TabBar/TabBarItem.tsx","../src/TabBar/TabBar.tsx","../src/Tag/Tag.tsx","../src/TimePicker/ModalDateTimePicker.tsx","../src/TimePicker/utils/formatDateToTimeString.ts","../src/TimePicker/utils/getCurrentInternalForcedState.ts","../src/TimePicker/TimePickerPressable.tsx","../src/TimePicker/TimePicker.tsx","../src/Toast/Toast.Content.tsx","../src/Toast/Toast.utils.tsx","../src/Toast/Toast.tsx","../src/Tooltip/arrow.inline.svg","../src/Tooltip/Arrow.tsx","../src/Tooltip/TooltipContent.tsx","../src/Tooltip/hooks/useCustomShift.ts","../src/Tooltip/Tooltip.tsx","../src/typography/TypographyEmoji.tsx","../src/typography/TypographyLinkWebWrapper.tsx","../src/typography/TypographyLink.tsx","../src/utils/storybook/KittThemeDecorator.tsx","../src/utils/StyleWebWrapper.tsx","../src/utils/windowSize/useMatchWindowSize.ts","../src/utils/windowSize/MatchWindowSize.tsx","../src/VerticalSteps/Step.animations.ts","../src/VerticalSteps/BorderlessStep.tsx","../src/VerticalSteps/StepIcon.tsx","../src/VerticalSteps/Step.tsx","../src/VerticalSteps/utils/getStepState.ts","../src/VerticalSteps/VerticalSteps.tsx"],"sourcesContent":["import type { IImageProps, IPressableProps, IScrollViewProps } from 'native-base';\nimport {\n FlatList as NativeBaseFlatList,\n Image as NativeBaseImage,\n Pressable as NativeBasePressable,\n ScrollView as NativeBaseScrollView,\n SectionList as NativeBaseSectionList,\n View as NativeBaseView,\n} from 'native-base';\nimport type {\n IFlatListProps,\n InterfaceFlatListProps,\n} from 'native-base/lib/typescript/components/basic/FlatList/types';\nimport type { InterfaceScrollViewProps } from 'native-base/lib/typescript/components/basic/ScrollView/types';\nimport type {\n ISectionListProps,\n InterfaceSectionListProps,\n} from 'native-base/lib/typescript/components/basic/SectionList/types';\nimport type { IViewProps, InterfaceViewProps } from 'native-base/lib/typescript/components/basic/View/types';\nimport type { InterfacePressableProps } from 'native-base/lib/typescript/components/primitives/Pressable/types';\nimport type { ForwardedRef, MutableRefObject } from 'react';\nimport type {\n FlatList as NativeFlatList,\n FlatListProps as NativeFlatListProps,\n PressableProps as NativePressableProps,\n ScrollViewProps as NativeScrollViewProps,\n SectionList as NativeSectionList,\n SectionListProps as NativeSectionListProps,\n ViewProps as NativeViewProps,\n} from 'react-native';\nimport type {\n ForwardRefComponent,\n NativeBaseAcceptedBorderProps,\n NativeBaseAcceptedBorderRadiusProps,\n NativeBaseAcceptedColorsProps,\n NativeBaseAcceptedFlexboxProps,\n NativeBaseAcceptedLayoutProps,\n NativeBaseAcceptedPositionProps,\n NativeBaseAcceptedShadowProps,\n NativeBaseAcceptedSpaceProps,\n} from './acceptable-native-base-props';\n\ntype NativeBaseAcceptedViewProps = Extract<keyof InterfaceViewProps, 'children' | keyof NativeViewProps>;\n\nexport interface ViewProps\n extends Pick<\n IViewProps,\n | NativeBaseAcceptedViewProps\n | NativeBaseAcceptedSpaceProps\n | NativeBaseAcceptedColorsProps\n | NativeBaseAcceptedBorderProps\n | NativeBaseAcceptedBorderRadiusProps\n | NativeBaseAcceptedPositionProps\n | NativeBaseAcceptedShadowProps\n | NativeBaseAcceptedLayoutProps\n | NativeBaseAcceptedFlexboxProps\n > {}\n\nexport const View = NativeBaseView as ForwardRefComponent<ViewProps>;\n\ntype NativeBaseAcceptedScrollViewProps = Extract<\n keyof InterfaceScrollViewProps,\n 'children' | '_contentContainerStyle' | keyof NativeScrollViewProps\n>;\nexport interface ScrollViewProps\n extends Pick<\n IScrollViewProps,\n | NativeBaseAcceptedScrollViewProps\n | NativeBaseAcceptedSpaceProps\n | NativeBaseAcceptedColorsProps\n | NativeBaseAcceptedBorderProps\n | NativeBaseAcceptedBorderRadiusProps\n | NativeBaseAcceptedPositionProps\n | NativeBaseAcceptedShadowProps\n | NativeBaseAcceptedLayoutProps\n | NativeBaseAcceptedFlexboxProps\n > {}\n\nexport const ScrollView = NativeBaseScrollView as ForwardRefComponent<ScrollViewProps>;\n\ntype NativeBaseAcceptedPressableProps = Extract<\n keyof InterfacePressableProps,\n | 'children'\n | 'onHoverIn'\n | 'onHoverOut'\n | 'onFocus'\n | 'onBlur'\n | '_hover'\n | '_pressed'\n | '_focus'\n | '_disabled'\n | 'isDisabled'\n | 'isHovered'\n | 'isPressed'\n | 'isFocused'\n | 'isFocusVisible'\n | '_focusVisible'\n | keyof NativePressableProps\n>;\nexport interface PressableProps\n extends Pick<\n IPressableProps,\n | NativeBaseAcceptedPressableProps\n | NativeBaseAcceptedSpaceProps\n | NativeBaseAcceptedColorsProps\n | NativeBaseAcceptedBorderProps\n | NativeBaseAcceptedBorderRadiusProps\n | NativeBaseAcceptedPositionProps\n | NativeBaseAcceptedShadowProps\n | NativeBaseAcceptedLayoutProps\n | NativeBaseAcceptedFlexboxProps\n > {}\n\nexport const Pressable = NativeBasePressable as ForwardRefComponent<PressableProps>;\n\nexport const Image = NativeBaseImage as ForwardRefComponent<IImageProps>;\n\ntype NativeBaseAcceptedFlatListProps<ItemT> = Extract<\n keyof InterfaceFlatListProps<ItemT>,\n 'ref' | '_contentContainerStyle' | keyof NativeFlatListProps<ItemT>\n>;\nexport interface FlatListProps<ItemT>\n extends Pick<\n IFlatListProps<ItemT>,\n | NativeBaseAcceptedFlatListProps<ItemT>\n | NativeBaseAcceptedSpaceProps\n | NativeBaseAcceptedColorsProps\n | NativeBaseAcceptedBorderProps\n | NativeBaseAcceptedBorderRadiusProps\n | NativeBaseAcceptedPositionProps\n | NativeBaseAcceptedShadowProps\n | NativeBaseAcceptedLayoutProps\n | NativeBaseAcceptedFlexboxProps\n > {}\n\n// See: https://fettblog.eu/typescript-react-generic-forward-refs/\nexport const FlatList = NativeBaseFlatList as <ItemT>(\n props: FlatListProps<ItemT> & { ref?: MutableRefObject<NativeFlatList<ItemT> | undefined> },\n) => ReturnType<typeof NativeBaseFlatList>;\n\ntype NativeBaseAcceptedSectionListProps<ItemT, SectionT> = Extract<\n keyof InterfaceSectionListProps<ItemT, SectionT>,\n 'ref' | keyof NativeSectionListProps<ItemT, SectionT>\n>;\nexport interface SectionListProps<ItemT, SectionT>\n extends Pick<\n ISectionListProps<ItemT, SectionT>,\n | NativeBaseAcceptedSectionListProps<ItemT, SectionT>\n | NativeBaseAcceptedSpaceProps\n | NativeBaseAcceptedColorsProps\n | NativeBaseAcceptedBorderProps\n | NativeBaseAcceptedBorderRadiusProps\n | NativeBaseAcceptedPositionProps\n | NativeBaseAcceptedShadowProps\n | NativeBaseAcceptedLayoutProps\n | NativeBaseAcceptedFlexboxProps\n > {}\n\n// See: https://fettblog.eu/typescript-react-generic-forward-refs/\nexport const SectionList = NativeBaseSectionList as <ItemT, SectionT>(\n props: SectionListProps<ItemT, SectionT> & { ref?: ForwardedRef<NativeSectionList<ItemT, SectionT> | undefined> },\n) => ReturnType<typeof NativeBaseSectionList>;\n","export const hex2rgba = (hex: string, alpha = 1): string => {\n const r = parseInt(hex.slice(1, 3), 16);\n const g = parseInt(hex.slice(3, 5), 16);\n const b = parseInt(hex.slice(5, 7), 16);\n\n return `rgba(${r}, ${g}, ${b}, ${alpha})`;\n};\n","import type { IntRange } from 'type-fest';\n\ntype KittColorScaleNumber = IntRange<1, 13>;\ntype KittColorScale = { [K in KittColorScaleNumber]: string };\n\nconst createColorScale = <const T extends KittColorScale>(colorScale: T): T => colorScale;\n\nexport const colorScales = {\n eggshell: createColorScale({\n 1: '#faf9f8',\n 2: '#f4f3ef',\n 3: '#F0EEE9',\n 4: '#dedad2',\n 5: '#d1cdc5',\n 6: '#bab8ae',\n 7: '#aeaba3',\n 8: '#9c9a92',\n 9: '#8e8c83',\n 10: '#74726a',\n 11: '#3e3d3a',\n 12: '#282826',\n }),\n violine: createColorScale({\n 1: '#f8f7ff',\n 2: '#f2f0ff',\n 3: '#ebe8ff',\n 4: '#d5cfff',\n 5: '#bfb5ff',\n 6: '#a99cff',\n 7: '#9180ff',\n 8: '#7b66ff',\n 9: '#624af7',\n 10: '#5139e1',\n 11: '#3a26b5',\n 12: '#0a0428',\n }),\n lavender: createColorScale({\n 1: '#fdf7ff',\n 2: '#fcf2ff',\n 3: '#FAEBFF',\n 4: '#f8e3ff',\n 5: '#f4d6ff',\n 6: '#efc2ff',\n 7: '#d298ff',\n 8: '#b97aff',\n 9: '#ac5ff9',\n 10: '#9d4ced',\n 11: '#6b347e',\n 12: '#290a34',\n }),\n blue: createColorScale({\n 1: '#f7faff',\n 2: '#f0f5ff',\n 3: '#e8f0ff',\n 4: '#d4e0ff',\n 5: '#baceff',\n 6: '#a1bbff',\n 7: '#87a9ff',\n 8: '#6e96ff',\n 9: '#5383ff',\n 10: '#4170eb',\n 11: '#0e4381',\n 12: '#061c36',\n }),\n raspberry: createColorScale({\n 1: '#fff7fa',\n 2: '#fff0f5',\n 3: '#ffe8ef',\n 4: '#f0c7d4',\n 5: '#f0afc4',\n 6: '#f097b3',\n 7: '#f07fa3',\n 8: '#d95d84',\n 9: '#cf2a60',\n 10: '#c12558',\n 11: '#61192e',\n 12: '#29040f',\n }),\n coral: createColorScale({\n 1: '#fff7f7',\n 2: '#fff0f0',\n 3: '#ffe8e8',\n 4: '#ffcfcf',\n 5: '#ffb5b5',\n 6: '#ff9c9c',\n 7: '#f57d7d',\n 8: '#eb6565',\n 9: '#e55050',\n 10: '#da3d3d',\n 11: '#8a2b1e',\n 12: '#330c07',\n }),\n sun: createColorScale({\n 1: '#fffdf7',\n 2: '#fffbf0',\n 3: '#fff6de',\n 4: '#ffefc4',\n 5: '#ffe8ab',\n 6: '#ffe191',\n 7: '#ffda78',\n 8: '#ffd35e',\n 9: '#fdc32d',\n 10: '#f3a40c',\n 11: '#9f5600',\n 12: '#341c00',\n }),\n green: createColorScale({\n 1: '#f9fff9',\n 2: '#e9ffeb',\n 3: '#d3fbd7',\n 4: '#bffbc5',\n 5: '#96f4b0',\n 6: '#7fefac',\n 7: '#21e8a3',\n 8: '#08d48e',\n 9: '#00c381',\n 10: '#00ac72',\n 11: '#0e8159',\n 12: '#03291c',\n }),\n} as const;\n\ntype ColorScaleTokens = {\n [K in keyof typeof colorScales as `${K}.${KittColorScaleNumber}`]: (typeof colorScales)[K][KittColorScaleNumber];\n};\n\nconst transformColorScalesToTokens = (): ColorScaleTokens => {\n return Object.fromEntries(\n Object.entries(colorScales).flatMap(([colorName, colorScale]) => {\n return Object.entries(colorScale).map(([scaleNumber, colorValue]) => {\n return [`${colorName}.${scaleNumber}`, colorValue];\n });\n }),\n ) as ColorScaleTokens;\n};\n\nexport const lateOceanColorPalette = {\n ...transformColorScalesToTokens(),\n\n /** @deprecated use violine.9 instead */\n lateOcean: colorScales.violine[9],\n /** @deprecated use violine.8 instead */\n lateOceanLight1: colorScales.violine[8],\n /** @deprecated use violine.6 instead */\n lateOceanLight2: colorScales.violine[6],\n /** @deprecated use lavender.6 instead */\n lateOceanLight3: colorScales.lavender[6],\n /** @deprecated use violine.12 instead */\n lateOceanDark1: colorScales.violine[12],\n\n /** @deprecated use lavender.5 instead */\n warmEmbrace: colorScales.lavender[5],\n /** @deprecated use lavender.3 instead */\n warmEmbraceLight1: colorScales.lavender[3],\n\n white: '#FFFFFF',\n black: '#000000',\n\n /** @deprecated use black instead */\n black1000: '#000000',\n /** @deprecated use eggshell.11 instead */\n black800: colorScales.eggshell[11],\n /** @deprecated use eggshell.10 instead */\n black555: colorScales.eggshell[10],\n /** @deprecated use eggshell.7 instead */\n black400: colorScales.eggshell[7],\n /** @deprecated use eggshell.4 instead */\n black200: colorScales.eggshell[4],\n /** @deprecated use eggshell.3 instead */\n black100: colorScales.eggshell[3],\n /** @deprecated use eggshell.2 instead */\n black50: colorScales.eggshell[2],\n /** @deprecated use eggshell.1 instead */\n black25: colorScales.eggshell[1],\n\n /** @deprecated use green.8 instead */\n viride: colorScales.green[8],\n /** @deprecated use coral.7 instead */\n englishVermillon: colorScales.coral[7],\n /** @deprecated use sun.8 instead */\n goldCrayola: colorScales.sun[8],\n /** @deprecated use blue.8 instead */\n aero: colorScales.blue[8],\n /** @deprecated use eggshell.1 instead */\n seaShell: colorScales.eggshell[1],\n\n transparent: 'transparent',\n\n /** @deprecated use violine.4 instead */\n moonPurple: colorScales.violine[4],\n /** @deprecated use violine.2 instead */\n moonPurpleLight1: colorScales.violine[2],\n};\n","import { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\n\nexport const colors = {\n primary: lateOceanColorPalette['violine.9'],\n primaryLight: lateOceanColorPalette['violine.8'],\n accent: lateOceanColorPalette['lavender.5'],\n accentLight: lateOceanColorPalette['lavender.3'],\n success: lateOceanColorPalette['green.8'],\n correct: lateOceanColorPalette['green.8'],\n danger: lateOceanColorPalette['coral.8'],\n info: lateOceanColorPalette['blue.8'],\n warning: lateOceanColorPalette['sun.8'],\n separator: lateOceanColorPalette['eggshell.3'],\n hover: lateOceanColorPalette['eggshell.3'],\n white: lateOceanColorPalette.white,\n black: lateOceanColorPalette.black,\n blackDisabled: lateOceanColorPalette['eggshell.7'],\n blackLight: lateOceanColorPalette['eggshell.10'],\n blackAnthracite: lateOceanColorPalette['eggshell.11'],\n uiBackground: lateOceanColorPalette['eggshell.1'],\n uiBackgroundLight: lateOceanColorPalette.white,\n transparent: lateOceanColorPalette.transparent,\n disabled: lateOceanColorPalette['eggshell.2'],\n overlay: {\n dark: 'rgba(41, 48, 51, 0.25)',\n light: 'rgba(255, 255, 255, 0.90)',\n },\n};\n","import { hex2rgba } from '../../utils/hexToRgba';\nimport { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\nimport { colors } from './colors';\n\nexport interface ActionCardState {\n backgroundColor: string;\n borderColor?: string;\n borderWidth: number;\n shadow: {\n color: string;\n offsetX: number;\n offsetY: number;\n opacity: number;\n radius: number;\n };\n translateY: number;\n}\n\nexport interface ActionCardVariant {\n default: ActionCardState;\n disabled: ActionCardState;\n hovered: ActionCardState;\n pressed: ActionCardState;\n focused: ActionCardState;\n}\n\nexport interface ActionCardTheme {\n borderRadius: number;\n primary: ActionCardVariant;\n 'primary-border-soft': ActionCardVariant;\n 'primary-border-hard': ActionCardVariant;\n secondary: ActionCardVariant;\n highlight: ActionCardVariant;\n}\n\nexport const actionCard: ActionCardTheme = {\n borderRadius: 20,\n primary: {\n default: {\n backgroundColor: colors.uiBackgroundLight,\n borderColor: lateOceanColorPalette['eggshell.3'],\n borderWidth: 1,\n shadow: {\n color: '',\n offsetX: 0,\n offsetY: 0,\n opacity: 0,\n radius: 0,\n },\n translateY: 0,\n },\n hovered: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n borderColor: lateOceanColorPalette['eggshell.3'],\n borderWidth: 1,\n shadow: {\n color: '',\n offsetX: 0,\n offsetY: 0,\n opacity: 0,\n radius: 0,\n },\n translateY: 0,\n },\n disabled: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n borderColor: lateOceanColorPalette['eggshell.3'],\n borderWidth: 1,\n shadow: {\n color: '',\n offsetX: 0,\n offsetY: 0,\n opacity: 0,\n radius: 0,\n },\n translateY: 0,\n },\n focused: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n borderColor: lateOceanColorPalette['eggshell.3'],\n borderWidth: 1,\n shadow: {\n color: '',\n offsetX: 0,\n offsetY: 0,\n opacity: 0,\n radius: 0,\n },\n translateY: 0,\n },\n pressed: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n borderColor: lateOceanColorPalette['eggshell.3'],\n borderWidth: 1,\n shadow: {\n color: '',\n offsetX: 0,\n offsetY: 0,\n opacity: 0,\n radius: 0,\n },\n translateY: 0,\n },\n },\n 'primary-border-soft': {\n default: {\n backgroundColor: colors.uiBackgroundLight,\n borderColor: lateOceanColorPalette['violine.4'],\n borderWidth: 1,\n shadow: {\n color: lateOceanColorPalette['violine.4'],\n offsetX: 0,\n offsetY: 4,\n opacity: 1,\n radius: 0,\n },\n translateY: 0,\n },\n hovered: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n borderColor: lateOceanColorPalette['violine.4'],\n borderWidth: 1,\n shadow: {\n color: lateOceanColorPalette['violine.4'],\n offsetX: 0,\n offsetY: 4,\n opacity: 1,\n radius: 0,\n },\n translateY: 0,\n },\n disabled: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n borderColor: lateOceanColorPalette['eggshell.3'],\n borderWidth: 1,\n shadow: {\n color: '',\n offsetX: 0,\n offsetY: 0,\n opacity: 0,\n radius: 0,\n },\n translateY: 0,\n },\n focused: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n borderColor: lateOceanColorPalette['violine.4'],\n borderWidth: 1,\n shadow: {\n color: lateOceanColorPalette['violine.4'],\n offsetX: 0,\n offsetY: 4,\n opacity: 1,\n radius: 0,\n },\n translateY: 0,\n },\n pressed: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n borderColor: lateOceanColorPalette['violine.4'],\n borderWidth: 1,\n shadow: {\n color: '',\n offsetX: 0,\n offsetY: 0,\n opacity: 0,\n radius: 0,\n },\n translateY: 3,\n },\n },\n 'primary-border-hard': {\n default: {\n backgroundColor: colors.uiBackgroundLight,\n borderColor: lateOceanColorPalette['violine.9'],\n borderWidth: 1,\n shadow: {\n color: lateOceanColorPalette['violine.9'],\n offsetX: 0,\n offsetY: 4,\n opacity: 1,\n radius: 0,\n },\n translateY: 0,\n },\n hovered: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n borderColor: lateOceanColorPalette['violine.9'],\n borderWidth: 1,\n shadow: {\n color: lateOceanColorPalette['violine.9'],\n offsetX: 0,\n offsetY: 4,\n opacity: 1,\n radius: 0,\n },\n translateY: 0,\n },\n disabled: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n borderColor: lateOceanColorPalette['eggshell.3'],\n borderWidth: 1,\n shadow: {\n color: '',\n offsetX: 0,\n offsetY: 0,\n opacity: 0,\n radius: 0,\n },\n translateY: 0,\n },\n focused: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n borderColor: lateOceanColorPalette['violine.9'],\n borderWidth: 1,\n shadow: {\n color: lateOceanColorPalette['violine.9'],\n offsetX: 0,\n offsetY: 4,\n opacity: 1,\n radius: 0,\n },\n translateY: 0,\n },\n pressed: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n borderColor: lateOceanColorPalette['violine.9'],\n borderWidth: 1,\n shadow: {\n color: '',\n offsetX: 0,\n offsetY: 0,\n opacity: 0,\n radius: 0,\n },\n translateY: 3,\n },\n },\n secondary: {\n default: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n borderColor: lateOceanColorPalette.transparent,\n borderWidth: 0,\n shadow: {\n color: '',\n offsetX: 0,\n offsetY: 0,\n opacity: 0,\n radius: 0,\n },\n translateY: 0,\n },\n disabled: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n borderColor: lateOceanColorPalette['eggshell.3'],\n borderWidth: 1,\n shadow: {\n color: '',\n offsetX: 0,\n offsetY: 0,\n opacity: 0,\n radius: 0,\n },\n translateY: 0,\n },\n hovered: {\n backgroundColor: lateOceanColorPalette['eggshell.3'],\n borderColor: lateOceanColorPalette.transparent,\n borderWidth: 0,\n shadow: {\n color: '',\n offsetX: 0,\n offsetY: 0,\n opacity: 0,\n radius: 0,\n },\n translateY: 0,\n },\n focused: {\n backgroundColor: lateOceanColorPalette['eggshell.3'],\n borderColor: lateOceanColorPalette.transparent,\n borderWidth: 0,\n shadow: {\n color: '',\n offsetX: 0,\n offsetY: 0,\n opacity: 0,\n radius: 0,\n },\n translateY: 0,\n },\n pressed: {\n backgroundColor: lateOceanColorPalette['eggshell.3'],\n borderColor: lateOceanColorPalette.transparent,\n borderWidth: 0,\n shadow: {\n color: '',\n offsetX: 0,\n offsetY: 0,\n opacity: 0,\n radius: 0,\n },\n translateY: 0,\n },\n },\n highlight: {\n default: {\n backgroundColor: lateOceanColorPalette['violine.2'],\n borderColor: lateOceanColorPalette['violine.4'],\n borderWidth: 1,\n shadow: {\n color: lateOceanColorPalette['violine.4'],\n offsetX: 0,\n offsetY: 4,\n opacity: 1,\n radius: 0,\n },\n translateY: 0,\n },\n disabled: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n borderColor: lateOceanColorPalette['eggshell.3'],\n borderWidth: 1,\n shadow: {\n color: '',\n offsetX: 0,\n offsetY: 0,\n opacity: 0,\n radius: 0,\n },\n translateY: 0,\n },\n hovered: {\n backgroundColor: hex2rgba(lateOceanColorPalette['violine.2'], 0.6),\n borderColor: lateOceanColorPalette['violine.4'],\n borderWidth: 1,\n shadow: {\n color: lateOceanColorPalette['violine.4'],\n offsetX: 0,\n offsetY: 4,\n opacity: 1,\n radius: 0,\n },\n translateY: 0,\n },\n focused: {\n backgroundColor: hex2rgba(lateOceanColorPalette['violine.2'], 0.6),\n borderColor: lateOceanColorPalette['violine.4'],\n borderWidth: 1,\n shadow: {\n color: lateOceanColorPalette['violine.4'],\n offsetX: 0,\n offsetY: 4,\n opacity: 1,\n radius: 0,\n },\n translateY: 0,\n },\n pressed: {\n backgroundColor: hex2rgba(lateOceanColorPalette['violine.2'], 0.6),\n borderColor: lateOceanColorPalette['violine.4'],\n borderWidth: 1,\n shadow: {\n color: '',\n offsetX: 0,\n offsetY: 0,\n opacity: 0,\n radius: 0,\n },\n translateY: 3,\n },\n },\n};\n","import { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\nimport { colors } from './colors';\n\nexport const defaultAvatarSize = 40;\nexport const defaultAvatarIconSize = 20;\n\nexport const largeAvatarSize = 120;\nexport const largeAvatarIconSize = 30;\n\n// export interface AvatarThemeBackgroundColorVariant {\n// default: string;\n// light: string;\n// dark: string;\n// disabled: string;\n// }\n\nexport interface AvatarThemeSizeVariant {\n borderRadius: number;\n size: number;\n iconSize: number;\n}\n\n// export interface AvatarThemeColorVariant {\n// default: string;\n// light: string;\n// disabled: string;\n// }\n\nexport interface AvatarThemeColorVariant {\n backgroundColor: string;\n color: string;\n}\n\nexport interface AvatarTheme {\n borderRadius: number;\n size: number;\n iconSize: number;\n default: AvatarThemeColorVariant;\n light: AvatarThemeColorVariant;\n dark: AvatarThemeColorVariant;\n disabled: AvatarThemeColorVariant;\n large: AvatarThemeSizeVariant;\n}\n\nexport const avatar: AvatarTheme = {\n borderRadius: 10,\n size: defaultAvatarSize,\n iconSize: defaultAvatarIconSize,\n default: {\n color: lateOceanColorPalette.white,\n backgroundColor: colors.primary,\n },\n light: {\n color: lateOceanColorPalette.black,\n backgroundColor: lateOceanColorPalette['eggshell.3'],\n },\n dark: {\n color: lateOceanColorPalette.white,\n backgroundColor: lateOceanColorPalette['eggshell.12'],\n },\n disabled: {\n color: lateOceanColorPalette['eggshell.5'],\n backgroundColor: lateOceanColorPalette['eggshell.3'],\n },\n large: {\n borderRadius: 30,\n size: largeAvatarSize,\n iconSize: largeAvatarIconSize,\n },\n};\n","export const spacing = 4;\n","import { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\nimport { spacing } from './spacing';\n\nexport interface BottomSheetTheme {\n container: {\n padding: number;\n };\n handle: {\n backgroundColor: string;\n };\n}\n\nexport const bottomSheet: BottomSheetTheme = {\n container: {\n padding: spacing * 4,\n },\n handle: {\n backgroundColor: lateOceanColorPalette.black200,\n },\n};\n","import { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\nimport { colors } from './colors';\n\nexport interface BaseVariantTheme {\n backgroundColor: string;\n pressedBackgroundColor: string;\n hoverBackgroundColor: string;\n focusBorderColor: string;\n}\n\nexport interface GhostVariantTheme extends BaseVariantTheme {\n color: string;\n hoverColor: string;\n activeColor: string;\n}\nexport interface BaseButtonTheme {\n default: BaseVariantTheme;\n}\n\nexport interface BaseButtonWithVariant extends BaseButtonTheme {\n ghost: GhostVariantTheme;\n}\n\nexport interface SubtleBaseVariantTheme extends BaseVariantTheme {\n color: string;\n hoverColor: string;\n activeColor: string;\n}\n\nexport interface SubtleButtonTheme extends BaseButtonTheme {\n default: SubtleBaseVariantTheme;\n}\n\nexport interface DisabledBaseVariantTheme extends BaseVariantTheme {\n borderColor: string;\n}\n\nexport interface DisabledButtonTheme extends BaseButtonTheme {\n default: DisabledBaseVariantTheme;\n}\n\ninterface ButtonPadding {\n hasBadge: {\n right: number;\n };\n horizontal: number;\n vertical: number;\n}\n\nexport interface ButtonTheme {\n borderRadius: number;\n borderWidth: {\n disabled: number;\n focus: number;\n };\n minHeight: number;\n minWidth: number;\n maxWidth: number;\n scale: {\n base: {\n default: number;\n hover: number;\n active: number;\n };\n medium: {\n hover: number;\n };\n };\n /**\n * @deprecated use `padding` instead\n */\n contentPadding: {\n default: string;\n large: string;\n xLarge: string;\n disabled: string;\n };\n padding: {\n default: ButtonPadding;\n large: ButtonPadding;\n xLarge: ButtonPadding;\n };\n transition: {\n duration: string;\n timingFunction: string;\n };\n default: BaseButtonWithVariant;\n primary: BaseButtonWithVariant;\n dark: BaseButtonTheme;\n danger: BaseButtonWithVariant;\n subtle: SubtleButtonTheme;\n 'subtle-dark': SubtleButtonTheme;\n 'subtle-revert': SubtleButtonTheme;\n disabled: DisabledButtonTheme;\n}\n\nexport const button: ButtonTheme = {\n borderRadius: 30,\n borderWidth: {\n disabled: 2,\n focus: 3,\n },\n minHeight: 40,\n minWidth: 40,\n maxWidth: 335,\n scale: {\n base: {\n default: 1,\n hover: 0.95,\n active: 0.95,\n },\n medium: {\n hover: 1.05,\n },\n },\n contentPadding: {\n default: '7px 16px 7px',\n large: '11px 24px 11px',\n xLarge: '15px 24px 15px',\n disabled: '5px 14px 5px',\n },\n padding: {\n default: {\n hasBadge: {\n right: 8,\n },\n horizontal: 16,\n vertical: 7,\n },\n large: {\n hasBadge: {\n right: 12,\n },\n horizontal: 24,\n vertical: 11,\n },\n xLarge: {\n hasBadge: {\n right: 12,\n },\n horizontal: 24,\n vertical: 15,\n },\n },\n transition: {\n duration: '200ms',\n timingFunction: 'cubic-bezier(0.645, 0.045, 0.355, 1)',\n },\n default: {\n default: {\n backgroundColor: 'rgba(0, 0, 0, 0.05)',\n pressedBackgroundColor: 'rgba(0, 0, 0, 0.1)',\n hoverBackgroundColor: 'rgba(0, 0, 0, 0.1)',\n focusBorderColor: 'rgba(0, 0, 0, 0.1)',\n },\n ghost: {\n backgroundColor: 'rgba(255, 255, 255, 0.1)',\n pressedBackgroundColor: 'rgba(255, 255, 255, 0.05)',\n hoverBackgroundColor: 'rgba(255, 255, 255, 0.05)',\n focusBorderColor: 'rgba(255, 255, 255, 0.4)',\n color: lateOceanColorPalette.white,\n hoverColor: lateOceanColorPalette.white,\n activeColor: lateOceanColorPalette.white,\n },\n },\n primary: {\n default: {\n backgroundColor: colors.primary,\n pressedBackgroundColor: colors.primaryLight,\n hoverBackgroundColor: colors.primaryLight,\n focusBorderColor: 'rgba(76, 52, 224, 0.2)',\n },\n ghost: {\n backgroundColor: colors.uiBackgroundLight,\n pressedBackgroundColor: colors.uiBackground,\n hoverBackgroundColor: colors.hover,\n focusBorderColor: 'rgba(255,255,255, 0.4)',\n color: colors.primary,\n hoverColor: colors.hover,\n activeColor: colors.hover,\n },\n },\n dark: {\n default: {\n backgroundColor: colors.black,\n pressedBackgroundColor: 'rgba(0, 0, 0, 0.8)',\n hoverBackgroundColor: 'rgba(0, 0, 0, 0.8)',\n focusBorderColor: 'rgba(0, 0, 0, 0.8)',\n },\n },\n danger: {\n default: {\n backgroundColor: lateOceanColorPalette['coral.3'],\n pressedBackgroundColor: lateOceanColorPalette['coral.4'],\n hoverBackgroundColor: lateOceanColorPalette['coral.4'],\n focusBorderColor: lateOceanColorPalette['coral.4'],\n },\n ghost: {\n backgroundColor: colors.uiBackgroundLight,\n pressedBackgroundColor: colors.uiBackground,\n hoverBackgroundColor: colors.hover,\n focusBorderColor: 'rgba(255, 255, 255, 0.4)',\n color: lateOceanColorPalette['coral.9'],\n hoverColor: lateOceanColorPalette['coral.9'],\n activeColor: lateOceanColorPalette['coral.9'],\n },\n },\n subtle: {\n default: {\n backgroundColor: colors.transparent,\n pressedBackgroundColor: colors.transparent,\n hoverBackgroundColor: colors.transparent,\n focusBorderColor: 'rgba(76, 52, 224, 0.2)',\n color: colors.primary,\n hoverColor: 'rgba(76, 52, 224, 0.8)',\n activeColor: 'rgba(76, 52, 224, 0.8)',\n },\n },\n 'subtle-dark': {\n default: {\n backgroundColor: colors.transparent,\n pressedBackgroundColor: colors.transparent,\n hoverBackgroundColor: colors.transparent,\n focusBorderColor: 'rgba(0, 0, 0, 0.1)',\n color: colors.black,\n hoverColor: 'rgba(0, 0, 0, 0.8)',\n activeColor: 'rgba(0, 0, 0, 0.8)',\n },\n },\n 'subtle-revert': {\n default: {\n backgroundColor: colors.transparent,\n pressedBackgroundColor: colors.transparent,\n hoverBackgroundColor: colors.transparent,\n focusBorderColor: colors.white,\n color: colors.white,\n hoverColor: colors.white,\n activeColor: colors.white,\n },\n },\n disabled: {\n default: {\n backgroundColor: colors.disabled,\n pressedBackgroundColor: colors.disabled,\n hoverBackgroundColor: colors.disabled,\n focusBorderColor: lateOceanColorPalette.black100,\n borderColor: lateOceanColorPalette.black100,\n },\n },\n};\n","import { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\n\ninterface ButtonBadgeDimensions {\n withBadge: {\n width: number;\n height: number;\n };\n badgeCount: {\n width: number;\n height: number;\n };\n}\n\nexport interface ButtonBadgeTheme {\n dimensions: ButtonBadgeDimensions;\n backgroundColor: string;\n borderRadius: {\n withBadge: number;\n badgeCount: number;\n };\n}\n\nexport const buttonBadge: ButtonBadgeTheme = {\n backgroundColor: lateOceanColorPalette['coral.10'],\n dimensions: {\n withBadge: {\n width: 10,\n height: 10,\n },\n badgeCount: {\n width: 20,\n height: 20,\n },\n },\n borderRadius: {\n withBadge: 5,\n badgeCount: 10,\n },\n};\n","import { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\nimport { colors } from './colors';\n\nexport interface CardThemeType {\n backgroundColor: string;\n borderColor: string;\n}\nexport interface CardTheme {\n borderRadius: number;\n borderWidth: number;\n primary: CardThemeType;\n secondary: CardThemeType;\n subtle: CardThemeType;\n}\n\nexport const card: CardTheme = {\n borderRadius: 20,\n borderWidth: 2,\n primary: {\n backgroundColor: colors.uiBackgroundLight,\n borderColor: colors.primary,\n },\n secondary: {\n backgroundColor: colors.uiBackgroundLight,\n borderColor: colors.separator,\n },\n subtle: {\n backgroundColor: lateOceanColorPalette.black50,\n borderColor: colors.separator,\n },\n};\n","import { colors } from './colors';\n\nexport interface CardModalTheme {\n borderRadius: number;\n maxWidth: number;\n maxWidthWithPadding: number;\n minHeight: number;\n shadow: {\n color: string;\n offsetX: number;\n offsetY: number;\n opacity: number;\n radius: number;\n };\n header: {\n height: number;\n borderWidth: number;\n borderColor: string;\n };\n footer: {\n borderWidth: number;\n borderColor: string;\n };\n overlayPadding: {\n horizontal: number;\n vertical: number;\n };\n animation: {\n overlay: {\n duration: number;\n easing: number[];\n };\n content: {\n duration: number;\n easing: number[];\n };\n };\n}\n\nexport const webAnimationContentDuration = 400;\nexport const webAnimationContentEasing = [0.77, 0, 0.175, 1];\n\nexport const webAnimationOverlayDuration = 250;\nexport const webAnimationOverlayEasing = [0.42, 0, 1, 1];\n\nconst maxWidth = 540;\nconst overlayHorizontalPadding = 24;\n\nexport const cardModal: CardModalTheme = {\n borderRadius: 20,\n maxWidth,\n maxWidthWithPadding: maxWidth + overlayHorizontalPadding * 2,\n minHeight: 280,\n shadow: {\n color: colors.black,\n offsetX: 0,\n offsetY: 10,\n opacity: 0.15,\n radius: 20,\n },\n header: {\n height: 56,\n borderWidth: 1,\n borderColor: colors.separator,\n },\n footer: {\n borderWidth: 1,\n borderColor: colors.separator,\n },\n overlayPadding: {\n horizontal: 24,\n vertical: 80,\n },\n animation: {\n overlay: {\n duration: webAnimationOverlayDuration,\n easing: webAnimationOverlayEasing,\n },\n content: {\n duration: webAnimationContentDuration,\n easing: webAnimationContentEasing,\n },\n },\n};\n","import { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\nimport { colors } from './colors';\n\nexport interface ChoicesItemTheme {\n borderRadius: number;\n /** @deprecated use kitt.x spacings values instead */\n padding: {\n base: number;\n small: number;\n };\n backgroundColor: {\n default: string;\n disabled: string;\n selected: string;\n pressed: string;\n hover: string;\n hoverWhenSelected: string;\n };\n disabled: {\n border: {\n width: number;\n color: string;\n };\n };\n transition: {\n property: string;\n duration: number;\n timingFunction: string;\n };\n}\n\nexport interface ChoicesTheme {\n /** @deprecated use kitt.x spacings values instead */\n spacing: {\n row: number;\n column: number;\n };\n item: ChoicesItemTheme;\n}\n\nexport const choices: ChoicesTheme = {\n spacing: {\n row: 12,\n column: 12,\n },\n item: {\n borderRadius: 10,\n padding: {\n base: 16,\n small: 24,\n },\n backgroundColor: {\n default: lateOceanColorPalette.black50,\n disabled: colors.disabled,\n selected: colors.primary,\n pressed: lateOceanColorPalette.lateOceanLight1,\n hover: lateOceanColorPalette.black100,\n hoverWhenSelected: lateOceanColorPalette.lateOceanLight1,\n },\n disabled: {\n border: {\n width: 2,\n color: lateOceanColorPalette.black100,\n },\n },\n transition: {\n property: 'all',\n duration: 300,\n timingFunction: 'cubic-bezier(0.645, 0.045, 0.355, 1)',\n },\n },\n};\n","import { colors } from './colors';\n\nexport interface DialogModalTheme {\n borderRadius: number;\n maxWidth: number;\n overlayPadding: {\n horizontal: number;\n vertical: number;\n };\n shadow: {\n color: string;\n offsetX: number;\n offsetY: number;\n opacity: number;\n radius: number;\n };\n animation: {\n overlay: {\n duration: number;\n easing: number[];\n };\n content: {\n duration: number;\n easing: number[];\n };\n };\n}\n\nexport const webAnimationContentDuration = 400;\nexport const webAnimationContentEasing = [0.77, 0, 0.175, 1];\n\nexport const webAnimationOverlayDuration = 250;\nexport const webAnimationOverlayEasing = [0.42, 0, 1, 1];\n\nexport const dialogModal: DialogModalTheme = {\n borderRadius: 20,\n maxWidth: 540,\n overlayPadding: {\n horizontal: 24,\n vertical: 32,\n },\n shadow: {\n color: colors.black,\n offsetX: 0,\n offsetY: 10,\n opacity: 0.15,\n radius: 20,\n },\n animation: {\n overlay: {\n duration: webAnimationOverlayDuration,\n easing: webAnimationOverlayEasing,\n },\n content: {\n duration: webAnimationContentDuration,\n easing: webAnimationContentEasing,\n },\n },\n};\n","import { colors } from './colors';\n\nexport interface FeedbackMessageVariantTheme {\n backgroundColor: string;\n}\n\nexport interface FeedbackMessageTheme {\n minHeight: number;\n danger: FeedbackMessageVariantTheme;\n info: FeedbackMessageVariantTheme;\n success: FeedbackMessageVariantTheme;\n warning: FeedbackMessageVariantTheme;\n}\n\nexport const feedbackMessage: FeedbackMessageTheme = {\n minHeight: 60,\n danger: {\n backgroundColor: colors.danger,\n },\n success: {\n backgroundColor: colors.success,\n },\n info: {\n backgroundColor: colors.info,\n },\n warning: {\n backgroundColor: colors.warning,\n },\n};\n","import { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\nimport { colors } from './colors';\n\nexport interface AutocompleteTheme {\n option: {\n verticalPadding: number;\n minHeight: number;\n default: { backgroundColor: string };\n hovered: { backgroundColor: string };\n focused: { backgroundColor: string };\n selected: { backgroundColor: string };\n highlighted: { backgroundColor: string };\n pressed: { backgroundColor: string };\n };\n optionsContainer: {\n borderRadius: number;\n backgroundColor: string;\n shadow: {\n color: string;\n offsetX: number;\n offsetY: number;\n opacity: number;\n radius: number;\n };\n };\n}\n\nexport const autocomplete: AutocompleteTheme = {\n option: {\n verticalPadding: 2,\n minHeight: 40,\n default: {\n backgroundColor: colors.white,\n },\n hovered: { backgroundColor: lateOceanColorPalette.black50 },\n focused: { backgroundColor: lateOceanColorPalette.black50 },\n selected: { backgroundColor: lateOceanColorPalette.black50 },\n highlighted: { backgroundColor: lateOceanColorPalette.black50 },\n pressed: { backgroundColor: lateOceanColorPalette.black100 },\n },\n optionsContainer: {\n borderRadius: 10,\n backgroundColor: colors.white,\n shadow: { color: colors.black, offsetX: 0, offsetY: 10, opacity: 0.15, radius: 20 },\n },\n};\n","import { colors } from './colors';\n\nexport const checkbox = {\n borderWidth: 2,\n borderRadius: 5,\n height: 20,\n width: 20,\n iconSize: 14,\n markColor: colors.uiBackgroundLight,\n textSpacing: 10,\n default: {\n borderColor: colors.separator,\n backgroundColor: colors.uiBackgroundLight,\n },\n checked: {\n borderColor: colors.primary,\n backgroundColor: colors.primary,\n },\n focus: {\n borderColor: colors.primary,\n backgroundColor: colors.uiBackgroundLight,\n },\n hover: {\n borderColor: colors.primary,\n backgroundColor: colors.uiBackgroundLight,\n },\n pressed: {\n borderColor: colors.primary,\n backgroundColor: colors.uiBackgroundLight,\n },\n disabled: {\n borderColor: colors.separator,\n backgroundColor: colors.disabled,\n },\n transition: {\n duration: '200ms',\n timingFunction: 'ease-out',\n },\n};\n","interface DatePickerPartTheme {\n minWidth: number;\n}\n\nexport interface DatePickerTheme {\n day: DatePickerPartTheme;\n month: DatePickerPartTheme;\n year: DatePickerPartTheme;\n}\n\nexport const datePicker: DatePickerTheme = {\n day: {\n minWidth: 64,\n },\n month: {\n minWidth: 64,\n },\n year: {\n minWidth: 82,\n },\n};\n","import type { InputUIState } from '../../forms/utils';\nimport { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\n\nexport interface InputStateStyle {\n backgroundColor?: string;\n borderColor: string;\n color: string;\n}\n\nexport type InputStateTheme = Record<InputUIState, InputStateStyle>;\n\nconst inputStatesStyle: InputStateTheme = {\n default: {\n backgroundColor: lateOceanColorPalette.white,\n borderColor: lateOceanColorPalette['eggshell.4'],\n color: lateOceanColorPalette.black,\n },\n pending: {\n backgroundColor: lateOceanColorPalette.white,\n borderColor: lateOceanColorPalette['eggshell.3'],\n color: lateOceanColorPalette.black,\n },\n valid: {\n backgroundColor: lateOceanColorPalette.white,\n borderColor: lateOceanColorPalette['eggshell.4'],\n color: lateOceanColorPalette.black,\n },\n hover: {\n backgroundColor: lateOceanColorPalette['eggshell.1'],\n borderColor: lateOceanColorPalette['eggshell.5'],\n color: lateOceanColorPalette.black,\n },\n focus: {\n borderColor: lateOceanColorPalette['violine.9'],\n color: lateOceanColorPalette.black,\n },\n disabled: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n borderColor: lateOceanColorPalette['eggshell.4'],\n color: lateOceanColorPalette['eggshell.6'],\n },\n invalid: {\n borderColor: lateOceanColorPalette['eggshell.3'],\n color: lateOceanColorPalette.black,\n },\n};\n\nexport interface InputTheme {\n minHeight: number;\n color: {\n selection: string;\n placeholder: string;\n };\n borderWidth: number;\n borderRadius: number;\n icon: {\n size: number;\n };\n padding: {\n horizontal: number;\n vertical: number;\n };\n rightContainer: {\n padding: number;\n };\n transition: {\n properties: string[];\n duration: string;\n timingFunction: string;\n };\n states: InputStateTheme;\n}\n\nexport const webAnimationDuration = '200ms';\nexport const webAnimationTimingFunction = 'ease-in-out';\nexport const webAnimationProperties = ['border-color', 'background-color'];\n\nexport const input: InputTheme = {\n minHeight: 40,\n color: {\n selection: lateOceanColorPalette['violine.9'],\n placeholder: lateOceanColorPalette['eggshell.9'],\n },\n borderWidth: 1,\n borderRadius: 8,\n icon: {\n size: 20,\n },\n rightContainer: {\n padding: 16,\n },\n padding: {\n horizontal: 16,\n vertical: 6,\n },\n transition: {\n properties: webAnimationProperties,\n duration: webAnimationDuration,\n timingFunction: webAnimationTimingFunction,\n },\n states: inputStatesStyle,\n};\n","export const inputField = {\n containerPaddingTop: 5,\n containerPaddingBottom: 10,\n feedbackPaddingTop: 4,\n labelContainerPaddingBottom: 4,\n labelFeedbackMarginLeft: 6,\n};\n","import { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\nimport { colors } from './colors';\n\ninterface InputTagTypeTheme {\n backgroundColor: string;\n labelColor: string;\n}\nexport interface InputTagTheme {\n borderRadius: number;\n iconSize: number;\n default: InputTagTypeTheme;\n success: InputTagTypeTheme;\n danger: InputTagTypeTheme;\n}\n\nexport const inputTag: InputTagTheme = {\n success: {\n backgroundColor: colors.success,\n labelColor: colors.uiBackgroundLight,\n },\n danger: {\n backgroundColor: colors.danger,\n labelColor: colors.uiBackgroundLight,\n },\n default: {\n backgroundColor: lateOceanColorPalette.black50,\n labelColor: colors.black,\n },\n borderRadius: 10,\n iconSize: 13.5,\n};\n","import { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\nimport { colors } from './colors';\n\nexport interface RadioTheme {\n size: number;\n unchecked: {\n backgroundColor: string;\n borderColor: string;\n borderWidth: number;\n };\n checked: {\n backgroundColor: string;\n borderColor: string;\n innerBackgroundColor: string;\n innerSize: number;\n };\n hover: {\n backgroundColor: string;\n borderColor: string;\n };\n pressed: {\n backgroundColor: string;\n borderColor: string;\n };\n disabled: {\n backgroundColor: string;\n borderColor: string;\n };\n transition: {\n duration: string;\n timingFunction: string;\n };\n}\n\nexport const radio: RadioTheme = {\n size: 24,\n unchecked: {\n borderWidth: 2,\n backgroundColor: colors.uiBackgroundLight,\n borderColor: lateOceanColorPalette.black200,\n },\n checked: {\n backgroundColor: colors.primary,\n borderColor: colors.transparent,\n innerSize: 8,\n innerBackgroundColor: colors.uiBackgroundLight,\n },\n hover: {\n backgroundColor: colors.uiBackgroundLight,\n borderColor: colors.primary,\n },\n pressed: {\n backgroundColor: colors.uiBackgroundLight,\n borderColor: colors.primary,\n },\n disabled: {\n backgroundColor: colors.disabled,\n borderColor: colors.separator,\n },\n transition: {\n duration: '200ms',\n timingFunction: 'ease-out',\n },\n};\n","import { colors } from './colors';\n\nexport interface RadioButtonGroupTheme {\n item: {\n minHeight: number;\n borderWidth: number;\n borderColor: {\n default: string;\n hover: string;\n pressed: string;\n active: string;\n disabled: string;\n [key: string]: string;\n };\n backgroundColor: {\n default: string;\n hover: string;\n pressed: string;\n active: string;\n disabled: string;\n };\n borderRadius: number;\n padding: {\n horizontal: number;\n vertical: number;\n };\n transition: {\n property: string;\n duration: string;\n timingFunction: string;\n };\n };\n}\n\nexport const radioButtonGroup: RadioButtonGroupTheme = {\n item: {\n minHeight: 40,\n borderWidth: 2,\n borderRadius: 20,\n borderColor: {\n default: colors.separator,\n hover: colors.primary,\n pressed: colors.primary,\n active: colors.primary,\n disabled: colors.separator,\n },\n backgroundColor: {\n default: colors.uiBackgroundLight,\n hover: colors.white,\n pressed: colors.primary,\n active: colors.primary,\n disabled: colors.disabled,\n },\n padding: {\n horizontal: 18,\n vertical: 6,\n },\n transition: {\n property: 'all',\n duration: '200ms',\n timingFunction: 'ease-in-out',\n },\n },\n};\n","export interface TextAreaTheme {\n minHeight: number;\n}\n\nexport const textArea: TextAreaTheme = {\n minHeight: 120,\n};\n","export interface TimePickerTheme {\n minWidth: number;\n}\n\nexport const timePicker: TimePickerTheme = {\n minWidth: 100,\n};\n","import { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\n\ninterface ToggleThemeState {\n height: {\n medium: number;\n large: number;\n };\n width: {\n medium: number;\n large: number;\n };\n backgroundColor: {\n checked: string;\n unchecked: string;\n };\n border: {\n color: string;\n width: number;\n };\n labelColor: string;\n wrapperBorder: {\n color: string;\n width: number;\n };\n circle: {\n backgroundColor: string;\n width: {\n medium: number;\n large: number;\n };\n height: {\n medium: number;\n large: number;\n };\n marginLeft: {\n medium: number;\n large: number;\n };\n };\n}\n\nexport interface ToggleThemeStates {\n default: ToggleThemeState;\n hovered: ToggleThemeState;\n focused: ToggleThemeState;\n pressed: ToggleThemeState;\n}\n\nexport interface ToggleTheme {\n primary: {\n enabled: ToggleThemeStates;\n disabled: ToggleThemeStates;\n };\n accent: {\n enabled: ToggleThemeStates;\n disabled: ToggleThemeStates;\n };\n}\n\nexport const toggle: ToggleTheme = {\n primary: {\n enabled: {\n default: {\n height: {\n medium: 26,\n large: 34,\n },\n width: {\n medium: 50,\n large: 66,\n },\n labelColor: lateOceanColorPalette.black,\n backgroundColor: {\n checked: lateOceanColorPalette['violine.9'],\n unchecked: lateOceanColorPalette['eggshell.4'],\n },\n border: {\n color: 'transparent',\n width: 1,\n },\n circle: {\n backgroundColor: lateOceanColorPalette.white,\n width: {\n medium: 18,\n large: 24,\n },\n height: {\n medium: 18,\n large: 24,\n },\n marginLeft: {\n medium: 24,\n large: 32,\n },\n },\n wrapperBorder: {\n color: 'transparent',\n width: 1,\n },\n },\n hovered: {\n height: {\n medium: 26,\n large: 34,\n },\n width: {\n medium: 50,\n large: 66,\n },\n labelColor: lateOceanColorPalette.black,\n backgroundColor: {\n checked: lateOceanColorPalette['violine.8'],\n unchecked: lateOceanColorPalette['eggshell.7'],\n },\n border: {\n color: 'transparent',\n width: 1,\n },\n circle: {\n backgroundColor: lateOceanColorPalette.white,\n width: {\n medium: 18,\n large: 24,\n },\n height: {\n medium: 18,\n large: 24,\n },\n marginLeft: {\n medium: 24,\n large: 32,\n },\n },\n wrapperBorder: {\n color: 'transparent',\n width: 1,\n },\n },\n focused: {\n height: {\n medium: 26,\n large: 34,\n },\n width: {\n medium: 50,\n large: 66,\n },\n labelColor: lateOceanColorPalette.black,\n backgroundColor: {\n checked: lateOceanColorPalette['violine.9'],\n unchecked: lateOceanColorPalette['eggshell.4'],\n },\n border: {\n color: lateOceanColorPalette.white,\n width: 1,\n },\n circle: {\n backgroundColor: lateOceanColorPalette.white,\n width: {\n medium: 18,\n large: 24,\n },\n height: {\n medium: 18,\n large: 24,\n },\n marginLeft: {\n medium: 24,\n large: 32,\n },\n },\n wrapperBorder: {\n color: lateOceanColorPalette.black,\n width: 1,\n },\n },\n pressed: {\n height: {\n medium: 26,\n large: 34,\n },\n width: {\n medium: 50,\n large: 66,\n },\n labelColor: lateOceanColorPalette.black,\n backgroundColor: {\n checked: lateOceanColorPalette['violine.9'],\n unchecked: lateOceanColorPalette['eggshell.4'],\n },\n border: {\n color: lateOceanColorPalette.white,\n width: 1,\n },\n circle: {\n backgroundColor: lateOceanColorPalette.white,\n width: {\n medium: 18,\n large: 24,\n },\n height: {\n medium: 18,\n large: 24,\n },\n marginLeft: {\n medium: 24,\n large: 32,\n },\n },\n wrapperBorder: {\n color: lateOceanColorPalette.black,\n width: 1,\n },\n },\n },\n disabled: {\n default: {\n height: {\n medium: 26,\n large: 34,\n },\n width: {\n medium: 50,\n large: 66,\n },\n labelColor: lateOceanColorPalette['eggshell.3'],\n backgroundColor: {\n checked: lateOceanColorPalette['eggshell.3'],\n unchecked: lateOceanColorPalette['eggshell.3'],\n },\n border: {\n color: 'transparent',\n width: 1,\n },\n circle: {\n backgroundColor: lateOceanColorPalette['eggshell.5'],\n width: {\n medium: 18,\n large: 24,\n },\n height: {\n medium: 18,\n large: 24,\n },\n marginLeft: {\n medium: 24,\n large: 32,\n },\n },\n wrapperBorder: {\n color: 'transparent',\n width: 1,\n },\n },\n hovered: {\n height: {\n medium: 26,\n large: 34,\n },\n width: {\n medium: 50,\n large: 66,\n },\n labelColor: lateOceanColorPalette['eggshell.3'],\n backgroundColor: {\n checked: lateOceanColorPalette['eggshell.3'],\n unchecked: lateOceanColorPalette['eggshell.3'],\n },\n border: {\n color: 'transparent',\n width: 1,\n },\n circle: {\n backgroundColor: lateOceanColorPalette['eggshell.5'],\n width: {\n medium: 18,\n large: 24,\n },\n height: {\n medium: 18,\n large: 24,\n },\n marginLeft: {\n medium: 24,\n large: 32,\n },\n },\n wrapperBorder: {\n color: 'transparent',\n width: 1,\n },\n },\n focused: {\n height: {\n medium: 26,\n large: 34,\n },\n width: {\n medium: 50,\n large: 66,\n },\n labelColor: lateOceanColorPalette['eggshell.3'],\n backgroundColor: {\n checked: lateOceanColorPalette['eggshell.3'],\n unchecked: lateOceanColorPalette['eggshell.3'],\n },\n border: {\n color: 'transparent',\n width: 1,\n },\n circle: {\n backgroundColor: lateOceanColorPalette['eggshell.5'],\n width: {\n medium: 18,\n large: 24,\n },\n height: {\n medium: 18,\n large: 24,\n },\n marginLeft: {\n medium: 24,\n large: 32,\n },\n },\n wrapperBorder: {\n color: lateOceanColorPalette.black,\n width: 1,\n },\n },\n pressed: {\n height: {\n medium: 26,\n large: 34,\n },\n width: {\n medium: 50,\n large: 66,\n },\n labelColor: lateOceanColorPalette['eggshell.3'],\n backgroundColor: {\n checked: lateOceanColorPalette['eggshell.3'],\n unchecked: lateOceanColorPalette['eggshell.3'],\n },\n border: {\n color: 'transparent',\n width: 1,\n },\n circle: {\n backgroundColor: lateOceanColorPalette['eggshell.5'],\n width: {\n medium: 18,\n large: 24,\n },\n height: {\n medium: 18,\n large: 24,\n },\n marginLeft: {\n medium: 24,\n large: 32,\n },\n },\n wrapperBorder: {\n color: lateOceanColorPalette.black,\n width: 1,\n },\n },\n },\n },\n accent: {\n enabled: {\n default: {\n height: {\n medium: 26,\n large: 34,\n },\n width: {\n medium: 50,\n large: 66,\n },\n labelColor: lateOceanColorPalette.white,\n backgroundColor: {\n checked: lateOceanColorPalette['violine.12'],\n unchecked: lateOceanColorPalette['violine.4'],\n },\n border: {\n color: 'transparent',\n width: 1,\n },\n circle: {\n backgroundColor: lateOceanColorPalette.white,\n\n width: {\n medium: 18,\n large: 24,\n },\n height: {\n medium: 18,\n large: 24,\n },\n marginLeft: {\n medium: 24,\n large: 32,\n },\n },\n wrapperBorder: {\n color: 'transparent',\n width: 1,\n },\n },\n hovered: {\n height: {\n medium: 26,\n large: 34,\n },\n width: {\n medium: 50,\n large: 66,\n },\n labelColor: lateOceanColorPalette.white,\n backgroundColor: {\n checked: lateOceanColorPalette['violine.12'],\n unchecked: lateOceanColorPalette['violine.4'],\n },\n border: {\n color: 'transparent',\n width: 1,\n },\n circle: {\n backgroundColor: lateOceanColorPalette.white,\n width: {\n medium: 18,\n large: 24,\n },\n height: {\n medium: 18,\n large: 24,\n },\n marginLeft: {\n medium: 24,\n large: 32,\n },\n },\n wrapperBorder: {\n color: 'transparent',\n width: 1,\n },\n },\n focused: {\n height: {\n medium: 26,\n large: 34,\n },\n width: {\n medium: 50,\n large: 66,\n },\n labelColor: lateOceanColorPalette.white,\n backgroundColor: {\n checked: lateOceanColorPalette['violine.12'],\n unchecked: lateOceanColorPalette['violine.4'],\n },\n border: {\n color: lateOceanColorPalette['violine.8'],\n width: 1,\n },\n circle: {\n backgroundColor: lateOceanColorPalette.white,\n width: {\n medium: 18,\n large: 24,\n },\n height: {\n medium: 18,\n large: 24,\n },\n marginLeft: {\n medium: 24,\n large: 32,\n },\n },\n wrapperBorder: {\n color: lateOceanColorPalette.white,\n width: 1,\n },\n },\n pressed: {\n height: {\n medium: 26,\n large: 34,\n },\n width: {\n medium: 50,\n large: 66,\n },\n labelColor: lateOceanColorPalette.white,\n backgroundColor: {\n checked: lateOceanColorPalette['violine.12'],\n unchecked: lateOceanColorPalette['violine.4'],\n },\n border: {\n color: lateOceanColorPalette['violine.8'],\n width: 1,\n },\n circle: {\n backgroundColor: lateOceanColorPalette.white,\n width: {\n medium: 18,\n large: 24,\n },\n height: {\n medium: 18,\n large: 24,\n },\n marginLeft: {\n medium: 24,\n large: 32,\n },\n },\n wrapperBorder: {\n color: lateOceanColorPalette.white,\n width: 1,\n },\n },\n },\n disabled: {\n default: {\n height: {\n medium: 26,\n large: 34,\n },\n width: {\n medium: 50,\n large: 66,\n },\n labelColor: lateOceanColorPalette['violine.6'],\n backgroundColor: {\n checked: lateOceanColorPalette['violine.6'],\n unchecked: lateOceanColorPalette['violine.6'],\n },\n border: {\n color: 'transparent',\n width: 1,\n },\n circle: {\n backgroundColor: lateOceanColorPalette['violine.8'],\n width: {\n medium: 18,\n large: 24,\n },\n height: {\n medium: 18,\n large: 24,\n },\n marginLeft: {\n medium: 24,\n large: 32,\n },\n },\n wrapperBorder: {\n color: 'transparent',\n width: 1,\n },\n },\n hovered: {\n height: {\n medium: 26,\n large: 34,\n },\n width: {\n medium: 50,\n large: 66,\n },\n labelColor: lateOceanColorPalette['violine.6'],\n backgroundColor: {\n checked: lateOceanColorPalette['violine.6'],\n unchecked: lateOceanColorPalette['violine.6'],\n },\n border: {\n color: 'transparent',\n width: 1,\n },\n circle: {\n backgroundColor: lateOceanColorPalette['violine.8'],\n width: {\n medium: 18,\n large: 24,\n },\n height: {\n medium: 18,\n large: 24,\n },\n marginLeft: {\n medium: 24,\n large: 32,\n },\n },\n wrapperBorder: {\n color: 'transparent',\n width: 1,\n },\n },\n focused: {\n height: {\n medium: 26,\n large: 34,\n },\n width: {\n medium: 50,\n large: 66,\n },\n labelColor: lateOceanColorPalette['violine.6'],\n backgroundColor: {\n checked: lateOceanColorPalette['violine.6'],\n unchecked: lateOceanColorPalette['violine.6'],\n },\n border: {\n color: lateOceanColorPalette['violine.8'],\n width: 1,\n },\n circle: {\n backgroundColor: lateOceanColorPalette['violine.8'],\n width: {\n medium: 18,\n large: 24,\n },\n height: {\n medium: 18,\n large: 24,\n },\n marginLeft: {\n medium: 24,\n large: 32,\n },\n },\n wrapperBorder: {\n color: lateOceanColorPalette.white,\n width: 1,\n },\n },\n pressed: {\n height: {\n medium: 26,\n large: 34,\n },\n width: {\n medium: 50,\n large: 66,\n },\n labelColor: lateOceanColorPalette['violine.6'],\n backgroundColor: {\n checked: lateOceanColorPalette['violine.6'],\n unchecked: lateOceanColorPalette['violine.6'],\n },\n border: {\n color: lateOceanColorPalette['violine.8'],\n width: 1,\n },\n circle: {\n backgroundColor: lateOceanColorPalette['violine.8'],\n width: {\n medium: 18,\n large: 24,\n },\n height: {\n medium: 18,\n large: 24,\n },\n marginLeft: {\n medium: 24,\n large: 32,\n },\n },\n wrapperBorder: {\n color: lateOceanColorPalette.white,\n width: 1,\n },\n },\n },\n },\n};\n","import { autocomplete } from './autocomplete';\nimport { checkbox } from './checkbox';\nimport { datePicker } from './datePicker';\nimport { input } from './input';\nimport { inputField } from './inputField';\nimport { inputTag } from './inputTag';\nimport { radio } from './radio';\nimport { radioButtonGroup } from './radioButtonGroup';\nimport { textArea } from './textArea';\nimport { timePicker } from './timePicker';\nimport { toggle } from './toggle';\n\nexport const forms = {\n toggle,\n autocomplete,\n datePicker,\n input,\n radio,\n inputField,\n textArea,\n checkbox,\n inputTag,\n radioButtonGroup,\n timePicker,\n};\n","export interface FullscreenModalTheme {\n header: {\n height: number;\n };\n footer: {\n verticalPadding: number;\n };\n sharedHorizontalPadding: number;\n body: {\n verticalPadding: number;\n };\n animation: {\n overlay: {\n duration: number;\n easing: number[];\n };\n content: {\n duration: number;\n easing: number[];\n };\n };\n}\n\nexport const webAnimationContentDuration = 600;\nexport const webAnimationContentEasing = [0.77, 0, 0.175, 1];\n\nexport const webAnimationOverlayDuration = 250;\nexport const webAnimationOverlayEasing = [0.42, 0, 1, 1];\n\nexport const fullscreenModal: FullscreenModalTheme = {\n header: {\n height: 56,\n },\n sharedHorizontalPadding: 16,\n footer: {\n verticalPadding: 12,\n },\n body: {\n verticalPadding: 24,\n },\n animation: {\n overlay: {\n duration: webAnimationOverlayDuration,\n easing: webAnimationOverlayEasing,\n },\n content: {\n duration: webAnimationContentDuration,\n easing: webAnimationContentEasing,\n },\n },\n};\n","import { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\nimport { colors } from './colors';\nimport { spacing } from './spacing';\n\nexport interface HighlightThemeType {\n default: {\n backgroundColor: string;\n };\n hover: {\n backgroundColor: string;\n };\n}\n\nexport interface HighlightTheme {\n borderRadius: number;\n padding: {\n medium: number;\n large: number;\n };\n regular: HighlightThemeType;\n primary: HighlightThemeType;\n secondary: HighlightThemeType;\n ghost: HighlightThemeType;\n dark: HighlightThemeType;\n success: HighlightThemeType;\n warning: HighlightThemeType;\n}\n\nexport const highlight: HighlightTheme = {\n borderRadius: spacing * 2,\n /** @deprecated use primary instead */\n regular: {\n default: {\n backgroundColor: colors.accentLight,\n },\n hover: {\n backgroundColor: colors.accentLight,\n },\n },\n primary: {\n default: {\n backgroundColor: lateOceanColorPalette['lavender.3'],\n },\n hover: {\n backgroundColor: lateOceanColorPalette['lavender.5'],\n },\n },\n secondary: {\n default: {\n backgroundColor: lateOceanColorPalette['violine.2'],\n },\n hover: {\n backgroundColor: lateOceanColorPalette['violine.4'],\n },\n },\n ghost: {\n default: {\n backgroundColor: lateOceanColorPalette.white,\n },\n hover: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n },\n },\n dark: {\n default: {\n backgroundColor: lateOceanColorPalette['eggshell.3'],\n },\n hover: {\n backgroundColor: lateOceanColorPalette['eggshell.2'],\n },\n },\n success: {\n default: {\n backgroundColor: lateOceanColorPalette['green.3'],\n },\n hover: {\n backgroundColor: lateOceanColorPalette['green.5'],\n },\n },\n warning: {\n default: {\n backgroundColor: lateOceanColorPalette['sun.3'],\n },\n hover: {\n backgroundColor: lateOceanColorPalette['sun.5'],\n },\n },\n padding: {\n medium: spacing * 4,\n large: spacing * 6,\n },\n};\n","export interface TypographyIconBreakpointRangeConfig {\n iconSize: number;\n}\n\nexport interface TypographyIconConfig {\n baseAndSmall: TypographyIconBreakpointRangeConfig;\n mediumAndWide: TypographyIconBreakpointRangeConfig;\n}\n\nconst getIconSizeFromFontSize = (fontSize: number): number => {\n if (fontSize <= 14) return 16;\n if (fontSize <= 16) return 20;\n return 24;\n};\n\nexport const createTypographyIconSizeConfig = (\n baseAndSmallFontSize: number,\n mediumAndWideFontSize: number,\n): TypographyIconConfig => {\n const baseAndSmallIconSize = getIconSizeFromFontSize(baseAndSmallFontSize);\n const mediumAndWideIconSize = getIconSizeFromFontSize(mediumAndWideFontSize);\n return {\n baseAndSmall: {\n iconSize: baseAndSmallIconSize,\n },\n mediumAndWide: {\n iconSize: mediumAndWideIconSize,\n },\n };\n};\n\nexport const icon = {\n defaultSize: 20,\n // Note: this is based on typography updated sizes, not current https://github.com/ornikar/kitt/pull/2130\n typographySize: {\n // also known as xxlarge\n header1: createTypographyIconSizeConfig(40, 56),\n // also known as xlarge\n header2: createTypographyIconSizeConfig(32, 48),\n // also known as medium\n header3: createTypographyIconSizeConfig(24, 40),\n // also known as xsmall\n header4: createTypographyIconSizeConfig(18, 24),\n // also known as xxsmall\n header5: createTypographyIconSizeConfig(18, 18),\n\n 'header-impact-xxl': createTypographyIconSizeConfig(56, 56),\n 'header-impact-xl': createTypographyIconSizeConfig(48, 48),\n 'header-impact-l': createTypographyIconSizeConfig(40, 40),\n 'header-impact-m': createTypographyIconSizeConfig(32, 32),\n 'header-impact-s': createTypographyIconSizeConfig(24, 24),\n 'header-impact-xs': createTypographyIconSizeConfig(18, 18),\n 'header-impact-xxs': createTypographyIconSizeConfig(16, 16),\n 'header-impact-xxxs': createTypographyIconSizeConfig(14, 14),\n\n 'body-large': createTypographyIconSizeConfig(18, 24),\n 'body-medium': createTypographyIconSizeConfig(18, 18),\n body: createTypographyIconSizeConfig(16, 16),\n 'body-small': createTypographyIconSizeConfig(14, 14),\n 'body-xsmall': createTypographyIconSizeConfig(12, 12),\n },\n} as const;\n","import { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\nimport { button } from './button';\nimport { colors } from './colors';\n\ninterface IconButtonVariationValues {\n pressedBackgroundColor: string;\n backgroundColor?: string;\n}\n\nexport interface IconButtonTheme {\n backgroundColor: string;\n width: number;\n height: number;\n borderRadius: number;\n borderWidth: number;\n borderColor: string;\n transition: {\n property: string;\n duration: string;\n timingFunction: string;\n };\n scale: {\n base: {\n default: number;\n hover: number;\n active: number;\n };\n medium: {\n default: number;\n hover: number;\n active: number;\n };\n };\n disabled: {\n scale: number;\n backgroundColor: string;\n borderColor: string;\n };\n default: IconButtonVariationValues;\n ghost: IconButtonVariationValues;\n primary: IconButtonVariationValues;\n 'primary-plain': IconButtonVariationValues;\n secondary: IconButtonVariationValues;\n}\n\nexport const iconButton: IconButtonTheme = {\n backgroundColor: 'transparent',\n width: 40,\n height: 40,\n borderRadius: 20,\n borderWidth: 2,\n borderColor: 'transparent',\n transition: {\n property: 'all',\n duration: '200ms',\n timingFunction: 'cubic-bezier(0.645, 0.045, 0.355, 1)',\n },\n scale: {\n base: {\n default: 1,\n hover: 0.95,\n active: 0.95,\n },\n medium: {\n default: 1,\n hover: 1.05,\n active: 0.95,\n },\n },\n disabled: {\n scale: 1,\n backgroundColor: button.disabled.default.backgroundColor,\n borderColor: button.disabled.default.borderColor,\n },\n default: {\n pressedBackgroundColor: button.default.default.pressedBackgroundColor,\n },\n ghost: {\n pressedBackgroundColor: button.default.ghost.pressedBackgroundColor,\n },\n primary: {\n pressedBackgroundColor: lateOceanColorPalette.moonPurpleLight1,\n },\n 'primary-plain': {\n pressedBackgroundColor: colors.primaryLight,\n backgroundColor: colors.primary,\n },\n secondary: {\n pressedBackgroundColor: 'rgba(0, 0, 0, 0.05)',\n backgroundColor: 'rgba(0, 0, 0, 0.1)',\n },\n};\n","import { colors } from './colors';\n\nexport interface ListItemTheme {\n /** @deprecated -- use verticalPadding and horizontalPadding instead */\n padding: string;\n verticalPadding: number;\n horizontalPadding: number;\n borderColor: string;\n borderWidth: number;\n innerMargin: number;\n}\n\nexport const listItem: ListItemTheme = {\n padding: '12px 16px',\n verticalPadding: 12,\n horizontalPadding: 16,\n borderColor: colors.separator,\n borderWidth: 1,\n innerMargin: 8,\n};\n","import { colors } from './colors';\n\nexport interface MapMarkerTheme {\n home: {\n default: string;\n selected: string;\n container: {\n width: number;\n height: number;\n };\n svg: {\n width: number;\n height: number;\n };\n };\n meetingPoint: {\n default: string;\n selected: string;\n container: {\n width: number;\n height: number;\n };\n svg: {\n width: number;\n height: number;\n };\n };\n shadow: {\n width: number;\n height: number;\n };\n}\n\nexport const mapMarker: MapMarkerTheme = {\n home: {\n default: colors.primaryLight,\n selected: colors.primary,\n svg: {\n width: 33,\n height: 36,\n },\n container: {\n width: 34,\n height: 38,\n },\n },\n meetingPoint: {\n default: colors.black,\n selected: colors.blackAnthracite,\n svg: {\n width: 41,\n height: 43,\n },\n container: {\n width: 40,\n height: 45,\n },\n },\n shadow: {\n width: 12,\n height: 4,\n },\n};\n","import { colors } from './colors';\n\nexport interface PageLoaderTheme {\n size: number;\n strokeWidth: number;\n colors: {\n base: string;\n fill: string;\n };\n animation: {\n delay: number;\n circleBackgroundFillDuration: number;\n filledCircleFillDuration: number;\n groupFilledCircleRotationDuration: number;\n filledCircleRotationDuration: number;\n fillEasingFunction: [number, number, number, number];\n };\n}\n\nexport const pageLoaderSize = 60;\nexport const pageLoaderStrokeWidth = 3;\n\nexport const webAnimationDelay = 500;\nexport const webAnimationCircleBackgroundFillDuration = 1000;\nexport const webAnimationFilledCircleFillDuration = 1800;\nexport const webAnimationFilledCircleRotationDuration = 2160;\nexport const fillEasingFunction: [number, number, number, number] = [0.39, 0.575, 0.565, 1];\n\nexport const pageLoader: PageLoaderTheme = {\n size: pageLoaderSize,\n strokeWidth: pageLoaderStrokeWidth,\n colors: {\n base: colors.separator,\n fill: colors.primary,\n },\n animation: {\n delay: webAnimationDelay,\n circleBackgroundFillDuration: webAnimationCircleBackgroundFillDuration,\n filledCircleFillDuration: webAnimationFilledCircleFillDuration,\n groupFilledCircleRotationDuration: 1800,\n filledCircleRotationDuration: webAnimationFilledCircleRotationDuration,\n fillEasingFunction,\n },\n};\n","import { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\nimport { colors as kittColors } from './colors';\n\nexport const calcLineHeight = (fontSize: number, lineHeightMultiplier: number): number =>\n Math.round(fontSize * lineHeightMultiplier);\n\nexport interface TypographyTypeBreakpointRangeConfig {\n fontSize: number;\n lineHeight: number;\n}\n\nexport interface TypographyTypeConfig {\n baseAndSmall: TypographyTypeBreakpointRangeConfig;\n mediumAndWide: TypographyTypeBreakpointRangeConfig;\n}\n\n/** @deprecated legacy typography type config is deprecated. */\nexport const createLegacyTypographyTypeConfig = (\n lineHeightMultiplierBaseAndSmall: number,\n baseAndSmallFontSize: number,\n mediumAndWideFontSize: number = baseAndSmallFontSize,\n lineHeightMultiplierMediumAndWide = lineHeightMultiplierBaseAndSmall,\n): TypographyTypeConfig => ({\n baseAndSmall: {\n fontSize: baseAndSmallFontSize,\n lineHeight: calcLineHeight(baseAndSmallFontSize, lineHeightMultiplierBaseAndSmall),\n },\n mediumAndWide: {\n fontSize: mediumAndWideFontSize,\n lineHeight: calcLineHeight(mediumAndWideFontSize, lineHeightMultiplierMediumAndWide),\n },\n});\n\nexport const createTypographyConfig = (fontSize: number, lineHeightMultiplier: number): TypographyTypeConfig => {\n const config: TypographyTypeBreakpointRangeConfig = {\n fontSize,\n lineHeight: calcLineHeight(fontSize, lineHeightMultiplier),\n };\n return { baseAndSmall: config, mediumAndWide: config };\n};\n\nexport const typography = {\n colors: {\n black: kittColors.black,\n 'black-anthracite': kittColors.blackAnthracite,\n 'black-disabled': lateOceanColorPalette.black400,\n 'black-light': lateOceanColorPalette.black555,\n white: kittColors.white,\n 'white-light': kittColors.white,\n primary: kittColors.primary,\n 'primary-light': kittColors.primaryLight,\n accent: kittColors.accent,\n success: kittColors.success,\n danger: lateOceanColorPalette['coral.9'],\n warning: kittColors.warning,\n },\n types: {\n headings: {\n fontFamily: {\n native: {\n regular: 'Moderat-Bold',\n bold: 'Moderat-Bold',\n },\n web: {\n regular: 'Moderat',\n bold: 'Moderat',\n },\n },\n fontWeight: {\n regular: 400,\n bold: 700,\n },\n fontStyle: 'normal',\n configs: {\n /* legacy */\n header1: createLegacyTypographyTypeConfig(1.1, 40, 56),\n header2: createLegacyTypographyTypeConfig(1.15, 32, 48, 1.1),\n header3: createLegacyTypographyTypeConfig(1.15, 24, 40, 1.1),\n header4: createLegacyTypographyTypeConfig(1.15, 18, 24, 1.2),\n header5: createLegacyTypographyTypeConfig(1.15, 18, 18),\n\n /* latest */\n 'heading-xxl': createTypographyConfig(56, 1.1),\n 'heading-xl': createTypographyConfig(48, 1.1),\n 'heading-l': createTypographyConfig(40, 1.1),\n 'heading-m': createTypographyConfig(32, 1.15),\n 'heading-s': createTypographyConfig(24, 1.15),\n 'heading-xs': createTypographyConfig(18, 1.15),\n 'heading-xxs': createTypographyConfig(16, 1.15),\n },\n },\n 'headings-impact': {\n fontFamily: {\n native: {\n regular: 'Transducer-Black',\n bold: 'Transducer-Black',\n },\n web: {\n regular: 'TransducerBlack',\n bold: 'TransducerBlack',\n },\n },\n fontWeight: 600,\n fontStyle: 'normal',\n configs: {\n /* legacy */\n 'header-impact-xxl': createLegacyTypographyTypeConfig(1.1, 56, 56),\n 'header-impact-xl': createLegacyTypographyTypeConfig(1.1, 48, 48),\n 'header-impact-l': createLegacyTypographyTypeConfig(1.1, 40, 40),\n 'header-impact-m': createLegacyTypographyTypeConfig(1.1, 32, 32),\n 'header-impact-s': createLegacyTypographyTypeConfig(1.1, 24, 24),\n 'header-impact-xs': createLegacyTypographyTypeConfig(1.1, 18, 18),\n 'header-impact-xxs': createLegacyTypographyTypeConfig(1.1, 16, 16),\n 'header-impact-xxxs': createLegacyTypographyTypeConfig(1.1, 14, 14),\n\n /* latest */\n 'heading-impact-xxl': createTypographyConfig(56, 1.1),\n 'heading-impact-xl': createTypographyConfig(48, 1.1),\n 'heading-impact-l': createTypographyConfig(40, 1.1),\n 'heading-impact-m': createTypographyConfig(32, 1.1),\n 'heading-impact-s': createTypographyConfig(24, 1.1),\n 'heading-impact-xs': createTypographyConfig(18, 1.1),\n 'heading-impact-xxs': createTypographyConfig(16, 1.1),\n 'heading-impact-xxxs': createTypographyConfig(14, 1.1),\n },\n },\n bodies: {\n fontFamily: {\n web: {\n regular: 'Moderat',\n bold: 'Moderat',\n },\n native: {\n regular: 'Moderat-Regular',\n bold: 'Moderat-Bold',\n },\n },\n fontWeight: {\n regular: 400,\n bold: 700,\n },\n fontStyle: {\n regular: 'normal',\n bold: 'normal',\n },\n configs: {\n /* legacy */\n 'body-large': createLegacyTypographyTypeConfig(1.3, 18, 24),\n 'body-medium': createLegacyTypographyTypeConfig(1.3, 18, 18),\n body: createLegacyTypographyTypeConfig(1.3, 16, 16),\n 'body-small': createLegacyTypographyTypeConfig(1.15, 14, 14),\n 'body-xsmall': createLegacyTypographyTypeConfig(1.15, 12, 12),\n\n /* latest */\n 'body-xl': createTypographyConfig(24, 1.3),\n 'body-l': createTypographyConfig(18, 1.3),\n 'body-m': createTypographyConfig(16, 1.3),\n 'body-s': createTypographyConfig(14, 1.15),\n 'body-xs': createTypographyConfig(12, 1.15),\n },\n },\n },\n link: {\n /** @deprecated not used in kitt anymore, use Typography instead */\n disabledColor: kittColors.blackDisabled,\n },\n};\n","import type { TextStyle } from 'react-native';\nimport { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\nimport { colors } from './colors';\nimport { typography } from './typography';\n\nexport interface PickerTheme {\n maxWidthFixed: 320;\n ios: {\n default: TextStyle;\n landscape: TextStyle;\n selected: {\n color: string;\n };\n };\n android: {\n option: {\n verticalPadding: number;\n horizontalPadding: number;\n default: {\n backgroundColor: string;\n };\n selected: {\n backgroundColor: string;\n color: string;\n };\n };\n };\n web: {\n optionsContainer: {\n borderRadius: number;\n backgroundColor: string;\n shadow: {\n color: string;\n offsetX: number;\n offsetY: number;\n opacity: number;\n radius: number;\n };\n };\n option: {\n minHeight: number;\n horizontalPadding: number;\n verticalPadding: number;\n default: {\n backgroundColor: string;\n };\n highlighted: {\n backgroundColor: string;\n };\n selected: {\n backgroundColor: string;\n };\n hovered: {\n backgroundColor: string;\n };\n pressed: {\n backgroundColor: string;\n };\n focused: {\n backgroundColor: string;\n };\n };\n };\n}\n\nexport const picker: PickerTheme = {\n maxWidthFixed: 320,\n ios: {\n default: {\n fontFamily: typography.types.bodies.fontFamily.native.regular,\n ...typography.types.bodies.configs.body.baseAndSmall,\n fontSize: 16,\n color: typography.colors['black-light'],\n // Default height is hard coded in module because of iOS constraint (https://github.com/react-native-picker/picker/blob/abd5f9076baa3ef2277ea7e711fa5823683c110e/js/PickerIOS.ios.js#L156)\n height: 216,\n },\n landscape: {\n height: 108,\n },\n selected: {\n color: typography.colors.primary,\n },\n },\n web: {\n optionsContainer: {\n borderRadius: 10,\n backgroundColor: colors.white,\n shadow: { color: colors.black, offsetX: 0, offsetY: 10, opacity: 0.15, radius: 20 },\n },\n option: {\n minHeight: 32,\n horizontalPadding: 16,\n verticalPadding: 4,\n default: {\n backgroundColor: colors.transparent,\n },\n hovered: { backgroundColor: lateOceanColorPalette.black50 },\n focused: { backgroundColor: lateOceanColorPalette.black50 },\n selected: { backgroundColor: lateOceanColorPalette.black50 },\n highlighted: { backgroundColor: lateOceanColorPalette.black50 },\n pressed: { backgroundColor: lateOceanColorPalette.black100 },\n },\n },\n android: {\n option: {\n verticalPadding: 12,\n horizontalPadding: 24,\n default: {\n backgroundColor: colors.transparent,\n },\n selected: {\n backgroundColor: colors.primary,\n color: typography.colors.white,\n },\n },\n },\n};\n","import { colors } from './colors';\n\ninterface ShadowShapeTheme {\n color: string;\n offsetX: number;\n offsetY: number;\n opacity: number;\n radius: number;\n}\n\nexport interface ShadowsTheme {\n medium: string;\n cards: Record<string, ShadowShapeTheme>;\n navigation: Record<string, ShadowShapeTheme>;\n panel: ShadowShapeTheme;\n}\n\nexport const shadows: ShadowsTheme = {\n /** @deprecated: use cards.medium instead - shorthand shadow doesnt work with Native Base */\n medium: '0px 10px 20px rgba(41, 48, 51, 0.25)',\n cards: {\n low: {\n color: colors.black,\n offsetX: 0,\n offsetY: 5,\n opacity: 0.1,\n radius: 20,\n },\n medium: {\n color: colors.black,\n offsetX: 0,\n offsetY: 10,\n opacity: 0.15,\n radius: 20,\n },\n highBase: {\n color: colors.black,\n offsetX: 0,\n offsetY: 10,\n opacity: 0.15,\n radius: 20,\n },\n highMedium: {\n color: colors.black,\n offsetX: 0,\n offsetY: 60,\n opacity: 0.08,\n radius: 40,\n },\n highLarge: {\n color: colors.black,\n offsetX: 0,\n offsetY: 80,\n opacity: 0.08,\n radius: 60,\n },\n },\n navigation: {\n left: {\n color: colors.black,\n offsetX: 10,\n offsetY: 0,\n opacity: 0.15,\n radius: 30,\n },\n right: {\n color: colors.black,\n offsetX: -10,\n offsetY: 0,\n opacity: 0.15,\n radius: 30,\n },\n },\n panel: {\n color: colors.black,\n offsetX: 0,\n offsetY: 20,\n opacity: 1,\n radius: 40,\n },\n};\n","import { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\n\ninterface SkeletonShapeTheme {\n size: number;\n borderRadius: number;\n}\nexport interface SkeletonTheme {\n backgroundColor: string;\n flareColor: string;\n animationDuration: number;\n shape: Record<string, SkeletonShapeTheme>;\n}\n\nexport const skeletonBackgroundColor = lateOceanColorPalette.black100;\nexport const skeletonFlareColor = lateOceanColorPalette.black200;\n\nexport const skeleton: SkeletonTheme = {\n backgroundColor: skeletonBackgroundColor,\n flareColor: skeletonFlareColor,\n animationDuration: 1000,\n shape: {\n bar: {\n size: 8,\n borderRadius: 4,\n },\n circle: {\n size: 48,\n borderRadius: 24,\n },\n square: {\n size: 48,\n borderRadius: 6,\n },\n },\n};\n","export interface TagThemeBorderWidth {\n borderWidth: number;\n}\n\nexport interface TagSize {\n paddingRight: number;\n paddingLeft: number;\n}\n\nexport interface TagTheme {\n borderRadius: number;\n fill: TagThemeBorderWidth;\n outline: TagThemeBorderWidth;\n contrast: TagThemeBorderWidth;\n icon: {\n small: number;\n medium: number;\n large: number;\n };\n height: {\n small: number;\n medium: number;\n large: number;\n };\n withIcon: {\n small: TagSize;\n medium: TagSize;\n large: TagSize;\n };\n withoutIcon: {\n small: TagSize;\n medium: TagSize;\n large: TagSize;\n };\n}\n\nexport const tag: TagTheme = {\n borderRadius: 16,\n icon: {\n small: 16,\n medium: 16,\n large: 20,\n },\n height: {\n small: 20,\n medium: 24,\n large: 32,\n },\n withIcon: {\n small: {\n paddingLeft: 2,\n paddingRight: 8,\n },\n medium: {\n paddingLeft: 4,\n paddingRight: 8,\n },\n large: {\n paddingLeft: 6,\n paddingRight: 8,\n },\n },\n withoutIcon: {\n small: {\n paddingLeft: 8,\n paddingRight: 8,\n },\n medium: {\n paddingLeft: 8,\n paddingRight: 8,\n },\n large: {\n paddingLeft: 8,\n paddingRight: 8,\n },\n },\n fill: {\n borderWidth: 0,\n },\n outline: {\n borderWidth: 1,\n },\n contrast: {\n borderWidth: 0,\n },\n};\n","import { hex2rgba } from '../../utils/hexToRgba';\nimport { colors } from './colors';\n\ninterface TooltipTransition {\n duration: string;\n timingFunction: string;\n property: string;\n}\n\nexport interface TooltipTheme {\n backgroundColor: string;\n borderRadius: number;\n opacity: number;\n horizontalPadding: number;\n verticalPadding: number;\n floatingPadding: number;\n maxWidth: number;\n transition: {\n in: TooltipTransition;\n out: TooltipTransition;\n };\n arrow: {\n width: number;\n height: number;\n };\n}\n\nexport const tooltip: TooltipTheme = {\n backgroundColor: hex2rgba(colors.black, 0.95),\n borderRadius: 10,\n opacity: 0.95,\n horizontalPadding: 16,\n verticalPadding: 8,\n floatingPadding: 8,\n maxWidth: 328,\n transition: {\n in: {\n duration: '150ms',\n timingFunction: 'ease-out',\n property: 'opacity',\n },\n out: {\n duration: '75ms',\n timingFunction: 'ease-out',\n property: 'opacity',\n },\n },\n arrow: {\n width: 39,\n height: 9,\n },\n};\n","import { lateOceanColorPalette } from '../palettes/lateOceanColorPalette';\nimport { colors } from './colors';\n\ninterface StepStateTheme {\n icon: {\n backgroundColor: string;\n textColor: string;\n };\n}\n\nexport interface VerticalStepsTheme {\n active: StepStateTheme;\n done: StepStateTheme;\n default: StepStateTheme;\n}\n\nexport const verticalSteps: VerticalStepsTheme = {\n active: {\n icon: {\n backgroundColor: colors.primary,\n textColor: colors.white,\n },\n },\n done: {\n icon: {\n backgroundColor: lateOceanColorPalette.moonPurple,\n textColor: colors.primary,\n },\n },\n default: {\n icon: {\n backgroundColor: colors.disabled,\n textColor: colors.blackDisabled,\n },\n },\n};\n","import { actionCard } from './late-ocean/actionCard';\nimport { avatar } from './late-ocean/avatar';\nimport { bottomSheet } from './late-ocean/bottomSheet';\nimport { button } from './late-ocean/button';\nimport { buttonBadge } from './late-ocean/buttonBadge';\nimport { card } from './late-ocean/card';\nimport { cardModal } from './late-ocean/cardModal';\nimport { choices } from './late-ocean/choices';\nimport { colors } from './late-ocean/colors';\nimport { dialogModal } from './late-ocean/dialogModal';\nimport { feedbackMessage } from './late-ocean/feedback';\nimport { forms } from './late-ocean/forms';\nimport { fullscreenModal } from './late-ocean/fullscreenModal';\nimport { highlight } from './late-ocean/highlight';\nimport { icon } from './late-ocean/icon';\nimport { iconButton } from './late-ocean/iconButton';\nimport { listItem } from './late-ocean/listItem';\nimport { mapMarker } from './late-ocean/mapMarker';\nimport { pageLoader } from './late-ocean/pageLoader';\nimport { picker } from './late-ocean/picker';\nimport { shadows } from './late-ocean/shadows';\nimport { skeleton } from './late-ocean/skeleton';\nimport { spacing } from './late-ocean/spacing';\nimport { tag } from './late-ocean/tag';\nimport { toggle } from './late-ocean/toggle';\nimport { tooltip } from './late-ocean/tooltip';\nimport { typography } from './late-ocean/typography';\nimport { verticalSteps } from './late-ocean/verticalSteps';\nimport { lateOceanColorPalette } from './palettes/lateOceanColorPalette';\n\nconst breakpoints = {\n values: {\n base: 0,\n small: 480,\n medium: 768,\n large: 1024,\n wide: 1280,\n },\n min: {\n smallBreakpoint: 'min-width: 480px',\n mediumBreakpoint: 'min-width: 768px',\n largeBreakpoint: 'min-width: 1024px',\n wideBreakpoint: 'min-width: 1280px',\n },\n max: {\n smallBreakpoint: 'max-width: 479px',\n mediumBreakpoint: 'max-width: 767px',\n largeBreakpoint: 'max-width: 1023px',\n wideBreakpoint: 'max-width: 1279px',\n },\n};\n\n// eslint-disable-next-line unicorn/expiring-todo-comments\n// TODO : seperate brand color usage definition from proper theme definition and add typings - https://ornikar.atlassian.net/browse/CME-156\nexport const theme = {\n spacing,\n getSpacing: (multiplier: number): number => spacing * multiplier,\n colors,\n palettes: { lateOcean: lateOceanColorPalette },\n avatar,\n breakpoints,\n button,\n bottomSheet,\n card,\n cardModal,\n choices,\n dialogModal,\n feedbackMessage,\n forms,\n highlight,\n icon,\n buttonBadge,\n iconButton,\n listItem,\n pageLoader,\n picker,\n shadows,\n skeleton,\n tag,\n tooltip,\n typography,\n fullscreenModal,\n actionCard,\n verticalSteps,\n mapMarker,\n toggle,\n};\n\nexport type Theme = typeof theme;\n","import { createContext, useContext } from 'react';\nimport type { Theme as KittTheme } from './themes/default';\nimport { theme as kittTheme } from './themes/default';\n\nexport interface KittThemeContextValue {\n kitt: KittTheme;\n}\n\nexport const KittThemeContext = createContext<KittThemeContextValue>({\n kitt: kittTheme,\n});\n\nexport const useTheme = (): KittThemeContextValue => useContext(KittThemeContext);\n","import type { ActionCardVariant } from '../../themes/late-ocean/actionCard';\n\nexport const getStateKey = (isHovered?: boolean, isPressed?: boolean, isFocused?: boolean): keyof ActionCardVariant => {\n if (isPressed) {\n return 'pressed';\n }\n\n if (isFocused) {\n return 'focused';\n }\n\n if (isHovered) {\n return 'hovered';\n }\n\n return 'default';\n};\n","import type { ActionCardTheme } from '../../themes/late-ocean/actionCard';\nimport type { ActionCardBorderVariantType, ActionCardVariantType } from '../types';\n\nexport const getThemeName = (\n variant: ActionCardVariantType,\n borderVariant: ActionCardBorderVariantType,\n): keyof ActionCardTheme => {\n if (borderVariant === 'soft') {\n return 'primary-border-soft';\n }\n if (borderVariant === 'hard') {\n return 'primary-border-hard';\n }\n\n return variant;\n};\n","import type { ReactNode } from 'react';\nimport { useTheme } from '../KittThemeContext';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\nimport type { ActionCardBorderVariantType, ActionCardVariantType } from './types';\nimport { getStateKey } from './utils/getStateKey';\nimport { getThemeName } from './utils/getThemeName';\n\ninterface ActionCardContentWrapperProps {\n isHovered?: boolean;\n isPressed?: boolean;\n isFocused?: boolean;\n variant: ActionCardVariantType;\n borderVariant?: ActionCardBorderVariantType;\n borderRadius: ViewProps['borderRadius'];\n children: ReactNode;\n}\n\nexport function ActionCardContentWrapper({\n isHovered,\n isPressed,\n isFocused,\n variant,\n borderVariant = 'none',\n borderRadius,\n children,\n}: ActionCardContentWrapperProps): ReactNode {\n const theme = useTheme();\n const state = getStateKey(isHovered, isPressed, isFocused);\n\n if (__DEV__ && borderVariant !== 'none' && variant !== 'primary') {\n throw new Error(`borderVariant=${borderVariant} is only allowed with variant=primary`);\n }\n\n const { translateY } = theme.kitt.actionCard[variant][state];\n\n const sharedTransform = translateY\n ? {\n transform: [{ translateY }],\n }\n : {};\n\n const themeName = getThemeName(variant, borderVariant);\n\n return (\n <View\n _ios={{ style: sharedTransform }}\n _android={{ style: sharedTransform }}\n _web={{\n style: {\n transform: `translateY(${translateY}px)`,\n },\n }}\n width=\"100%\"\n backgroundColor={`kitt.actionCard.${themeName}.${state}.backgroundColor`}\n borderRadius={borderRadius}\n borderColor={`kitt.actionCard.${themeName}.${state}.borderColor`}\n borderWidth={`kitt.actionCard.${themeName}.${state}.borderWidth`}\n shadow={`kitt.actionCard.${themeName}.${state}.shadow`}\n flexGrow={1}\n >\n {children}\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\nimport type { ActionCardVariantType } from './types';\n\ninterface ActionCardDisabledProps {\n variant: ActionCardVariantType;\n children: ReactNode;\n borderRadius: ViewProps['borderRadius'];\n}\n\nexport function ActionCardDisabled({ variant, children, borderRadius }: ActionCardDisabledProps): ReactNode {\n return (\n <View\n borderRadius={borderRadius}\n borderStyle=\"solid\"\n borderWidth={`kitt.actionCard.${variant}.disabled.borderWidth`}\n borderColor={`kitt.actionCard.${variant}.disabled.borderColor`}\n backgroundColor={`kitt.actionCard.${variant}.disabled.backgroundColor`}\n shadow={`kitt.actionCard.${variant}.disabled.shadow`}\n flexGrow={1}\n >\n {children}\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { forwardRef } from 'react';\nimport type { PressableProps, ViewProps } from '../native-base/primitives';\nimport { Pressable, View } from '../native-base/primitives';\nimport { ActionCardContentWrapper } from './ActionCardContentWrapper';\nimport { ActionCardDisabled } from './ActionCardDisabled';\nimport type { ActionCardBorderVariantType, ActionCardVariantType } from './types';\n\nexport interface ActionCardProps extends ViewProps {\n variant?: ActionCardVariantType;\n borderVariant?: ActionCardBorderVariantType;\n disabled?: boolean;\n children: ReactNode;\n /** @internal used by ActionCard.Pressable only */\n isHovered?: boolean;\n /** @internal used by ActionCard.Pressable only */\n isPressed?: boolean;\n /** @internal used by ActionCard.Pressable only */\n isFocused?: boolean;\n}\n\nexport function ActionCard({\n children,\n variant = 'secondary',\n borderVariant = 'none',\n borderRadius = 'kitt.actionCard.borderRadius',\n disabled,\n isHovered,\n isPressed,\n isFocused,\n ...props\n}: ActionCardProps): ReactNode {\n return (\n <View {...props}>\n {disabled ? (\n <ActionCardDisabled borderRadius={borderRadius} variant={variant}>\n {children}\n </ActionCardDisabled>\n ) : (\n <ActionCardContentWrapper\n borderRadius={borderRadius}\n variant={variant}\n borderVariant={borderVariant}\n isHovered={isHovered}\n isFocused={isFocused}\n isPressed={isPressed}\n >\n {children}\n </ActionCardContentWrapper>\n )}\n </View>\n );\n}\n\nexport interface ActionCardPressableProps\n extends ActionCardProps,\n Pick<\n PressableProps,\n 'testID' | 'href' | 'hrefAttrs' | 'accessibilityRole' | 'onPress' | 'onHoverIn' | 'onHoverOut' | 'onFocus'\n > {\n /** @internal for story purpose */\n isHoveredInternal?: boolean;\n /** @internal for story purpose */\n isPressedInternal?: boolean;\n /** @internal for story purpose */\n isFocusedInternal?: boolean;\n}\n\nconst ActionCardPressable = forwardRef<typeof Pressable, ActionCardPressableProps>(\n (\n {\n children,\n variant = 'secondary',\n borderVariant = 'none',\n borderRadius = 'kitt.actionCard.borderRadius',\n disabled,\n testID,\n href,\n hrefAttrs,\n accessibilityRole = 'button',\n isHoveredInternal,\n isPressedInternal,\n isFocusedInternal,\n onPress,\n onHoverIn,\n onHoverOut,\n }: ActionCardPressableProps,\n ref,\n ): ReactNode => {\n return (\n <Pressable\n ref={ref}\n accessibilityRole={accessibilityRole}\n disabled={disabled}\n testID={testID}\n href={href}\n hrefAttrs={hrefAttrs}\n width=\"100%\"\n onPress={onPress}\n onHoverIn={onHoverIn}\n onHoverOut={onHoverOut}\n >\n {({ isHovered, isPressed, isFocused }) => (\n <ActionCard\n variant={variant}\n borderVariant={borderVariant}\n borderRadius={borderRadius}\n disabled={disabled}\n isHovered={isHovered || isHoveredInternal}\n isFocused={isFocused || isFocusedInternal}\n isPressed={isPressed || isPressedInternal}\n >\n {children}\n </ActionCard>\n )}\n </Pressable>\n );\n },\n);\n\nActionCard.Pressable = ActionCardPressable;\n","import type { ICenterProps, IStackProps } from 'native-base';\nimport {\n Center as NativeBaseCenter,\n HStack as NativeBaseHStack,\n Stack as NativeBaseStack,\n VStack as NativeBaseVStack,\n} from 'native-base';\nimport type { InterfaceStackProps } from 'native-base/lib/typescript/components/primitives/Stack/Stack';\nimport type { SafeAreaProps, SpaceType } from 'native-base/lib/typescript/components/types';\nimport type { ViewProps as NativeViewProps } from 'react-native';\nimport type { Except } from 'type-fest';\nimport type { KittResponsivePropOrValue } from '../KittBreakpoints';\nimport type {\n ForwardRefComponent,\n NativeBaseAcceptedBorderProps,\n NativeBaseAcceptedBorderRadiusProps,\n NativeBaseAcceptedChildrenProp,\n NativeBaseAcceptedColorsProps,\n NativeBaseAcceptedFlexboxProps,\n NativeBaseAcceptedLayoutProps,\n NativeBaseAcceptedPositionProps,\n NativeBaseAcceptedShadowProps,\n NativeBaseAcceptedSpaceProps,\n} from './acceptable-native-base-props';\n\ntype NativeBaseAcceptedStackProps = Extract<\n keyof InterfaceStackProps,\n | 'divider'\n | 'reversed'\n | 'direction'\n | 'isHovered'\n | 'isFocused'\n | 'isDisabled'\n | 'isInvalid'\n | 'isReadOnly'\n | keyof NativeViewProps\n | keyof SafeAreaProps\n>;\n\nexport interface StackProps\n extends Pick<\n IStackProps,\n | NativeBaseAcceptedChildrenProp\n | NativeBaseAcceptedStackProps\n | NativeBaseAcceptedSpaceProps\n | NativeBaseAcceptedColorsProps\n | NativeBaseAcceptedBorderProps\n | NativeBaseAcceptedBorderRadiusProps\n | NativeBaseAcceptedPositionProps\n | NativeBaseAcceptedShadowProps\n | NativeBaseAcceptedLayoutProps\n | NativeBaseAcceptedFlexboxProps\n > {\n space?: KittResponsivePropOrValue<SpaceType>;\n}\n\nexport const Stack = NativeBaseStack as ForwardRefComponent<StackProps>;\n\nexport interface VStackProps extends Except<StackProps, 'direction'> {\n direction?: Extract<StackProps['direction'], 'column' | 'column-reverse'>;\n}\nexport const VStack = NativeBaseVStack as ForwardRefComponent<VStackProps>;\n\nexport interface HStackProps extends Except<StackProps, 'direction'> {\n direction?: Extract<StackProps['direction'], 'row' | 'row-reverse'>;\n}\nexport const HStack = NativeBaseHStack as ForwardRefComponent<HStackProps>;\n\nexport interface CenterProps\n extends Pick<\n ICenterProps,\n | keyof NativeViewProps\n | keyof SafeAreaProps\n | NativeBaseAcceptedChildrenProp\n | NativeBaseAcceptedSpaceProps\n | NativeBaseAcceptedColorsProps\n | NativeBaseAcceptedBorderProps\n | NativeBaseAcceptedBorderRadiusProps\n | NativeBaseAcceptedPositionProps\n | NativeBaseAcceptedShadowProps\n | NativeBaseAcceptedLayoutProps\n | NativeBaseAcceptedFlexboxProps\n > {}\n\nexport const Center = NativeBaseCenter as ForwardRefComponent<CenterProps>;\n","export const KittBreakpoints = {\n /**\n * min-width: 0\n */\n BASE: 0,\n /**\n * min-width: 480px\n */\n SMALL: 480,\n /**\n * min-width: 768px\n */\n MEDIUM: 768,\n /**\n * min-width: 1024px\n */\n LARGE: 1024,\n /**\n * min-width: 1280px\n */\n WIDE: 1280,\n};\n\nexport const KittBreakpointsMax = {\n /**\n * max-width: 479px\n */\n BASE: KittBreakpoints.SMALL - 1,\n /**\n * max-width: 767px\n */\n SMALL: KittBreakpoints.MEDIUM - 1,\n /**\n * max-width: 1023px\n */\n MEDIUM: KittBreakpoints.LARGE - 1,\n /**\n * max-width: 1279px\n */\n LARGE: KittBreakpoints.WIDE - 1,\n};\n\nexport type KittBreakpoint = (typeof KittBreakpoints)[keyof typeof KittBreakpoints];\nexport type KittBreakpointMax = (typeof KittBreakpointsMax)[keyof typeof KittBreakpointsMax];\n\nexport enum KittBreakpointNameEnum {\n BASE = 'base',\n SMALL = 'small',\n MEDIUM = 'medium',\n LARGE = 'large',\n WIDE = 'wide',\n}\n\nexport type KittResponsiveProp<Value> = Record<KittBreakpointNameEnum.BASE, Value> &\n Partial<Record<Exclude<KittBreakpointNameEnum, KittBreakpointNameEnum.BASE>, Value>>;\n\nexport type KittResponsivePropOrValue<Value> = KittResponsiveProp<Value> | Value;\n","// eslint-disable-next-line no-restricted-imports\nimport { useBreakpointValue } from 'native-base';\nimport type { ReactNode } from 'react';\nimport { createContext, useContext, useMemo } from 'react';\nimport { KittBreakpointNameEnum } from '../KittBreakpoints';\n\ninterface CurrentBreakpointContextType {\n breakpoint: KittBreakpointNameEnum;\n}\n\nconst CurrentBreakpointContext = createContext<CurrentBreakpointContextType | undefined>(undefined);\n\ninterface CurrentBreakpointProviderProps {\n children: ReactNode;\n}\n\n/**\n * Provider that uses the native-base breakpoint system to detect the current viewport size and maps it to Kitt's breakpoint names.\n */\nexport function CurrentBreakpointProvider({ children }: CurrentBreakpointProviderProps): ReactNode {\n const breakpoint = useBreakpointValue({\n base: KittBreakpointNameEnum.BASE,\n small: KittBreakpointNameEnum.SMALL,\n medium: KittBreakpointNameEnum.MEDIUM,\n large: KittBreakpointNameEnum.LARGE,\n wide: KittBreakpointNameEnum.WIDE,\n });\n\n const value = useMemo(() => ({ breakpoint }), [breakpoint]);\n\n return <CurrentBreakpointContext.Provider value={value}>{children}</CurrentBreakpointContext.Provider>;\n}\n\n/**\n * React hook that provides information about the current breakpoint.\n * Unlike the native-base counterpart, this hook does not trigger a re-render on every viewport size change.\n */\nexport function useCurrentBreakpointName(): CurrentBreakpointContextType {\n const context = useContext(CurrentBreakpointContext);\n\n if (context === undefined) {\n throw new Error('useCurrentBreakpoint must be used within an CurrentBreakpointProvider');\n }\n\n return context;\n}\n","import type { ITheme } from 'native-base';\nimport { useMemo } from 'react';\nimport type { SetRequired } from 'type-fest';\nimport { KittBreakpointNameEnum } from '../KittBreakpoints';\nimport { useCurrentBreakpointName } from './CurrentBreakpointContext';\n\nexport type { StyledProps } from 'native-base';\nexport { useClipboard, useContrastText, useSx, useToken } from 'native-base';\n\ntype UseBreakpointValueParam<T> = {\n [key in keyof ITheme['breakpoints']]?: T;\n};\n\nexport type BreakpointValueHookValues<T> = SetRequired<UseBreakpointValueParam<T>, 'base'>;\n\n/**\n * Retrieves the appropriate value for the given breakpoint with fallback to smaller breakpoints.\n * Mimics Native Base's logic.\n */\nexport function getValueForBreakpoint<T>(\n breakpoint: KittBreakpointNameEnum,\n { base, small, medium, large, wide }: BreakpointValueHookValues<T>,\n): T {\n switch (breakpoint) {\n case KittBreakpointNameEnum.WIDE:\n return wide ?? large ?? medium ?? small ?? base;\n case KittBreakpointNameEnum.LARGE:\n return large ?? medium ?? small ?? base;\n case KittBreakpointNameEnum.MEDIUM:\n return medium ?? small ?? base;\n case KittBreakpointNameEnum.SMALL:\n return small ?? base;\n case KittBreakpointNameEnum.BASE:\n default:\n return base;\n }\n}\n\n/**\n * A hook that returns a value based on the current breakpoint.\n * Mimics the behavior of Native Base's useBreakpointValue, but uses our custom context for better performance.\n */\nexport function useBreakpointValue<T>(values: BreakpointValueHookValues<T>): T {\n const { breakpoint } = useCurrentBreakpointName();\n\n return useMemo(() => {\n return getValueForBreakpoint(breakpoint, values);\n }, [breakpoint, values]);\n}\n","import type { KittBreakpointNameEnum } from '../../KittBreakpoints';\n\nexport type ResponsiveRecordValue<T> = { [key in KittBreakpointNameEnum]?: T };\nexport type ResponsiveValue<T> = T | ResponsiveRecordValue<T> | undefined;\n\nexport function createResponsiveStyleFromProp<PossibleStyleValue>(\n responsiveBooleanValue: ResponsiveValue<boolean | undefined>,\n valueIfTrue: PossibleStyleValue,\n valueIfFalse?: PossibleStyleValue,\n): ResponsiveValue<PossibleStyleValue> {\n // Handles simple boolean values\n if (!responsiveBooleanValue) return valueIfFalse;\n\n if (responsiveBooleanValue === true) return valueIfTrue;\n\n // Handles responsive value object\n const keys = Object.keys(responsiveBooleanValue) as KittBreakpointNameEnum[];\n\n if (keys.length === 0) return valueIfFalse;\n\n const responsiveValue = {} as ResponsiveRecordValue<PossibleStyleValue>;\n\n keys.forEach((breakpointName) => {\n responsiveValue[breakpointName] = responsiveBooleanValue[breakpointName] ? valueIfTrue : valueIfFalse;\n });\n\n return responsiveValue;\n}\n","export function warn(message: string): void {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(message);\n }\n}\n\nexport function deprecatedMessage(symbol: string, deprecation: string, replaceBy?: string): void {\n const replaceMessage = replaceBy === undefined ? '' : `, please use ${replaceBy} instead`;\n\n warn(`[Deprecation] in ${symbol}: ${deprecation} is deprecated${replaceMessage}.`);\n}\n\nexport function deprecatedInComponent(component: string, deprecation: string, replaceBy?: string): void {\n deprecatedMessage(`<${component} />`, deprecation, replaceBy);\n}\n","import type { ButtonType, ButtonVariant } from '../Button';\n\ninterface GetCurrentBackgroundColorParams {\n type: ButtonType;\n variant: ButtonVariant;\n isDisabled?: boolean;\n isHovered?: boolean;\n isPressed?: boolean;\n}\n\nexport function getCurrentBackgroundColorForNativeBaseTheme({\n type,\n variant,\n isDisabled,\n isHovered,\n isPressed,\n}: GetCurrentBackgroundColorParams): string {\n if (isDisabled) return 'kitt.button.disabled.default.backgroundColor';\n\n const baseKey = `kitt.button.${type}.${variant}`;\n\n if (isHovered || isPressed) {\n return `${baseKey}.hoverBackgroundColor`;\n }\n\n return `${baseKey}.backgroundColor`;\n}\n","import { useSx } from 'native-base';\nimport type { ReactNode } from 'react';\nimport type { ViewStyle } from 'react-native';\nimport Animated from 'react-native-reanimated';\nimport type { ButtonProps, ButtonType, ButtonVariant } from './Button';\nimport { getCurrentBackgroundColorForNativeBaseTheme } from './utils/getCurrentBackgroundColorForNativeBaseTheme';\n\nexport interface AnimatedContainerProps {\n children: ReactNode;\n disabled?: boolean;\n variant: ButtonVariant;\n type: ButtonType;\n isHovered?: boolean;\n isPressed?: boolean;\n isStretch?: ButtonProps['stretch'];\n animatedStyles: Partial<ViewStyle>;\n}\n\nexport function AnimatedContainer({\n disabled,\n animatedStyles,\n children,\n isHovered,\n isPressed,\n variant,\n type,\n}: AnimatedContainerProps): ReactNode {\n const currentBackgroundColor = getCurrentBackgroundColorForNativeBaseTheme({\n type,\n variant,\n isDisabled: !!disabled,\n isHovered,\n isPressed,\n });\n const sx = useSx();\n const styles = sx({\n borderRadius: 'kitt.button.borderRadius',\n backgroundColor: currentBackgroundColor,\n });\n return <Animated.View style={disabled ? [styles] : [styles, animatedStyles]}>{children}</Animated.View>;\n}\n","export const typographyColors = [\n 'black',\n 'black-anthracite',\n 'black-disabled',\n 'black-light',\n 'white',\n 'white-light',\n 'primary',\n 'primary-light',\n 'accent',\n 'success',\n 'danger',\n 'warning',\n] as const;\n","import type { TypographyColor } from '../Typography';\n\nexport function getNBThemeColorFromColorProps(colorName: TypographyColor): string {\n return `kitt.typography.${colorName}`;\n}\n","import type { ITextProps } from 'native-base';\nimport type { ExtendedTypographyColor, TypographyColor } from '../Typography';\nimport { typographyColors } from '../typographyColors';\nimport { getNBThemeColorFromColorProps } from './getNBThemeColorFromColorProps';\n\nexport function isColorTypographyColor(colorName: unknown): colorName is TypographyColor {\n if (!colorName || typeof colorName !== 'string') return false;\n\n return (typographyColors as readonly string[]).includes(colorName);\n}\n\nexport function getTypographyColorValue(colorName: ExtendedTypographyColor | undefined): ITextProps['color'] {\n if (!colorName) return undefined;\n\n if (typeof colorName === 'string') {\n if (isColorTypographyColor(colorName)) {\n return getNBThemeColorFromColorProps(colorName);\n }\n } else if (typeof colorName === 'object') {\n return Object.fromEntries(\n Object.entries(colorName).map(([breakpointName, value]) => [\n breakpointName,\n getTypographyColorValue(value as ExtendedTypographyColor | undefined),\n ]),\n );\n }\n\n return colorName;\n}\n","import type { TypographyHeadingImpactType, TypographyHeadingType, TypographyType } from '../Typography';\n\nconst isTypeHeadings = (type: TypographyType): type is TypographyHeadingType =>\n type.startsWith('header') || type.startsWith('heading');\n\nconst isTypeHeadingsImpact = (type: TypographyType): type is TypographyHeadingImpactType =>\n type.startsWith('heading-impact') || type.startsWith('header-impact');\n\nexport type TypographyFamily = 'bodies' | 'headings' | 'headings-impact';\n\nexport const getTypographyFamily = (type: TypographyType): TypographyFamily => {\n if (isTypeHeadingsImpact(type)) return 'headings-impact';\n if (isTypeHeadings(type)) return 'headings';\n return 'bodies';\n};\n\nexport const getTypographyFamilyWithAncestorValue = <Type extends TypographyType>(\n type: Type | undefined,\n typographyFamilyInContext: TypographyFamily | null,\n): TypographyFamily => {\n if (type) return getTypographyFamily(type);\n if (typographyFamilyInContext != null) return typographyFamilyInContext;\n throw new Error('You must set a \"base\" prop or wrap this Typography in one that does.');\n};\n","import type { ITextProps } from 'native-base';\nimport { Text as NBText, useSx } from 'native-base';\nimport type { PlatformProps } from 'native-base/lib/typescript/components/types';\nimport type { FC, ReactNode } from 'react';\nimport { createContext, useContext } from 'react';\nimport type { TextProps, TextStyle } from 'react-native';\nimport { Platform } from 'react-native';\nimport type { Except, SetOptional } from 'type-fest';\nimport type { KittResponsiveProp } from '../KittBreakpoints';\nimport { KittBreakpointNameEnum } from '../KittBreakpoints';\nimport type { NativeBaseAcceptedFlexboxProps } from '../native-base/acceptable-native-base-props';\nimport type { TypographyTypeConfig } from '../themes/late-ocean/typography';\nimport type { typographyColors } from './typographyColors';\nimport { getTypographyColorValue } from './utils/getTypographyColorValue';\nimport type { TypographyFamily } from './utils/getTypographyFamily';\nimport { getTypographyFamily, getTypographyFamilyWithAncestorValue } from './utils/getTypographyFamily';\n\nexport type TypographyColor = (typeof typographyColors)[number];\n\n// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents\nexport type ExtendedTypographyColor = TypographyColor | NonNullable<ITextProps['color']> | string;\n\ntype LegacyHeadingType = `header${'1' | '2' | '3' | '4' | '5'}`;\ntype NonLegacyHeadingType = `heading-${'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'}`;\nexport type TypographyHeadingType = LegacyHeadingType | NonLegacyHeadingType;\n/** @deprecated use TypographyHeadingImpactType instead */\nexport type TypographyHeaderType = TypographyHeadingType;\n\ntype LegacyTypographyHeadingImpactType = `header-impact-${'xxxs' | 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'}`;\ntype NonLegacyTypographyHeadingImpactType = `heading-impact-${'xxxs' | 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'}`;\nexport type TypographyHeadingImpactType = LegacyTypographyHeadingImpactType | NonLegacyTypographyHeadingImpactType;\n/** @deprecated use TypographyHeadingImpactType instead */\nexport type TypographyHeaderImpactType = TypographyHeadingImpactType;\n\ntype LegacyTypographyBodyType = 'body' | `body-${'large' | 'medium' | 'small' | 'xsmall'}`;\ntype NonLegacyTypographyBodyType = `body-${'xs' | 's' | 'm' | 'l' | 'xl'}`;\nexport type TypographyBodyType = LegacyTypographyBodyType | NonLegacyTypographyBodyType;\n\nexport type TypographyType = TypographyHeadingType | TypographyHeadingImpactType | TypographyBodyType;\ntype TypographyVariant = 'regular' | 'bold';\n\nconst TypographyFamilyContext = createContext<TypographyFamily | null>(null);\nconst TypographyTypeContext = createContext<TypographyBreakpointType | null>(null);\nconst TypographyColorContext = createContext<ExtendedTypographyColor>('black');\n\nexport function useTypographyColor(): ExtendedTypographyColor {\n return useContext(TypographyColorContext);\n}\n\nexport function useTypographyAncestorType(): TypographyBreakpointType | null {\n return useContext(TypographyTypeContext);\n}\n\nconst TypographyDefaultColorContext = createContext<ExtendedTypographyColor | undefined>(undefined);\n\nfunction useTypographyDefaultColor(): ExtendedTypographyColor | undefined {\n return useContext(TypographyDefaultColorContext);\n}\n\nexport function getTypographyTypeConfigKeyFromTypeName(\n breakpointName: KittBreakpointNameEnum,\n): keyof TypographyTypeConfig {\n return breakpointName === KittBreakpointNameEnum.BASE || breakpointName === KittBreakpointNameEnum.SMALL\n ? 'baseAndSmall'\n : 'mediumAndWide';\n}\n\nexport type TypographyBreakpointType = Partial<KittResponsiveProp<TypographyType>>;\n\ntype NativeBaseTextPropsAcceptedProps = Pick<\n ITextProps,\n | keyof Except<TextProps, 'accessibilityRole'>\n | 'textAlign'\n | 'textTransform'\n | 'underline'\n | 'strikeThrough'\n | NativeBaseAcceptedFlexboxProps\n> &\n Pick<TextStyle, 'cursor' | 'transitionProperty' | 'transitionDuration' | 'transitionTimingFunction'>;\n// TODO[native-base@>=3.4.19] this currently does not work. Retest when updating native-base.\n// & {\n// _active?: Pick<NativeBaseTextPropsAcceptedProps, 'underline'>;\n// _hover?: Pick<NativeBaseTextPropsAcceptedProps, 'underline'>;\n// } ;\n\nexport interface TypographyProps\n extends TypographyBreakpointType,\n NativeBaseTextPropsAcceptedProps,\n Pick<PlatformProps<NativeBaseTextPropsAcceptedProps>, '_android' | '_ios' | '_web'> {\n type?: TypographyBreakpointType;\n // Find mapping for web here: https://www.w3.org/TR/html-aria/\n accessibilityRole: NonNullable<TextProps['accessibilityRole']> | 'paragraph' | null;\n /** Default to regular for bodies and bold of headers. Is not inherited. */\n variant?: TypographyVariant;\n /** Inherited from parent Typography if not specified, or black if no Typography parent found. */\n color?: ExtendedTypographyColor;\n children: ReactNode;\n}\nexport type TypographyPropsWithoutAccessibilityRole = Except<TypographyProps, 'accessibilityRole'>;\n\nexport function createNativeBaseFontSize(type: TypographyBreakpointType): ITextProps['fontSize'] {\n const typeWithMediumForced = {\n ...type,\n medium: type.medium || type.small || type.base,\n };\n\n const fontSizeForNativeBase: ITextProps['fontSize'] = {};\n [\n KittBreakpointNameEnum.BASE,\n KittBreakpointNameEnum.SMALL,\n KittBreakpointNameEnum.MEDIUM,\n KittBreakpointNameEnum.LARGE,\n KittBreakpointNameEnum.WIDE,\n ].forEach((typeName) => {\n const value = typeWithMediumForced[typeName];\n if (value) {\n fontSizeForNativeBase[typeName] = `${getTypographyTypeConfigKeyFromTypeName(typeName)}.${value}`;\n }\n });\n\n return fontSizeForNativeBase;\n}\n\nexport function Typography({\n accessibilityRole,\n base: legacyBase,\n small: legacySmall,\n medium: legacyMedium,\n large: legacyLarge,\n wide: legacyWide,\n type = { base: legacyBase, small: legacySmall, medium: legacyMedium, large: legacyLarge, wide: legacyWide },\n variant,\n color,\n ...otherProps\n}: TypographyProps): ReactNode {\n const sx = useSx();\n\n const typographyFamilyInContext = useContext(TypographyFamilyContext);\n\n const defaultColor = useTypographyDefaultColor();\n\n const hasTypographyAncestor = typographyFamilyInContext !== null;\n const baseOrDefaultToBody = hasTypographyAncestor ? type.base : type.base ?? 'body';\n const typographyFamily = getTypographyFamilyWithAncestorValue(baseOrDefaultToBody, typographyFamilyInContext);\n\n // force bold for headings, default to regular for bodies\n const nonNullableVariant: TypographyVariant =\n variant ?? (typographyFamily === 'headings' || typographyFamily === 'headings-impact' ? 'bold' : 'regular');\n\n const fontSizeForNativeBase = createNativeBaseFontSize({ ...type, base: baseOrDefaultToBody });\n\n const currentColor = !color && !hasTypographyAncestor ? defaultColor : color;\n const currentColorValue = getTypographyColorValue(currentColor);\n\n const colorStyles = sx({\n color: currentColorValue,\n textDecorationColor: currentColorValue,\n });\n\n if (process.env.NODE_ENV !== 'production') {\n Object.entries(type).forEach(([key, value]) => {\n if (value && getTypographyFamily(value) !== typographyFamily) {\n throw new Error(`Invalid value for \"${key}\": \"${value}\" is ${typographyFamily}. Don't mix families.`);\n }\n });\n }\n\n const text = (\n <NBText\n accessibilityRole={(accessibilityRole as TextProps['accessibilityRole']) || undefined}\n fontSize={fontSizeForNativeBase}\n lineHeight={hasTypographyAncestor ? undefined : fontSizeForNativeBase}\n fontWeight={`${typographyFamily}.${nonNullableVariant}`}\n fontFamily={`${typographyFamily}.${nonNullableVariant}`}\n {...colorStyles}\n {...otherProps}\n />\n );\n\n const content = baseOrDefaultToBody ? (\n <TypographyFamilyContext.Provider value={typographyFamily}>\n <TypographyTypeContext.Provider value={type}>{text}</TypographyTypeContext.Provider>\n </TypographyFamilyContext.Provider>\n ) : (\n text\n );\n\n return color ? <TypographyColorContext.Provider value={color}>{content}</TypographyColorContext.Provider> : content;\n}\n\nexport type TypographyTextProps = SetOptional<TypographyProps, 'accessibilityRole'>;\nfunction TypographyText(props: TypographyTextProps): ReactNode {\n return <Typography accessibilityRole={null} {...props} />;\n}\n\nfunction TypographyParagraph(props: TypographyTextProps): ReactNode {\n // role 'paragraph' does not exist in native, it's a web feature only.\n return <Typography accessibilityRole={Platform.OS === 'web' ? 'paragraph' : null} {...props} />;\n}\n\nexport type TypographyHeadingProps = TypographyPropsWithoutAccessibilityRole;\n\nconst createHeading = (\n level: number,\n /** @deprecated accessibility and design should be independent */\n defaultBase?: TypographyHeadingProps['base'],\n): FC<TypographyHeadingProps> => {\n // https://github.com/necolas/react-native-web/issues/401\n function TypographyHeading(props: TypographyHeadingProps): ReactNode {\n return <Typography accessibilityRole=\"header\" base={defaultBase} {...props} aria-level={level} />;\n }\n TypographyHeading.displayName = `TypographyHeading${level}`;\n return TypographyHeading;\n};\n\nTypography.SetDefaultColor = TypographyDefaultColorContext.Provider;\n\nTypography.Text = TypographyText;\nTypography.Paragraph = TypographyParagraph;\nTypography.Header1 = createHeading(1);\nTypography.Header2 = createHeading(2);\nTypography.Header3 = createHeading(3);\nTypography.Header4 = createHeading(4);\nTypography.Header5 = createHeading(5);\nTypography.Header6 = createHeading(6);\n\n/** @deprecated use Typography.Header1 */\nTypography.h1 = createHeading(1, 'header1');\n/** @deprecated use Typography.Header2 */\nTypography.h2 = createHeading(2, 'header2');\n/** @deprecated use Typography.Header3 */\nTypography.h3 = createHeading(3, 'header3');\n/** @deprecated use Typography.Header4 */\nTypography.h4 = createHeading(4, 'header4');\n/** @deprecated use Typography.Header6 */\nTypography.h5 = createHeading(5, 'header5');\n","import type { ReactNode } from 'react';\nimport { VStack } from '../native-base/layout';\nimport { View } from '../native-base/primitives';\nimport { Typography } from '../typography/Typography';\n\nexport interface ButtonBadgeProps {\n withBadge?: boolean;\n badgeCount?: number;\n}\n\nexport function ButtonBadge({ withBadge, badgeCount }: ButtonBadgeProps): ReactNode {\n if (withBadge) {\n return (\n <View\n height=\"kitt.buttonBadge.dimensions.withBadge.height\"\n width=\"kitt.buttonBadge.dimensions.withBadge.width\"\n backgroundColor=\"kitt.buttonBadge.backgroundColor\"\n borderRadius=\"kitt.buttonBadge.borderRadius.withBadge\"\n />\n );\n }\n\n if (badgeCount && badgeCount > 0) {\n return (\n <VStack\n alignItems=\"center\"\n justifyContent=\"center\"\n height=\"kitt.buttonBadge.dimensions.badgeCount.height\"\n width=\"kitt.buttonBadge.dimensions.badgeCount.width\"\n backgroundColor=\"kitt.buttonBadge.backgroundColor\"\n borderRadius=\"kitt.buttonBadge.borderRadius.badgeCount\"\n >\n <Typography.Text base=\"body-xs\" variant=\"bold\" color=\"white\">\n {(badgeCount || 0) > 5 ? '+5' : badgeCount}\n </Typography.Text>\n </VStack>\n );\n }\n\n return null;\n}\n","import { useSx } from 'native-base';\nimport type { ReactElement, ReactNode } from 'react';\nimport { cloneElement } from 'react';\nimport type { ViewStyle } from 'react-native';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\n\nexport interface IconProps {\n icon: ReactElement<any>;\n size?: ViewProps['size'];\n color: ViewProps['color'];\n align?: ViewStyle['alignSelf'];\n testID?: ViewProps['testID'];\n}\n\nexport function Icon({ icon, size = 'kitt.icon.defaultSize', align = 'auto', color }: IconProps): ReactNode {\n const sx = useSx();\n const { color: iconColor } = sx({ color });\n\n const clonedIcon = cloneElement(icon, { color: iconColor });\n\n return (\n <View color={color} alignSelf={align} size={size}>\n {clonedIcon}\n </View>\n );\n}\n","import { useSx } from 'native-base';\nimport type { ReactNode } from 'react';\nimport type { Except } from 'type-fest';\nimport type { IconProps } from '../Icon/Icon';\nimport { Icon } from '../Icon/Icon';\nimport { KittBreakpointNameEnum } from '../KittBreakpoints';\nimport type { ViewProps } from '../native-base/primitives';\nimport type { TypographyIconConfig } from '../themes/late-ocean/icon';\nimport type { SetNonNullable } from '../utils/typeUtils';\nimport type { TypographyBreakpointType, TypographyProps } from './Typography';\nimport { useTypographyAncestorType, useTypographyColor } from './Typography';\nimport { getTypographyColorValue } from './utils/getTypographyColorValue';\n\nfunction getIconSizeConfigKeyFromTypeName(breakpointName: KittBreakpointNameEnum): keyof TypographyIconConfig {\n return breakpointName === KittBreakpointNameEnum.BASE || breakpointName === KittBreakpointNameEnum.SMALL\n ? 'baseAndSmall'\n : 'mediumAndWide';\n}\n\nfunction createNativeBaseIconSize(type: TypographyBreakpointType): ViewProps['size'] {\n const typeWithMediumForced = {\n ...type,\n medium: type.medium || type.small || type.base,\n };\n\n const iconSizeForNativeBase: ViewProps['size'] = {};\n [\n KittBreakpointNameEnum.BASE,\n KittBreakpointNameEnum.SMALL,\n KittBreakpointNameEnum.MEDIUM,\n KittBreakpointNameEnum.LARGE,\n KittBreakpointNameEnum.WIDE,\n ].forEach((typeName) => {\n const value = typeWithMediumForced[typeName];\n if (value) {\n iconSizeForNativeBase[typeName] = `kitt.icon.typographySize.${value}.${getIconSizeConfigKeyFromTypeName(\n typeName,\n )}.iconSize`;\n }\n });\n\n return iconSizeForNativeBase;\n}\n\nexport interface TypographyIconProps extends Except<IconProps, 'color'> {\n color?: TypographyProps['color'] | 'inherit';\n}\n\nfunction TypographyIconSpecifiedColor({\n color,\n size,\n ...props\n}: SetNonNullable<TypographyIconProps, 'color'>): ReactNode {\n const ancestorType = useTypographyAncestorType();\n const iconSize = size || (ancestorType ? createNativeBaseIconSize(ancestorType) : undefined);\n const colorValue = getTypographyColorValue(color);\n const sx = useSx();\n\n const { color: colorStyleValue } = sx({ color: colorValue });\n\n return <Icon {...props} size={iconSize} color={colorStyleValue} />;\n}\n\nfunction TypographyIconInheritColor(props: TypographyIconProps): ReactNode {\n const color = useTypographyColor();\n\n return <TypographyIconSpecifiedColor color={color} {...props} />;\n}\n\nexport function TypographyIcon({ color, ...props }: TypographyIconProps): ReactNode {\n if (color) {\n return <TypographyIconSpecifiedColor color={color} {...props} />;\n }\n\n return <TypographyIconInheritColor {...props} />;\n}\n","import type { TypographyColor } from '../../typography/Typography';\nimport type { ButtonType, ButtonVariant } from '../Button';\n\nexport const getButtonTextColorByType = (\n type: ButtonType,\n variant: ButtonVariant,\n isHovered: boolean,\n isPressed: boolean,\n): TypographyColor => {\n const isButtonInteractedWith = isHovered || isPressed;\n\n switch (type) {\n case 'primary':\n return variant === 'ghost' ? 'primary' : 'white';\n case 'dark':\n return 'white';\n case 'danger':\n return 'danger';\n case 'subtle':\n return isButtonInteractedWith ? 'primary-light' : 'primary';\n case 'subtle-dark':\n return isButtonInteractedWith ? 'black-light' : 'black';\n case 'subtle-revert':\n return 'white';\n case 'default':\n return variant === 'ghost' ? 'white' : 'black';\n default:\n return 'black';\n }\n};\n","import type { ReactNode } from 'react';\nimport type { Except } from 'type-fest';\nimport { ButtonBadge } from '../ButtonBadge/ButtonBadge';\nimport { View } from '../native-base/primitives';\nimport { Typography } from '../typography/Typography';\nimport type { TypographyColor } from '../typography/Typography';\nimport type { TypographyIconProps } from '../typography/TypographyIcon';\nimport { TypographyIcon } from '../typography/TypographyIcon';\nimport type { ButtonProps, ButtonType, ButtonVariant } from './Button';\nimport { getButtonTextColorByType } from './utils/getButtonTextColorByType';\n\ninterface ButtonIconProps {\n icon: NonNullable<ButtonContentProps['icon']>;\n iconPosition: ButtonContentProps['iconPosition'];\n color: TypographyIconProps['color'];\n testID?: string;\n}\n\nfunction ButtonIcon({ icon, color, iconPosition, testID }: ButtonIconProps): ReactNode {\n return (\n <View marginRight={iconPosition === 'left' ? 'kitt.2' : 0} marginLeft={iconPosition === 'right' ? 'kitt.2' : 0}>\n <TypographyIcon icon={icon} testID={testID} color={color} />\n </View>\n );\n}\n\ninterface ButtonContentProps extends Except<ButtonProps, 'onPress' | 'disabled' | 'stretch'> {\n isDisabled?: boolean;\n type: NonNullable<ButtonType>;\n variant: NonNullable<ButtonVariant>;\n isHovered: boolean;\n isPressed: boolean;\n isFocused: boolean;\n}\n\ninterface ButtonContentChildrenProps extends Except<ButtonProps, 'onPress' | 'disabled' | 'stretch'> {\n isDisabled?: boolean;\n type: NonNullable<ButtonType>;\n color: TypographyColor;\n}\n\nexport function ButtonContentChildren({\n type,\n icon,\n iconPosition,\n innerSpacing,\n withBadge,\n badgeCount,\n color,\n children,\n}: ButtonContentChildrenProps): ReactNode {\n if (__DEV__) {\n if (!(children || icon)) {\n throw new Error('kitt(Button): You should provide at least a children or a icon');\n }\n }\n\n if (!children) {\n return (\n <TypographyIcon\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n icon={icon!}\n color={color}\n />\n );\n }\n\n const buttonIconSharedProps = {\n type,\n iconPosition,\n color,\n };\n\n // Make the multilines case work properly on native - Breaks the web implem\n const sharedNativeStyle = {\n flexShrink: 1,\n };\n\n return (\n <View alignItems=\"center\" justifyContent={innerSpacing} flexDirection=\"row\">\n {icon && iconPosition === 'left' ? (\n <ButtonIcon {...buttonIconSharedProps} testID=\"button.ButtonContent.leftButtonIcon\" icon={icon} />\n ) : null}\n\n <Typography.Text\n /* On native code, this is the only way to ensure that the text is centered */\n textAlign=\"center\"\n _android={sharedNativeStyle}\n _ios={sharedNativeStyle}\n base=\"body\"\n variant=\"bold\"\n color={color}\n >\n {children}\n </Typography.Text>\n\n {icon && iconPosition === 'right' ? <ButtonIcon {...buttonIconSharedProps} icon={icon} /> : null}\n\n {withBadge || (badgeCount && badgeCount > 0) ? (\n <View marginLeft=\"kitt.2\">\n <ButtonBadge withBadge={withBadge} badgeCount={badgeCount} />\n </View>\n ) : null}\n </View>\n );\n}\n\nexport function ButtonContent({\n type,\n variant,\n isDisabled,\n icon,\n children,\n isHovered,\n isPressed,\n isFocused,\n innerSpacing,\n ...props\n}: ButtonContentProps): ReactNode {\n const color = isDisabled ? 'black-light' : getButtonTextColorByType(type, variant, isHovered, isPressed);\n\n return (\n <View\n _web={{\n // Make the multilines case work properly on web\n // We don't apply those styles on native because it will break\n flexGrow: innerSpacing === 'center' ? 0 : 1,\n flexShrink: 1,\n flexBasis: 'auto',\n }}\n >\n <ButtonContentChildren\n icon={icon}\n type={type}\n isDisabled={isDisabled}\n color={color}\n innerSpacing={innerSpacing}\n {...props}\n >\n {children}\n </ButtonContentChildren>\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { View } from '../native-base/primitives';\nimport type { ButtonTheme } from '../themes/late-ocean/button';\nimport type { ButtonSize } from './Button';\n\ninterface GetCurrentPaddingConfigParams {\n size?: ButtonSize;\n}\n\nfunction getCurrentPaddingConfig({ size }: GetCurrentPaddingConfigParams): keyof ButtonTheme['padding'] {\n if (size === 'large') return 'large';\n if (size === 'xLarge') return 'xLarge';\n\n return 'default';\n}\n\ninterface ButtonPaddingProps {\n children: ReactNode;\n size?: ButtonSize;\n hasBadge?: boolean;\n}\n\nexport function ButtonPadding({ children, size, hasBadge }: ButtonPaddingProps): ReactNode {\n const currentPaddingKey = getCurrentPaddingConfig({ size });\n\n return (\n <View\n position=\"relative\"\n flexDirection=\"row\"\n alignItems=\"center\"\n justifyContent=\"center\"\n paddingX={`kitt.button.padding.${currentPaddingKey}.horizontal`}\n paddingY={`kitt.button.padding.${currentPaddingKey}.vertical`}\n paddingRight={hasBadge ? `kitt.button.padding.${currentPaddingKey}.hasBadge.right` : undefined}\n minHeight=\"kitt.button.minHeight\"\n >\n {children}\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { View } from '../native-base/primitives';\n\nexport function DisabledBorder(): ReactNode {\n return (\n <View\n position=\"absolute\"\n top={0}\n left={0}\n right={0}\n bottom={0}\n borderWidth=\"kitt.button.borderWidth.disabled\"\n borderColor=\"kitt.button.disabled.default.borderColor\"\n borderRadius=\"kitt.button.borderRadius\"\n />\n );\n}\n","import type { ReactNode } from 'react';\nimport type { DimensionValue } from 'react-native';\nimport { useTheme } from '../KittThemeContext';\nimport { View } from '../native-base/primitives';\nimport type { ButtonType, ButtonVariant } from './Button';\n\ninterface FocusBorderProps {\n type: ButtonType;\n variant: ButtonVariant;\n isFocused?: boolean;\n isPressed?: boolean;\n isHovered?: boolean;\n}\n\nexport function FocusBorder({ type, variant, isFocused, isHovered, isPressed }: FocusBorderProps): ReactNode {\n const {\n kitt: { button: buttonTheme },\n } = useTheme();\n\n const hasPointerInteraction = isPressed || isHovered;\n\n return (\n <View\n _web={{\n style: {\n width: `calc(100% + ${buttonTheme.borderWidth.focus * 2}px)` as DimensionValue,\n height: `calc(100% + ${buttonTheme.borderWidth.focus * 2}px)` as DimensionValue,\n transitionProperty: 'opacity',\n transitionDuration: buttonTheme.transition.duration,\n transitionTimingFunction: buttonTheme.transition.timingFunction,\n },\n }}\n opacity={isFocused && !hasPointerInteraction ? 1 : 0}\n position=\"absolute\"\n left={-buttonTheme.borderWidth.focus}\n top={-buttonTheme.borderWidth.focus}\n borderWidth=\"kitt.button.borderWidth.focus\"\n borderColor={`kitt.button.${type}.${variant}.focusBorderColor`}\n borderRadius=\"kitt.button.borderRadius\"\n />\n );\n}\n","import type { KittThemeContextValue } from '../KittThemeContext';\nimport type { BaseButtonTheme, BaseButtonWithVariant } from '../themes/late-ocean/button';\nimport type { ButtonType, ButtonVariant } from './Button';\n\nconst hasVariant = (button: BaseButtonTheme, variant: ButtonVariant): button is BaseButtonWithVariant => {\n return variant in button;\n};\n\nexport function getVariantValuesIfExist<V extends ButtonVariant>(\n theme: KittThemeContextValue,\n type: ButtonType,\n variant: ButtonVariant,\n): BaseButtonTheme['default'] | BaseButtonWithVariant[V] {\n const button = theme.kitt.button[type];\n\n if (hasVariant(button, variant)) {\n return button[variant];\n }\n\n return theme.kitt.button[type].default;\n}\n","import type { ViewStyle } from 'react-native';\nimport { interpolateColor, useAnimatedStyle, useSharedValue, withSpring } from 'react-native-reanimated';\nimport { useTheme } from '../../KittThemeContext';\nimport type { ButtonType, ButtonVariant } from '../Button';\nimport { getVariantValuesIfExist } from '../getVariantValuesIfExist';\n\nexport interface UseNativeAnimationOptions {\n type: ButtonType;\n variant: ButtonVariant;\n isPressedInternal?: boolean;\n}\n\nexport interface NativeAnimation {\n onPressIn?: () => void;\n onPressOut?: () => void;\n animatedStyles: ViewStyle;\n}\n\nexport const useNativeAnimation = ({\n type,\n variant,\n isPressedInternal,\n}: UseNativeAnimationOptions): NativeAnimation => {\n const theme = useTheme();\n const pressed = useSharedValue<0 | 1>(isPressedInternal ? 1 : 0);\n const color = useSharedValue(0);\n\n const { backgroundColor, pressedBackgroundColor } = getVariantValuesIfExist(theme, type, variant);\n const { scale } = theme.kitt.button;\n\n const animatedStyles = useAnimatedStyle(() => {\n return {\n backgroundColor: interpolateColor(color.value, [0, 1], [backgroundColor, pressedBackgroundColor]),\n transform: [\n {\n scale: withSpring(pressed.value ? scale.base.active : scale.base.default),\n },\n ],\n };\n });\n\n const handlePressIn = (): void => {\n color.value = withSpring(1);\n pressed.value = 1;\n };\n\n const handlePressOut = (): void => {\n color.value = withSpring(0);\n pressed.value = 0;\n };\n\n return {\n onPressIn: handlePressIn,\n onPressOut: handlePressOut,\n animatedStyles,\n };\n};\n","import type { ButtonProps } from '../Button';\n\nexport const getButtonSize = ({ large, xLarge, size }: Partial<ButtonProps>): ButtonProps['size'] => {\n if (large) return 'large';\n if (xLarge) return 'xLarge';\n return size;\n};\n","import type { ReactElement, ReactNode } from 'react';\nimport { forwardRef } from 'react';\nimport type { Pressable as NativePressable } from 'react-native';\nimport type { PressableProps, ViewProps } from '../native-base/primitives';\nimport { Pressable } from '../native-base/primitives';\nimport type { ResponsiveValue } from '../utils/createResponsiveStyleFromProp/createResponsiveStyleFromProp';\nimport { createResponsiveStyleFromProp } from '../utils/createResponsiveStyleFromProp/createResponsiveStyleFromProp';\nimport { deprecatedInComponent } from '../utils/warnings';\nimport { AnimatedContainer } from './AnimatedContainer';\nimport { ButtonContent } from './ButtonContent';\nimport { ButtonPadding } from './ButtonPadding';\nimport { DisabledBorder } from './DisabledBorder';\nimport { FocusBorder } from './FocusBorder';\nimport { useNativeAnimation } from './hooks/useNativeAnimation';\nimport { getButtonSize } from './utils/getButtonSize';\n\nexport type SubtleButtonType = 'subtle' | 'subtle-dark' | 'subtle-revert';\nexport type ButtonType = 'primary' | 'default' | 'dark' | SubtleButtonType | 'danger';\nexport type ButtonSize = 'large' | 'xLarge';\nexport type ButtonVariant = 'default' | 'ghost';\n\ntype IconPosition = 'right' | 'left';\n\nconst allowedGhostTypes = ['primary', 'default', 'danger'];\n\nexport interface ButtonProps\n extends Pick<PressableProps, 'onPress' | 'onHoverIn' | 'onHoverOut' | 'onFocus' | 'onBlur'> {\n children?: ReactNode;\n type?: ButtonType;\n variant?: ButtonVariant;\n disabled?: boolean;\n stretch?: ResponsiveValue<boolean | undefined>;\n /**\n * @deprecated use `size` instead\n */\n large?: boolean;\n /**\n * @deprecated use `size` instead\n */\n xLarge?: boolean;\n size?: ButtonSize;\n icon?: ReactElement<any>;\n iconPosition?: IconPosition;\n withBadge?: boolean;\n badgeCount?: number;\n testID?: PressableProps['testID'];\n href?: PressableProps['href'];\n hrefAttrs?: PressableProps['hrefAttrs'];\n accessibilityRole?: PressableProps['accessibilityRole'];\n innerSpacing?: ViewProps['justifyContent'];\n /**\n * @deprecated props className is not supported\n */\n className?: string;\n style?: PressableProps['style'];\n /** @internal for story purpose */\n isHoveredInternal?: boolean;\n /** @internal for story purpose */\n isPressedInternal?: boolean;\n /** @internal for story purpose */\n isFocusedInternal?: boolean;\n onPress?: PressableProps['onPress'];\n}\n\nexport const Button = forwardRef<typeof NativePressable, ButtonProps>(\n (\n {\n children,\n type = 'default',\n variant = 'default',\n disabled,\n stretch,\n large,\n xLarge,\n icon,\n size: sizeProp,\n iconPosition = 'left',\n testID,\n href,\n hrefAttrs,\n withBadge,\n badgeCount,\n accessibilityRole = 'button',\n innerSpacing = 'center',\n isHoveredInternal,\n isPressedInternal,\n isFocusedInternal,\n onPress,\n onHoverIn,\n onHoverOut,\n onFocus,\n onBlur,\n }: ButtonProps,\n ref,\n ): ReactNode => {\n const { onPressIn, onPressOut, animatedStyles } = useNativeAnimation({\n type,\n variant,\n });\n\n if (__DEV__ && variant === 'ghost' && !allowedGhostTypes.includes(type)) {\n throw new Error('variant=ghost is only allowed with type=primary or default');\n }\n\n if (large || xLarge) {\n const deprecatedProp = large ? 'large' : 'xLarge';\n deprecatedInComponent('Button', `${deprecatedProp} prop`, 'size');\n }\n\n const size = getButtonSize({ large, xLarge, size: sizeProp });\n\n return (\n <Pressable\n ref={ref}\n disabled={disabled}\n accessibilityRole={accessibilityRole}\n testID={testID}\n href={href}\n hrefAttrs={hrefAttrs}\n /* Emulate inline-* css display by making the button taking only its necessary space */\n alignSelf={createResponsiveStyleFromProp(stretch, undefined, 'flex-start')}\n minWidth=\"kitt.button.minWidth\"\n maxWidth={createResponsiveStyleFromProp(stretch, '100%', 'kitt.button.maxWidth')}\n width={createResponsiveStyleFromProp(stretch, '100%', 'auto')}\n onPress={onPress}\n onPressIn={onPressIn}\n onPressOut={onPressOut}\n onHoverIn={onHoverIn}\n onHoverOut={onHoverOut}\n onFocus={onFocus}\n onBlur={onBlur}\n >\n {({ isHovered, isPressed, isFocused }) => (\n <AnimatedContainer\n animatedStyles={animatedStyles}\n type={type}\n isHovered={isHovered || isHoveredInternal}\n isPressed={isPressed || isPressedInternal}\n disabled={!!disabled}\n variant={variant}\n isStretch={stretch}\n >\n <ButtonPadding size={size} hasBadge={Boolean(withBadge || (badgeCount && badgeCount > 0))}>\n <ButtonContent\n type={type}\n variant={variant}\n isDisabled={disabled}\n icon={icon}\n iconPosition={iconPosition}\n withBadge={withBadge}\n badgeCount={badgeCount}\n isHovered={isHovered}\n isPressed={isPressed}\n isFocused={isFocused}\n innerSpacing={innerSpacing}\n >\n {children}\n </ButtonContent>\n {disabled ? <DisabledBorder /> : null}\n <FocusBorder\n type={type}\n variant={variant}\n isFocused={isFocused || isFocusedInternal}\n isHovered={isHovered}\n isPressed={isPressed}\n />\n </ButtonPadding>\n </AnimatedContainer>\n )}\n </Pressable>\n );\n },\n);\n","import type { ReactElement, ReactNode } from 'react';\nimport { cloneElement, useEffect, useRef } from 'react';\nimport { Animated, Easing } from 'react-native';\n\nexport interface SpinningIconProps {\n icon: ReactElement<any>;\n color?: string;\n}\n\nexport function SpinningIcon({ icon, color }: SpinningIconProps): ReactNode {\n if (process.env.NODE_ENV !== 'production' && !color) {\n throw new Error(`Invalid color passed to SpinningIcon: ${String(color)}`);\n }\n const clonedIcon = cloneElement(icon, { color });\n const animationRef = useRef(new Animated.Value(0));\n\n const rotation = animationRef.current.interpolate({\n inputRange: [0, 1],\n outputRange: ['0deg', '360deg'],\n });\n\n useEffect(() => {\n if (process.env.NODE_ENV === 'test') return undefined;\n\n const animation = Animated.loop(\n Animated.timing(animationRef.current, {\n toValue: 1,\n duration: 1100,\n easing: Easing.linear,\n useNativeDriver: true,\n }),\n );\n animation.start();\n return () => {\n if (process.env.NODE_ENV === 'test') return undefined;\n\n animation.stop();\n return undefined;\n };\n }, []);\n\n return <Animated.View style={{ transform: [{ rotate: rotation }] }}>{clonedIcon}</Animated.View>;\n}\n","import { SpinnerGapRegularIcon } from '@ornikar/kitt-icons/phosphor';\nimport type { ReactNode } from 'react';\nimport type { SpinningIconProps } from '../Icon/SpinningIcon';\nimport { SpinningIcon } from '../Icon/SpinningIcon';\n\nexport interface LoaderIconProps {\n color?: SpinningIconProps['color'];\n}\n\nexport function LoaderIcon({ color }: LoaderIconProps): ReactNode {\n return <SpinningIcon color={color} icon={<SpinnerGapRegularIcon />} />;\n}\n","import type { ComponentPropsWithRef, ElementType, ForwardedRef, FunctionComponent, ReactNode } from 'react';\nimport { forwardRef, useEffect, useRef, useState } from 'react';\nimport type { Pressable as NativePressable, NativeSyntheticEvent } from 'react-native';\nimport type { Except, Promisable } from 'type-fest';\nimport type { ButtonProps } from '../Button/Button';\nimport { LoaderIcon } from '../LoaderIcon/LoaderIcon';\nimport { View } from '../native-base/primitives';\n\ntype ActionsItemMinimumRequiredProps = Pick<ButtonProps, 'onPress' | 'stretch' | 'disabled' | 'icon'>;\n\ntype ExtendOnPressProp<OnPress> = OnPress extends (...params: infer Params) => infer Result\n ? (...params: Params) => Promisable<Result | false>\n : never;\n\nexport type ExtendActionItemComponentProps<Props> = Props extends { onPress?: infer OnPress }\n ? Except<Props, 'onPress'> & {\n onPress?: OnPress extends null\n ? null | ExtendOnPressProp<NonNullable<OnPress>>\n : ExtendOnPressProp<NonNullable<OnPress>>;\n }\n : { onPress?: (event: NativeSyntheticEvent<any>, ...rest: any[]) => any };\n\nexport type ActionsItemProps<C extends FunctionComponent<ActionsItemMinimumRequiredProps>> = {\n as: C;\n // eslint-disable-next-line @typescript-eslint/ban-types -- we need this because we don't know exactly what the component is\n} & ExtendActionItemComponentProps<Omit<ComponentPropsWithRef<C>, 'as'>> &\n Except<ActionsItemMinimumRequiredProps, 'onPress'>;\n\nexport const ActionsItem = forwardRef<typeof NativePressable, ActionsItemProps<any>>(\n ({ as, onPress, disabled, icon, stretch = { base: true, medium: false }, ...props }, ref): ReactNode => {\n const [isLoading, setIsLoading] = useState(false);\n const mountedRef = useRef(false);\n // securing the loading state with a ref to avoid user action between rerenders\n const loadingRef = useRef(false);\n\n // effect just for tracking mounted state, as onPress can unmount the ActionButton\n useEffect(() => {\n mountedRef.current = true;\n return () => {\n mountedRef.current = false;\n };\n }, []);\n\n const handlePress: ButtonProps['onPress'] = (e) => {\n const callPressAndUpdateLoadingState = async (): Promise<void> => {\n if (!onPress || loadingRef.current) return;\n setIsLoading(true);\n loadingRef.current = true;\n try {\n await (onPress as any)(e);\n if (mountedRef.current) {\n setIsLoading(false);\n loadingRef.current = false;\n }\n } catch (error) {\n if (mountedRef.current) {\n loadingRef.current = false;\n setIsLoading(false);\n }\n throw error;\n }\n };\n\n callPressAndUpdateLoadingState();\n };\n\n const Component: ElementType = as;\n\n return (\n <View>\n <Component\n ref={ref}\n {...props}\n stretch={stretch}\n disabled={isLoading ? true : disabled}\n icon={isLoading ? <LoaderIcon /> : icon}\n onPress={handlePress}\n />\n </View>\n );\n },\n) as <C extends FunctionComponent<ActionsItemMinimumRequiredProps>>(\n props: ActionsItemProps<C> & { ref?: ForwardedRef<typeof NativePressable> },\n) => ReactNode;\n","import type { ReactNode } from 'react';\nimport type { Except } from 'type-fest';\nimport type { ButtonProps } from '../Button/Button';\nimport { Button } from '../Button/Button';\nimport type { ActionsItemProps } from './ActionsItem';\nimport { ActionsItem } from './ActionsItem';\n\nexport interface ActionsButtonProps\n extends Except<ButtonProps, 'onPress'>,\n Pick<ActionsItemProps<typeof Button>, 'onPress'> {}\n\nexport function ActionsButton({ ...props }: ActionsButtonProps): ReactNode {\n return <ActionsItem as={Button} {...props} />;\n}\n","import type { ReactNode } from 'react';\nimport type { Except } from 'type-fest';\nimport { Stack } from '../native-base/layout';\nimport type { StackProps } from '../native-base/layout';\nimport type { BreakpointValueHookValues } from '../native-base/utils';\nimport { useBreakpointValue } from '../native-base/utils';\nimport {\n type ResponsiveValue,\n createResponsiveStyleFromProp,\n} from '../utils/createResponsiveStyleFromProp/createResponsiveStyleFromProp';\nimport { ActionsButton } from './ActionsButton';\nimport { ActionsItem } from './ActionsItem';\n\ntype ActionsLayout = 'column' | 'row';\n\nfunction getCurrentLayout(layout: ActionsLayout | undefined): StackProps['alignItems'] {\n if (!layout) return { base: 'stretch', medium: 'center' };\n\n if (layout === 'column') return 'stretch';\n\n return 'center';\n}\n\nfunction getCurrentDirection(layout: ActionsLayout | undefined): StackProps['direction'] {\n if (!layout) return { base: 'column', medium: 'row' };\n\n if (layout === 'column') return 'column';\n\n return 'row';\n}\n\nfunction getCurrentAlignSelf(layout: ActionsLayout | undefined): StackProps['alignSelf'] {\n if (!layout) return { base: 'stretch', medium: undefined };\n\n if (layout === 'column') return 'stretch';\n\n return undefined;\n}\n\nexport interface ActionsProps extends Except<StackProps, 'space' | 'reversed'> {\n layout?: ActionsLayout;\n reversed?: ResponsiveValue<boolean>;\n}\n\nexport function Actions({ children, layout, reversed = { base: false }, ...props }: ActionsProps): ReactNode {\n const shouldReverse =\n typeof reversed === 'boolean' ? { base: !!reversed } : createResponsiveStyleFromProp(reversed, true, false);\n\n const currentAlignItems = getCurrentLayout(layout);\n const currentDirection = getCurrentDirection(layout);\n const currentAlignSelf = getCurrentAlignSelf(layout);\n const isReversed = useBreakpointValue(shouldReverse as BreakpointValueHookValues<boolean>);\n\n return (\n <Stack\n alignItems={currentAlignItems}\n alignSelf={currentAlignSelf}\n direction={currentDirection}\n flexGrow={1}\n reversed={isReversed}\n {...props}\n space=\"kitt.3\"\n >\n {children}\n </Stack>\n );\n}\n\nActions.Button = ActionsButton;\nActions.Item = ActionsItem;\n","import { defaultAvatarSize, largeAvatarSize } from '../../themes/late-ocean/avatar';\nimport type { AvatarSizeVariant } from '../Avatar';\n\ninterface GetCurrentRadiusParams {\n size?: number;\n sizeVariant?: AvatarSizeVariant;\n round?: boolean;\n}\n\nexport function getCurrentRadius({ size, sizeVariant, round }: GetCurrentRadiusParams): string | number {\n if (round) {\n if (size) return size * 0.5;\n\n if (sizeVariant === 'large') return largeAvatarSize * 0.5;\n\n return defaultAvatarSize * 0.5;\n }\n\n if (sizeVariant === 'large') return 'kitt.avatar.large.borderRadius';\n\n return 'kitt.avatar.borderRadius';\n}\n","import type { AvatarSizeVariant } from '../Avatar';\n\ninterface GetCurrentSizeParams {\n size?: number;\n sizeVariant?: AvatarSizeVariant;\n}\n\nexport function getCurrentSize({ size, sizeVariant }: GetCurrentSizeParams): string | number {\n if (size) return size;\n\n if (sizeVariant === 'large') return 'kitt.avatar.large.size';\n\n return 'kitt.avatar.size';\n}\n","import { defaultAvatarIconSize, largeAvatarIconSize } from '../../themes/late-ocean/avatar';\nimport type { AvatarSizeVariant } from '../Avatar';\n\nexport function getIconSize(size: string | number, sizeVariant?: AvatarSizeVariant): number {\n if (typeof size === 'number') return size * 0.5;\n\n if (sizeVariant === 'large') return largeAvatarIconSize;\n\n return defaultAvatarIconSize;\n}\n","export function getInitials(firstname: string, lastname: string): string {\n return `${firstname[0]}${lastname[0]}`.toUpperCase();\n}\n","import { UserRegularIcon } from '@ornikar/kitt-icons/phosphor';\nimport type { ReactNode } from 'react';\nimport { Icon } from '../Icon/Icon';\nimport { Image, View } from '../native-base/primitives';\nimport { Typography } from '../typography/Typography';\nimport { getCurrentRadius } from './utils/getCurrentRadius';\nimport { getCurrentSize } from './utils/getCurrentSize';\nimport { getIconSize } from './utils/getIconSize';\nimport { getInitials } from './utils/getInitials';\n\nexport type AvatarSizeVariant = 'large';\n\ninterface AvatarContentProps extends Omit<AvatarProps, 'round' | 'size' | 'dark'> {\n size: string | number;\n}\n\nfunction AvatarContent({\n size,\n src,\n firstname,\n lastname,\n alt,\n light,\n sizeVariant,\n width,\n height,\n disabled,\n}: AvatarContentProps): ReactNode {\n if (src) {\n return (\n <>\n <Image source={{ uri: src }} width={width || size} height={height || size} alt={alt} aria-label={alt} />\n {disabled ? (\n <View\n width={width || size}\n height={height || size}\n backgroundColor=\"kitt.white\"\n position=\"absolute\"\n opacity={0.5}\n />\n ) : null}\n </>\n );\n }\n\n const getFontColor = (): string => {\n if (disabled) {\n return 'kitt.avatar.disabled.color';\n }\n if (light) {\n return 'kitt.avatar.light.color';\n }\n return 'kitt.avatar.default.color';\n };\n\n if (firstname && lastname) {\n return (\n <Typography.Text\n base={sizeVariant === 'large' ? 'body-large' : 'body-small'}\n variant={sizeVariant === 'large' ? 'bold' : 'regular'}\n color={getFontColor()}\n >\n {getInitials(firstname, lastname)}\n </Typography.Text>\n );\n }\n\n return <Icon icon={<UserRegularIcon />} color={getFontColor()} size={getIconSize(size, sizeVariant)} />;\n}\n\nexport interface AvatarProps {\n size?: number;\n src?: string;\n alt?: string;\n firstname?: string | null;\n lastname?: string | null;\n round?: boolean;\n light?: boolean;\n dark?: boolean;\n sizeVariant?: AvatarSizeVariant;\n width?: number;\n height?: number;\n disabled?: boolean;\n}\n\nexport function Avatar({\n size,\n round,\n light,\n sizeVariant,\n width,\n height,\n dark,\n disabled,\n ...props\n}: AvatarProps): ReactNode {\n const currentSize = getCurrentSize({ size, sizeVariant });\n const currentBorderRadius = getCurrentRadius({ size, sizeVariant, round });\n\n let backgroundColor = 'kitt.avatar.default.backgroundColor';\n if (disabled) {\n backgroundColor = 'kitt.avatar.disabled.backgroundColor';\n }\n if (light) {\n backgroundColor = 'kitt.avatar.light.backgroundColor';\n } else if (dark) {\n backgroundColor = 'kitt.avatar.dark.backgroundColor';\n }\n\n return (\n <View\n overflow=\"hidden\"\n alignItems=\"center\"\n justifyContent=\"center\"\n width={width || currentSize}\n height={height || currentSize}\n borderRadius={currentBorderRadius}\n backgroundColor={backgroundColor}\n >\n <AvatarContent\n height={height}\n width={width}\n size={currentSize}\n light={light}\n sizeVariant={sizeVariant}\n disabled={disabled}\n {...props}\n />\n </View>\n );\n}\n","import type { BottomSheetModalProps } from '@gorhom/bottom-sheet';\nimport {\n BottomSheetBackdrop,\n BottomSheetFlatList,\n BottomSheetFooter,\n BottomSheetHandle,\n BottomSheetModal,\n BottomSheetScrollView,\n BottomSheetSectionList,\n BottomSheetTextInput,\n BottomSheetView,\n} from '@gorhom/bottom-sheet';\nimport { View } from 'native-base';\nimport type { ComponentType, ForwardedRef, JSX, ReactNode, Ref } from 'react';\nimport { forwardRef, useMemo } from 'react';\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\nimport type { Except } from 'type-fest';\nimport { useTheme } from '../KittThemeContext';\nimport type { ViewProps } from '../native-base/primitives';\n\nexport interface BottomSheetProps<Data = never> extends Except<BottomSheetModalProps, 'children' | 'topInset'> {\n children?: ComponentType<Data> | ReactNode;\n hasScrollView?: boolean;\n hasHandle?: boolean;\n hasBackdrop?: boolean;\n}\n\nfunction BottomSheetComp<Data extends JSX.IntrinsicAttributes = Record<string, never>>(\n {\n children: Content,\n hasScrollView = false,\n hasBackdrop = true,\n hasHandle = true,\n enableDynamicSizing = true,\n snapPoints = ['100%'],\n ...rest\n }: BottomSheetProps<Data>,\n ref: Ref<BottomSheetModal>,\n): ReactNode {\n const { top } = useSafeAreaInsets();\n const Wrapper = useMemo(() => (hasScrollView ? BottomSheetScrollView : BottomSheetView), [hasScrollView]);\n const theme = useTheme();\n\n return (\n <BottomSheetModal\n ref={ref}\n enablePanDownToClose\n enableDynamicSizing={enableDynamicSizing}\n snapPoints={snapPoints}\n handleIndicatorStyle={{\n width: 40,\n height: 4,\n borderRadius: 4,\n backgroundColor: theme.kitt.bottomSheet.handle.backgroundColor,\n }}\n handleComponent={(props) => (hasHandle ? <BottomSheetHandle {...props} /> : null)}\n backdropComponent={(props) =>\n hasBackdrop ? <BottomSheetBackdrop {...props} opacity={0.25} appearsOnIndex={0} disappearsOnIndex={-1} /> : null\n }\n {...rest}\n topInset={top}\n >\n {(props) => <Wrapper>{typeof Content === 'function' ? <Content {...(props?.data as Data)} /> : Content}</Wrapper>}\n </BottomSheetModal>\n );\n}\n\nfunction BottomSheetContainerView(props: ViewProps): ReactNode {\n return <View padding=\"kitt.bottomSheet.container.padding\" {...props} />;\n}\n\nexport const BottomSheet = forwardRef(BottomSheetComp) as unknown as (<Data = never>(\n props: BottomSheetProps<Data> & { ref?: ForwardedRef<BottomSheetModal> },\n) => ReturnType<typeof BottomSheetComp>) & {\n View: typeof BottomSheetContainerView;\n SheetView: typeof BottomSheetView;\n ScrollView: typeof BottomSheetScrollView;\n SectionList: typeof BottomSheetSectionList;\n FlatList: typeof BottomSheetFlatList;\n Handle: typeof BottomSheetHandle;\n Backdrop: typeof BottomSheetBackdrop;\n Footer: typeof BottomSheetFooter;\n TextInput: typeof BottomSheetTextInput;\n};\n\nBottomSheet.View = BottomSheetContainerView;\nBottomSheet.SheetView = BottomSheetView;\nBottomSheet.ScrollView = BottomSheetScrollView;\nBottomSheet.SectionList = BottomSheetSectionList;\nBottomSheet.FlatList = BottomSheetFlatList;\nBottomSheet.Handle = BottomSheetHandle;\nBottomSheet.Backdrop = BottomSheetBackdrop;\nBottomSheet.Footer = BottomSheetFooter;\nBottomSheet.TextInput = BottomSheetTextInput;\n","import type { BottomSheetModalMethods } from '@gorhom/bottom-sheet/lib/typescript/types';\nimport type { RefObject } from 'react';\nimport { useRef } from 'react';\n\nexport function useBottomSheet(): RefObject<BottomSheetModalMethods | null> {\n const ref = useRef<BottomSheetModalMethods>(null);\n\n return ref;\n}\n","import type { BottomSheetModalMethods } from '@gorhom/bottom-sheet/lib/typescript/types';\nimport type { ElementType, ReactNode, RefObject } from 'react';\nimport { useMemo, useRef } from 'react';\nimport type { BottomSheetProps } from './BottomSheet';\nimport { BottomSheet } from './BottomSheet';\n\ninterface BottomSheetRef<T> extends BottomSheetModalMethods {\n present: (bottomSheetComponenProps: T) => void;\n}\n\ntype ReducedBottomSheetProps = Pick<BottomSheetProps, 'hasScrollView'>;\n\n// This is used to fix:\n// React.ComponentProps<O> -> if O is a function component without any props it will return unknown but we want to have undefined\ntype IsExact<T, U> = [T] extends [U] ? ([U] extends [T] ? true : false) : false;\n\ntype BottomSheetComponentProps<O extends ElementType> = IsExact<React.ComponentProps<O>, unknown> extends true\n ? undefined\n : React.ComponentProps<O>;\n\nexport function useStaticBottomSheet<T extends ElementType>(\n Content: T,\n): {\n bottomSheetRef: RefObject<BottomSheetRef<BottomSheetComponentProps<T>> | null>;\n BottomSheet: (props: ReducedBottomSheetProps) => ReactNode;\n} {\n const bottomSheetRef = useRef<BottomSheetRef<BottomSheetComponentProps<T>>>(null);\n\n const BottomSheetMemoized = useMemo(\n () =>\n function renderBottomSheet(props: ReducedBottomSheetProps) {\n return (\n <BottomSheet {...props} ref={bottomSheetRef}>\n {Content as ReactNode}\n </BottomSheet>\n );\n },\n [Content],\n );\n\n return {\n bottomSheetRef,\n BottomSheet: BottomSheetMemoized,\n };\n}\n","import type { ReactNode } from 'react';\n\nexport interface ModalBehaviourPortalProps {\n visible?: boolean;\n children: ReactNode;\n}\n\nexport function ModalBehaviourPortal({ children }: ModalBehaviourPortalProps): ReactNode {\n // eslint-disable-next-line react/jsx-no-useless-fragment\n return <>{children}</>;\n}\n","import type { ReactNode } from 'react';\nimport { createContext, useContext } from 'react';\n\ntype OnCloseCallback = () => void;\n\nexport const OnCloseContext = createContext<OnCloseCallback>(() => {});\n\ninterface OnCloseProviderProps {\n children: ReactNode;\n onClose: OnCloseCallback;\n}\n\nexport function OnCloseProvider({ children, onClose }: OnCloseProviderProps): ReactNode {\n return <OnCloseContext.Provider value={onClose}>{children}</OnCloseContext.Provider>;\n}\n\nexport function useOnCloseModalBehaviour(): OnCloseCallback {\n const onClose = useContext(OnCloseContext);\n return onClose;\n}\n","import type { ReactElement, ReactNode } from 'react';\nimport { cloneElement } from 'react';\nimport { View } from '../native-base/primitives';\nimport { ModalBehaviourPortal } from './ModalBehaviourPortal';\nimport { OnCloseProvider, useOnCloseModalBehaviour } from './OnCloseContext';\n\ninterface CloseButtonProps {\n children: ReactElement<any>;\n onPress?: () => void;\n}\n\nfunction CloseButton({ children, onPress }: CloseButtonProps): ReactNode {\n const onCloseContextCallback = useOnCloseModalBehaviour();\n\n const handleClose = (): void => {\n if (onPress) onPress();\n onCloseContextCallback();\n };\n\n return cloneElement(children, { onPress: handleClose });\n}\n\nexport interface ModalBehaviourProps {\n children: ReactNode;\n visible?: boolean;\n onClose: () => void;\n}\n\nexport function ModalBehaviour({ children, visible, onClose }: ModalBehaviourProps): ReactNode {\n return (\n <OnCloseProvider onClose={onClose}>\n <ModalBehaviourPortal visible={visible}>\n {visible ? (\n <View\n flexGrow={1}\n _web={{\n position: 'fixed',\n top: 0,\n left: 0,\n width: '100%',\n height: '100%',\n }}\n >\n {children}\n </View>\n ) : null}\n </ModalBehaviourPortal>\n </OnCloseProvider>\n );\n}\n\nModalBehaviour.CloseButton = CloseButton;\n","import type { ReactNode } from 'react';\nimport type { PressableProps } from 'react-native';\nimport { Pressable } from '../native-base/primitives';\n\ninterface OverlayProps extends Pick<PressableProps, 'onPress'> {}\n\nexport function Overlay({ onPress }: OverlayProps): ReactNode {\n return (\n <Pressable\n accessibilityRole=\"none\"\n position=\"absolute\"\n top=\"0\"\n left=\"0\"\n right=\"0\"\n bottom=\"0\"\n backgroundColor=\"kitt.overlay.dark\"\n onPress={onPress}\n />\n );\n}\n","import type { ReactNode } from 'react';\nimport type { ViewProps } from '../../native-base/primitives';\nimport { View } from '../../native-base/primitives';\n\ninterface CardModalRotationContainerProps extends ViewProps {}\n\nexport function CardModalRotationContainer(props: CardModalRotationContainerProps): ReactNode {\n return (\n <View\n paddingX=\"kitt.cardModal.overlayPadding.horizontal\"\n paddingY=\"kitt.cardModal.overlayPadding.vertical\"\n maxWidth=\"kitt.cardModal.maxWidthWithPadding\"\n width=\"100%\"\n maxHeight=\"100%\"\n _web={{ maxHeight: '100svh' }}\n {...props}\n />\n );\n}\n","import type { ReactNode } from 'react';\nimport { useRef } from 'react';\nimport { StyleSheet } from 'react-native';\nimport Animated, { Easing, runOnJS, useAnimatedStyle, withTiming } from 'react-native-reanimated';\nimport { useTheme } from '../../KittThemeContext';\n\nexport interface NativeOpacityAnimationProps {\n visible?: boolean;\n children: ReactNode;\n onExited: () => void;\n}\n\nexport function NativeOpacityAnimation({ visible, children, onExited }: NativeOpacityAnimationProps): ReactNode {\n const theme = useTheme();\n const hasRunAnimationRef = useRef(false);\n\n function handleAnimationFinished(): void {\n if (visible) {\n hasRunAnimationRef.current = true;\n }\n\n if (!visible && hasRunAnimationRef.current) {\n onExited();\n }\n }\n\n const opacityStyle = useAnimatedStyle(() => {\n const { duration, easing } = theme.kitt.cardModal.animation.overlay;\n const [x1, y1, x2, y2] = easing;\n\n return {\n opacity: withTiming(visible ? 1 : 0, { duration, easing: Easing.bezier(x1, y1, x2, y2) }, (isFinished) => {\n if (!isFinished) return;\n runOnJS(handleAnimationFinished)();\n }),\n };\n });\n\n return <Animated.View style={[StyleSheet.absoluteFillObject, opacityStyle]}>{children}</Animated.View>;\n}\n","import type { ReactNode } from 'react';\nimport { useRef } from 'react';\nimport Animated, { Easing, runOnJS, useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';\nimport { useTheme } from '../../KittThemeContext';\nimport type { CardModalAnimationProps } from './CardModalAnimation';\n\nexport interface NativeRotationAnimationProps {\n children: ReactNode;\n topInset?: number;\n visible?: CardModalAnimationProps['visible'];\n onEntered?: CardModalAnimationProps['onEntered'];\n onExited: () => void;\n}\n\nexport function NativeRotationAnimation({\n visible,\n children,\n onEntered,\n onExited,\n}: NativeRotationAnimationProps): ReactNode {\n const theme = useTheme();\n\n const hasRunAnimationRef = useRef(false);\n\n const rotation = useSharedValue(0.8);\n\n function handleAnimationFinished(): void {\n if (visible) {\n if (onEntered) onEntered();\n hasRunAnimationRef.current = true;\n }\n\n if (!visible && hasRunAnimationRef.current) onExited();\n }\n\n const animatedStyle = useAnimatedStyle(() => {\n const { duration, easing } = theme.kitt.cardModal.animation.content;\n\n const [x1, y1, x2, y2] = easing;\n\n rotation.value = withTiming(visible ? 0 : 5, { duration, easing: Easing.bezier(x1, y1, x2, y2) }, (isFinished) => {\n if (!isFinished) return;\n runOnJS(handleAnimationFinished)();\n });\n\n return {\n opacity: withTiming(visible ? 1 : 0, { duration, easing: Easing.bezier(x1, y1, x2, y2) }),\n transform: [\n { scale: withTiming(visible ? 1 : 0.8, { duration, easing: Easing.bezier(x1, y1, x2, y2) }) },\n {\n rotateZ: `${rotation.value}deg`,\n },\n ],\n };\n });\n\n return <Animated.View style={[animatedStyle]}>{children}</Animated.View>;\n}\n","import type { ReactNode } from 'react';\nimport { useEffect, useState } from 'react';\nimport { Modal, Platform } from 'react-native';\nimport type { ModalAnimationComponentProps } from '../../ModalBehaviour/type';\nimport { Overlay } from '../../Overlay/Overlay';\nimport type { ViewProps } from '../../native-base/primitives';\nimport { View } from '../../native-base/primitives';\nimport { CardModalRotationContainer } from './CardModalRotationContainer';\nimport { NativeOpacityAnimation } from './NativeOpacityAnimation';\nimport { NativeRotationAnimation } from './NativeRotationAnimation';\n\nexport interface CardModalAnimationProps extends ViewProps, ModalAnimationComponentProps {\n children: ReactNode;\n}\n\nexport function CardModalAnimation({\n visible,\n children,\n onEnter,\n onEntered,\n onExit,\n onExited,\n onClose,\n}: CardModalAnimationProps): ReactNode {\n const [isModalVisible, setIsModalVisible] = useState(visible);\n const [isContentVisible, setIsContentVisible] = useState(false);\n\n const handleAnimationExited = (): void => {\n setIsModalVisible(false);\n // Android doesn't handle the onDismiss callback on the modal, we need to call it manually\n if (Platform.OS === 'android' && onExited) onExited();\n };\n\n useEffect(() => {\n const shouldHideContent = !visible && isContentVisible;\n\n if (!shouldHideContent) return;\n\n if (onExit) onExit();\n setIsContentVisible(false);\n }, [visible, isContentVisible, onExit]);\n\n return (\n <Modal\n transparent\n supportedOrientations={['landscape', 'portrait']}\n visible={isModalVisible}\n onShow={() => {\n if (onEnter) onEnter();\n setIsContentVisible(true);\n }}\n onDismiss={() => {\n if (onExited) onExited();\n }}\n >\n <View position=\"relative\" flexGrow={1} justifyContent=\"center\" alignItems=\"center\">\n <NativeOpacityAnimation visible={isContentVisible} onExited={handleAnimationExited}>\n <Overlay onPress={onClose} />\n </NativeOpacityAnimation>\n\n <CardModalRotationContainer>\n <NativeRotationAnimation visible={isContentVisible} onExited={handleAnimationExited} onEntered={onEntered}>\n {children}\n </NativeRotationAnimation>\n </CardModalRotationContainer>\n </View>\n </Modal>\n );\n}\n","import type { ReactNode } from 'react';\nimport { useEffect, useState } from 'react';\nimport type { ModalBehaviourProps } from '../ModalBehaviour/ModalBehaviour';\nimport { ModalBehaviour } from '../ModalBehaviour/ModalBehaviour';\nimport type { CardModalAnimationProps } from './CardModalAnimation/CardModalAnimation';\nimport { CardModalAnimation } from './CardModalAnimation/CardModalAnimation';\n\nexport interface CardModalBehaviourProps extends CardModalAnimationProps {\n onClose: ModalBehaviourProps['onClose'];\n}\n\nexport function CardModalBehaviour({\n children,\n visible,\n onClose,\n onExited,\n ...props\n}: CardModalBehaviourProps): ReactNode {\n const [isModalBehaviourVisible, setIsModalBehaviourVisible] = useState(visible);\n\n useEffect(() => {\n if (visible === true) {\n setIsModalBehaviourVisible(true);\n }\n }, [visible]);\n\n const handleExitAnimationDone = (): void => {\n if (onExited) onExited();\n setIsModalBehaviourVisible(false);\n };\n\n return (\n <ModalBehaviour visible={isModalBehaviourVisible} onClose={onClose}>\n <CardModalAnimation {...props} visible={visible} onExited={handleExitAnimationDone} onClose={onClose}>\n {children}\n </CardModalAnimation>\n </ModalBehaviour>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { ScrollViewProps } from '../native-base/primitives';\nimport { ScrollView } from '../native-base/primitives';\n\nexport interface CardModalBodyProps extends ScrollViewProps {\n children: NonNullable<ReactNode>;\n}\n\nexport function CardModalBody({\n children,\n paddingX = { base: 'kitt.4', medium: 'kitt.6' },\n paddingY = { base: 'kitt.4', medium: 'kitt.6' },\n ...props\n}: CardModalBodyProps): ReactNode {\n return (\n <ScrollView showsVerticalScrollIndicator={false} _contentContainerStyle={{ paddingX, paddingY }} {...props}>\n {children}\n </ScrollView>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\n\nexport interface CardModalFooterProps extends ViewProps {\n hasSeparator?: boolean;\n}\n\nexport function CardModalFooter({\n children,\n padding = { base: 'kitt.4', medium: 'kitt.2' },\n hasSeparator = true,\n ...props\n}: CardModalFooterProps): ReactNode {\n return (\n <View\n {...props}\n marginTop=\"kitt.2\"\n padding={padding}\n borderTopWidth={hasSeparator ? 'kitt.cardModal.footer.borderWidth' : 0}\n borderColor=\"kitt.separator\"\n alignItems={{ base: undefined, medium: 'flex-end' }}\n >\n {children}\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { Except } from 'type-fest';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\nimport { Typography } from '../typography/Typography';\n\ninterface BaseHeaderProps extends Except<ViewProps, 'left' | 'right'> {\n hasSeparator?: boolean;\n left?: ReactNode;\n right?: ReactNode;\n}\n\ninterface TitledHeaderProps extends BaseHeaderProps {\n title?: ReactNode;\n children?: never;\n}\n\ninterface ComponentHeaderProps extends BaseHeaderProps {\n title?: never;\n children?: ReactNode;\n}\n\nexport type CardModalHeaderProps = TitledHeaderProps | ComponentHeaderProps;\n\nexport function CardModalHeader({\n children,\n title,\n paddingBottom = { base: 'kitt.4', medium: 'kitt.2' },\n hasSeparator = true,\n right,\n left,\n ...props\n}: CardModalHeaderProps): ReactNode {\n const defaultContainerPadding = { base: 'kitt.4', medium: 'kitt.6' };\n\n return (\n <View\n {...props}\n padding={paddingBottom}\n borderBottomWidth={hasSeparator ? 'kitt.cardModal.footer.borderWidth' : 0}\n borderColor=\"kitt.separator\"\n justifyContent=\"center\"\n width=\"100%\"\n height=\"kitt.cardModal.header.height\"\n paddingRight={right ? 'kitt.2' : defaultContainerPadding}\n paddingLeft={left ? 'kitt.2' : defaultContainerPadding}\n >\n <View alignItems=\"center\" flexDirection=\"row\" justifyContent={!children && !left ? 'flex-end' : 'space-between'}>\n {left ? <View width=\"kitt.iconButton.width\">{left}</View> : null}\n\n <View flexGrow=\"1\" paddingRight={right ? 'kitt.2' : 0} paddingLeft={left ? 'kitt.2' : 0}>\n {title ? (\n <Typography.Text textAlign={!left && right ? 'left' : 'center'} variant=\"bold\">\n {title}\n </Typography.Text>\n ) : null}\n {children}\n </View>\n\n {right ? <View width=\"kitt.iconButton.width\">{right}</View> : null}\n </View>\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { Except } from 'type-fest';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\nimport { CardModalBehaviour } from './CardModalBehaviour';\nimport { CardModalBody } from './CardModalBody';\nimport { CardModalFooter } from './CardModalFooter';\nimport { CardModalHeader } from './CardModalHeader';\n\ninterface BaseCardModalProps extends Except<ViewProps, 'children'> {\n withoutShadow?: boolean;\n}\n\ninterface CardModalWithChildren extends BaseCardModalProps {\n children: ReactNode;\n header?: never;\n footer?: never;\n body?: never;\n}\n\ninterface CardModalWithoutChildren extends BaseCardModalProps {\n children?: never;\n /** @deprecated use `FullscreenModal.Header` as `children` instead */\n header?: ReactNode;\n /** @deprecated use `FullscreenModal.Footer` as `children` instead */\n footer?: ReactNode;\n /** @deprecated use `FullscreenModal.Body` as `children` instead */\n body: ReactNode;\n}\n\nexport type CardModalProps = CardModalWithChildren | CardModalWithoutChildren;\n\nexport function CardModal({\n backgroundColor = 'kitt.uiBackgroundLight',\n maxWidth = 'kitt.cardModal.maxWidth',\n withoutShadow,\n children,\n header,\n body,\n footer,\n ...props\n}: CardModalProps): ReactNode {\n return (\n <View\n {...props}\n overflow=\"hidden\"\n backgroundColor={backgroundColor}\n shadow={withoutShadow ? undefined : 'kitt.cardModal.shadow'}\n borderRadius=\"kitt.cardModal.borderRadius\"\n width=\"100%\"\n maxHeight=\"100%\"\n maxWidth={maxWidth}\n minHeight=\"kitt.cardModal.minHeight\"\n >\n {children || (\n <>\n {header || null}\n {body || null}\n {footer || null}\n </>\n )}\n </View>\n );\n}\n\nCardModal.Body = CardModalBody;\nCardModal.Header = CardModalHeader;\nCardModal.Footer = CardModalFooter;\nCardModal.ModalBehaviour = CardModalBehaviour;\n","interface GetBackgroundColorParams {\n isDisabled?: boolean;\n isSelected?: boolean;\n isHovered?: boolean;\n isPressed?: boolean;\n}\n\nexport function getBackgroundColor({ isDisabled, isSelected, isHovered, isPressed }: GetBackgroundColorParams): string {\n if (isDisabled) return 'kitt.choices.item.disabled.backgroundColor';\n\n if (isSelected && isHovered) return 'kitt.choices.item.hoverWhenSelected.backgroundColor';\n\n if (isPressed) return 'kitt.choices.item.pressed.backgroundColor';\n\n if (isHovered) return 'kitt.choices.item.hover.backgroundColor';\n\n if (isSelected) return 'kitt.choices.item.selected.backgroundColor';\n\n return 'kitt.choices.item.default.backgroundColor';\n}\n","import type { ChoiceItemVariant } from '../ChoiceItem';\n\nexport function getBorderRadius(variant?: ChoiceItemVariant): number | string {\n // The clean way to have the rounded effect would have been to know the children height since radius >= height * 0.5\n // We don't control over the height of the rendered children we just go with a arbitrary really high value\n return variant === 'rounded' ? Number.MAX_SAFE_INTEGER : 'kitt.choices.item.borderRadius';\n}\n","import { useSx } from 'native-base';\nimport type { ReactNode } from 'react';\nimport type { ViewStyle } from 'react-native';\nimport Animated from 'react-native-reanimated';\nimport type { ChoiceItemSize, ChoiceItemVariant } from './ChoiceItem';\nimport { getBackgroundColor } from './utils/getBackgroundColor';\nimport { getBorderRadius } from './utils/getBorderRadius';\n\nexport interface AnimatedChoiceItemViewProps {\n children: ReactNode;\n variant?: ChoiceItemVariant;\n size?: ChoiceItemSize;\n isHovered?: boolean;\n isPressed?: boolean;\n isDisabled?: boolean;\n isSelected?: boolean;\n animatedStyles?: ViewStyle;\n}\n\nexport function AnimatedChoiceItemView({\n children,\n variant,\n size,\n isHovered,\n isPressed,\n isDisabled,\n isSelected,\n animatedStyles,\n}: AnimatedChoiceItemViewProps): ReactNode {\n const sx = useSx();\n\n const style = sx({\n position: 'relative',\n borderRadius: getBorderRadius(variant),\n backgroundColor: getBackgroundColor({ isDisabled, isSelected, isHovered, isPressed }),\n paddingX: size === 'small' ? 'kitt.4' : { base: 'kitt.4', small: 'kitt.6' },\n paddingY: size === 'small' ? 'kitt.2' : { base: 'kitt.4', small: 'kitt.6' },\n });\n\n return <Animated.View style={[style, animatedStyles]}>{children}</Animated.View>;\n}\n","import type { ViewStyle } from 'react-native';\nimport {\n interpolateColor,\n useAnimatedStyle,\n useDerivedValue,\n useSharedValue,\n withTiming,\n} from 'react-native-reanimated';\nimport { useTheme } from '../../KittThemeContext';\n\ninterface UseNativeAnimationOptions {\n selected?: boolean;\n disabled?: boolean;\n isPressedInternal?: boolean;\n}\n\ninterface NativeAnimation {\n onPressIn: () => void;\n onPressOut: () => void;\n backgroundStyles: ViewStyle;\n}\n\nexport const useNativeAnimation = ({\n selected,\n disabled,\n isPressedInternal,\n}: UseNativeAnimationOptions): NativeAnimation => {\n const theme = useTheme();\n\n const pressed = useSharedValue(Boolean(isPressedInternal));\n const progress = useDerivedValue(() => {\n return withTiming(pressed.value ? 1 : 0, { duration: theme.kitt.choices.item.transition.duration });\n });\n\n const backgroundStyles = useAnimatedStyle(() => {\n const {\n default: defaultBg,\n pressed: pressedBg,\n selected: selectedBg,\n disabled: disabledBg,\n } = theme.kitt.choices.item.backgroundColor;\n\n if (disabled) return { backgroundColor: disabledBg };\n\n if (selected) return { backgroundColor: selectedBg };\n\n return {\n backgroundColor: interpolateColor(progress.value, [0, 1], [defaultBg, pressedBg]),\n };\n });\n\n const onPressIn = (): void => {\n pressed.value = true;\n };\n\n const onPressOut = (): void => {\n pressed.value = false;\n };\n\n return {\n onPressIn,\n onPressOut,\n backgroundStyles,\n };\n};\n","import type { TypographyColor } from '../../typography/Typography';\n\ninterface GetCurrentTextColorParams {\n isDisabled?: boolean;\n isSelected?: boolean;\n isPressed?: boolean;\n isHovered?: boolean;\n}\n\nexport function getCurrentTextColor({\n isDisabled,\n isSelected,\n isPressed,\n isHovered,\n}: GetCurrentTextColorParams): TypographyColor {\n if (isDisabled) return 'black-light';\n\n if (isSelected && isHovered) return 'white';\n\n if (isSelected || isPressed) return 'white';\n\n return 'black';\n}\n","import type { ReactNode } from 'react';\nimport type { GestureResponderEvent, PressableProps } from 'react-native';\nimport { Pressable, View } from '../native-base/primitives';\nimport { Typography } from '../typography/Typography';\nimport { AnimatedChoiceItemView } from './AnimatedChoiceItemView';\nimport type { BaseChoicesProps } from './Choices';\nimport { useNativeAnimation } from './hooks/useNativeAnimation';\nimport { getBorderRadius } from './utils/getBorderRadius';\nimport { getCurrentTextColor } from './utils/getCurrentTextColor';\n\nexport type ChoiceItemVariant = 'rounded';\nexport type ChoiceItemSize = BaseChoicesProps<null>['size'];\n\nexport type ChoiceItemType = 'button' | 'radio' | 'checkbox' | undefined;\n\nexport interface BaseChoiceItemProps<V> {\n type?: ChoiceItemType;\n children: ReactNode;\n disabled?: boolean;\n variant?: ChoiceItemVariant;\n size?: ChoiceItemSize;\n value?: V;\n selected?: boolean;\n testID?: PressableProps['testID'];\n style?: PressableProps['style'];\n /**\n * @internal Used to display pressed UI for testing and storybook purpose\n */\n isPressedInternal?: boolean;\n /**\n * @internal Used to display hovered UI for testing and storybook purpose\n */\n isHoveredInternal?: boolean;\n onPress?: () => void;\n onChange?: (value?: V) => void;\n onFocus?: (e?: any | GestureResponderEvent) => void;\n onBlur?: (e?: any | GestureResponderEvent) => void;\n}\n\nexport interface ChoiceItemButtonProps<V> extends BaseChoiceItemProps<V> {\n type?: 'button';\n value?: never;\n selected?: never;\n onChange?: never;\n}\n\nexport interface ChoiceItemFormElementProps<V> extends BaseChoiceItemProps<V> {\n type: 'radio' | 'checkbox';\n onPress?: never;\n}\n\nexport type ChoiceItemProps<V> = ChoiceItemButtonProps<V> | ChoiceItemFormElementProps<V>;\n\nexport function ChoiceItem<V>({\n type = 'button',\n value,\n selected,\n disabled,\n variant,\n children,\n isPressedInternal,\n isHoveredInternal,\n onPress,\n onChange,\n onBlur,\n onFocus,\n size,\n style,\n testID,\n}: ChoiceItemProps<V>): ReactNode {\n const { onPressIn, onPressOut, backgroundStyles } = useNativeAnimation({ selected, disabled, isPressedInternal });\n\n const handleChange = (): void => {\n if (!onChange) return;\n\n // Checkbox can be toggled\n if (type === 'checkbox') {\n onChange(selected ? undefined : value);\n return;\n }\n\n onChange(value);\n };\n\n const handlePress = (e: GestureResponderEvent): void => {\n if (onFocus) onFocus(e);\n\n if (onPress) onPress();\n handleChange();\n\n if (onBlur) onBlur(e);\n };\n\n return (\n <Pressable\n testID={testID}\n disabled={disabled}\n accessibilityRole={type}\n accessibilityState={{ checked: selected }}\n style={style}\n onBlur={onBlur}\n onFocus={onFocus}\n onPress={handlePress}\n onPressIn={onPressIn}\n onPressOut={onPressOut}\n >\n {({ isHovered, isPressed }) => (\n <AnimatedChoiceItemView\n animatedStyles={backgroundStyles}\n isHovered={isHovered || isHoveredInternal}\n isDisabled={disabled}\n isSelected={selected}\n isPressed={isPressed || isPressedInternal}\n variant={variant}\n size={size}\n >\n <Typography.SetDefaultColor\n value={getCurrentTextColor({\n isDisabled: disabled,\n isSelected: selected || isPressedInternal,\n isPressed,\n isHovered: isHovered || isHoveredInternal,\n })}\n >\n {children}\n </Typography.SetDefaultColor>\n {disabled ? (\n <View\n borderRadius={getBorderRadius(variant)}\n borderWidth=\"kitt.choices.item.disabled.borderWidth\"\n borderColor=\"kitt.choices.item.disabled.borderColor\"\n position=\"absolute\"\n top=\"0\"\n right=\"0\"\n left=\"0\"\n bottom=\"0\"\n />\n ) : null}\n </AnimatedChoiceItemView>\n )}\n </Pressable>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\nimport type { ChoicesDirection } from './Choices';\n\ninterface ChoiceItemContainerProps {\n children: ReactNode;\n isLast?: boolean;\n direction: ChoicesDirection;\n}\n\nexport function ChoiceItemContainer({ children, direction, isLast }: ChoiceItemContainerProps): ReactNode {\n const currentItemMarginValue = isLast ? undefined : 'kitt.3';\n const flexProps: ViewProps = direction === 'row' ? { flexGrow: 1, flexShrink: 1, flexBasis: 0 } : {};\n\n return (\n <View\n marginRight={direction === 'row' ? currentItemMarginValue : undefined}\n marginBottom={direction === 'column' ? currentItemMarginValue : undefined}\n {...flexProps}\n >\n {children}\n </View>\n );\n}\n","import type { ReactElement, ReactNode } from 'react';\nimport { Children, cloneElement, useState } from 'react';\nimport type { ViewProps } from 'react-native';\nimport { ScrollView, View } from 'react-native';\nimport type { Except, SetOptional } from 'type-fest';\nimport type { ScrollViewProps } from '../native-base/primitives';\nimport type { ChoiceItemButtonProps, ChoiceItemFormElementProps, ChoiceItemType } from './ChoiceItem';\nimport { ChoiceItem } from './ChoiceItem';\nimport { ChoiceItemContainer } from './ChoiceItemContainer';\n\nexport type ChoicesDirection = 'row' | 'column';\n\ninterface ChoicesContainerProps extends ViewProps {\n children: ReactNode;\n direction: ChoicesDirection;\n contentContainerStyle?: ScrollViewProps['contentContainerStyle'];\n}\n\nfunction ChoicesContainer({ direction, contentContainerStyle, ...props }: ChoicesContainerProps): ReactNode {\n if (direction === 'row') {\n return <ScrollView horizontal contentContainerStyle={contentContainerStyle} {...props} />;\n }\n\n return <View {...props} />;\n}\n\ntype ChoicesPropsToPick = 'type' | 'variant' | 'disabled' | 'value' | 'onPress' | 'onChange' | 'onBlur' | 'onFocus';\ntype ChoicesSize = 'small';\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport interface BaseChoicesProps<V> {\n id?: string;\n testID?: string;\n children: ReactNode;\n direction?: ChoicesDirection;\n size?: ChoicesSize;\n style?: ViewProps['style'];\n contentContainerStyle?: ScrollViewProps['contentContainerStyle'];\n}\n\nexport interface ChoicesButtonProps<V, ChoiceType extends ChoiceItemButtonProps<V>['type']>\n extends BaseChoicesProps<V>,\n Pick<ChoiceItemButtonProps<V>, ChoicesPropsToPick> {\n type?: ChoiceType;\n}\n\nexport interface ChoicesFormElementProps<V, ChoiceType extends ChoiceItemFormElementProps<V>['type']>\n extends BaseChoicesProps<V>,\n Pick<ChoiceItemFormElementProps<V>, ChoicesPropsToPick> {\n type: ChoiceType;\n}\n\nexport type ChoicesItemPropsFromChoiceType<\n V,\n ChoiceType extends ChoiceItemType,\n> = ChoiceType extends ChoiceItemFormElementProps<V>['type'] ? ChoiceItemFormElementProps<V> : ChoiceItemButtonProps<V>;\n\nexport type ChoicesProps<\n V,\n ChoiceType extends ChoiceItemType,\n> = ChoiceType extends ChoiceItemFormElementProps<V>['type']\n ? ChoicesFormElementProps<V, ChoiceType>\n : ChoicesButtonProps<V, 'button'>;\n\ntype ExcludeChoiceItemProvidedByChoices = 'type' | 'onPress' | 'onChange' | 'onFocus' | 'onBlur';\ntype OptionalChoiceItemProvidedByChoices = 'variant' | 'disabled' | 'size';\n\nfunction Choices<V, ChoiceType extends ChoiceItemType>({\n id,\n testID,\n type,\n direction = 'column',\n disabled,\n children,\n value,\n variant,\n onPress,\n onChange,\n onFocus,\n onBlur,\n size,\n style,\n contentContainerStyle,\n}: ChoicesProps<V, ChoiceType>): ReactNode {\n const [currentValue, setCurrentValue] = useState(value);\n\n const isForm = type && ['radio', 'checkbox'].includes(type);\n\n const childrenArray = Children.toArray(children) as ReactElement<\n ChoicesItemPropsFromChoiceType<V, ChoiceType>,\n typeof ChoiceItem\n >[];\n\n const handleChange: ChoicesItemPropsFromChoiceType<V, ChoiceType>['onChange'] = (newValue) => {\n setCurrentValue(newValue);\n if (onChange) onChange(newValue);\n };\n\n const sharedProps: Pick<\n ChoicesItemPropsFromChoiceType<V, ChoiceType>,\n ExcludeChoiceItemProvidedByChoices | OptionalChoiceItemProvidedByChoices\n > = {\n type,\n disabled,\n variant,\n onPress: !isForm ? onPress : undefined,\n onChange: isForm ? handleChange : undefined,\n onFocus,\n onBlur,\n size,\n };\n\n return (\n <ChoicesContainer\n direction={direction}\n testID={testID}\n id={id}\n style={style}\n contentContainerStyle={contentContainerStyle}\n >\n {childrenArray.map((child, index) => {\n const element = cloneElement<ChoicesItemPropsFromChoiceType<V, ChoiceType>>(child, {\n selected: isForm ? child.props.value === currentValue : undefined,\n ...sharedProps,\n } as any);\n\n return (\n <ChoiceItemContainer key={child.key} direction={direction} isLast={index === childrenArray.length - 1}>\n {element}\n </ChoiceItemContainer>\n );\n })}\n </ChoicesContainer>\n );\n}\n\nChoices.Item = ChoiceItem;\n\nexport interface CreateChoices<V, ChoiceType extends ChoiceItemType> {\n (props: ChoicesProps<V, ChoiceType>): ReactNode;\n Item: (\n props: SetOptional<\n Except<ChoicesItemPropsFromChoiceType<V, ChoiceType>, OptionalChoiceItemProvidedByChoices>,\n ExcludeChoiceItemProvidedByChoices\n >,\n ) => ReactNode;\n}\n\nexport function createChoicesComponent<V, ChoiceType extends ChoiceItemType>(): CreateChoices<V, ChoiceType> {\n return Choices as CreateChoices<V, ChoiceType>;\n}\n\nconst ButtonChoices = createChoicesComponent<never, 'button'>();\n\nChoices.ButtonChoices = ButtonChoices;\n\nexport const ChoicesElements = {\n Item: ChoiceItem,\n ButtonChoices,\n};\n","import type { ReactNode } from 'react';\nimport { useRef } from 'react';\nimport { StyleSheet } from 'react-native';\nimport Animated, { Easing, runOnJS, useAnimatedStyle, withTiming } from 'react-native-reanimated';\nimport { useTheme } from '../../KittThemeContext';\n\nexport interface NativeOpacityAnimationProps {\n visible?: boolean;\n children: ReactNode;\n onExited: () => void;\n}\n\nexport function NativeOpacityAnimation({ visible, children, onExited }: NativeOpacityAnimationProps): ReactNode {\n const theme = useTheme();\n const hasRunAnimationRef = useRef(false);\n\n function handleAnimationFinished(): void {\n if (visible) {\n hasRunAnimationRef.current = true;\n }\n\n if (!visible && hasRunAnimationRef.current) {\n onExited();\n }\n }\n\n const opacityStyle = useAnimatedStyle(() => {\n const { duration, easing } = theme.kitt.dialogModal.animation.overlay;\n const [x1, y1, x2, y2] = easing;\n\n return {\n opacity: withTiming(visible ? 1 : 0, { duration, easing: Easing.bezier(x1, y1, x2, y2) }, (isFinished) => {\n if (!isFinished) return;\n runOnJS(handleAnimationFinished)();\n }),\n };\n });\n\n return <Animated.View style={[StyleSheet.absoluteFillObject, opacityStyle]}>{children}</Animated.View>;\n}\n","import type { ReactNode } from 'react';\nimport { useRef } from 'react';\nimport Animated, { Easing, runOnJS, useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';\nimport { useTheme } from '../../KittThemeContext';\nimport type { DialogModalAnimationProps } from './DialogModalAnimation';\n\nexport interface NativeRotationAnimationProps {\n children: ReactNode;\n topInset?: number;\n visible?: DialogModalAnimationProps['visible'];\n onEntered?: DialogModalAnimationProps['onEntered'];\n onExited: () => void;\n}\n\nexport function NativeRotationAnimation({\n visible,\n children,\n onEntered,\n onExited,\n}: NativeRotationAnimationProps): ReactNode {\n const theme = useTheme();\n\n const hasRunAnimationRef = useRef(false);\n\n const rotation = useSharedValue(0.8);\n\n function handleAnimationFinished(): void {\n if (visible) {\n if (onEntered) onEntered();\n hasRunAnimationRef.current = true;\n }\n\n if (!visible && hasRunAnimationRef.current) onExited();\n }\n\n const animatedStyle = useAnimatedStyle(() => {\n const { duration, easing } = theme.kitt.dialogModal.animation.content;\n\n const [x1, y1, x2, y2] = easing;\n\n rotation.value = withTiming(visible ? 0 : 5, { duration, easing: Easing.bezier(x1, y1, x2, y2) }, (isFinished) => {\n if (!isFinished) return;\n runOnJS(handleAnimationFinished)();\n });\n\n return {\n opacity: withTiming(visible ? 1 : 0, { duration, easing: Easing.bezier(x1, y1, x2, y2) }),\n transform: [\n { scale: withTiming(visible ? 1 : 0.8, { duration, easing: Easing.bezier(x1, y1, x2, y2) }) },\n {\n rotateZ: `${rotation.value}deg`,\n },\n ],\n };\n });\n\n return <Animated.View style={[animatedStyle]}>{children}</Animated.View>;\n}\n","import type { ReactNode } from 'react';\nimport { useEffect, useState } from 'react';\nimport { Modal, Platform } from 'react-native';\nimport { Overlay } from '../../Overlay/Overlay';\nimport type { ViewProps } from '../../native-base/primitives';\nimport { View } from '../../native-base/primitives';\nimport { NativeOpacityAnimation } from './NativeOpacityAnimation';\nimport { NativeRotationAnimation } from './NativeRotationAnimation';\n\nexport interface DialogModalAnimationProps extends ViewProps {\n children: ReactNode;\n appear?: boolean;\n visible?: boolean;\n unmountOnExit?: boolean;\n isAnimationEnabled?: boolean;\n onEnter?: () => void;\n onEntered?: () => void;\n onExit?: () => void;\n onExited?: () => void;\n onClose?: () => void;\n}\n\nexport function DialogModalAnimation({\n visible,\n children,\n onEnter,\n onEntered,\n onExit,\n onExited,\n onClose,\n}: DialogModalAnimationProps): ReactNode {\n const [isModalVisible, setIsModalVisible] = useState(visible);\n const [isContentVisible, setIsContentVisible] = useState(false);\n\n const handleAnimationExited = (): void => {\n setIsModalVisible(false);\n // Android doesn't handle the onDismiss callback on the modal, we need to call it manually\n if (Platform.OS === 'android' && onExited) onExited();\n };\n\n useEffect(() => {\n const shouldHideContent = !visible && isContentVisible;\n\n if (!shouldHideContent) return;\n\n if (onExit) onExit();\n setIsContentVisible(false);\n }, [visible, isContentVisible, onExit]);\n\n return (\n <Modal\n transparent\n supportedOrientations={['landscape', 'portrait']}\n visible={isModalVisible}\n onShow={() => {\n if (onEnter) onEnter();\n setIsContentVisible(true);\n }}\n onDismiss={() => {\n if (onExited) onExited();\n }}\n >\n <View position=\"relative\" flexGrow={1} justifyContent=\"center\" alignItems=\"center\">\n <NativeOpacityAnimation visible={isContentVisible} onExited={handleAnimationExited}>\n <Overlay onPress={onClose} />\n </NativeOpacityAnimation>\n\n <NativeRotationAnimation visible={isContentVisible} onExited={handleAnimationExited} onEntered={onEntered}>\n <View\n paddingX=\"kitt.dialogModal.overlayPadding.horizontal\"\n paddingY=\"kitt.dialogModal.overlayPadding.vertical\"\n >\n {children}\n </View>\n </NativeRotationAnimation>\n </View>\n </Modal>\n );\n}\n","import type { ReactNode } from 'react';\nimport { useEffect, useState } from 'react';\nimport type { ModalBehaviourProps } from '../ModalBehaviour/ModalBehaviour';\nimport { ModalBehaviour } from '../ModalBehaviour/ModalBehaviour';\nimport { ScrollView } from '../native-base/primitives';\nimport type { DialogModalAnimationProps } from './DialogModalAnimation/DialogModalAnimation';\nimport { DialogModalAnimation } from './DialogModalAnimation/DialogModalAnimation';\n\nexport interface DialogModalBehaviourProps extends DialogModalAnimationProps {\n onClose: ModalBehaviourProps['onClose'];\n}\n\nexport function DialogModalBehaviour({\n children,\n visible,\n onClose,\n onExited,\n ...props\n}: DialogModalBehaviourProps): ReactNode {\n const [isModalBehaviourVisible, setIsModalBehaviourVisible] = useState(visible);\n\n useEffect(() => {\n if (visible === true) {\n setIsModalBehaviourVisible(true);\n }\n }, [visible]);\n\n const handleExitAnimationDone = (): void => {\n if (onExited) onExited();\n setIsModalBehaviourVisible(false);\n };\n\n return (\n <ModalBehaviour visible={isModalBehaviourVisible} onClose={onClose}>\n <ScrollView bounces={false} contentContainerStyle={{ flexGrow: 1 }}>\n <DialogModalAnimation {...props} visible={visible} onExited={handleExitAnimationDone} onClose={onClose}>\n {children}\n </DialogModalAnimation>\n </ScrollView>\n </ModalBehaviour>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { ActionsButtonProps } from '..';\nimport { Actions } from '../Actions/Actions';\nimport { View } from '../native-base/primitives';\nimport { DialogModalBehaviour } from './DialogModalBehaviour';\n\nexport interface DialogModalProps {\n illustration?: ReactNode;\n actions?: ReactNode;\n title?: ReactNode;\n children: ReactNode;\n}\n\nexport function DialogModal({ illustration, title, children, actions }: DialogModalProps): ReactNode {\n return (\n <View\n alignItems=\"center\"\n maxWidth=\"kitt.dialogModal.maxWidth\"\n backgroundColor=\"kitt.uiBackgroundLight\"\n borderRadius=\"kitt.dialogModal.borderRadius\"\n shadow=\"kitt.dialogModal.shadow\"\n >\n {illustration ? <View>{illustration}</View> : null}\n\n <View\n width=\"100%\"\n alignItems=\"center\"\n padding={{ base: 'kitt.4', medium: 'kitt.6' }}\n paddingTop={illustration ? 'kitt.8' : 'kitt.6'}\n >\n {title ? <View marginBottom=\"kitt.2\">{title}</View> : null}\n\n <View marginBottom=\"kitt.8\">{children}</View>\n\n {actions ? (\n <Actions width=\"100%\" layout=\"column\">\n {actions}\n </Actions>\n ) : null}\n </View>\n </View>\n );\n}\n\nDialogModal.ModalBehaviour = DialogModalBehaviour;\n\ninterface DialogModalButtonProps extends ActionsButtonProps {}\n\nfunction DialogModalButton({ stretch = true, ...props }: DialogModalButtonProps): ReactNode {\n return <Actions.Button stretch={stretch} {...props} />;\n}\n\nDialogModal.Button = DialogModalButton;\n","import { parse } from '@twemoji/parser';\nimport type { IImageProps } from 'native-base';\nimport { Image } from 'native-base';\nimport type { ReactNode } from 'react';\nimport { useMemo } from 'react';\nimport type { ImageProps } from 'react-native';\nimport { Platform } from 'react-native';\nimport type { KittResponsiveProp } from '../KittBreakpoints';\n\nexport interface EmojiProps extends Pick<ImageProps, 'style' | 'testID'> {\n emoji: string;\n size: number | KittResponsiveProp<number>;\n alignSelf?: IImageProps['alignSelf'];\n _web?: IImageProps['_web'];\n}\n\nexport function Emoji({ emoji, size, alignSelf, _web, style, testID }: EmojiProps): ReactNode {\n const [emojiData] = useMemo(\n () =>\n parse(emoji, {\n // on native plaforms, you can't display svg as Image\n assetType: Platform.OS === 'web' ? 'svg' : 'png',\n }),\n [emoji],\n );\n\n if (!emojiData) return null;\n\n return (\n <Image\n testID={testID}\n size={size}\n alt={emojiData.text}\n aria-label={emojiData.text}\n source={{ uri: emojiData.url }}\n style={style}\n alignSelf={alignSelf}\n _web={_web}\n />\n );\n}\n","import type { ComponentProps, FunctionComponent, ReactNode } from 'react';\nimport type { GestureResponderEvent, PressableProps, TextProps } from 'react-native';\nimport { Linking } from 'react-native';\n\ntype ExternalAppLinkScheme = 'sms' | 'tel' | 'mailto';\n\nexport interface ExternalAppLinkAsComponentMinimumRequiredProps {\n href?: TextProps['href'];\n hrefAttrs?: TextProps['hrefAttrs'];\n onPress?: PressableProps['onPress'];\n}\n\nexport interface ExternalAppLinkProps<C extends FunctionComponent<any>> {\n as: C;\n appScheme: ExternalAppLinkScheme;\n appValue: string;\n onPress?: PressableProps['onPress'];\n onOpenAppError?: (err: string) => void;\n}\n\nexport interface ExternalAppLinkPhoneProps<C extends FunctionComponent<any>> extends Partial<ExternalAppLinkProps<C>> {\n phoneNumber: string;\n}\n\nexport interface ExternalAppLinkMailProps<C extends FunctionComponent<any>> extends Partial<ExternalAppLinkProps<C>> {\n emailAddress: string;\n}\n\n/** @internal for ExternalAppLink.web.tsx only */\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport type ExternalAppLinkSendableComponentProps<C extends FunctionComponent<any>> = Omit<\n ComponentProps<C>,\n keyof ExternalAppLinkProps<C> & keyof ExternalAppLinkAsComponentMinimumRequiredProps\n>;\n\nexport function ExternalAppLink<C extends FunctionComponent<any>>({\n as: Component,\n appScheme,\n appValue,\n onPress,\n onOpenAppError,\n ...rest\n}: ExternalAppLinkProps<C> & ExternalAppLinkSendableComponentProps<C>): ReactNode {\n const href = `${appScheme}:${appValue}`;\n\n const handleOnPress = async (e: GestureResponderEvent): Promise<void> => {\n try {\n const canOpen = await Linking.canOpenURL(href);\n\n if (canOpen) {\n if (onPress) {\n onPress(e);\n if (e.defaultPrevented) return;\n }\n\n Linking.openURL(href).catch((error) => {\n console.error(`An error occurred while opening ${href}`, error);\n\n onOpenAppError?.(`An error occurred while opening ${href}`);\n });\n } else {\n onOpenAppError?.(`Cannot open url: ${href}`);\n }\n } catch {\n onOpenAppError?.('An error occured with Linkinf.canOpenURL');\n }\n };\n\n return <Component href={href} {...(rest as any)} onPress={handleOnPress} />;\n}\n\nExternalAppLink.Sms = function ExternalAppLinkSms<C extends FunctionComponent<any>>({\n phoneNumber,\n children,\n ...rest\n}: ExternalAppLinkPhoneProps<C> & ExternalAppLinkSendableComponentProps<C>): ReactNode {\n return (\n <ExternalAppLink {...(rest as any)} appScheme=\"sms\" appValue={phoneNumber}>\n {children}\n </ExternalAppLink>\n );\n};\n\nExternalAppLink.Tel = function ExternalAppLinkTel<C extends FunctionComponent<any>>({\n phoneNumber,\n children,\n ...rest\n}: ExternalAppLinkPhoneProps<C> & ExternalAppLinkSendableComponentProps<C>): ReactNode {\n return (\n <ExternalAppLink {...(rest as any)} appScheme=\"tel\" appValue={phoneNumber}>\n {children}\n </ExternalAppLink>\n );\n};\n\nExternalAppLink.Mail = function ExternalAppLinkMail<C extends FunctionComponent<any>>({\n emailAddress,\n children,\n ...rest\n}: ExternalAppLinkMailProps<C> & ExternalAppLinkSendableComponentProps<C>): ReactNode {\n return (\n <ExternalAppLink {...(rest as any)} appScheme=\"mailto\" appValue={emailAddress}>\n {children}\n </ExternalAppLink>\n );\n};\n","export interface ExternalLinkOpenLinkBehavior {\n /**\n * @default 'openInModal'\n *\n * @description open link behavior in native\n *\n * \"openInModal\": open via [expo-web-browser](https://docs.expo.dev/versions/latest/sdk/webbrowser/)\n *\n * \"openBrowserApp\": open via [Linking](https://docs.expo.dev/guides/linking/#opening-links-from-your-app)\n */\n native?: 'openInModal' | 'openBrowserApp';\n\n /**\n * @default 'targetBlank'\n *\n * @description open link behavior in native\n *\n * \"targetSelf\": no dom attributes added, behave like `target=\"_self\"`\n *\n * \"targetBlank\": dome attributes: `target=\"_blank\" rel=\"noopener noreferrer\"`\n */\n web?: 'targetSelf' | 'targetBlank';\n}\n\nexport const defaultOpenLinkBehavior: ExternalLinkOpenLinkBehavior = {\n native: 'openInModal',\n web: 'targetBlank',\n};\n","import * as WebBrowser from 'expo-web-browser';\nimport { Linking } from 'react-native';\nimport { defaultOpenLinkBehavior } from '../ExternalLinkOpenLinkBehavior';\nimport type { OpenExternalLinkParams } from '../OpenExternalLinkParams';\n\ntype OpenExternalLinkErrorHandler = (error: Error) => void;\n\nexport function useOpenExternalLink(errorHandler?: OpenExternalLinkErrorHandler) {\n return async ({ href, behavior = defaultOpenLinkBehavior }: OpenExternalLinkParams): Promise<void> => {\n const encodedURL = encodeURI(href);\n try {\n if (behavior.native === 'openBrowserApp') {\n const canOpenURL = await Linking.canOpenURL(encodedURL);\n if (!canOpenURL) {\n throw new Error(`Cannot open URL: ${encodedURL}`);\n }\n await Linking.openURL(encodedURL);\n return;\n }\n\n await WebBrowser.openBrowserAsync(encodedURL);\n } catch (error) {\n if (error instanceof Error && errorHandler) {\n errorHandler(error);\n return;\n }\n throw error;\n }\n };\n}\n","import type { ComponentProps, FunctionComponent, ReactNode } from 'react';\nimport type { PressableProps, TextProps } from 'react-native';\nimport type { ExternalLinkOpenLinkBehavior } from './ExternalLinkOpenLinkBehavior';\nimport { defaultOpenLinkBehavior } from './ExternalLinkOpenLinkBehavior';\nimport { useOpenExternalLink } from './hooks/useOpenExternalLink';\n\nexport interface ExternalLinkAsComponentMinimumRequiredProps {\n href?: TextProps['href'];\n hrefAttrs?: TextProps['hrefAttrs'];\n onPress?: PressableProps['onPress'];\n}\n\nexport interface ExternalLinkProps<C extends FunctionComponent<any>> {\n as: C;\n openLinkBehavior?: ExternalLinkOpenLinkBehavior;\n href?: string;\n onPress?: PressableProps['onPress'];\n onOpenLinkError?: (err: string, originalError: unknown) => void;\n}\n\n/** @internal for ExternalLink.web.tsx only */\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport type ExternalLinkSendableComponentProps<C extends FunctionComponent<any>> = Omit<\n ComponentProps<C>,\n keyof ExternalLinkProps<C> & keyof ExternalLinkAsComponentMinimumRequiredProps\n>;\n\nexport function ExternalLink<C extends FunctionComponent<any>>({\n as: Component,\n href,\n openLinkBehavior = defaultOpenLinkBehavior,\n onPress,\n // eslint-disable-next-line no-console\n onOpenLinkError = console.error,\n ...rest\n}: ExternalLinkProps<C> & ExternalLinkSendableComponentProps<C>): ReactNode {\n const openExternalLink = useOpenExternalLink();\n\n const handleOnPress: PressableProps['onPress'] = (e) => {\n if (onPress) {\n onPress(e);\n if (e.defaultPrevented) return;\n }\n\n if (!href) return;\n\n openExternalLink({ href, behavior: openLinkBehavior }).catch((error) => {\n onOpenLinkError(`An error occurred while opening ${href}`, error);\n });\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return <Component {...(rest as any)} onPress={handleOnPress} />;\n}\n","import type { ReactElement, ReactNode } from 'react';\nimport { useTheme } from '../../KittThemeContext';\nimport type { TypographyIconProps } from '../../typography/TypographyIcon';\nimport { TypographyIcon } from '../../typography/TypographyIcon';\nimport type { InputFormState } from '../utils';\n\nfunction getIconColor(state?: InputFormState, disabled?: boolean): TypographyIconProps['color'] {\n if (disabled) return 'black-light';\n\n switch (state) {\n case 'invalid':\n return 'danger';\n case 'valid':\n return 'success';\n default:\n return undefined;\n }\n}\n\nexport interface InputIconProps {\n icon: ReactElement<any>;\n disabled?: boolean;\n state?: InputFormState;\n}\n\nexport function InputIcon({ icon, state, disabled }: InputIconProps): ReactNode {\n const theme = useTheme();\n\n const color = getIconColor(state, disabled);\n\n return <TypographyIcon color={color} icon={icon} size={theme.kitt.forms.input.icon.size} />;\n}\n","import type { ReactNode } from 'react';\nimport type { PressableProps } from 'react-native';\nimport { Pressable } from 'react-native';\n\nexport interface InputPressableProps extends PressableProps {}\n\nexport function InputPressable({ ...props }: InputPressableProps): ReactNode {\n return <Pressable {...props} />;\n}\n","import type { ReactNode } from 'react';\nimport { View } from '../../native-base/primitives';\n\nexport interface InputTextContainerProps {\n children: NonNullable<ReactNode>;\n}\n\nexport function InputTextContainer({ children }: InputTextContainerProps): ReactNode {\n return <View position=\"relative\">{children}</View>;\n}\n","import { Input } from 'native-base';\nimport type { ResponsiveValue } from 'native-base/lib/typescript/components/types';\nimport type { ReactNode } from 'react';\nimport { forwardRef } from 'react';\nimport type { TextInput as RNTextInput, TextInputProps as RNTextInputProps } from 'react-native';\nimport { Platform } from 'react-native';\nimport type { Except } from 'type-fest';\nimport { useTheme } from '../../KittThemeContext';\nimport { View } from '../../native-base/primitives';\nimport { createNativeBaseFontSize } from '../../typography/Typography';\nimport type { InputFormState, InputUIState } from '../utils';\nimport { InputTextContainer } from './InputTextContainer';\n\nexport interface InputTextProps extends Except<RNTextInputProps, 'id'> {\n id?: string;\n name?: string;\n // See InterfaceInputProps from native-base\n variant?: ResponsiveValue<'outline' | 'unstyled'>;\n disabled?: boolean;\n minHeight?: number | string;\n // `height` property is available for multiline inputs only\n height?: number | string;\n state?: InputFormState;\n right?: ReactNode;\n /**\n * @internal\n * @deprecated\n */\n internalForceState?: InputUIState;\n}\n\nexport const InputText = forwardRef<RNTextInput, InputTextProps>(\n (\n {\n id,\n right,\n state: formState,\n variant = 'outline',\n internalForceState,\n disabled = false,\n autoCorrect = true,\n textContentType = 'none',\n autoComplete = 'off',\n inputMode = 'text',\n multiline,\n height,\n onSubmitEditing,\n ...props\n }: InputTextProps,\n ref,\n ): ReactNode => {\n const theme = useTheme();\n const fontSizeForNativeBase = createNativeBaseFontSize({ base: 'body' });\n const shouldHandleSingleLineOnIOS = Platform.OS === 'ios' && !multiline;\n\n return (\n <InputTextContainer>\n <Input\n ref={ref as any}\n multiline={multiline}\n id={id}\n isDisabled={internalForceState ? internalForceState === 'disabled' : disabled}\n isHovered={internalForceState ? internalForceState === 'hover' : undefined}\n isFocused={internalForceState ? internalForceState === 'focus' : undefined}\n inputMode={inputMode}\n autoComplete={autoComplete}\n autoCorrect={autoCorrect}\n textContentType={textContentType}\n fontSize={fontSizeForNativeBase}\n lineHeight={\n // On basic text input, we set the line-height to zero for iOS to fix vertical text alignment\n // This is a iOS only fix since having 0 as a line-height value breaks text inputs on Android\n shouldHandleSingleLineOnIOS ? 0 : fontSizeForNativeBase\n }\n fontWeight=\"bodies.regular\"\n fontFamily=\"bodies.regular\"\n py={!multiline && Platform.OS !== 'web' ? 0 : undefined}\n variant={variant}\n {...props}\n height={multiline ? height : 'kitt.forms.input.minHeight'}\n onSubmitEditing={multiline ? () => null : onSubmitEditing}\n />\n {right ? (\n <View\n position=\"absolute\"\n right={0}\n top={0}\n bottom={0}\n justifyContent=\"center\"\n padding={theme.kitt.forms.input.rightContainer.padding}\n >\n {right}\n </View>\n ) : null}\n </InputTextContainer>\n );\n },\n);\n","import type { ReactNode } from 'react';\nimport { View } from '../../native-base/primitives';\n\ninterface UIState {\n isSelected?: boolean;\n isHovered?: boolean;\n isFocused?: boolean;\n isPressed?: boolean;\n isHighlighted?: boolean;\n}\n\nfunction getBackgroundColor({ isSelected, isHighlighted, isPressed, isHovered, isFocused }: UIState): string {\n const baseKey = 'kitt.forms.autocomplete.option';\n\n if (isHighlighted) {\n return `${baseKey}.highlighted.backgroundColor`;\n }\n\n if (isPressed) {\n return `${baseKey}.pressed.backgroundColor`;\n }\n\n if (isHovered) {\n return `${baseKey}.hovered.backgroundColor`;\n }\n\n if (isFocused) {\n return `${baseKey}.focused.backgroundColor`;\n }\n\n if (isSelected) {\n return `${baseKey}.selected.backgroundColor`;\n }\n\n return `${baseKey}.default.backgroundColor`;\n}\n\ninterface AutocompleteItemProps<T extends object> {\n item: T;\n children: ReactNode;\n isSelected?: boolean;\n isHighlighted?: boolean;\n isHovered?: boolean;\n isFocused?: boolean;\n isPressed?: boolean;\n}\n\nexport function AutocompleteItem<T extends object>({\n children,\n isSelected,\n isHighlighted,\n isHovered,\n isFocused,\n isPressed,\n}: AutocompleteItemProps<T>): ReactNode {\n return (\n <View\n justifyContent=\"center\"\n width=\"100%\"\n minHeight=\"kitt.forms.autocomplete.option.minHeight\"\n borderRadius=\"kitt.1\"\n padding=\"kitt.1\"\n backgroundColor={getBackgroundColor({ isSelected, isHighlighted, isPressed, isHovered, isFocused })}\n >\n {children}\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { ViewProps } from '../../native-base/primitives';\nimport { ScrollView, View } from '../../native-base/primitives';\n\ninterface AutocompleteItemsListContainerProps {\n testID: ViewProps['testID'];\n zIndex?: ViewProps['zIndex'];\n children: ReactNode;\n /* If specifided, will render a scroll view of given height */\n maxHeight?: number;\n}\n\nexport function AutocompleteItemsListContainer({\n testID,\n children,\n maxHeight,\n zIndex = 1000,\n}: AutocompleteItemsListContainerProps): ReactNode {\n const Component = maxHeight ? ScrollView : View;\n return (\n <View\n testID={testID}\n zIndex={zIndex}\n top=\"kitt.2\"\n left={0}\n position=\"absolute\"\n flexGrow={1}\n width=\"100%\"\n borderRadius=\"kitt.forms.autocomplete.optionsContainer.borderRadius\"\n backgroundColor=\"kitt.forms.autocomplete.optionsContainer.backgroundColor\"\n maxHeight={maxHeight}\n shadow=\"kitt.forms.autocomplete.optionsContainer.shadow\"\n _android={{ style: { elevation: 2 } }}\n >\n <Component\n maxHeight={maxHeight}\n paddingY=\"kitt.2\"\n borderRadius=\"kitt.forms.autocomplete.optionsContainer.borderRadius\"\n >\n {children}\n </Component>\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { ViewProps } from '../../native-base/primitives';\nimport { View } from '../../native-base/primitives';\n\nexport interface AutocompleteOptionProps extends ViewProps {\n item: unknown;\n children: ReactNode;\n}\n\nexport function AutocompleteOption({\n children,\n testID = 'kitt.Autocomplete.option',\n ...props\n}: AutocompleteOptionProps): ReactNode {\n return (\n <View\n paddingX={{ base: 'kitt.2', small: 'kitt.4' }}\n paddingY=\"kitt.forms.autocomplete.option.verticalPadding\"\n testID={testID}\n {...props}\n >\n {children}\n </View>\n );\n}\n","import { CaretDownFillIcon, CaretUpFillIcon } from '@ornikar/kitt-icons/phosphor';\nimport type { DownshiftProps } from 'downshift';\nimport Downshift from 'downshift';\nimport type { ComponentType, ReactElement, ReactNode } from 'react';\nimport { Children } from 'react';\nimport type { GestureResponderEvent } from 'react-native';\nimport { Keyboard, Platform } from 'react-native';\nimport type { ViewProps } from '../../native-base/primitives';\nimport { Pressable, View } from '../../native-base/primitives';\nimport { InputIcon } from '../InputIcon/InputIcon';\nimport { InputPressable } from '../InputPressable/InputPressable';\nimport type { InputTextProps } from '../InputText/InputText';\nimport { InputText } from '../InputText/InputText';\nimport { AutocompleteItem } from './AutocompleteItem';\nimport { AutocompleteItemsListContainer } from './AutocompleteItemsListContainer';\nimport { AutocompleteOption } from './AutocompleteOption';\n\n// When testing with jest on native, e is undefined, we need to patch it to make it work\nfunction patchNativeEvent(event?: GestureResponderEvent): GestureResponderEvent {\n return event || ({ preventDownshiftDefault: false, preventDefault: () => {} } as unknown as GestureResponderEvent);\n}\n\ninterface BaseItemProps<T> {\n item: T;\n}\n\ntype ComponentWithItemProp<T> = ComponentType<BaseItemProps<T>>;\n\nexport interface AutocompleteProps<T extends object> extends Omit<InputTextProps, 'onChange'> {\n children: ReactElement<ComponentWithItemProp<T>>[];\n isInitialOpen?: DownshiftProps<T>['defaultIsOpen'];\n initialValue?: T;\n containerProps?: Exclude<ViewProps, 'ref'>;\n filterItemBasedOnCurrentInputValue?: (item: T, inputValue: string) => boolean;\n checkSelectedItem: (selectedItem: T | undefined, item: T) => boolean;\n itemToString: (item?: T) => string;\n right?: InputTextProps['right'];\n errorElement?: ReactNode;\n emptyResultsElement?: ReactNode;\n inputTestID?: ViewProps['testID'];\n listContainerTestID?: ViewProps['testID'];\n zIndex?: ViewProps['zIndex'];\n onChange?: DownshiftProps<T>['onChange'];\n onInputChange?: DownshiftProps<T>['onInputValueChange'];\n onSelectItem?: DownshiftProps<T>['onSelect'];\n onOuterPress?: DownshiftProps<T>['onOuterClick'];\n maxItemContainerHeight?: number;\n}\n\nfunction isReactElement(element: unknown): element is ReactElement<any> {\n return typeof element === 'object' && element !== null && 'type' in element && 'props' in element;\n}\n\nexport function Autocomplete<T extends object>({\n children,\n name,\n disabled,\n placeholder,\n isInitialOpen,\n initialValue,\n containerProps,\n filterItemBasedOnCurrentInputValue,\n checkSelectedItem,\n itemToString,\n right,\n onChange,\n onFocus,\n onBlur,\n onInputChange,\n onSelectItem,\n /**\n * @description web only callback\n */\n onOuterPress,\n errorElement,\n emptyResultsElement,\n inputTestID = 'kitt.Autocomplete.inputText',\n listContainerTestID = 'kitt.Autocomplete.listContainer',\n zIndex = 1000,\n maxItemContainerHeight,\n ...props\n}: AutocompleteProps<T>): ReactNode {\n const childrenArray = Children.toArray(children);\n\n const items: { child: ReactElement<any>; item: T }[] = childrenArray\n .filter(isReactElement)\n .map((child) => ({ child, item: child.props.item }));\n\n const handleItemToString = (item: T | null): string => {\n // Prevents returning null values\n if (!itemToString) return '';\n return itemToString(item || undefined);\n };\n\n return (\n <Downshift\n defaultIsOpen={isInitialOpen}\n initialSelectedItem={initialValue}\n initialInputValue={initialValue ? itemToString(initialValue) : undefined}\n itemToString={handleItemToString}\n stateReducer={(state, changes) => {\n switch (changes.type) {\n case Downshift.stateChangeTypes.changeInput:\n return {\n ...changes,\n selectedItem: null,\n };\n default:\n return changes;\n }\n }}\n onChange={(selectedItem, stateAndHelpers) => {\n if (onChange) {\n onChange(selectedItem, stateAndHelpers);\n }\n }}\n onSelect={onSelectItem}\n onOuterClick={onOuterPress}\n onInputValueChange={onInputChange}\n >\n {({\n getRootProps,\n getInputProps,\n getMenuProps,\n getItemProps,\n getToggleButtonProps,\n isOpen,\n inputValue,\n highlightedIndex,\n selectedItem,\n openMenu,\n }) => {\n const shouldSuppressRefError = Platform.OS !== 'web';\n\n const rootProps = getRootProps(undefined, { suppressRefError: shouldSuppressRefError });\n const menuProps = getMenuProps(undefined, { suppressRefError: shouldSuppressRefError });\n const { onClick: onClickToggle, onPress: onPressToggle, ...toggleProps } = getToggleButtonProps({ disabled });\n\n const {\n onKeyDown,\n onFocus: onSearchInputFocus,\n onBlur: onSearchInputBlur,\n onChange: onSearchInputChange,\n ...inputProps\n } = getInputProps({ placeholder, disabled });\n\n const hasCurrentSearch = inputValue && inputValue.length > 0;\n\n const currentItems =\n hasCurrentSearch && filterItemBasedOnCurrentInputValue\n ? items.filter(({ item }) => {\n if (!filterItemBasedOnCurrentInputValue) return true;\n return filterItemBasedOnCurrentInputValue(item, inputValue || '');\n })\n : items;\n\n // We need to check if the menu is open and if there is at least one item or an error element to prevent displaying an empty container\n const isCurrentlyOpen = isOpen ? currentItems.length > 0 || !!errorElement || !!emptyResultsElement : false;\n\n const handleTogglePress = (e?: GestureResponderEvent): void => {\n if (Platform.OS === 'web') {\n onClickToggle(e);\n return;\n }\n onPressToggle(patchNativeEvent(e));\n };\n\n const canDisplayCollapseButton = currentItems.length > 0 || !!errorElement || !!emptyResultsElement;\n\n return (\n <View {...rootProps} {...containerProps} zIndex={zIndex} position=\"relative\">\n <InputText\n {...inputProps}\n {...props}\n name={name}\n testID={inputTestID}\n right={\n right ||\n (canDisplayCollapseButton ? (\n <InputPressable\n {...toggleProps}\n testID=\"kitt.Autocomplete.listToggle\"\n hitSlop={40}\n onPress={handleTogglePress}\n >\n <InputIcon icon={isCurrentlyOpen ? <CaretUpFillIcon /> : <CaretDownFillIcon />} />\n </InputPressable>\n ) : null)\n }\n onFocus={(e) => {\n openMenu();\n /** @ts-expect-error onFocus wants web events */\n if (Platform.OS !== 'android' && onSearchInputFocus) onSearchInputFocus(e);\n\n if (onFocus) onFocus(e);\n }}\n onBlur={(e) => {\n /** @ts-expect-error onBlur wants web events */\n if (Platform.OS === 'web' && onSearchInputBlur) onSearchInputBlur(e);\n\n /** @ts-expect-error onBlur wants web events */\n if (Platform.OS === 'ios' && !Keyboard.isVisible() && onSearchInputBlur) onSearchInputBlur(e);\n\n if (onBlur) onBlur(e);\n }}\n /** @ts-expect-error onSearchInputChange wants web events */\n onChange={onSearchInputChange}\n /** @ts-expect-error onKeyDown wants web events */\n onKeyPress={onKeyDown}\n />\n <View {...menuProps} position=\"relative\">\n {isCurrentlyOpen ? (\n <AutocompleteItemsListContainer testID={listContainerTestID} maxHeight={maxItemContainerHeight}>\n {currentItems.map(({ child, item }, index) => {\n const {\n onClick,\n onPress,\n role,\n 'aria-selected': ariaSelected,\n ...itemProps\n } = getItemProps({ item, index });\n\n return (\n <Pressable\n key={itemProps.id}\n {...itemProps}\n testID={`${listContainerTestID}.item.${index}`}\n accessibilityRole={Platform.OS === 'android' ? undefined : role}\n accessibilityState={{ selected: ariaSelected }}\n disabled={disabled}\n onPress={(e) => {\n if (Platform.OS === 'web') {\n if (onClick) onClick(e);\n return;\n }\n\n if (onPress) onPress(patchNativeEvent(e));\n }}\n >\n {({ isHovered, isFocused, isPressed }) => (\n <AutocompleteItem<T>\n item={item}\n isHighlighted={highlightedIndex === index}\n isHovered={isHovered}\n isFocused={isFocused}\n isPressed={isPressed}\n isSelected={checkSelectedItem(selectedItem || undefined, item)}\n >\n {child}\n </AutocompleteItem>\n )}\n </Pressable>\n );\n })}\n\n {errorElement}\n {currentItems.length === 0 ? emptyResultsElement : null}\n </AutocompleteItemsListContainer>\n ) : null}\n </View>\n </View>\n );\n }}\n </Downshift>\n );\n}\n\nAutocomplete.Option = AutocompleteOption;\n/**\n * @description: This is exported for testing purposes only\n */\nAutocomplete.UnsafeInternalItem = AutocompleteItem;\n","<svg fill=\"none\" viewBox=\"0 0 14 14\"><path d=\"M1.895 7.205a.7.7 0 0 0-.99.99l3.5 3.5a.7.7 0 0 0 .99 0l7.7-7.7a.7.7 0 1 0-.99-.99L4.9 10.21 1.895 7.205z\" fill=\"currentColor\"/></svg>","interface GetBackgroundColorParams {\n isDisabled?: boolean;\n isChecked?: boolean;\n isPressed?: boolean;\n isHovered?: boolean;\n isFocused?: boolean;\n}\n\nexport function getBackgroundColor({\n isDisabled,\n isPressed,\n isHovered,\n isFocused,\n isChecked,\n}: GetBackgroundColorParams): string {\n if (isChecked) return 'kitt.forms.checkbox.checked.backgroundColor';\n\n if (isDisabled) return 'kitt.forms.checkbox.disabled.backgroundColor';\n\n if (isPressed) return 'kitt.forms.checkbox.pressed.backgroundColor';\n\n if (isHovered) return 'kitt.forms.checkbox.hover.backgroundColor';\n\n if (isFocused) return 'kitt.forms.checkbox.focus.backgroundColor';\n\n return 'kitt.forms.checkbox.default.backgroundColor';\n}\n","interface GetBorderColorParams {\n isDisabled?: boolean;\n isChecked?: boolean;\n isPressed?: boolean;\n isHovered?: boolean;\n isFocused?: boolean;\n}\n\nexport function getBorderColor({\n isDisabled,\n isPressed,\n isHovered,\n isFocused,\n isChecked,\n}: GetBorderColorParams): string {\n if (isChecked) return 'kitt.forms.checkbox.checked.borderColor';\n\n if (isDisabled) return 'kitt.forms.checkbox.disabled.borderColor';\n\n if (isPressed) return 'kitt.forms.checkbox.pressed.borderColor';\n\n if (isHovered) return 'kitt.forms.checkbox.hover.borderColor';\n\n if (isFocused) return 'kitt.forms.checkbox.focus.borderColor';\n\n return 'kitt.forms.checkbox.default.borderColor';\n}\n","import type { ReactNode } from 'react';\nimport { forwardRef } from 'react';\nimport type { GestureResponderEvent } from 'react-native';\nimport { Icon } from '../../Icon/Icon';\nimport { useTheme } from '../../KittThemeContext';\nimport { HStack } from '../../native-base/layout';\nimport type { PressableProps } from '../../native-base/primitives';\nimport { Pressable, View } from '../../native-base/primitives';\nimport CheckboxMarkIcon from './checkbox-mark.inline.svg';\nimport { getBackgroundColor } from './utils/getBackgroundColor';\nimport { getBorderColor } from './utils/getBorderColor';\n\nexport interface CheckboxProps extends PressableProps {\n checked?: boolean;\n disabled?: boolean;\n onChange?: (checked: boolean, e: GestureResponderEvent) => void;\n}\n\nexport const Checkbox = forwardRef<PressableProps, CheckboxProps>(\n (\n { checked, hitSlop = 40, children, disabled, onChange, onBlur, onFocus, ...props }: CheckboxProps,\n ref,\n ): ReactNode => {\n const theme = useTheme();\n\n const handlePress = (e: GestureResponderEvent): void => {\n if (onFocus) onFocus();\n if (onChange) onChange(!checked, e);\n if (onBlur) onBlur();\n };\n\n return (\n <Pressable\n hitSlop={hitSlop}\n {...props}\n ref={ref}\n accessibilityRole=\"checkbox\"\n accessibilityState={{ checked: !!checked, disabled }}\n disabled={disabled}\n onPress={handlePress}\n >\n {({ isHovered, isPressed, isFocused }) => (\n <HStack space={children ? 'kitt.forms.checkbox.textSpacing' : undefined}>\n <View\n display=\"flex\"\n flexDirection=\"row\"\n alignItems=\"center\"\n justifyContent=\"center\"\n marginTop={children ? 1 : undefined}\n height=\"kitt.forms.checkbox.height\"\n width=\"kitt.forms.checkbox.width\"\n borderRadius=\"kitt.forms.checkbox.borderRadius\"\n borderWidth=\"kitt.forms.checkbox.borderWidth\"\n borderColor={getBorderColor({\n isDisabled: disabled,\n isFocused,\n isHovered,\n isPressed,\n isChecked: checked,\n })}\n backgroundColor={getBackgroundColor({\n isDisabled: disabled,\n isFocused,\n isHovered,\n isPressed,\n isChecked: checked,\n })}\n _web={{\n style: {\n transitionDuration: theme.kitt.forms.checkbox.transition.duration,\n transitionProperty: 'all',\n transitionTimingFunction: theme.kitt.forms.checkbox.transition.timingFunction,\n },\n }}\n >\n <View\n opacity={checked ? 1 : 0}\n _web={{\n style: {\n transitionDuration: theme.kitt.forms.checkbox.transition.duration,\n transitionProperty: 'opacity',\n transitionTimingFunction: theme.kitt.forms.checkbox.transition.timingFunction,\n },\n }}\n >\n <Icon\n align=\"center\"\n color={theme.kitt.forms.checkbox.markColor}\n size={theme.kitt.forms.checkbox.iconSize}\n icon={<CheckboxMarkIcon />}\n />\n </View>\n </View>\n\n {children ? (\n <View flexBasis=\"auto\" flexGrow={1} flexShrink={1}>\n {children}\n </View>\n ) : null}\n </HStack>\n )}\n </Pressable>\n );\n },\n);\n","import type { TextInputProps } from 'react-native';\nimport { Platform } from 'react-native';\n\nexport function getEnterKeyHintForNumericInput(\n enterKeyHint: TextInputProps['enterKeyHint'],\n): TextInputProps['enterKeyHint'] {\n // enterKeyHint is only displayed on number input on iOS if value is done\n if (Platform.OS === 'ios') return 'done';\n\n return enterKeyHint;\n}\n","function prefixWithZero(value: number, maxLength = 2): string {\n return `${value}`.padStart(maxLength, '0');\n}\n\nexport function dayFormatter(day: number): string {\n return prefixWithZero(day);\n}\n\nexport function monthFormatter(month: number): string {\n return prefixWithZero(month);\n}\n\nexport function yearFormatter(year: number): string {\n return prefixWithZero(year, 4);\n}\n","export function getDayInInterval(value: number | undefined): number | undefined {\n const minValue = 1;\n const maxValue = 31;\n\n return value !== undefined ? Math.max(minValue, Math.min(maxValue, value)) : value;\n}\n\nexport function getMonthInInterval(\n value: number | undefined,\n minDate: Date | undefined,\n maxDate: Date | undefined,\n): number | undefined {\n const maxMonthInYear = 12;\n\n const minValue = minDate ? minDate.getMonth() + 1 : 1;\n const maxValue = maxDate ? maxDate.getMonth() + 1 : maxMonthInYear;\n\n return value !== undefined ? Math.max(minValue, Math.min(maxValue, value)) : value;\n}\n\nexport function getYearInInterval(\n value: number | undefined,\n minDate: Date | undefined,\n maxDate: Date | undefined,\n): number | undefined {\n const maxPossibleYear = 9999;\n\n const minValue = minDate ? minDate.getFullYear() : 1;\n const maxValue = maxDate ? maxDate.getFullYear() : maxPossibleYear;\n\n return value !== undefined ? Math.max(minValue, Math.min(maxValue, value)) : value;\n}\n","import type { Reducer } from 'react';\nimport type { DatePickerProps } from '../DatePicker';\nimport { dayFormatter, monthFormatter, yearFormatter } from '../utils/dateFormatter';\nimport { getDayInInterval, getMonthInInterval, getYearInInterval } from '../utils/datePartInInterval';\n\nfunction getValueToDisplayedString(value: number | undefined): string {\n // We exclude the undefined value since 0 is a valid number\n if (value === undefined) return '';\n\n return value.toString();\n}\n\nexport interface State {\n currentValue: DatePickerProps['value'];\n currentDay?: number;\n currentMonth?: number;\n currentYear?: number;\n displayedDay?: string;\n displayedMonth?: string;\n displayedYear?: string;\n minDate: DatePickerProps['minDate'];\n maxDate: DatePickerProps['maxDate'];\n}\n\ninterface DayChangeAction {\n type: 'day-change';\n nextDay?: number;\n}\n\ninterface MonthChangeAction {\n type: 'month-change';\n nextMonth?: number;\n}\n\ninterface YearChangeAction {\n type: 'year-change';\n nextYear?: number;\n}\n\ninterface DayBlurAction {\n type: 'day-blur';\n}\n\ninterface MonthBlurAction {\n type: 'month-blur';\n}\n\ninterface YearBlurAction {\n type: 'year-blur';\n}\n\ntype Actions =\n | DayChangeAction\n | MonthChangeAction\n | YearChangeAction\n | DayBlurAction\n | MonthBlurAction\n | YearBlurAction;\n\nexport const keyboardDatePickerReducer: Reducer<State, Actions> = (state, action) => {\n switch (action.type) {\n case 'day-change': {\n const { nextDay } = action;\n\n return {\n ...state,\n currentDay: nextDay,\n displayedDay: getValueToDisplayedString(nextDay),\n };\n }\n\n case 'month-change': {\n const { nextMonth } = action;\n\n return {\n ...state,\n currentMonth: nextMonth,\n displayedMonth: getValueToDisplayedString(nextMonth),\n };\n }\n\n case 'year-change': {\n const { nextYear } = action;\n\n return {\n ...state,\n currentYear: nextYear,\n displayedYear: getValueToDisplayedString(nextYear),\n };\n }\n\n case 'day-blur': {\n const nextCurrentDay = getDayInInterval(state.currentDay);\n\n return {\n ...state,\n displayedDay: nextCurrentDay ? dayFormatter(nextCurrentDay) : state.displayedDay,\n };\n }\n\n case 'month-blur': {\n const { minDate, maxDate } = state;\n\n const nextCurrentMonth = getMonthInInterval(state.currentMonth, minDate, maxDate);\n\n return {\n ...state,\n currentMonth: nextCurrentMonth,\n displayedMonth: nextCurrentMonth !== undefined ? monthFormatter(nextCurrentMonth) : state.displayedMonth,\n };\n }\n\n case 'year-blur': {\n const { minDate, maxDate } = state;\n\n const nextCurrentYear = getYearInInterval(state.currentYear, minDate, maxDate);\n\n return {\n ...state,\n currentYear: nextCurrentYear,\n displayedYear: nextCurrentYear !== undefined ? yearFormatter(nextCurrentYear) : state.displayedYear,\n };\n }\n\n default:\n return state;\n }\n};\n","interface OnDatePartChangeParams {\n day?: number;\n month?: number;\n year?: number;\n validYearMinLength?: number;\n minDate?: Date;\n maxDate?: Date;\n onChange: (v?: Date) => void;\n onBlur?: () => void;\n onFocus?: () => void;\n}\n\nexport function onDatePartChange({\n day,\n month,\n year,\n validYearMinLength = 4,\n minDate,\n maxDate,\n onChange,\n onBlur,\n onFocus,\n}: OnDatePartChangeParams): void {\n const arrayParts = [day, month, year];\n\n const isSomethingUndefined = arrayParts.includes(undefined);\n const isEverythingDefined = arrayParts.every(Boolean);\n\n if (isSomethingUndefined) {\n if (onFocus) onFocus();\n onChange(undefined);\n if (onBlur) onBlur();\n\n return;\n }\n\n // Do nothing if some input parts are empty\n if (!isEverythingDefined) {\n return;\n }\n\n const nextValue = new Date();\n\n const isValidYear = year && year.toString().length >= validYearMinLength;\n\n if (!isValidYear) {\n return;\n }\n\n if (year) nextValue.setFullYear(year);\n if (month) nextValue.setMonth(month - 1);\n if (day) nextValue.setDate(day);\n\n nextValue.setMinutes(0);\n nextValue.setHours(0);\n nextValue.setSeconds(0);\n nextValue.setMilliseconds(0);\n\n if (minDate) {\n minDate.setMinutes(0);\n minDate.setHours(0);\n minDate.setSeconds(0);\n minDate.setMilliseconds(0);\n const isMinDateAfterNextValue = minDate.getTime() > nextValue.getTime();\n\n if (isMinDateAfterNextValue) {\n if (onFocus) onFocus();\n onChange(undefined);\n if (onBlur) onBlur();\n\n return;\n }\n }\n\n if (maxDate) {\n maxDate.setMinutes(0);\n maxDate.setHours(0);\n maxDate.setSeconds(0);\n maxDate.setMilliseconds(0);\n\n const isMaxDateBeforeNextValue = nextValue.getTime() > maxDate.getTime();\n\n if (isMaxDateBeforeNextValue) {\n if (onFocus) onFocus();\n onChange(undefined);\n if (onBlur) onBlur();\n\n return;\n }\n }\n\n if (onFocus) onFocus();\n onChange(nextValue);\n if (onBlur) onBlur();\n}\n","export function isNumber(input?: unknown): boolean {\n // Number.isNaN and isNaN are not consistent\n // eslint-disable-next-line no-restricted-globals\n return !isNaN(input as any);\n}\n","import { isNumber } from './isNumber';\n\nexport function stringToNumber(text: string): number | undefined {\n if (text.length === 0) return undefined;\n const parsedText = parseInt(text, 10);\n if (isNumber(parsedText)) return parsedText;\n\n return undefined;\n}\n","import type { ReactNode, Ref } from 'react';\nimport { forwardRef } from 'react';\nimport type { TextInput } from 'react-native';\nimport type { InputTextProps } from '../../InputText/InputText';\nimport { InputText } from '../../InputText/InputText';\nimport type { InputUIState } from '../../utils';\n\ninterface GetCurrentInternalForcedStateParams {\n isDisabled?: boolean;\n isFocusedInternal?: boolean;\n isPressedInternal?: boolean;\n isHoveredInternal?: boolean;\n}\n\nfunction getCurrentInternalForcedState({\n isDisabled,\n isHoveredInternal,\n isFocusedInternal,\n isPressedInternal,\n}: GetCurrentInternalForcedStateParams): InputUIState | 'disabled' {\n if (isDisabled) return 'disabled';\n\n if (isHoveredInternal) return 'hover';\n\n if (isFocusedInternal) return 'focus';\n\n if (isPressedInternal) return 'hover';\n\n return 'default';\n}\n\ninterface InputPartProps {\n id?: string;\n value?: string;\n placeholder?: InputTextProps['placeholder'];\n disabled?: boolean;\n isFocusedInternal?: boolean;\n isHoveredInternal?: boolean;\n isPressedInternal?: boolean;\n enterKeyHint?: InputTextProps['enterKeyHint'];\n onChange?: InputTextProps['onChange'];\n onBlur?: () => void;\n onSubmitEditing?: InputTextProps['onSubmitEditing'];\n testID?: string;\n}\n\nexport const InputPart = forwardRef(\n (\n {\n id,\n value,\n placeholder,\n disabled,\n isFocusedInternal,\n isHoveredInternal,\n isPressedInternal,\n enterKeyHint,\n onChange,\n onBlur,\n onSubmitEditing,\n testID,\n }: InputPartProps,\n ref: Ref<TextInput>,\n ): ReactNode => {\n return (\n <InputText\n ref={ref}\n id={id}\n internalForceState={getCurrentInternalForcedState({\n isDisabled: disabled,\n isHoveredInternal,\n isFocusedInternal,\n isPressedInternal,\n })}\n value={value}\n placeholder={placeholder}\n disabled={disabled}\n inputMode=\"numeric\"\n enterKeyHint={enterKeyHint}\n textAlign=\"center\"\n testID={testID}\n onChange={onChange}\n onBlur={onBlur}\n onSubmitEditing={onSubmitEditing}\n />\n );\n },\n);\n","import type { ReactNode } from 'react';\nimport type { ViewProps } from '../../../native-base/primitives';\nimport { View } from '../../../native-base/primitives';\nimport { createResponsiveStyleFromProp } from '../../../utils/createResponsiveStyleFromProp/createResponsiveStyleFromProp';\nimport type { DatePickerProps } from '../DatePicker';\n\ninterface PartContainerProps {\n children: ReactNode;\n isStretch?: DatePickerProps['stretch'];\n width?: ViewProps['width'];\n}\n\nexport function PartContainer({ children, isStretch, width }: PartContainerProps): ReactNode {\n return (\n <View\n flexGrow={createResponsiveStyleFromProp(isStretch, 1)}\n flexShrink={createResponsiveStyleFromProp(isStretch, 1)}\n flexBasis={createResponsiveStyleFromProp(isStretch, 0)}\n width={isStretch ? undefined : width}\n >\n {children}\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { forwardRef, useReducer, useRef } from 'react';\nimport type { TextInput as RNTextInput } from 'react-native';\nimport { HStack } from '../../../native-base/layout';\nimport { View } from '../../../native-base/primitives';\nimport { getEnterKeyHintForNumericInput } from '../../../utils/getEnterKeyHintForNumericInput/getEnterKeyHintForNumericInput';\nimport type { InputTextProps } from '../../InputText/InputText';\nimport type { DatePickerProps } from '../DatePicker';\nimport { keyboardDatePickerReducer } from '../reducers/keyboardDatePickerReducer';\nimport { dayFormatter, monthFormatter, yearFormatter } from '../utils/dateFormatter';\nimport { onDatePartChange } from '../utils/onDatePartChange';\nimport { stringToNumber } from '../utils/stringToNumber';\nimport { InputPart } from './InputPart';\nimport { PartContainer } from './PartContainer';\n\ninterface KeyboardDatePickerProps extends DatePickerProps {\n onSubmitEditing?: InputTextProps['onSubmitEditing'];\n}\n\nexport const KeyboardDatePicker = forwardRef<RNTextInput, KeyboardDatePickerProps>(\n (\n {\n id,\n value,\n testID,\n stretch,\n placeholder,\n minDate,\n maxDate,\n disabled,\n isFocusedInternal,\n isHoveredInternal,\n isPressedInternal,\n enterKeyHint,\n onChange,\n onBlur,\n onFocus,\n onSubmitEditing,\n ...props\n }: KeyboardDatePickerProps,\n ref,\n ): ReactNode => {\n const monthRef = useRef<RNTextInput>(null);\n const yearRef = useRef<RNTextInput>(null);\n\n const defaultValue = value;\n\n const defaultDay = defaultValue?.getDate();\n const defaultMonth = defaultValue ? defaultValue.getMonth() + 1 : undefined;\n const defaultYear = defaultValue?.getFullYear();\n\n const [state, dispatch] = useReducer(keyboardDatePickerReducer, {\n currentValue: defaultValue,\n currentDay: defaultDay,\n currentMonth: defaultMonth,\n currentYear: defaultYear,\n displayedDay: defaultDay ? dayFormatter(defaultDay) : '',\n displayedMonth: defaultMonth ? monthFormatter(defaultMonth) : '',\n displayedYear: defaultYear ? yearFormatter(defaultYear) : '',\n minDate,\n maxDate,\n });\n\n const sharedInputPartProps = {\n isFocusedInternal,\n isHoveredInternal,\n isPressedInternal,\n disabled,\n };\n\n const handleDatePartChange = (\n day: number | undefined,\n month: number | undefined,\n year: number | undefined,\n ): void => {\n onDatePartChange({ day, month, year, minDate: state.minDate, maxDate: state.maxDate, onFocus, onBlur, onChange });\n };\n\n const handleAutoFocusNextField = (\n currentFieldValue: string,\n nextFieldRef: React.RefObject<RNTextInput | null>,\n ): void => {\n if (currentFieldValue.length === 2 && nextFieldRef.current) {\n nextFieldRef.current.focus();\n }\n };\n\n return (\n <View testID={testID} id={id}>\n <HStack space=\"kitt.2\">\n <PartContainer isStretch={stretch} width=\"kitt.forms.datePicker.day.minWidth\">\n <InputPart\n ref={ref}\n testID=\"kitt.KeyboardDatePicker.day\"\n id={id ? `${id}-day` : undefined}\n {...sharedInputPartProps}\n placeholder={placeholder?.day}\n value={state.displayedDay}\n enterKeyHint={getEnterKeyHintForNumericInput('next')}\n onChange={(e) => {\n const nextDay = stringToNumber(e.nativeEvent.text);\n\n dispatch({ type: 'day-change', nextDay });\n\n handleDatePartChange(nextDay, state.currentMonth, state.currentYear);\n\n handleAutoFocusNextField(e.nativeEvent.text, monthRef);\n }}\n onBlur={() => dispatch({ type: 'day-blur' })}\n onSubmitEditing={() => {\n monthRef.current?.focus();\n }}\n />\n </PartContainer>\n\n <PartContainer isStretch={stretch} width=\"kitt.forms.datePicker.month.minWidth\">\n <InputPart\n ref={monthRef}\n testID=\"kitt.KeyboardDatePicker.month\"\n id={id ? `${id}-month` : undefined}\n {...sharedInputPartProps}\n placeholder={placeholder?.month}\n value={state.displayedMonth}\n enterKeyHint={getEnterKeyHintForNumericInput('next')}\n onChange={(e) => {\n const nextMonth = stringToNumber(e.nativeEvent.text);\n\n dispatch({ type: 'month-change', nextMonth });\n\n handleDatePartChange(state.currentDay, nextMonth, state.currentYear);\n\n handleAutoFocusNextField(e.nativeEvent.text, yearRef);\n }}\n onBlur={() => dispatch({ type: 'month-blur' })}\n onSubmitEditing={() => {\n yearRef.current?.focus();\n }}\n />\n </PartContainer>\n\n <PartContainer isStretch={stretch} width=\"kitt.forms.datePicker.year.minWidth\">\n <InputPart\n ref={yearRef}\n testID=\"kitt.KeyboardDatePicker.year\"\n id={id ? `${id}-year` : undefined}\n {...sharedInputPartProps}\n placeholder={placeholder?.year}\n value={state.displayedYear}\n enterKeyHint={enterKeyHint ? getEnterKeyHintForNumericInput(enterKeyHint) : undefined}\n onChange={(e) => {\n const nextYear = stringToNumber(e.nativeEvent.text);\n\n dispatch({ type: 'year-change', nextYear });\n\n handleDatePartChange(state.currentDay, state.currentMonth, nextYear);\n }}\n onBlur={() => dispatch({ type: 'year-blur' })}\n onSubmitEditing={onSubmitEditing}\n />\n </PartContainer>\n </HStack>\n </View>\n );\n },\n);\n","import type { ReactNode } from 'react';\nimport { forwardRef } from 'react';\nimport type { PressableProps } from 'react-native';\nimport { HStack } from '../../../native-base/layout';\nimport { Pressable, View } from '../../../native-base/primitives';\nimport { createResponsiveStyleFromProp } from '../../../utils/createResponsiveStyleFromProp/createResponsiveStyleFromProp';\nimport type { DatePickerProps } from '../DatePicker';\nimport { dayFormatter, monthFormatter, yearFormatter } from '../utils/dateFormatter';\nimport { InputPart } from './InputPart';\nimport { PartContainer } from './PartContainer';\n\ninterface PressableDateInputsProps extends Omit<DatePickerProps, 'onChange'> {\n onPress: () => void;\n}\n\nexport const PressableDateInputs = forwardRef<PressableProps, PressableDateInputsProps>(\n (\n {\n disabled,\n stretch,\n id,\n testID,\n value,\n placeholder,\n isFocusedInternal,\n isHoveredInternal,\n isPressedInternal,\n onPress,\n }: PressableDateInputsProps,\n ref,\n ): ReactNode => {\n const sharedInputPartProps = {\n isFocusedInternal,\n isHoveredInternal,\n isPressedInternal,\n disabled,\n };\n\n return (\n <Pressable\n ref={ref}\n display=\"flex\"\n flexDirection=\"row\"\n position=\"relative\"\n alignSelf={createResponsiveStyleFromProp(stretch, undefined, 'baseline')}\n id={id}\n disabled={disabled}\n testID={testID}\n onPress={onPress}\n >\n <View\n position=\"relative\"\n width={createResponsiveStyleFromProp(stretch, '100%')}\n style={{\n pointerEvents: 'none',\n }}\n >\n <HStack space=\"kitt.2\" width={createResponsiveStyleFromProp(stretch, '100%')}>\n <PartContainer isStretch={stretch} width=\"kitt.forms.datePicker.day.minWidth\">\n <InputPart\n {...sharedInputPartProps}\n placeholder={placeholder?.day}\n value={value ? dayFormatter(value.getDate()) : undefined}\n />\n </PartContainer>\n\n <PartContainer isStretch={stretch} width=\"kitt.forms.datePicker.month.minWidth\">\n <InputPart\n {...sharedInputPartProps}\n placeholder={placeholder?.month}\n value={value ? monthFormatter(value.getMonth() + 1) : undefined}\n />\n </PartContainer>\n\n <PartContainer isStretch={stretch} width=\"kitt.forms.datePicker.year.minWidth\">\n <InputPart\n {...sharedInputPartProps}\n placeholder={placeholder?.year}\n value={value ? yearFormatter(value.getFullYear()) : undefined}\n />\n </PartContainer>\n </HStack>\n <View width=\"100%\" height=\"100%\" position=\"absolute\" top=\"0\" left=\"0\" />\n </View>\n </Pressable>\n );\n },\n);\n","import { DateTimePickerAndroid } from '@react-native-community/datetimepicker';\nimport { forwardRef, useEffect, useState } from 'react';\nimport type { ReactNode } from 'react';\nimport type { PressableProps } from 'react-native';\nimport type { Except } from 'type-fest';\nimport type { DatePickerProps } from '../../DatePicker';\nimport { PressableDateInputs } from '../PressableDateInputs';\n\ninterface DatePickerAndroidProps extends Except<DatePickerProps, 'pickerUITitle' | 'pickerUIValidateButtonLabel'> {}\n\nexport const DatePickerAndroid = forwardRef<PressableProps, DatePickerAndroidProps>(\n (\n {\n onBlur,\n onFocus,\n pickerDefaultDate,\n pickerUITestID,\n isDefaultVisible,\n value,\n onChange,\n ...props\n }: DatePickerAndroidProps,\n ref,\n ): ReactNode => {\n const [isFocused, setIsFocused] = useState(false);\n const [currentValue, setCurrentValue] = useState<Date | undefined>(value);\n\n const handleClose = (): void => {\n if (onBlur) onBlur();\n };\n\n const handleModalOpen = (): void => {\n setIsFocused(true);\n if (onFocus) onFocus();\n\n DateTimePickerAndroid.open({\n testID: pickerUITestID,\n value: currentValue || pickerDefaultDate || new Date(Date.now()),\n onChange: (e) => {\n setIsFocused(false);\n const { timestamp } = e.nativeEvent;\n if (timestamp) {\n const date = new Date(timestamp);\n\n setCurrentValue(date);\n onChange(date);\n handleClose();\n }\n },\n onTouchCancel: handleClose,\n });\n };\n\n useEffect(() => {\n if (isDefaultVisible) handleModalOpen();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n <PressableDateInputs\n ref={ref}\n value={currentValue}\n isFocusedInternal={isFocused}\n onPress={handleModalOpen}\n {...props}\n />\n );\n },\n);\n","import DateTimePicker from '@react-native-community/datetimepicker';\nimport type { DateTimePickerEvent } from '@react-native-community/datetimepicker';\nimport type { ComponentProps, ReactNode } from 'react';\nimport { Platform } from 'react-native';\nimport { useTheme } from '../../../../KittThemeContext';\n\ntype DateTimePickerProps = ComponentProps<typeof DateTimePicker>;\n\nfunction getDatePickerDisplayMode(): DateTimePickerProps['display'] {\n if (Platform.OS === 'android') return 'calendar';\n\n if (Platform.OS === 'ios') return 'spinner';\n\n return 'default';\n}\n\nexport interface PlatformDateTimePickerProps {\n value?: Date;\n defaultDate?: Date;\n maximumDate?: DateTimePickerProps['maximumDate'];\n minimuDate?: DateTimePickerProps['minimumDate'];\n testID?: DateTimePickerProps['testID'];\n onChange: (newDate?: Date) => void;\n}\n\nexport function PlatformDateTimePicker({\n value,\n defaultDate = new Date(),\n maximumDate,\n minimuDate,\n testID,\n onChange,\n}: PlatformDateTimePickerProps): ReactNode {\n const theme = useTheme();\n const displayMode = getDatePickerDisplayMode();\n\n const iosProps = Platform.OS === 'ios' ? { textColor: theme.kitt.colors.primary } : {};\n\n return (\n <DateTimePicker\n is24Hour\n testID={testID}\n value={value || defaultDate}\n mode=\"date\"\n maximumDate={maximumDate}\n minimumDate={minimuDate}\n display={displayMode}\n {...iosProps}\n onChange={(_event: DateTimePickerEvent, date?: Date | undefined) => onChange(date)}\n />\n );\n}\n","import type { ReactNode } from 'react';\nimport { useState } from 'react';\nimport { FormattedMessage } from 'react-intl';\nimport { Text } from 'react-native';\nimport { Button } from '../../../../Button/Button';\nimport { CardModal } from '../../../../CardModal/CardModal';\nimport { Typography } from '../../../../typography/Typography';\nimport type { PlatformDateTimePickerProps } from './PlatformDateTimePicker';\nimport { PlatformDateTimePicker } from './PlatformDateTimePicker';\n\ninterface ModalTitleProps {\n children: NonNullable<ReactNode>;\n}\n\nfunction ModalTitle({ children }: ModalTitleProps): ReactNode {\n return (\n <CardModal.Header>\n <Typography.Text base=\"body\" variant=\"bold\">\n {children}\n </Typography.Text>\n </CardModal.Header>\n );\n}\n\ninterface ModalPlatformDateTimePickerProps extends PlatformDateTimePickerProps {\n title?: ReactNode;\n isVisible?: boolean;\n validateButtonLabel?: string;\n onClose: () => void;\n}\n\nexport function ModalPlatformDateTimePicker({\n title,\n isVisible,\n value,\n validateButtonLabel,\n onClose,\n onChange,\n ...props\n}: ModalPlatformDateTimePickerProps): ReactNode {\n const [currentValue, setCurrentValue] = useState(value);\n\n // Prevent unsynced value between the modal and its parent state\n const handleClose = (): void => {\n setCurrentValue(value);\n onClose();\n };\n\n const handleSubmit = (): void => {\n onChange(currentValue);\n };\n\n const handleChange = (newDate?: Date): void => {\n setCurrentValue((prev) => {\n return newDate || prev;\n });\n };\n\n return (\n <CardModal.ModalBehaviour visible={Boolean(isVisible)} onClose={handleClose}>\n <CardModal>\n {isVisible ? (\n <>\n {title ? <ModalTitle>{title}</ModalTitle> : null}\n\n <CardModal.Body>\n <PlatformDateTimePicker {...props} value={currentValue} onChange={handleChange} />\n </CardModal.Body>\n\n <CardModal.Footer>\n <Button stretch type=\"primary\" onPress={handleSubmit}>\n {validateButtonLabel ? (\n <Text>{validateButtonLabel}</Text>\n ) : (\n <FormattedMessage id=\"kitt-universal.ModalPlatformDateTimePicker.confirm\" defaultMessage=\"Valider\" />\n )}\n </Button>\n </CardModal.Footer>\n </>\n ) : null}\n </CardModal>\n </CardModal.ModalBehaviour>\n );\n}\n","import type { ReactNode } from 'react';\nimport { forwardRef, useState } from 'react';\nimport type { PressableProps } from 'react-native';\nimport type { DatePickerProps } from '../../DatePicker';\nimport { PressableDateInputs } from '../PressableDateInputs';\nimport { ModalPlatformDateTimePicker } from './ModalPlatformDateTimePicker';\n\nexport const DefaultNativeUIDatePicker = forwardRef<PressableProps, DatePickerProps>(\n (\n {\n value,\n pickerUITestID,\n pickerUITitle,\n pickerUIValidateButtonLabel,\n isDefaultVisible,\n pickerDefaultDate,\n isFocusedInternal,\n isHoveredInternal,\n isPressedInternal,\n onChange,\n onFocus,\n onBlur,\n ...props\n }: DatePickerProps,\n ref,\n ): ReactNode => {\n const [isPickerUIVisible, setIsPickerUIVisible] = useState(isDefaultVisible);\n const [isFocused, setIsFocused] = useState(false);\n const [currentValue, setCurrentValue] = useState<Date | undefined>(value);\n\n const handleModalOpen = (): void => {\n if (onFocus) onFocus();\n\n setIsPickerUIVisible(true);\n\n setIsFocused(true);\n };\n\n const handleModalClose = (): void => {\n if (onBlur) onBlur();\n\n setIsPickerUIVisible(false);\n\n setIsFocused(false);\n };\n\n const handleChange = (newDate?: Date): void => {\n setCurrentValue(newDate);\n\n onChange(newDate);\n\n handleModalClose();\n };\n\n return (\n <>\n <PressableDateInputs\n ref={ref}\n value={currentValue}\n isFocusedInternal={isFocused || isFocusedInternal}\n isHoveredInternal={isHoveredInternal}\n isPressedInternal={isPressedInternal}\n onPress={handleModalOpen}\n {...props}\n />\n\n <ModalPlatformDateTimePicker\n testID={pickerUITestID}\n value={currentValue}\n isVisible={isPickerUIVisible}\n title={pickerUITitle}\n validateButtonLabel={pickerUIValidateButtonLabel}\n defaultDate={pickerDefaultDate}\n onClose={handleModalClose}\n onChange={handleChange}\n />\n </>\n );\n },\n);\n","import type { ReactNode } from 'react';\nimport { forwardRef } from 'react';\nimport type { PressableProps } from 'react-native';\nimport { Platform } from 'react-native';\nimport type { DatePickerProps } from '../../DatePicker';\nimport { DatePickerAndroid } from './DatePickerAndroid';\nimport { DefaultNativeUIDatePicker } from './DefaultNativeUIDatePicker';\n\ninterface NativeUIDatePickerProps extends DatePickerProps {}\n\nexport const NativeUIDatePicker = forwardRef<PressableProps, NativeUIDatePickerProps>(\n (\n { value, pickerUITestID, isDefaultVisible, pickerDefaultDate, onChange, onBlur, ...props }: NativeUIDatePickerProps,\n ref,\n ): ReactNode => {\n if (Platform.OS === 'android') {\n return (\n <DatePickerAndroid\n ref={ref}\n pickerDefaultDate={pickerDefaultDate}\n pickerUITestID={pickerUITestID}\n isDefaultVisible={isDefaultVisible}\n value={value}\n onChange={onChange}\n onBlur={onBlur}\n {...props}\n />\n );\n }\n\n return (\n <DefaultNativeUIDatePicker\n ref={ref}\n value={value}\n isDefaultVisible={isDefaultVisible}\n pickerUITestID={pickerUITestID}\n onChange={onChange}\n onBlur={onBlur}\n {...props}\n />\n );\n },\n);\n","import type { ReactNode } from 'react';\nimport type React from 'react';\nimport { forwardRef } from 'react';\nimport type { PressableProps, TextInput as RNTextInput } from 'react-native';\nimport type { ResponsiveValue } from '../../utils/createResponsiveStyleFromProp/createResponsiveStyleFromProp';\nimport type { InputTextProps } from '../InputText/InputText';\nimport { KeyboardDatePicker } from './components/KeyboardDatePicker';\nimport { NativeUIDatePicker } from './components/NativeUIDatePicker/NativeUIDatePicker';\n\ntype DatePickerFillMode = 'keyboard' | 'native';\n\ninterface DatePickerPlaceholder {\n day: string;\n month: string;\n year: string;\n}\n\nexport interface DatePickerProps {\n id?: string;\n testID?: string;\n disabled?: boolean;\n /**\n * @description value of the input\n */\n value?: Date;\n placeholder?: DatePickerPlaceholder;\n /** @description minimum date for the value to be valid */\n minDate?: Date;\n /** @description maximum date for the value to be valid */\n maxDate?: Date;\n /** @description Native only props - testID of the native platform picker */\n pickerUITestID?: string;\n /** @description Display a keyboard or the native picker. Web only has \"keyboard\" mode available */\n fillMode?: DatePickerFillMode;\n /** @description Native only props - Default date to be displayed on the native UI before any interactions */\n pickerDefaultDate?: Date;\n /** @description iOS only props - Text of the title of the Kitt modal displaying the platform picker on iOS */\n pickerUITitle?: string;\n /** @description iOS only props - Label of the validate button shown in the Kitt modal displaying the platform picker on iOS */\n pickerUIValidateButtonLabel?: string;\n /** @description Native only props - Controls the default visibility of the native picker */\n isDefaultVisible?: boolean;\n stretch?: ResponsiveValue<boolean | undefined>;\n enterKeyHint?: InputTextProps['enterKeyHint'];\n /** @internal for story purpose */\n isHoveredInternal?: boolean;\n /** @internal for story purpose */\n isPressedInternal?: boolean;\n /** @internal for story purpose */\n isFocusedInternal?: boolean;\n onChange: (date?: Date) => void;\n onBlur?: (e?: any) => void;\n onFocus?: (e?: any) => void;\n onSubmitEditing?: InputTextProps['onSubmitEditing'];\n}\n\nexport const DatePicker = forwardRef<PressableProps | RNTextInput, DatePickerProps>(\n ({ fillMode = 'native', enterKeyHint, value, onSubmitEditing, ...props }: DatePickerProps, ref): ReactNode => {\n // in apps, final-form can give a string value that will break the component\n const currentValue = value || undefined;\n\n if (fillMode === 'keyboard') {\n return (\n <KeyboardDatePicker\n ref={ref as React.ForwardedRef<RNTextInput>}\n {...props}\n value={currentValue}\n enterKeyHint={enterKeyHint}\n onSubmitEditing={onSubmitEditing}\n />\n );\n }\n\n return <NativeUIDatePicker ref={ref as React.ForwardedRef<PressableProps>} {...props} value={currentValue} />;\n },\n);\n","import type { DocumentPickerOptions } from 'expo-document-picker';\nimport { getDocumentAsync } from 'expo-document-picker';\nimport type { ComponentProps, ReactElement, ReactNode } from 'react';\nimport { Children, cloneElement } from 'react';\nimport type { Except } from 'type-fest';\n\ninterface ChildElementProps extends ComponentProps<any> {\n onPress?: () => void;\n}\n\nexport interface DocumentPickerProps {\n children: ReactElement<ChildElementProps>;\n disabled?: boolean;\n onDocumentUpload: (document: File) => void;\n documentPickerOptions?: Except<DocumentPickerOptions, 'multiple'>;\n}\n\nexport function DocumentPicker({\n onDocumentUpload,\n children,\n disabled,\n documentPickerOptions,\n}: DocumentPickerProps): ReactNode {\n const childElement = Children.only(children);\n\n const handlePickDocument = async (): Promise<void> => {\n if (disabled) return;\n\n childElement.props.onPress?.();\n\n const result = await getDocumentAsync({ ...documentPickerOptions, multiple: false });\n\n if (!result.canceled && result.assets[0].file) {\n onDocumentUpload(result.assets[0].file);\n }\n };\n\n return cloneElement(childElement, {\n // ensure that the press event is not prevented by Button component\n // eslint-disable-next-line @typescript-eslint/no-misused-promises\n onPress: handlePickDocument,\n disabled,\n });\n}\n","import type { ImagePickerAsset, ImagePickerOptions } from 'expo-image-picker';\nimport { launchImageLibraryAsync } from 'expo-image-picker';\nimport { Children, cloneElement } from 'react';\nimport type { ComponentProps, ReactElement, ReactNode } from 'react';\nimport type { Except } from 'type-fest';\nimport { View } from '../../native-base/primitives';\n\ninterface ChildElementProps extends ComponentProps<any> {\n onPress?: () => void;\n}\n\nexport interface ImagePickerProps {\n children: ReactElement<ChildElementProps>;\n disabled?: boolean;\n onImageSelected: (asset: ImagePickerAsset) => void;\n imagePickerOptions?: Except<ImagePickerOptions, 'allowsMultipleSelection'>;\n}\n\nexport function ImagePicker({ onImageSelected, children, disabled, imagePickerOptions }: ImagePickerProps): ReactNode {\n const childElement = Children.only(children);\n\n const handlePickImage = async (): Promise<void> => {\n if (disabled) return;\n\n childElement.props.onPress?.();\n\n // No permissions request is necessary for launching the image library\n const result = await launchImageLibraryAsync({ ...imagePickerOptions, allowsMultipleSelection: false });\n\n if (!result.canceled) {\n onImageSelected(result.assets[0]);\n }\n };\n\n return (\n <View>\n {/* ensure that the press event is not prevented by Button component */}\n {cloneElement(childElement, {\n // eslint-disable-next-line @typescript-eslint/no-misused-promises\n onPress: handlePickImage,\n disabled,\n })}\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { ViewProps } from 'react-native';\nimport { View } from '../native-base/primitives';\n\nexport interface ListItemContentProps extends ViewProps {\n children: NonNullable<ReactNode>;\n}\n\nexport function ListItemContent({ children, ...rest }: ListItemContentProps): ReactNode {\n return (\n <View alignSelf=\"center\" flexBasis=\"0%\" flexGrow={1} flexShrink={0} {...rest}>\n {children}\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { ViewProps, ViewStyle } from 'react-native';\nimport { View } from '../native-base/primitives';\n\nexport interface ListItemSideContainerProps extends ViewProps {\n children: NonNullable<ReactNode>;\n side?: 'left' | 'right';\n}\n\n// Handles the vertical alignment of the side elements of the list item\nexport function ListItemSideContainer({ children, side = 'left', ...rest }: ListItemSideContainerProps): ReactNode {\n return (\n <View\n flexDirection=\"row\"\n marginLeft={side === 'right' ? 'kitt.2' : undefined}\n marginRight={side === 'left' ? 'kitt.2' : undefined}\n {...rest}\n >\n {children}\n </View>\n );\n}\n\nexport interface ListItemSideContentProps extends ViewProps {\n children: NonNullable<ReactNode>;\n align?: ViewStyle['alignSelf'];\n}\n\nexport function ListItemSideContent({ children, align = 'auto', ...rest }: ListItemSideContentProps): ReactNode {\n return (\n <View alignSelf={align} {...rest}>\n {children}\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { Fragment } from 'react';\nimport type { PressableProps, ViewProps } from 'react-native';\nimport { Pressable } from 'react-native';\nimport { View } from '../native-base/primitives';\nimport { ListItemContent } from './ListItemContent';\nimport { ListItemSideContainer, ListItemSideContent } from './ListItemSideContent';\n\ntype Borders = 'top' | 'bottom' | 'both';\n\nexport interface ListItemProps extends ViewProps {\n children: NonNullable<ReactNode>;\n left?: ReactNode;\n right?: ReactNode;\n borders?: Borders;\n withPadding?: boolean;\n onPress?: PressableProps['onPress'];\n}\n\nexport function ListItem({ children, withPadding, borders, left, right, onPress, ...rest }: ListItemProps): ReactNode {\n const Wrapper = onPress ? Pressable : Fragment;\n const wrapperProps = onPress ? { accessibilityRole: 'button', onPress, ...rest } : undefined;\n const containerProps = onPress ? undefined : rest;\n\n return (\n <Wrapper {...(wrapperProps as any)}>\n <View\n flexDirection=\"row\"\n paddingX={withPadding ? 'kitt.listItem.horizontalPadding' : undefined}\n paddingY={withPadding ? 'kitt.listItem.verticalPadding' : undefined}\n borderColor=\"kitt.listItem.borderColor\"\n backgroundColor=\"kitt.uiBackgroundLight\"\n borderTopWidth={borders === 'top' || borders === 'both' ? 'kitt.listItem.borderWidth' : undefined}\n borderBottomWidth={borders === 'bottom' || borders === 'both' ? 'kitt.listItem.borderWidth' : undefined}\n {...containerProps}\n >\n {left ? <ListItemSideContainer side=\"left\">{left}</ListItemSideContainer> : null}\n\n <ListItemContent>{children}</ListItemContent>\n\n {right ? <ListItemSideContainer side=\"right\">{right}</ListItemSideContainer> : null}\n </View>\n </Wrapper>\n );\n}\n\nListItem.Content = ListItemContent;\nListItem.SideContent = ListItemSideContent;\nListItem.SideContainer = ListItemSideContainer;\n","import type { ReactNode } from 'react';\nimport type { PressableProps } from 'react-native';\nimport { Pressable } from 'react-native';\nimport { ListItem } from '../../../ListItem/ListItem';\nimport { Typography } from '../../../typography/Typography';\n\nexport interface BottomSheetActionsItemProps extends PressableProps {\n title: ReactNode;\n}\n\nexport function BottomSheetActionsItem({ title, ...props }: BottomSheetActionsItemProps): ReactNode {\n return (\n <Pressable {...props}>\n <ListItem withPadding>\n <Typography.Text variant=\"bold\" base=\"body\">\n {title}\n </Typography.Text>\n </ListItem>\n </Pressable>\n );\n}\n","import type { ImagePickerAsset } from 'expo-image-picker';\nimport type { ReactNode } from 'react';\nimport { FormattedMessage } from 'react-intl';\nimport { Platform } from 'react-native';\nimport { VStack } from '../../../native-base/layout';\nimport type { DocumentPickerProps } from '../../DocumentPicker/DocumentPicker';\nimport { DocumentPicker } from '../../DocumentPicker/DocumentPicker';\nimport type { ImagePickerProps } from '../../ImagePicker/ImagePicker';\nimport { ImagePicker } from '../../ImagePicker/ImagePicker';\nimport { BottomSheetActionsItem } from './BottomSheetActionsItem';\n\ninterface BottomSheetActionsProps {\n onBottomSheetActionsChange: (documentUri: File | ImagePickerAsset) => void;\n disabled?: boolean;\n imagePickerOptions?: ImagePickerProps['imagePickerOptions'];\n documentPickerOptions?: DocumentPickerProps['documentPickerOptions'];\n}\n\nexport function BottomSheetActions({\n onBottomSheetActionsChange,\n imagePickerOptions,\n documentPickerOptions,\n disabled,\n}: BottomSheetActionsProps): ReactNode {\n const isPlatformIOS = Platform.OS === 'ios';\n\n return (\n <VStack marginBottom=\"kitt.8\">\n <ImagePicker\n imagePickerOptions={imagePickerOptions}\n disabled={disabled}\n onImageSelected={onBottomSheetActionsChange}\n >\n <BottomSheetActionsItem\n title={\n <FormattedMessage\n id=\"account.BottomSheetActions.openLibrary\"\n defaultMessage=\"{isPlatformIOS, select, true {Ouvrir Photos} other {Galerie}}\"\n values={{ isPlatformIOS }}\n />\n }\n />\n </ImagePicker>\n <DocumentPicker\n disabled={disabled}\n documentPickerOptions={documentPickerOptions}\n onDocumentUpload={onBottomSheetActionsChange}\n >\n <BottomSheetActionsItem\n title={\n <FormattedMessage\n id=\"account.BottomSheetActions.openFileExplorer\"\n defaultMessage=\"{isPlatformIOS, select, true {Ouvrir Fichiers} other {Fichiers}}\"\n values={{ isPlatformIOS }}\n />\n }\n />\n </DocumentPicker>\n </VStack>\n );\n}\n","import { useBottomSheetModal } from '@gorhom/bottom-sheet';\nimport type { ImagePickerAsset } from 'expo-image-picker';\nimport type { ComponentProps, ReactElement, ReactNode } from 'react';\nimport { Children, cloneElement } from 'react';\nimport { useStaticBottomSheet } from '../../BottomSheet/useStaticBottomSheet';\nimport type { DocumentPickerProps } from '../DocumentPicker/DocumentPicker';\nimport type { ImagePickerProps } from '../ImagePicker/ImagePicker';\nimport { BottomSheetActions } from './BottomSheetActions/BottomSheetActions';\n\ninterface ChildElementProps extends ComponentProps<any> {\n onPress?: () => void;\n}\n\nexport interface FilePickerProps {\n children: ReactElement<ChildElementProps>;\n disabled?: boolean;\n onFileSelected: (file: File | ImagePickerAsset) => void;\n imagePickerOptions?: ImagePickerProps['imagePickerOptions'];\n documentPickerOptions?: DocumentPickerProps['documentPickerOptions'];\n}\n\nexport function FilePicker({\n onFileSelected,\n children,\n disabled,\n imagePickerOptions,\n documentPickerOptions,\n}: FilePickerProps): ReactNode {\n const childElement = Children.only(children);\n\n const { bottomSheetRef, BottomSheet } = useStaticBottomSheet(BottomSheetActions);\n const { dismissAll } = useBottomSheetModal();\n\n const handleBottomSheetActionsChange = (file: File | ImagePickerAsset): void => {\n dismissAll();\n onFileSelected(file);\n };\n\n return (\n <>\n {cloneElement(childElement, {\n // ensure that the press event is not prevented by Button component\n onPress: () => {\n if (disabled) return;\n\n childElement.props.onPress?.();\n\n bottomSheetRef.current?.present({\n onBottomSheetActionsChange: handleBottomSheetActionsChange,\n imagePickerOptions,\n documentPickerOptions,\n });\n },\n disabled,\n })}\n\n <BottomSheet />\n </>\n );\n}\n","import type { ReactNode } from 'react';\nimport { createContext } from 'react';\n\nexport const GoogleMapsApiKeyContext = createContext<string | undefined>(undefined);\n\nexport interface GoogleMapsApiKeyProviderProps {\n children: ReactNode;\n apiKey: string;\n}\n\nexport function GoogleMapsApiKeyProvider({ children, apiKey }: GoogleMapsApiKeyProviderProps): ReactNode {\n return <GoogleMapsApiKeyContext.Provider value={apiKey}>{children}</GoogleMapsApiKeyContext.Provider>;\n}\n","import { useContext } from 'react';\nimport { GoogleMapsApiKeyContext } from '../GoogleMapsApiKeyProvider';\n\nexport function useGoogleMapApiKey(): string {\n const context = useContext(GoogleMapsApiKeyContext);\n\n if (!context) {\n throw new Error('<GoogleMapsApiKeyContext> missing in the react tree');\n }\n\n return context;\n}\n","/** @description web-only parameter due to iOS faulty behaviour */\n// Countries where we can have instructors and students\n// Restricting the search of the InputAddress component\n// France, Guyane Française, Guadeloupe, Martinique, Réunion\n// As of today, Google restrict this array to 5 country codes\nexport const countryCodes = ['FR', 'GF', 'GP', 'MQ', 'RE'];\n","export const defaultLanguageSearch = 'fr';\n","// types of result we want to allow as suggestions from the Autocomplete search\n// See https://developers.google.com/maps/documentation/places/web-service/supported_types#table2 for all supported types\nexport const autocompletePredictionTypes = ['address'];\n","export type MapsApiUrlSearchParamsName = 'input' | 'language' | 'types' | 'key' | 'place_id' | 'components';\n\nexport interface MapsApiUrlSearchParams {\n paramsName: MapsApiUrlSearchParamsName;\n value: string;\n}\n\nexport interface MapsApiUrlParams {\n resource: string;\n params: MapsApiUrlSearchParams[];\n}\n\nexport function makeMapsApiUrl({ resource, params }: MapsApiUrlParams): string {\n const baseUrl = `https://maps.googleapis.com/maps/api/${resource}/json?`;\n\n const queryParams = params.map(({ paramsName, value }) => `${paramsName}=${encodeURIComponent(value)}`);\n\n return baseUrl + queryParams.join('&');\n}\n","import { useGoogleMapApiKey } from '../../GoogleMapsApiKeyProvider/hooks/useGoogleMapApiKey';\nimport { countryCodes } from '../constants/countryCodes';\nimport { defaultLanguageSearch } from '../constants/languages';\nimport { autocompletePredictionTypes } from '../constants/types';\nimport type { MapsApiUrlSearchParams, MapsApiUrlSearchParamsName } from '../utils/makeMapsApiUrl';\nimport { makeMapsApiUrl } from '../utils/makeMapsApiUrl';\n\nexport interface GetDetailsResponse {\n result?: google.maps.places.PlaceResult;\n status: google.maps.places.PlacesServiceStatus;\n}\n\nexport interface GetPlacePredictions {\n results: google.maps.places.AutocompletePrediction[];\n status: google.maps.places.PlacesServiceStatus;\n}\n\nexport interface UseGooglePlacesServices {\n autoComplete: {\n getPlacePredictions: (input: string) => Promise<GetPlacePredictions>;\n };\n placesService: {\n getDetails: (placeId: string) => Promise<GetDetailsResponse>;\n };\n}\n\nexport function useGoogleMapsApi(): UseGooglePlacesServices {\n const apiKey = useGoogleMapApiKey();\n const defaultSearchParams: MapsApiUrlSearchParams[] = [\n { paramsName: 'key', value: apiKey },\n { paramsName: 'language', value: defaultLanguageSearch },\n { paramsName: 'types', value: autocompletePredictionTypes.join('|') },\n { paramsName: 'components', value: countryCodes.map((country) => `country:${country}`).join('|') },\n ];\n\n const makeApiUrl = (resource: string, paramsName: MapsApiUrlSearchParamsName, param: string): string => {\n return makeMapsApiUrl({ resource, params: [...defaultSearchParams, { paramsName, value: param }] });\n };\n\n const sharedFetchOptions = {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n },\n };\n\n const googlePlacesServices = {\n autoComplete: {\n getPlacePredictions: async (input: string): Promise<GetPlacePredictions> => {\n try {\n const response = await fetch(makeApiUrl('place/autocomplete', 'input', input), sharedFetchOptions);\n const data = await response.json();\n\n if (data?.status !== 'OK') {\n return { status: data?.status, results: [] };\n }\n\n return {\n results: data?.predictions,\n status: data?.status,\n };\n } catch (error) {\n return { status: google.maps.places.PlacesServiceStatus.UNKNOWN_ERROR, results: [] };\n }\n },\n },\n placesService: {\n getDetails: async (placeId: string): Promise<GetDetailsResponse> => {\n try {\n const response = await fetch(makeApiUrl('place/details', 'place_id', placeId), sharedFetchOptions);\n const data = await response.json();\n\n if (data?.status !== 'OK') {\n return { status: data?.status, result: undefined };\n }\n\n return {\n result: data?.result,\n status: data?.status,\n };\n } catch (error) {\n return { status: google.maps.places.PlacesServiceStatus.UNKNOWN_ERROR, result: undefined };\n }\n },\n },\n };\n\n return googlePlacesServices;\n}\n","import type { Reducer } from 'react';\n\nexport interface State {\n currentSelectedValue?: google.maps.places.PlaceResult;\n items: google.maps.places.AutocompletePrediction[];\n isLoadingSearch?: boolean;\n hasSearchError?: boolean;\n hasSelectResultError?: boolean;\n isLoadingResultDetails?: boolean;\n shouldDisplayEmptyStateWhenNoResults?: boolean;\n}\n\ninterface SearchChangeAction {\n type: 'search-change';\n}\n\ninterface SearchSuccessAction {\n type: 'search-success';\n payload: {\n results: google.maps.places.AutocompletePrediction[];\n };\n}\n\ninterface SearchErrorAction {\n type: 'search-error';\n}\n\ninterface SelectResultAction {\n type: 'select-result';\n}\n\ninterface SelectResultSuccessAction {\n type: 'select-result-success';\n payload: {\n result: google.maps.places.PlaceResult;\n };\n}\n\ninterface SelectResultErrorAction {\n type: 'select-result-error';\n}\n\ntype Actions =\n | SearchChangeAction\n | SelectResultAction\n | SearchSuccessAction\n | SearchErrorAction\n | SelectResultSuccessAction\n | SelectResultErrorAction;\n\nexport const googleMapsAutocompleteReducer: Reducer<State, Actions> = (state, action) => {\n switch (action.type) {\n case 'search-change': {\n return {\n ...state,\n hasSearchError: false,\n isLoadingSearch: true,\n };\n }\n\n case 'search-success': {\n return {\n ...state,\n hasSearchError: false,\n isLoadingSearch: false,\n items: action.payload.results,\n };\n }\n\n case 'search-error': {\n return {\n ...state,\n hasSearchError: true,\n isLoadingSearch: false,\n items: [],\n };\n }\n\n case 'select-result': {\n return {\n ...state,\n hasSelectResultError: false,\n isLoadingResultDetails: true,\n };\n }\n\n case 'select-result-success': {\n return {\n ...state,\n hasSelectResultError: false,\n isLoadingResultDetails: false,\n currentSelectedValue: action.payload.result,\n };\n }\n\n case 'select-result-error': {\n return {\n ...state,\n hasSelectResultError: true,\n isLoadingResultDetails: false,\n currentSelectedValue: undefined,\n };\n }\n\n default:\n return state;\n }\n};\n","/**\n * Allows to retrieve a value from data or a getter of that data\n */\nexport function getOrCallValue<T>(data: T | (() => T) | undefined): T | undefined {\n if (typeof data === 'function') {\n // @ts-expect-error: we are sure to get a function here, so the error is totaly fine\n return data();\n }\n\n return data;\n}\n","import { getOrCallValue } from '../../utils/functions';\nimport type { GeocoderAddressComponent } from '../types';\n\nexport function findComponentByType(\n typeName: string,\n components: GeocoderAddressComponent[],\n): GeocoderAddressComponent | undefined {\n return components.find((component) => component.types.includes(typeName));\n}\n\nconst matchStreetNumberWithOriginalAddress = (streetNumber = '', address = ''): string => {\n const regex = / *(\\d*[-/_]{0,1}\\d*) *(bis|ter|quater|quinquies|sexies|septies|octies|novies|decies|[a-z])? /i;\n const [, number = '', extension = ''] = regex.exec(address) || [];\n\n if (number) return `${number}${extension}`;\n\n return streetNumber;\n};\n\ntype GooglePlaceResult = google.maps.places.PlaceResult;\n\nexport interface AutoCompleteAddress {\n source: 'google';\n lat?: number;\n lng?: number;\n streetNumber?: string;\n streetName?: string;\n zipcode?: string;\n locality?: string;\n subLocality?: string;\n country?: string;\n administrativeAreaLevel1?: string;\n administrativeAreaLevel2?: string;\n}\n\nexport const formatAddressFromGoogle = (\n placeResult: GooglePlaceResult,\n originalAddress?: string,\n): AutoCompleteAddress => {\n const { address_components: addressComponents = [] } = placeResult;\n\n return {\n source: 'google',\n lat: getOrCallValue(placeResult.geometry?.location.lat),\n lng: getOrCallValue(placeResult.geometry?.location.lng),\n locality: findComponentByType('locality', addressComponents)?.long_name,\n subLocality: findComponentByType('sublocality', addressComponents)?.long_name,\n zipcode: findComponentByType('postal_code', addressComponents)?.long_name,\n streetName: findComponentByType('route', addressComponents)?.long_name,\n streetNumber: matchStreetNumberWithOriginalAddress(\n findComponentByType('street_number', addressComponents)?.long_name,\n originalAddress,\n ),\n country: findComponentByType('country', addressComponents)?.long_name,\n administrativeAreaLevel1: findComponentByType('administrative_area_level_1', addressComponents)?.long_name,\n administrativeAreaLevel2: findComponentByType('administrative_area_level_1', addressComponents)?.long_name,\n };\n};\n","import type { ReactNode } from 'react';\nimport { createContext, useCallback, useMemo, useReducer, useRef } from 'react';\nimport { useDebouncedCallback } from 'use-debounce';\nimport { useGoogleMapsApi } from './hooks/useGoogleMapsApi';\nimport { googleMapsAutocompleteReducer } from './reducer/googleMapsAutocompleteReducer';\nimport type { State } from './reducer/googleMapsAutocompleteReducer';\nimport type { AutoCompletePrediction } from './types';\nimport type { AutoCompleteAddress } from './utils/formatAddressFromGoogle';\nimport { formatAddressFromGoogle } from './utils/formatAddressFromGoogle';\n\nexport interface GoogleMapsAutocompleteContextApi {\n state: State;\n onInputChange: (value: string) => Promise<void> | undefined;\n onSelectItem: (item: AutoCompletePrediction | null, onChange: (nextValue?: AutoCompleteAddress) => void) => void;\n}\n\nexport const GoogleMapsAutocompleteContext = createContext<GoogleMapsAutocompleteContextApi>({\n state: {\n items: [],\n currentSelectedValue: undefined,\n isLoadingSearch: false,\n hasSearchError: false,\n hasSelectResultError: false,\n isLoadingResultDetails: false,\n shouldDisplayEmptyStateWhenNoResults: false,\n },\n onInputChange: (value) => {\n return Promise.resolve();\n },\n onSelectItem: (item) => {},\n});\n\nexport interface GoogleMapsAutocompleteProviderProps {\n children: ReactNode;\n minCharsToSearch?: number;\n debounceTimeout?: number;\n}\n\nexport function GoogleMapsAutocompleteProvider({\n children,\n minCharsToSearch = 3,\n debounceTimeout = 950,\n}: GoogleMapsAutocompleteProviderProps): ReactNode {\n const mapsApi = useGoogleMapsApi();\n\n const searchResultsCache = useRef<Record<string, AutoCompletePrediction[]>>({});\n const resultDetailsCache = useRef<Record<string, google.maps.places.PlaceResult>>({});\n\n const [state, dispatch] = useReducer(googleMapsAutocompleteReducer, {\n items: [],\n shouldDisplayEmptyStateWhenNoResults: false,\n });\n\n const handleInputChange = useDebouncedCallback(\n useCallback(\n async (value: string): Promise<void> => {\n if (value.length < minCharsToSearch) return;\n\n dispatch({ type: 'search-change' });\n\n // If the user types the same value as the previous search, we don't need to call the API again\n const predictionsPromise = searchResultsCache.current[value]\n ? Promise.resolve({ results: searchResultsCache.current[value], status: 'OK' })\n : mapsApi.autoComplete.getPlacePredictions(value);\n\n try {\n const { results, status } = await predictionsPromise;\n\n if (status !== 'OK') {\n dispatch({ type: 'search-error' });\n return;\n }\n\n // We cache the results to avoid calling the API again if the user types the same value\n searchResultsCache.current[value] = results;\n\n dispatch({ type: 'search-success', payload: { results } });\n } catch (error) {\n dispatch({ type: 'search-error' });\n }\n },\n [mapsApi.autoComplete, minCharsToSearch],\n ),\n debounceTimeout,\n );\n\n const handleSelectItem = useCallback(\n async (\n item: AutoCompletePrediction | null,\n onChange: (nextValue?: AutoCompleteAddress) => void,\n ): Promise<AutoCompleteAddress | undefined> => {\n // This case should never happen but it's here to avoid a TS error\n if (!item?.place_id) {\n if (onChange) onChange(undefined);\n return;\n }\n\n dispatch({ type: 'select-result' });\n\n try {\n // If we already have the details in cache, we don't need to fetch them again\n const placePromise = resultDetailsCache.current[item.place_id]\n ? Promise.resolve(resultDetailsCache.current[item.place_id])\n : mapsApi.placesService.getDetails(item.place_id).then(({ result }) => result);\n\n const place = await placePromise;\n\n if (!place) {\n dispatch({ type: 'select-result-error' });\n\n if (onChange) onChange(undefined);\n return;\n }\n\n dispatch({\n type: 'select-result-success',\n payload: {\n result: place,\n },\n });\n\n const formattedAddress = formatAddressFromGoogle(place, item.description);\n\n // We cache the result details to avoid fetching them again if the user selects the same item\n resultDetailsCache.current[item.place_id] = place;\n\n if (onChange) onChange(formattedAddress);\n } catch (error) {\n dispatch({ type: 'select-result-error' });\n\n if (onChange) onChange(undefined);\n }\n },\n [mapsApi.placesService],\n );\n\n const api = useMemo(\n () => ({ state, onSelectItem: handleSelectItem, onInputChange: handleInputChange }),\n [handleInputChange, handleSelectItem, state],\n );\n\n return <GoogleMapsAutocompleteContext.Provider value={api}>{children}</GoogleMapsAutocompleteContext.Provider>;\n}\n","import { useContext } from 'react';\nimport type { GoogleMapsAutocompleteContextApi } from '../GoogleMapsAutocompleteProvider';\nimport { GoogleMapsAutocompleteContext } from '../GoogleMapsAutocompleteProvider';\n\nexport function useGoogleMapsAutocomplete(): GoogleMapsAutocompleteContextApi {\n const context = useContext(GoogleMapsAutocompleteContext);\n\n if (!context) {\n throw new Error('<GoogleMapsAutocompleteProvider> missing in the react tree');\n }\n\n return context;\n}\n","import { MapPinRegularIcon } from '@ornikar/kitt-icons/phosphor';\nimport type { ReactNode } from 'react';\nimport type { AutoCompletePrediction } from '../../GoogleMapsAutocompleteProvider/types';\nimport { HStack } from '../../native-base/layout';\nimport { View } from '../../native-base/primitives';\nimport { Typography } from '../../typography/Typography';\nimport { TypographyIcon } from '../../typography/TypographyIcon';\nimport { Autocomplete } from '../Autocomplete/Autocomplete';\n\nexport interface InputAddressOptionProps {\n item: AutoCompletePrediction;\n}\n\nexport function InputAddressOption({ item }: InputAddressOptionProps): ReactNode {\n const sharedTransform = {\n style: {\n transform: 'translateY(4px)',\n },\n };\n\n return (\n <Autocomplete.Option item={item} testID=\"kitt.InputAddressOption.item\">\n <HStack space=\"kitt.2\">\n <View _web={sharedTransform} _ios={sharedTransform} _android={sharedTransform}>\n <TypographyIcon icon={<MapPinRegularIcon />} color=\"black\" />\n </View>\n <View flexShrink={1}>\n <Typography.Text>\n <Typography.Text variant=\"bold\">{item.structured_formatting.main_text}</Typography.Text>\n {item.structured_formatting.secondary_text ? (\n <Typography.Text color=\"black-light\" variant=\"bold\">\n {' '}\n {item.structured_formatting.secondary_text}\n </Typography.Text>\n ) : null}\n </Typography.Text>\n </View>\n </HStack>\n </Autocomplete.Option>\n );\n}\n","export function defaultItemToString(item?: google.maps.places.AutocompletePrediction): string {\n if (!item) return '';\n return item.description;\n}\n","import type { AutoCompleteAddress } from '../../../GoogleMapsAutocompleteProvider/utils/formatAddressFromGoogle';\n\nexport const formatInitialValueDescription = (address: AutoCompleteAddress): string => {\n const { streetName, streetNumber, locality, country } = address;\n\n const streetElements = [streetNumber, streetName].filter(Boolean).join(' ');\n\n const addressElements = [streetElements, locality, country];\n\n return addressElements.filter(Boolean).join(', ');\n};\n","import type { AutoCompleteAddress } from '../../../GoogleMapsAutocompleteProvider/utils/formatAddressFromGoogle';\nimport { formatInitialValueDescription } from './formatInitialValueDescription';\n\n// This function takes AutocompleteAddress and return a valid google AutocompletePrediction\nexport function formatInitialValueToAutocompletePrediction(\n address: AutoCompleteAddress,\n placeId: string,\n): google.maps.places.AutocompletePrediction {\n return {\n place_id: placeId,\n description: formatInitialValueDescription(address),\n reference: '',\n types: [],\n terms: [],\n matched_substrings: [],\n structured_formatting: {\n main_text: [address.streetName, address.streetNumber].filter(Boolean).join(' '),\n main_text_matched_substrings: [],\n secondary_text: [address.zipcode, address.locality, address.subLocality].filter(Boolean).join(' '),\n },\n };\n}\n","import type { ReactNode } from 'react';\nimport { useGoogleMapsAutocomplete } from '../../GoogleMapsAutocompleteProvider/hooks/useGoogleMapsAutocomplete';\nimport type { AutoCompletePrediction } from '../../GoogleMapsAutocompleteProvider/types';\nimport type { AutoCompleteAddress } from '../../GoogleMapsAutocompleteProvider/utils/formatAddressFromGoogle';\nimport { Icon } from '../../Icon/Icon';\nimport { LoaderIcon } from '../../LoaderIcon/LoaderIcon';\nimport { Autocomplete } from '../Autocomplete/Autocomplete';\nimport type { AutocompleteProps } from '../Autocomplete/Autocomplete';\nimport { InputAddressOption } from './InputAddressOption';\nimport { defaultItemToString } from './utils/defaultItemToString';\nimport { formatInitialValueToAutocompletePrediction } from './utils/formatInitialValueToAutocompletePrediction';\n\nexport interface InputAddressProps<T extends object>\n extends Omit<AutocompleteProps<T>, 'onChange' | 'checkSelectedItem' | 'itemToString' | 'children' | 'initialValue'> {\n initialValue?: AutoCompleteAddress;\n itemToString?: (item?: AutoCompletePrediction) => string;\n onChange: (address: AutoCompleteAddress | undefined) => void;\n}\n\nexport function InputAddress({\n initialValue,\n itemToString = defaultItemToString,\n errorElement,\n emptyResultsElement,\n onChange,\n ...props\n}: InputAddressProps<AutoCompleteAddress>): ReactNode {\n const { state, onInputChange, onSelectItem } = useGoogleMapsAutocomplete();\n\n // place_id is a google field that is not available within an AutoCompleteAddress, so we need to add a fake one when handling initial values\n const formattedInitialValue = initialValue\n ? formatInitialValueToAutocompletePrediction(initialValue, 'initial-value-placeId')\n : undefined;\n\n return (\n <Autocomplete<AutoCompletePrediction>\n {...(props as AutocompleteProps<AutoCompletePrediction>)}\n itemToString={itemToString}\n initialValue={formattedInitialValue}\n checkSelectedItem={(selectedItem, item) => selectedItem?.place_id === item.place_id}\n right={\n state.isLoadingSearch || state.isLoadingResultDetails ? (\n <Icon icon={<LoaderIcon />} color=\"kitt.black\" />\n ) : undefined\n }\n errorElement={state.hasSearchError || state.hasSelectResultError ? errorElement : null}\n emptyResultsElement={state.items.length === 0 ? emptyResultsElement : null}\n onInputChange={(v) => {\n onInputChange(v);\n }}\n onChange={(v) => {\n onSelectItem(v, onChange);\n }}\n >\n {state.items.map((item) => (\n <InputAddressOption key={item.place_id} item={item} />\n ))}\n </Autocomplete>\n );\n}\n\nInputAddress.Option = InputAddressOption;\n","import type { ReactNode } from 'react';\nimport { forwardRef } from 'react';\nimport type { TextInput as RNTextInput } from 'react-native';\nimport type { Except } from 'type-fest';\nimport type { InputTextProps } from '../InputText/InputText';\nimport { InputText } from '../InputText/InputText';\n\nexport interface InputEmailProps\n extends Except<InputTextProps, 'autoComplete' | 'inputMode' | 'textContentType' | 'autoCapitalize'> {}\n\nexport const InputEmail = forwardRef<RNTextInput, InputEmailProps>((props: InputEmailProps, ref): ReactNode => {\n return (\n <InputText\n ref={ref}\n autoComplete=\"email\"\n inputMode=\"email\"\n textContentType=\"emailAddress\"\n autoCapitalize=\"none\"\n {...props}\n />\n );\n});\n","import type { ReactNode } from 'react';\nimport { Typography } from '../../typography/Typography';\nimport type { TypographyColor, TypographyProps } from '../../typography/Typography';\nimport type { InputFormState } from '../utils';\n\nexport interface InputFeedbackProps {\n state?: InputFormState;\n testID?: TypographyProps['testID'];\n children: NonNullable<ReactNode>;\n}\n\nconst getColorFromState = (state?: InputFormState): TypographyColor => {\n switch (state) {\n case 'invalid':\n return 'danger';\n case 'valid':\n default:\n return 'black-light';\n }\n};\n\nexport function InputFeedback({ state, testID, children }: InputFeedbackProps): ReactNode {\n return (\n <Typography.Text base=\"body-small\" color={getColorFromState(state)} testID={testID}>\n {children}\n </Typography.Text>\n );\n}\n","import type { ReactNode } from 'react';\nimport { useTheme } from '../../KittThemeContext';\nimport { View } from '../../native-base/primitives';\n\nexport interface InputFieldProps {\n label?: ReactNode;\n labelFeedback?: ReactNode;\n input: NonNullable<ReactNode>;\n feedback?: ReactNode;\n}\n\nexport function InputField({ label, labelFeedback, input, feedback }: InputFieldProps): ReactNode {\n const theme = useTheme();\n return (\n <View\n paddingTop={theme.kitt.forms.inputField.containerPaddingTop}\n paddingBottom={theme.kitt.forms.inputField.containerPaddingBottom}\n >\n {label ? (\n <View\n flexDirection=\"row\"\n alignItems=\"center\"\n paddingBottom={theme.kitt.forms.inputField.labelContainerPaddingBottom}\n >\n <View marginRight={theme.kitt.forms.inputField.labelFeedbackMarginLeft}>{label}</View>\n {labelFeedback}\n </View>\n ) : null}\n {input}\n {feedback ? <View paddingTop={theme.kitt.forms.inputField.feedbackPaddingTop}>{feedback}</View> : null}\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { forwardRef } from 'react';\nimport type { TextInput as RNTextInput } from 'react-native';\nimport type { Except } from 'type-fest';\nimport type { InputTextProps } from '../InputText/InputText';\nimport { InputText } from '../InputText/InputText';\n\nexport interface InputIbanProps extends Except<InputTextProps, 'autoCapitalize'> {}\n\nexport const InputIban = forwardRef<RNTextInput, InputIbanProps>((props: InputTextProps, ref): ReactNode => {\n return <InputText ref={ref} autoCapitalize=\"none\" {...props} />;\n});\n","import { forwardRef } from 'react';\nimport type { NativeSyntheticEvent, TextInput as RNTextInput, TextInputChangeEventData } from 'react-native';\nimport type { Except } from 'type-fest';\nimport type { InputTextProps } from '../InputText/InputText';\nimport { InputText } from '../InputText/InputText';\n\nexport interface InputNumberProps extends Except<InputTextProps, 'inputMode'> {}\n\nexport const InputNumber = forwardRef<RNTextInput, InputNumberProps>(({ onChange, ...props }, ref) => {\n const handleChange = (event: NativeSyntheticEvent<TextInputChangeEventData>): void => {\n if (!onChange) return;\n\n const value = parseFloat(event.nativeEvent.text);\n\n // Number.isNaN and isNaN are not consistent\n // eslint-disable-next-line no-restricted-globals, no-param-reassign\n event.nativeEvent.text = isNaN(value) ? '' : value.toString();\n\n onChange(event);\n };\n return <InputText ref={ref} {...props} inputMode=\"numeric\" onChange={handleChange} />;\n});\n","import { EyeClosedRegularIcon, EyeRegularIcon } from '@ornikar/kitt-icons/phosphor';\nimport type { ReactNode } from 'react';\nimport { forwardRef, useState } from 'react';\nimport type { TextInput as RNTextInput } from 'react-native';\nimport { InputIcon } from '../InputIcon/InputIcon';\nimport { InputPressable } from '../InputPressable/InputPressable';\nimport type { InputTextProps } from '../InputText/InputText';\nimport { InputText } from '../InputText/InputText';\n\nexport interface InputPasswordProps extends InputTextProps {\n isPasswordDefaultVisible?: boolean;\n}\n\nexport const InputPassword = forwardRef<RNTextInput, InputPasswordProps>(\n ({ isPasswordDefaultVisible, right, ...props }: InputPasswordProps, ref): ReactNode => {\n const [isVisible, setIsVisible] = useState(Boolean(isPasswordDefaultVisible));\n\n return (\n <InputText\n ref={ref}\n {...props}\n textContentType=\"password\"\n autoComplete=\"password\"\n autoCorrect={false}\n secureTextEntry={!isVisible}\n right={\n right || (\n <InputPressable\n testID=\"kitt.InputPassword.passwordToggle\"\n hitSlop={20}\n accessibilityRole=\"button\"\n onPress={() => setIsVisible((prev) => !prev)}\n >\n <InputIcon icon={isVisible ? <EyeClosedRegularIcon /> : <EyeRegularIcon />} />\n </InputPressable>\n )\n }\n />\n );\n },\n);\n","import type { CountryCallingCode, ParsedNumber } from 'libphonenumber-js';\nimport { getCountryCallingCode, isValidNumber, parseNumber } from 'libphonenumber-js';\nimport type { ReactNode } from 'react';\nimport { forwardRef } from 'react';\nimport type { NativeSyntheticEvent, TextInput as RNTextInput, TextInputChangeEventData } from 'react-native';\nimport type { Except } from 'type-fest';\nimport { getEnterKeyHintForNumericInput } from '../../utils/getEnterKeyHintForNumericInput/getEnterKeyHintForNumericInput';\nimport type { InputTextProps } from '../InputText/InputText';\nimport { InputText } from '../InputText/InputText';\n\nfunction isPhoneNumberValid(number: Record<string, never> | ParsedNumber): number is ParsedNumber {\n return isValidNumber(number as ParsedNumber);\n}\n\nfunction prefixWithZero(value: string, phoneNumberLength: number): string {\n return value.padStart(phoneNumberLength, '0');\n}\n\nexport interface InputPhoneNumberData extends ParsedNumber {\n countryCode: CountryCallingCode;\n originalNativeEventText: string;\n}\n\nexport interface InputPhoneProps extends Except<InputTextProps, 'inputMode' | 'textContentType'> {\n phoneNumberLength?: number;\n onChange?: (event: NativeSyntheticEvent<TextInputChangeEventData>, phoneNumberData?: InputPhoneNumberData) => void;\n}\n\nexport const InputPhone = forwardRef<RNTextInput, InputPhoneProps>(\n (\n { enterKeyHint, autoComplete = 'tel', phoneNumberLength = 10, onChange, ...props }: InputPhoneProps,\n ref,\n ): ReactNode => {\n const currentEnterKeyHint = enterKeyHint ? getEnterKeyHintForNumericInput(enterKeyHint) : undefined;\n\n const handleChange = (event: NativeSyntheticEvent<TextInputChangeEventData>): void => {\n const number = parseNumber(event.nativeEvent.text);\n\n // When intl phone number is valid :\n // 1 - We extract intl data\n // 2 - We recreate the local value to display\n if (isPhoneNumberValid(number)) {\n const { phone } = number;\n\n const finalPhoneNumber = prefixWithZero(`${phone || ''}`, phoneNumberLength);\n\n const eventWithoutCountryCode = {\n ...event,\n nativeEvent: {\n ...event.nativeEvent,\n text: finalPhoneNumber,\n },\n };\n\n if (onChange) {\n onChange(eventWithoutCountryCode, {\n ...(number as ParsedNumber),\n countryCode: getCountryCallingCode(number.country),\n originalNativeEventText: event.nativeEvent.text,\n });\n }\n\n return;\n }\n\n if (onChange) onChange(event);\n };\n\n return (\n <InputText\n ref={ref}\n {...props}\n inputMode=\"tel\"\n enterKeyHint={currentEnterKeyHint}\n autoComplete={autoComplete}\n textContentType=\"telephoneNumber\"\n onChange={handleChange}\n />\n );\n },\n);\n","import type { ReactElement, ReactNode } from 'react';\nimport { useTheme } from '../../KittThemeContext';\nimport { View } from '../../native-base/primitives';\nimport { Typography } from '../../typography/Typography';\nimport { TypographyIcon } from '../../typography/TypographyIcon';\n\ntype InputTagType = 'success' | 'danger';\n\nexport interface InputTagProps {\n type?: InputTagType;\n children: ReactNode;\n icon?: ReactElement<any>;\n}\n\nexport function InputTag({ children, type, icon }: InputTagProps): ReactNode {\n const theme = useTheme();\n\n return (\n <View\n alignItems=\"center\"\n justifyContent=\"center\"\n flexDirection=\"row\"\n alignSelf=\"flex-start\"\n overflow=\"hidden\"\n paddingX=\"kitt.2\"\n backgroundColor={`kitt.forms.inputTag.${type || 'default'}.backgroundColor`}\n borderRadius=\"kitt.forms.inputTag.borderRadius\"\n >\n {icon ? (\n <View marginRight=\"kitt.1\">\n <TypographyIcon icon={icon} size={theme.kitt.forms.inputTag.iconSize} color=\"black\" />\n </View>\n ) : null}\n <Typography.Text base=\"body-small\" color=\"black\">\n {children}\n </Typography.Text>\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { Platform } from 'react-native';\nimport { Typography } from '../../typography/Typography';\n\nexport interface LabelProps {\n id?: string;\n htmlFor: string;\n children: NonNullable<ReactNode>;\n}\n\nexport function Label({ id, htmlFor, children }: LabelProps): ReactNode {\n const isWeb = Platform.OS === 'web';\n return (\n <Typography.Text base=\"body\" id={isWeb ? undefined : id}>\n {isWeb ? (\n <label id={id} htmlFor={htmlFor}>\n {children}\n </label>\n ) : (\n children\n )}\n </Typography.Text>\n );\n}\n","import type { ReactNode } from 'react';\nimport { useTheme } from '../../KittThemeContext';\nimport { View } from '../../native-base/primitives';\n\ninterface InnerCircleProps {\n isChecked?: boolean;\n}\n\nexport function InnerCircle({ isChecked }: InnerCircleProps): ReactNode {\n const theme = useTheme();\n\n const sharedTransform = [{ scale: isChecked ? 1 : 0 }];\n\n return (\n <View\n width=\"kitt.forms.radio.innerCircle.size\"\n height=\"kitt.forms.radio.innerCircle.size\"\n borderRadius=\"kitt.forms.radio.innerCircle.borderRadius\"\n backgroundColor=\"kitt.forms.radio.innerCircle.backgroundColor\"\n _web={{\n style: {\n transform: `scale(${isChecked ? 1 : 0}))`,\n transitionProperty: 'all',\n transitionDuration: theme.kitt.forms.radio.transition.duration,\n transitionTimingFunction: theme.kitt.forms.radio.transition.timingFunction,\n },\n }}\n _ios={{\n style: {\n transform: sharedTransform,\n },\n }}\n _android={{\n style: {\n transform: sharedTransform,\n },\n }}\n />\n );\n}\n","interface GetBackgroundColorParams {\n isDisabled?: boolean;\n isChecked?: boolean;\n isPressed?: boolean;\n isHovered?: boolean;\n isFocused?: boolean;\n}\n\nexport function getBackgroundColor({\n isDisabled,\n isPressed,\n isHovered,\n isFocused,\n isChecked,\n}: GetBackgroundColorParams): string {\n if (isChecked) return 'kitt.forms.radio.checked.backgroundColor';\n\n if (isDisabled) return 'kitt.forms.radio.disabled.backgroundColor';\n\n if (isPressed) return 'kitt.forms.radio.pressed.backgroundColor';\n\n if (isHovered) return 'kitt.forms.radio.hover.backgroundColor';\n\n if (isFocused) return 'kitt.forms.radio.focus.backgroundColor';\n\n return 'kitt.forms.radio.default.backgroundColor';\n}\n","interface GetBorderColorParams {\n isDisabled?: boolean;\n isChecked?: boolean;\n isPressed?: boolean;\n isHovered?: boolean;\n isFocused?: boolean;\n}\n\nexport function getBorderColor({\n isDisabled,\n isPressed,\n isHovered,\n isFocused,\n isChecked,\n}: GetBorderColorParams): string {\n if (isChecked) return 'kitt.forms.radio.checked.borderColor';\n\n if (isDisabled) return 'kitt.forms.radio.disabled.borderColor';\n\n if (isPressed) return 'kitt.forms.radio.pressed.borderColor';\n\n if (isHovered) return 'kitt.forms.radio.hover.borderColor';\n\n if (isFocused) return 'kitt.forms.radio.focus.borderColor';\n\n return 'kitt.forms.radio.default.borderColor';\n}\n","import type { ReactNode } from 'react';\nimport { useTheme } from '../../KittThemeContext';\nimport { View } from '../../native-base/primitives';\nimport { getBackgroundColor } from './utils/getBackgroundColor';\nimport { getBorderColor } from './utils/getBorderColor';\n\ninterface OuterCircleProps {\n children: ReactNode;\n isChecked?: boolean;\n isDisabled?: boolean;\n isHovered?: boolean;\n isFocused?: boolean;\n isPressed?: boolean;\n}\n\nexport function OuterCircle({\n children,\n isChecked,\n isDisabled,\n isHovered,\n isFocused,\n isPressed,\n}: OuterCircleProps): ReactNode {\n const theme = useTheme();\n\n return (\n <View\n alignItems=\"center\"\n justifyContent=\"center\"\n borderWidth=\"kitt.forms.radio.borderWidth\"\n width=\"kitt.forms.radio.size\"\n height=\"kitt.forms.radio.size\"\n borderRadius=\"kitt.forms.radio.borderRadius\"\n backgroundColor={getBackgroundColor({ isChecked, isDisabled, isFocused, isHovered, isPressed })}\n borderColor={getBorderColor({ isChecked, isDisabled, isFocused, isHovered, isPressed })}\n _web={{\n style: {\n transitionProperty: 'all',\n transitionDuration: theme.kitt.forms.radio.transition.duration,\n transitionTimingFunction: theme.kitt.forms.radio.transition.timingFunction,\n },\n }}\n >\n {children}\n </View>\n );\n}\n","import type { ForwardedRef, ReactNode } from 'react';\nimport { forwardRef } from 'react';\nimport type { GestureResponderEvent } from 'react-native';\nimport { HStack } from '../../native-base/layout';\nimport { Pressable, type PressableProps } from '../../native-base/primitives';\nimport { Typography } from '../../typography/Typography';\nimport { InnerCircle } from './InnerCircle';\nimport { OuterCircle } from './OuterCircle';\n\ntype RadioValue = string | number | Date;\n\nexport interface RadioProps<Value extends RadioValue = RadioValue> {\n id?: string;\n testID?: string;\n name?: string;\n checked?: boolean;\n disabled?: boolean;\n right?: boolean;\n children?: NonNullable<ReactNode>;\n value: Value;\n onChange?: (newValue: Value, event: GestureResponderEvent) => void;\n onBlur?: () => void;\n onFocus?: () => void;\n}\n\nfunction Radio<Value extends RadioValue>(\n { id, checked, value, disabled, children, testID, onChange, onFocus, onBlur }: RadioProps<Value>,\n ref: ForwardedRef<PressableProps>,\n): ReactNode {\n const handlePress: PressableProps['onPress'] = (event: GestureResponderEvent) => {\n if (onFocus) onFocus();\n if (onChange) onChange(value, event);\n if (onBlur) onBlur();\n };\n\n return (\n <Pressable\n ref={ref}\n testID={testID}\n id={id}\n disabled={disabled}\n accessibilityRole=\"radio\"\n aria-checked={checked}\n focusable={checked && !disabled}\n flexDirection=\"row\"\n alignItems=\"center\"\n onPress={handlePress}\n onFocus={onFocus}\n onBlur={onBlur}\n >\n {({ isHovered, isPressed, isFocused }) => (\n <HStack space={children ? 'kitt.2' : undefined} alignItems=\"center\">\n <OuterCircle\n isChecked={checked}\n isDisabled={disabled}\n isHovered={isHovered}\n isFocused={isFocused}\n isPressed={isPressed}\n >\n <InnerCircle isChecked={checked} />\n </OuterCircle>\n\n {children ? (\n <Typography.SetDefaultColor value={disabled ? 'black-light' : 'black'}>\n <Typography.Text base=\"body\">{children}</Typography.Text>\n </Typography.SetDefaultColor>\n ) : null}\n </HStack>\n )}\n </Pressable>\n );\n}\n\nconst RadioWithRef = forwardRef(Radio) as <Value extends RadioValue>(\n props: RadioProps<Value> & { ref?: ForwardedRef<PressableProps> },\n) => ReturnType<typeof Radio>;\n\nexport { RadioWithRef as Radio };\n","import { useSx } from 'native-base';\nimport type { ReactNode } from 'react';\nimport type { ViewStyle } from 'react-native';\nimport Animated from 'react-native-reanimated';\n\nexport interface AnimatedContainerProps {\n children: ReactNode;\n isFocused?: boolean;\n isPressed?: boolean;\n isSelected?: boolean;\n isDisabled?: boolean;\n isFirst?: boolean;\n isLast?: boolean;\n animatedStyles: Partial<ViewStyle>;\n}\n\nexport function AnimatedContainer({ children, isFirst, isLast, animatedStyles }: AnimatedContainerProps): ReactNode {\n const sx = useSx();\n\n const styles = sx({\n borderWidth: 'kitt.forms.radioButtonGroup.item.borderWidth',\n borderTopLeftRadius: isFirst ? 'kitt.forms.radioButtonGroup.item.borderRadius' : 0,\n borderBottomLeftRadius: isFirst ? 'kitt.forms.radioButtonGroup.item.borderRadius' : 0,\n borderTopRightRadius: isLast ? 'kitt.forms.radioButtonGroup.item.borderRadius' : 0,\n borderBottomRightRadius: isLast ? 'kitt.forms.radioButtonGroup.item.borderRadius' : 0,\n borderLeftWidth: isFirst ? 'kitt.forms.radioButtonGroup.item.borderWidth' : 0,\n });\n\n return (\n <Animated.View style={[styles, animatedStyles, { flexGrow: 1, alignItems: 'center', justifyContent: 'center' }]}>\n {children}\n </Animated.View>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { DimensionValue } from 'react-native';\nimport { useTheme } from '../../KittThemeContext';\nimport { View } from '../../native-base/primitives';\n\ninterface FocusBorderProps {\n isPressed?: boolean;\n isHovered?: boolean;\n isSelected?: boolean;\n isFocused?: boolean;\n isFirst?: boolean;\n isLast?: boolean;\n}\n\nexport function HoverBorder({\n isFirst,\n isLast,\n isSelected,\n isHovered,\n isFocused,\n isPressed,\n}: FocusBorderProps): ReactNode {\n const theme = useTheme();\n const hasPointerInteraction = isPressed || isHovered || isFocused;\n const shouldDisplayBorder = isSelected ? true : hasPointerInteraction;\n\n return (\n <View\n _web={{\n style: {\n width: `calc(100% + ${theme.kitt.forms.radioButtonGroup.item.borderWidth * 2}px)` as DimensionValue,\n height: `calc(100% + ${theme.kitt.forms.radioButtonGroup.item.borderWidth * 2}px)` as DimensionValue,\n transitionProperty: theme.kitt.forms.radioButtonGroup.item.transition.property,\n transitionDuration: theme.kitt.forms.radioButtonGroup.item.transition.duration,\n transitionTimingFunction: theme.kitt.forms.radioButtonGroup.item.transition.timingFunction,\n },\n }}\n opacity={shouldDisplayBorder ? 1 : 0}\n position=\"absolute\"\n top={-theme.kitt.forms.radioButtonGroup.item.borderWidth}\n left={-theme.kitt.forms.radioButtonGroup.item.borderWidth}\n margin={0}\n borderColor={`kitt.forms.radioButtonGroup.item.borderColor.${\n isHovered || isSelected || isFocused ? 'hover' : 'default'\n }`}\n borderWidth=\"kitt.forms.radioButtonGroup.item.borderWidth\"\n borderTopLeftRadius={isFirst ? 'kitt.forms.radioButtonGroup.item.borderRadius' : 0}\n borderBottomLeftRadius={isFirst ? 'kitt.forms.radioButtonGroup.item.borderRadius' : 0}\n borderTopRightRadius={isLast ? 'kitt.forms.radioButtonGroup.item.borderRadius' : 0}\n borderBottomRightRadius={isLast ? 'kitt.forms.radioButtonGroup.item.borderRadius' : 0}\n />\n );\n}\n","import type { ViewStyle } from 'react-native';\nimport { interpolateColor, useAnimatedStyle, useSharedValue, withSpring } from 'react-native-reanimated';\nimport { useTheme } from '../../../KittThemeContext';\n\nexport interface UseNativeAnimationOptions {\n isDisabled?: boolean;\n isSelected?: boolean;\n isPressedInternal?: boolean;\n}\n\nexport interface NativeAnimation {\n onPressIn?: () => void;\n onPressOut?: () => void;\n animatedStyles: ViewStyle;\n}\n\nexport const useNativeAnimation = ({\n isDisabled,\n isSelected,\n isPressedInternal,\n}: UseNativeAnimationOptions): NativeAnimation => {\n const theme = useTheme();\n const pressed = useSharedValue<0 | 1>(isPressedInternal ? 1 : 0);\n const color = useSharedValue(0);\n\n const { default: backgroundColor, pressed: pressedBackgroundColor } =\n theme.kitt.forms.radioButtonGroup.item.backgroundColor;\n\n const { default: borderColor, pressed: pressedBorderColor } = theme.kitt.forms.radioButtonGroup.item.borderColor;\n\n const animatedStyles = useAnimatedStyle(() => {\n if (isDisabled) {\n return {\n backgroundColor: theme.kitt.forms.radioButtonGroup.item.backgroundColor.disabled,\n borderColor: theme.kitt.forms.radioButtonGroup.item.borderColor.disabled,\n };\n }\n\n if (isSelected) {\n return {\n backgroundColor: pressedBackgroundColor,\n borderColor: pressedBorderColor,\n };\n }\n\n return {\n backgroundColor: interpolateColor(color.value, [0, 1], [backgroundColor, pressedBackgroundColor]),\n borderColor: interpolateColor(color.value, [0, 1], [borderColor, pressedBorderColor]),\n };\n });\n\n const handlePressIn = (): void => {\n color.value = withSpring(1);\n pressed.value = 1;\n };\n\n const handlePressOut = (): void => {\n color.value = withSpring(0);\n pressed.value = 0;\n };\n\n return {\n onPressIn: handlePressIn,\n onPressOut: handlePressOut,\n animatedStyles,\n };\n};\n","import type { TypographyColor } from '../../../typography/Typography';\n\ninterface GetCurrentTextColorParams {\n isDisabled?: boolean;\n isSelected?: boolean;\n isPressed?: boolean;\n isHovered?: boolean;\n isFocused?: boolean;\n}\n\nexport function getCurrentTextColor({\n isDisabled,\n isSelected,\n isPressed,\n isHovered,\n isFocused,\n}: GetCurrentTextColorParams): TypographyColor {\n if (isDisabled) return 'black-light';\n\n if (isSelected) return 'white';\n\n if (isPressed) return 'white';\n\n if (isFocused) return 'white';\n\n if (isHovered && !isSelected) return 'black';\n\n return 'black';\n}\n","import type { ReactNode } from 'react';\nimport type { GestureResponderEvent } from 'react-native';\nimport { Platform } from 'react-native';\nimport { Pressable, View } from '../../native-base/primitives';\nimport { Typography } from '../../typography/Typography';\nimport type { ResponsiveValue } from '../../utils/createResponsiveStyleFromProp/createResponsiveStyleFromProp';\nimport { createResponsiveStyleFromProp } from '../../utils/createResponsiveStyleFromProp/createResponsiveStyleFromProp';\nimport { AnimatedContainer } from './AnimatedContainer/AnimatedContainer';\nimport { HoverBorder } from './HoverBorder';\nimport { useNativeAnimation } from './hooks/useNativeAnimation';\nimport { getCurrentTextColor } from './utils/getCurrentTextColor';\n\nexport interface RadioButtonProps<V> {\n children: ReactNode;\n isFirst?: boolean;\n isLast?: boolean;\n disabled?: boolean;\n value: V;\n selected?: boolean;\n stretch?: ResponsiveValue<boolean | undefined>;\n /**\n * @internal Used to display pressed UI for testing and storybook purpose\n */\n isPressedInternal?: boolean;\n /**\n * @internal Used to display hovered UI for testing and storybook purpose\n */\n isHoveredInternal?: boolean;\n /**\n * @internal Used to display focused UI for testing and storybook purpose\n */\n isFocusedInternal?: boolean;\n onChange?: (value?: V) => void;\n onFocus?: (e?: any | GestureResponderEvent) => void;\n onBlur?: (e?: any | GestureResponderEvent) => void;\n}\n\nexport function RadioButton<V>({\n children,\n value,\n selected,\n isFirst,\n isLast,\n disabled,\n stretch,\n isHoveredInternal,\n isPressedInternal,\n isFocusedInternal,\n onChange,\n onFocus,\n onBlur,\n}: RadioButtonProps<V>): ReactNode {\n const { onPressIn, onPressOut, animatedStyles } = useNativeAnimation({\n isDisabled: disabled,\n isSelected: selected,\n isPressedInternal,\n });\n\n const handlePress = (e: GestureResponderEvent): void => {\n if (onFocus) onFocus(e);\n\n if (onChange) onChange(value);\n\n if (onBlur) onBlur(e);\n };\n\n return (\n <Pressable\n accessibilityRole=\"radiogroup\"\n accessibilityState={{ checked: selected }}\n flexGrow={createResponsiveStyleFromProp(stretch, 1, undefined)}\n flexShrink={createResponsiveStyleFromProp(stretch, 1, undefined)}\n flexBasis={createResponsiveStyleFromProp(stretch, 0)}\n disabled={disabled}\n onPress={handlePress}\n onPressIn={onPressIn}\n onPressOut={onPressOut}\n onFocus={onFocus}\n onBlur={onBlur}\n >\n {({ isHovered, isPressed, isFocused }) => (\n <AnimatedContainer\n animatedStyles={animatedStyles}\n isFocused={isFocused || isFocusedInternal}\n isPressed={isPressed || isPressedInternal}\n isSelected={selected}\n isDisabled={disabled}\n isFirst={isFirst}\n isLast={isLast}\n >\n <View\n paddingX=\"kitt.forms.radioButtonGroup.item.padding.horizontal\"\n paddingY=\"kitt.forms.radioButtonGroup.item.padding.vertical\"\n justifyContent=\"center\"\n alignItems=\"center\"\n _web={{ minHeight: '100%' }}\n >\n <Typography.SetDefaultColor\n value={getCurrentTextColor({\n isSelected: selected || isPressedInternal,\n isPressed,\n isHovered: isHovered || isHoveredInternal,\n isDisabled: disabled,\n isFocused: isFocused || isFocusedInternal,\n })}\n >\n {children}\n </Typography.SetDefaultColor>\n {Platform.OS === 'web' ? (\n <HoverBorder\n isFirst={isFirst}\n isLast={isLast}\n isSelected={selected}\n isHovered={isHovered || isHoveredInternal}\n isPressed={isPressed || isPressedInternal}\n isFocused={isFocused || isFocusedInternal}\n />\n ) : null}\n </View>\n </AnimatedContainer>\n )}\n </Pressable>\n );\n}\n","import type { ReactElement, ReactNode } from 'react';\nimport { Children, cloneElement, useState } from 'react';\nimport type { ViewProps } from '../../native-base/primitives';\nimport { View } from '../../native-base/primitives';\nimport type { ResponsiveValue } from '../../utils/createResponsiveStyleFromProp/createResponsiveStyleFromProp';\nimport type { RadioButtonProps } from './RadioButton';\nimport { RadioButton } from './RadioButton';\n\ntype InternalInheritedProps =\n | 'isFirst'\n | 'isLast'\n | 'selected'\n | 'stretch'\n | 'disabled'\n | 'onChange'\n | 'onFocus'\n | 'onBlur';\n\ninterface RadioButtonGroupItemProps<V> extends Omit<RadioButtonProps<V>, InternalInheritedProps> {}\n\nfunction RadioButtonGroupItem<V>({ ...props }: RadioButtonGroupItemProps<V>): ReactNode {\n return <RadioButton {...props} />;\n}\n\nexport interface RadioButtonGroupProps<V> extends Exclude<ViewProps, 'onBlur' | 'onFocus'> {\n children: ReactNode;\n disabled?: boolean;\n hovered?: boolean;\n selected?: boolean;\n stretch?: ResponsiveValue<boolean | undefined>;\n value?: V;\n onChange?: (newValue: V) => void;\n onFocus?: (e?: any) => void;\n onBlur?: (e?: any) => void;\n}\n\nexport function RadioButtonGroup<V>({\n children,\n stretch,\n value,\n disabled,\n onFocus,\n onBlur,\n onChange,\n ...props\n}: RadioButtonGroupProps<V>): ReactNode {\n const [currentValue, setCurrentValue] = useState(value);\n\n const handleChange = (newValue: V): void => {\n if (disabled) return;\n\n setCurrentValue(newValue);\n if (onChange) onChange(newValue);\n };\n\n const childrenArray = Children.toArray(children) as ReactElement<RadioButtonProps<V>, typeof RadioButton>[];\n\n return (\n <View flexDirection=\"row\" flexWrap=\"wrap\" {...props}>\n {childrenArray.map((child, index) => {\n const clone = cloneElement<RadioButtonProps<V>>(child, {\n stretch,\n disabled,\n selected: child.props.value === currentValue,\n isFirst: index === 0,\n isLast: index === childrenArray.length - 1,\n onChange: handleChange,\n onFocus,\n onBlur,\n } as any);\n\n return clone;\n })}\n </View>\n );\n}\n\nRadioButtonGroup.RadioButton = RadioButtonGroupItem;\n","import { CheckCircleFillIcon } from '@ornikar/kitt-icons/phosphor';\nimport { HStack, View } from 'native-base';\nimport type { ReactNode } from 'react';\nimport { forwardRef } from 'react';\nimport type { NativeSyntheticEvent, TextInput as RNTextInput, TextInputChangeEventData } from 'react-native';\nimport Animated, { useAnimatedStyle, withSpring, withTiming } from 'react-native-reanimated';\nimport { lateOceanColorPalette } from '../../themes/palettes/lateOceanColorPalette';\nimport { Typography } from '../../typography/Typography';\nimport { TypographyIcon } from '../../typography/TypographyIcon';\nimport type { InputTextProps } from '../InputText/InputText';\nimport { InputText } from '../InputText/InputText';\n\nexport interface TextAreaProps extends InputTextProps {\n limit?: number;\n helper?: string;\n}\n\nexport const TextArea = forwardRef<RNTextInput, TextAreaProps>(\n ({ helper, limit, ...props }: TextAreaProps, ref): ReactNode => {\n const shouldDisplayLimit = limit && limit > 0;\n const isLimitReached = props.value?.length === limit;\n const shouldDisplayLimitOrHelper = shouldDisplayLimit || helper;\n\n const limitContainerAnimatedStyle = useAnimatedStyle(\n () => ({\n transform: [{ translateX: withSpring(isLimitReached ? 0 : 12) }],\n marginLeft: 'auto',\n overflow: 'hidden',\n }),\n [isLimitReached],\n );\n\n const checkIconAnimatedStyle = useAnimatedStyle(\n () => ({\n opacity: withTiming(isLimitReached ? 1 : 0, { duration: 300 }),\n }),\n [isLimitReached],\n );\n\n const handleOnChange = (e: NativeSyntheticEvent<TextInputChangeEventData>): void => {\n if (!limit || e.nativeEvent.text.length <= limit) {\n props.onChange?.(e);\n }\n };\n\n return (\n <View>\n <InputText\n ref={ref}\n multiline\n textAlignVertical=\"top\"\n minHeight=\"kitt.forms.textArea.minHeight\"\n {...props}\n onChange={handleOnChange}\n />\n {shouldDisplayLimitOrHelper ? (\n <HStack marginTop=\"kitt.1\">\n {helper ? (\n <Typography.Text base=\"body-s\" color={lateOceanColorPalette['eggshell.10']}>\n {helper}\n </Typography.Text>\n ) : null}\n {shouldDisplayLimit ? (\n <Animated.View style={limitContainerAnimatedStyle}>\n <HStack alignItems=\"center\" space=\"kitt.1\">\n <Typography.Text base=\"body-xs\" variant=\"bold\" color={lateOceanColorPalette['eggshell.10']}>\n {props.value?.length || 0}/{limit}\n </Typography.Text>\n\n <Animated.View style={checkIconAnimatedStyle}>\n <TypographyIcon\n icon={<CheckCircleFillIcon />}\n size={13}\n color={lateOceanColorPalette['eggshell.10']}\n />\n </Animated.View>\n </HStack>\n </Animated.View>\n ) : null}\n </HStack>\n ) : null}\n </View>\n );\n },\n);\n","import { useMemo } from 'react';\nimport type { Theme } from './themes/default';\nimport { theme as kittTheme } from './themes/default';\n\nexport interface KittTheme {\n kitt: Theme;\n}\n\nexport function useKittTheme(): KittTheme {\n return useMemo(() => {\n return { kitt: kittTheme };\n }, []);\n}\n","import type { ToggleThemeStates } from '../../../themes/late-ocean/toggle';\n\nexport const getStateKey = (isHovered?: boolean, isPressed?: boolean, isFocused?: boolean): keyof ToggleThemeStates => {\n if (isPressed) {\n return 'pressed';\n }\n\n if (isFocused) {\n return 'focused';\n }\n\n if (isHovered) {\n return 'hovered';\n }\n\n return 'default';\n};\n","import { View } from 'native-base';\nimport type { ReactNode } from 'react';\nimport { useEffect } from 'react';\nimport Animated, {\n Easing,\n interpolateColor,\n useAnimatedStyle,\n useSharedValue,\n withTiming,\n} from 'react-native-reanimated';\nimport { useKittTheme } from '../../useKittTheme';\nimport { getStateKey } from './utils/getStateKey';\n\nexport interface ToggleAnimatedProps {\n variant: 'primary' | 'accent';\n value: boolean;\n size: 'medium' | 'large';\n isDisabled: boolean;\n isPressed: boolean;\n isHovered: boolean;\n isFocused: boolean;\n}\n\nexport function ToggleAnimated({\n variant,\n value,\n size,\n isDisabled,\n isPressed,\n isHovered,\n isFocused,\n}: ToggleAnimatedProps): ReactNode {\n const theme = useKittTheme();\n\n const state = getStateKey(isHovered, isPressed, isFocused);\n const disabledState = isDisabled ? 'disabled' : 'enabled';\n\n const marginLeftAnim = useSharedValue(0);\n const hoverAnim = useSharedValue(0);\n const hoverBackgroundAnim = useSharedValue(0);\n\n const marginLeft = theme.kitt.forms.toggle[variant][disabledState][state].circle.marginLeft[size];\n\n const buttonTranslate = useAnimatedStyle(() => {\n return {\n border: 'none',\n transform: [\n {\n translateX: marginLeftAnim.value,\n },\n ],\n };\n }, [marginLeftAnim]);\n\n const hoverTranslate = useAnimatedStyle(() => {\n return {\n left: hoverAnim.value * 2,\n };\n }, [hoverAnim]);\n\n const hoverBackgroundTranslate = useAnimatedStyle(() => {\n return {\n backgroundColor: interpolateColor(\n hoverBackgroundAnim.value,\n [0, 1],\n [\n theme.kitt.forms.toggle[variant][disabledState].hovered.backgroundColor[value ? 'checked' : 'unchecked'],\n theme.kitt.forms.toggle[variant][disabledState].default.backgroundColor[value ? 'checked' : 'unchecked'],\n ],\n ),\n };\n }, [hoverBackgroundAnim, value]);\n\n useEffect(() => {\n marginLeftAnim.value = withTiming(value ? marginLeft : 0, {\n duration: 200,\n easing: Easing.ease,\n });\n }, [value, marginLeftAnim, marginLeft]);\n\n useEffect(() => {\n hoverAnim.value = withTiming(isHovered ? (value ? -1 : 1) : 0, {\n duration: 200,\n easing: Easing.ease,\n });\n\n hoverBackgroundAnim.value = withTiming(isHovered ? 0 : 1, {\n duration: 200,\n easing: Easing.ease,\n });\n }, [isHovered, hoverAnim, value, hoverBackgroundAnim]);\n\n return (\n <View\n overflow=\"hidden\"\n borderColor={`kitt.forms.toggle.${variant}.${disabledState}.${state}.wrapperBorder.color`}\n borderWidth={`kitt.forms.toggle.${variant}.${disabledState}.${state}.wrapperBorder.width`}\n borderRadius=\"full\"\n >\n <Animated.View\n style={[\n hoverBackgroundTranslate,\n {\n borderColor: theme.kitt.forms.toggle[variant][disabledState][state].border.color,\n borderWidth: theme.kitt.forms.toggle[variant][disabledState][state].border.width,\n borderRadius: 24,\n width: theme.kitt.forms.toggle[variant][disabledState][state].width[size],\n height: theme.kitt.forms.toggle[variant][disabledState][state].height[size],\n padding: size === 'medium' ? 3 : 4,\n },\n ]}\n >\n <Animated.View style={[buttonTranslate, hoverTranslate]}>\n <View\n borderRadius=\"full\"\n backgroundColor={`kitt.forms.toggle.${variant}.${disabledState}.${state}.circle.backgroundColor`}\n width={`kitt.forms.toggle.${variant}.${disabledState}.${state}.circle.width.${size}`}\n height={`kitt.forms.toggle.${variant}.${disabledState}.${state}.circle.height.${size}`}\n />\n </Animated.View>\n </Animated.View>\n </View>\n );\n}\n","import { type ReactNode } from 'react';\nimport type { HStackProps } from '../../native-base/layout';\nimport { HStack } from '../../native-base/layout';\nimport { Pressable, View } from '../../native-base/primitives';\nimport type { TypographyBodyType } from '../../typography/Typography';\nimport { Typography } from '../../typography/Typography';\nimport { useKittTheme } from '../../useKittTheme';\nimport type { ToggleAnimatedProps } from './ToggleAnimated';\nimport { ToggleAnimated } from './ToggleAnimated';\n\nconst getLabelTypographyType = (size: ToggleAnimatedProps['size']): TypographyBodyType => {\n return size === 'medium' ? 'body' : 'body-medium';\n};\n\nexport interface ToggleProps extends HStackProps {\n isDisabled?: ToggleAnimatedProps['isDisabled'];\n label?: string;\n variant?: ToggleAnimatedProps['variant'];\n size?: ToggleAnimatedProps['size'];\n value?: ToggleAnimatedProps['value'];\n /** @internal used only */\n isHoveredInternal?: boolean;\n /** @internal used only */\n isFocusedInternal?: boolean;\n /** @internal used only */\n isPressedInternal?: boolean;\n onChange?: (value: boolean) => void;\n}\n\nexport function Toggle({\n isDisabled = false,\n isHoveredInternal = false,\n isFocusedInternal = false,\n isPressedInternal = false,\n label,\n variant = 'primary',\n size = 'medium',\n value = false,\n onChange = () => {},\n ...props\n}: ToggleProps): ReactNode {\n const theme = useKittTheme();\n\n const handlePress = (): void => {\n onChange(!value);\n };\n\n return (\n <HStack alignItems=\"center\" {...props}>\n <Pressable accessibilityRole=\"togglebutton\" disabled={isDisabled} onPress={handlePress}>\n {({ isHovered, isPressed, isFocused }) => (\n <ToggleAnimated\n variant={variant}\n value={value}\n size={size}\n isDisabled={isDisabled}\n isHovered={isHovered || isHoveredInternal}\n isFocused={isFocused || isFocusedInternal}\n isPressed={isPressed || isPressedInternal}\n />\n )}\n </Pressable>\n <View marginLeft=\"kitt.2\" padding={0} flexShrink={1}>\n <Typography.Text\n color={theme.kitt.forms.toggle[variant][isDisabled ? 'disabled' : 'enabled'].default.labelColor}\n base={getLabelTypographyType(size)}\n ellipsizeMode=\"clip\"\n >\n {label}\n </Typography.Text>\n </View>\n </HStack>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { ViewProps } from 'react-native';\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\nimport { useTheme } from '../KittThemeContext';\nimport { View } from '../native-base/primitives';\n\nexport interface FullscreenModalBodyProps extends ViewProps {\n children: NonNullable<ReactNode>;\n shouldHandleBottomNotch?: boolean;\n shouldHandleTopNotch?: boolean;\n}\n\nexport function FullscreenModalBody({\n children,\n shouldHandleBottomNotch,\n style,\n shouldHandleTopNotch,\n ...props\n}: FullscreenModalBodyProps): ReactNode {\n const { bottom, top } = useSafeAreaInsets();\n const {\n kitt: {\n fullscreenModal: {\n body: { verticalPadding },\n },\n },\n } = useTheme();\n const paddingBottom = shouldHandleBottomNotch ? Math.max(bottom, verticalPadding) : verticalPadding;\n const paddingTop = shouldHandleTopNotch ? Math.max(top, verticalPadding) : verticalPadding;\n\n return (\n <View\n flexGrow={1}\n flexShrink={1}\n {...props}\n paddingX=\"kitt.fullscreenModal.horizontalPadding\"\n paddingTop={paddingTop}\n paddingBottom={paddingBottom}\n style={style}\n >\n {children}\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\n\nexport interface FullscreenModalFooterProps extends ViewProps {\n hasSeparator?: boolean;\n shouldHandleBottomNotch?: boolean;\n}\n\nexport function FullscreenModalFooter({\n shouldHandleBottomNotch = true,\n hasSeparator = true,\n children,\n ...props\n}: FullscreenModalFooterProps): ReactNode {\n const { bottom } = useSafeAreaInsets();\n\n return (\n <View\n borderTopColor=\"kitt.separator\"\n borderTopWidth={hasSeparator ? 1 : undefined}\n paddingTop=\"kitt.fullscreenModal.footer.verticalPadding\"\n paddingBottom={shouldHandleBottomNotch ? bottom : undefined}\n paddingX=\"kitt.fullscreenModal.horizontalPadding\"\n {...props}\n >\n <View paddingBottom=\"kitt.fullscreenModal.footer.verticalPadding\">{children}</View>\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { StyleSheet } from 'react-native';\nimport Animated, { Easing, useAnimatedStyle, withTiming } from 'react-native-reanimated';\nimport { useTheme } from '../../KittThemeContext';\n\nexport interface NativeOpacityAnimationProps {\n visible?: boolean;\n children: ReactNode;\n}\n\nexport function NativeOpacityAnimation({ visible, children }: NativeOpacityAnimationProps): ReactNode {\n const theme = useTheme();\n\n const opacityStyle = useAnimatedStyle(() => {\n const { duration, easing } = theme.kitt.fullscreenModal.animation.overlay;\n const [x1, y1, x2, y2] = easing;\n\n return {\n opacity: withTiming(visible ? 1 : 0, { duration, easing: Easing.bezier(x1, y1, x2, y2) }),\n };\n });\n\n return <Animated.View style={[StyleSheet.absoluteFillObject, opacityStyle]}>{children}</Animated.View>;\n}\n","import type { ReactNode } from 'react';\nimport { useRef } from 'react';\nimport { useWindowDimensions } from 'react-native';\nimport Animated, { Easing, runOnJS, useAnimatedStyle, withTiming } from 'react-native-reanimated';\nimport { useTheme } from '../../KittThemeContext';\nimport type { FullscreenModalAnimationProps } from '../FullscreenModalAnimation';\n\nexport interface NativeSlideInAnimationProps {\n children: ReactNode;\n visible?: FullscreenModalAnimationProps['visible'];\n onEntered?: FullscreenModalAnimationProps['onEntered'];\n onExited: () => void;\n}\n\nexport function NativeSlideInAnimation({\n visible,\n children,\n onEntered,\n onExited,\n}: NativeSlideInAnimationProps): ReactNode {\n const theme = useTheme();\n const { height: wHeight } = useWindowDimensions();\n const hasRunAnimationRef = useRef(false);\n\n function handleAnimationFinished(): void {\n if (visible) {\n if (onEntered) onEntered();\n hasRunAnimationRef.current = true;\n }\n\n // Since animation callback is called on component mount, we must make sure that the animation has been runed once to call it an exit\n if (!visible && hasRunAnimationRef.current) onExited();\n }\n\n const translateStyle = useAnimatedStyle(() => {\n const { duration, easing } = theme.kitt.fullscreenModal.animation.content;\n const [x1, y1, x2, y2] = easing;\n\n return {\n transform: [\n {\n translateY: withTiming(\n visible ? 0 : wHeight,\n { duration, easing: Easing.bezier(x1, y1, x2, y2) },\n (isFinished) => {\n if (!isFinished) return;\n runOnJS(handleAnimationFinished)();\n },\n ),\n },\n ],\n };\n });\n\n return (\n <Animated.View style={[{ transform: [{ translateY: wHeight }] }, translateStyle, { width: '100%', flex: 1 }]}>\n {children}\n </Animated.View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { useEffect, useState } from 'react';\nimport { Modal, Platform } from 'react-native';\nimport type { ModalAnimationComponentProps } from '../ModalBehaviour/type';\nimport { Overlay } from '../Overlay/Overlay';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\nimport { NativeOpacityAnimation } from './components/NativeOpacityAnimation';\nimport { NativeSlideInAnimation } from './components/NativeSlideInAnimation';\n\nexport interface FullscreenModalAnimationProps extends ViewProps, ModalAnimationComponentProps {\n children: ReactNode;\n}\n\nexport function FullscreenModalAnimation({\n visible,\n children,\n onEnter,\n onEntered,\n onExit,\n onExited,\n}: FullscreenModalAnimationProps): ReactNode {\n const [isModalVisible, setIsModalVisible] = useState(visible);\n const [isContentVisible, setIsContentVisible] = useState(false);\n\n const handleAnimationExited = (): void => {\n setIsModalVisible(false);\n // Android doesn't handle the onDismiss callback on the modal, we need to call it manually\n if (Platform.OS === 'android' && onExited) onExited();\n };\n\n // When parent visibility is set to false, in order to have our exit animation we must in this order :\n // 1 - run the exit animation\n // 2 - once it is done, unmount the Modal\n useEffect(() => {\n const shouldHideContent = !visible && isContentVisible;\n\n if (!shouldHideContent) return;\n\n if (onExit) onExit();\n setIsContentVisible(false);\n }, [visible, isContentVisible, onExit]);\n\n return (\n <Modal\n transparent\n supportedOrientations={['landscape', 'portrait']}\n visible={isModalVisible}\n onShow={() => {\n if (onEnter) onEnter();\n setIsContentVisible(true);\n }}\n onDismiss={() => {\n if (onExited) onExited();\n }}\n >\n <View position=\"relative\" flexGrow={1} justifyContent=\"center\" alignItems=\"center\">\n <NativeOpacityAnimation visible={isContentVisible}>\n <Overlay onPress={handleAnimationExited} />\n </NativeOpacityAnimation>\n <NativeSlideInAnimation visible={isContentVisible} onExited={handleAnimationExited} onEntered={onEntered}>\n <View flexGrow={1}>{children}</View>\n </NativeSlideInAnimation>\n </View>\n </Modal>\n );\n}\n","import type { ReactNode } from 'react';\nimport { useEffect, useState } from 'react';\nimport type { ModalBehaviourProps } from '../ModalBehaviour/ModalBehaviour';\nimport { ModalBehaviour } from '../ModalBehaviour/ModalBehaviour';\nimport type { FullscreenModalAnimationProps } from './FullscreenModalAnimation';\nimport { FullscreenModalAnimation } from './FullscreenModalAnimation';\n\nexport interface FullscreenModalBehaviourProps extends FullscreenModalAnimationProps {\n onClose: ModalBehaviourProps['onClose'];\n}\n\nexport function FullscreenModalBehaviour({\n children,\n visible,\n onClose,\n onExited,\n ...props\n}: FullscreenModalBehaviourProps): ReactNode {\n const [isModalBehaviourVisible, setIsModalBehaviourVisible] = useState(visible);\n\n useEffect(() => {\n if (visible === true) {\n setIsModalBehaviourVisible(true);\n }\n }, [visible]);\n\n const handleExitAnimationDone = (): void => {\n if (onExited) onExited();\n setIsModalBehaviourVisible(false);\n };\n\n return (\n <ModalBehaviour visible={isModalBehaviourVisible} onClose={onClose}>\n <FullscreenModalAnimation {...props} visible={visible} onExited={handleExitAnimationDone}>\n {children}\n </FullscreenModalAnimation>\n </ModalBehaviour>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\n\nexport interface FullscreenModalContainerProps {\n backgroundColor?: ViewProps['backgroundColor'];\n children?: ReactNode;\n}\n\nexport function FullscreenModalContainer({ children, backgroundColor }: FullscreenModalContainerProps): ReactNode {\n return (\n <View\n position=\"relative\"\n flexGrow={1}\n flexShrink={1}\n flexBasis=\"100%\"\n /*\n Here we are setting the same min and max height because on web the content was overflowing and not scrolling\n minHeight is needed to make the modal fullscreen\n maxHeight limits the height to the viewport when the content is too long, this allows us to scroll inside\n We use svh instead of vh because vh is the total height of the viewport, including the address bar in mobile web browsers\n */\n _web={{ minHeight: '100svh', maxHeight: '100svh' }}\n backgroundColor={backgroundColor ?? 'kitt.uiBackgroundLight'}\n >\n {children}\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\nimport type { Except } from 'type-fest';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\nimport { Typography } from '../typography/Typography';\n\ninterface BaseHeaderProps extends Except<ViewProps, 'left' | 'right'> {\n left?: ReactNode;\n right?: ReactNode;\n hasSeparator?: boolean;\n isTransparent?: boolean;\n shouldHandleTopNotch?: boolean;\n}\n\ninterface TitledHeaderProps extends BaseHeaderProps {\n title?: ReactNode;\n children?: never;\n}\n\ninterface ComponentHeaderProps extends BaseHeaderProps {\n title?: never;\n children?: ReactNode;\n}\n\nexport type FullscreenModalHeaderProps = TitledHeaderProps | ComponentHeaderProps;\n\nexport function FullscreenModalHeader({\n hasSeparator = true,\n isTransparent,\n title,\n children,\n right,\n left,\n shouldHandleTopNotch = true,\n ...props\n}: FullscreenModalHeaderProps): ReactNode {\n const { top } = useSafeAreaInsets();\n const hasRight = Boolean(right);\n const hasLeft = Boolean(left);\n const hasContent = Boolean(title || children);\n\n return (\n <View\n backgroundColor={isTransparent ? 'kitt.transparent' : 'kitt.uiBackgroundLight'}\n minHeight=\"kitt.fullscreenModal.header.height\"\n width=\"100%\"\n justifyContent=\"center\"\n paddingTop={shouldHandleTopNotch ? top : undefined}\n paddingRight={hasRight ? 'kitt.2' : 'kitt.fullscreenModal.horizontalPadding'}\n paddingLeft={hasLeft ? 'kitt.2' : 'kitt.fullscreenModal.horizontalPadding'}\n borderBottomColor=\"kitt.separator\"\n borderBottomWidth={hasSeparator ? 1 : undefined}\n {...props}\n >\n <View\n flexDirection=\"row\"\n alignItems=\"center\"\n justifyContent={!hasContent && !hasLeft ? 'flex-end' : 'space-between'}\n >\n {left ? <View width=\"kitt.iconButton.width\">{left}</View> : null}\n\n {title ? (\n <View\n flexGrow={1}\n flexShrink={1}\n paddingLeft={hasLeft ? 'kitt.2' : undefined}\n paddingRight={hasRight ? 'kitt.2' : 0}\n >\n <Typography.Text variant=\"bold\" textAlign={!hasLeft && hasRight ? 'left' : 'center'}>\n {title}\n </Typography.Text>\n </View>\n ) : null}\n\n {children ? (\n <View\n flexGrow={1}\n flexShrink={1}\n alignItems=\"center\"\n paddingLeft={hasLeft ? 'kitt.2' : undefined}\n paddingRight={hasRight ? 'kitt.2' : undefined}\n >\n {children}\n </View>\n ) : null}\n\n {right || left ? <View width=\"kitt.iconButton.width\">{right}</View> : null}\n </View>\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { ScrollView } from 'react-native';\nimport type { ViewProps } from '..';\nimport { View } from '../native-base/primitives';\nimport { FullscreenModalBody } from './Body';\nimport { FullscreenModalFooter } from './Footer';\nimport { FullscreenModalBehaviour } from './FullscreenModalBehaviour';\nimport { FullscreenModalContainer } from './FullscreenModalContainer';\nimport { FullscreenModalHeader } from './Header';\n\nexport interface BaseFullscreenModalProps {\n backgroundColor?: ViewProps['backgroundColor'];\n}\n\ninterface BaseFullscreenModalPropsWithChildren extends BaseFullscreenModalProps {\n children: ReactNode;\n header?: never;\n footer?: never;\n body?: never;\n}\n\ninterface BaseFullscreenModalPropsWithoutChildren extends BaseFullscreenModalProps {\n children?: never;\n /** @deprecated use `FullscreenModal.Header` as `children` instead */\n header?: ReactNode;\n /** @deprecated use `FullscreenModal.Footer` as `children` instead */\n footer?: ReactNode;\n /** @deprecated use `FullscreenModal.Body` as `children` instead */\n body: ReactNode;\n}\n\nexport type FullscreenModalProps = BaseFullscreenModalPropsWithChildren | BaseFullscreenModalPropsWithoutChildren;\n\nexport function FullscreenModal({ children, body, header, footer, backgroundColor }: FullscreenModalProps): ReactNode {\n return (\n <FullscreenModalContainer backgroundColor={backgroundColor}>\n {children || (\n <>\n {header ? <View>{header}</View> : null}\n <View flexGrow={1} flexShrink={1} justifyContent=\"space-between\">\n <ScrollView bounces={false} contentContainerStyle={{ flexGrow: 1, position: 'relative' }}>\n {body}\n </ScrollView>\n {footer || null}\n </View>\n </>\n )}\n </FullscreenModalContainer>\n );\n}\n\nFullscreenModal.Header = FullscreenModalHeader;\nFullscreenModal.Footer = FullscreenModalFooter;\nFullscreenModal.Body = FullscreenModalBody;\nFullscreenModal.ModalBehaviour = FullscreenModalBehaviour;\n","import type { ReactElement, ReactNode } from 'react';\nimport { Children, cloneElement } from 'react';\nimport { type TagProps } from '../Tag/Tag';\nimport { HStack } from '../native-base/layout';\nimport { View } from '../native-base/primitives';\n\nexport interface GroupTagsProps extends Pick<TagProps, 'size'> {\n children: ReactNode;\n}\n\nexport function GroupTags({ children, size }: GroupTagsProps): ReactNode {\n if (!children) return null;\n\n const childrenArray = Children.toArray(children) as ReactElement<TagProps>[];\n\n return (\n <HStack alignItems=\"center\">\n {childrenArray.map((tag, index) => {\n // According to design specs, only the first tag can display an icon\n const shouldShowIcon = index === 0;\n\n const clonedTagWithBorder = cloneElement(tag, {\n withWhiteBorder: true,\n size,\n icon: shouldShowIcon ? tag.props.icon : undefined,\n });\n\n return (\n <View\n // eslint-disable-next-line react/no-array-index-key\n key={index}\n marginLeft={index === 0 ? 0 : '-kitt.1'}\n flexShrink={1}\n zIndex={childrenArray.length - index}\n >\n {clonedTagWithBorder}\n </View>\n );\n })}\n </HStack>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { ViewStyle } from 'react-native';\nimport type { AnimateStyle } from 'react-native-reanimated';\nimport Animated from 'react-native-reanimated';\n\nexport interface AnimatedCaretProps {\n children: ReactNode;\n isHovered: boolean;\n isExpanded: boolean;\n animatedStyles?: AnimateStyle<ViewStyle>;\n}\n\nexport function AnimatedCaret({ children, animatedStyles }: AnimatedCaretProps): ReactNode {\n return <Animated.View style={[animatedStyles]}>{children}</Animated.View>;\n}\n","import { useSx } from 'native-base';\nimport type { ReactNode } from 'react';\nimport type { ViewStyle } from 'react-native';\nimport type { AnimateStyle } from 'react-native-reanimated';\nimport Animated from 'react-native-reanimated';\nimport { useTheme } from '../../KittThemeContext';\nimport type { HighlightSize, HighlightVariant } from '../Highlight';\n\nexport interface AnimatedContainerProps {\n children: ReactNode;\n size: HighlightSize;\n animatedStyles?: AnimateStyle<ViewStyle>;\n isHovered: boolean;\n variant: HighlightVariant;\n}\n\nexport function AnimatedContainer({ children, size, animatedStyles }: AnimatedContainerProps): ReactNode {\n const sx = useSx();\n const theme = useTheme();\n\n const styles = sx({\n borderRadius: theme.kitt.highlight.borderRadius,\n padding: theme.kitt.highlight.padding[size],\n });\n\n return <Animated.View style={[styles, animatedStyles]}>{children}</Animated.View>;\n}\n","import type { ReactNode } from 'react';\nimport type { ViewStyle } from 'react-native';\nimport type { AnimateStyle } from 'react-native-reanimated';\nimport Animated from 'react-native-reanimated';\n\nexport interface AnimatedContentProps {\n children: ReactNode;\n isExpanded: boolean;\n isInitialRender: boolean;\n contentHeight: number;\n animatedStyles?: AnimateStyle<ViewStyle>;\n}\n\nexport function AnimatedContent({ children, animatedStyles }: AnimatedContentProps): ReactNode {\n return <Animated.View style={[{ overflow: 'hidden' }, animatedStyles]}>{children}</Animated.View>;\n}\n","import type { ViewStyle } from 'react-native';\nimport type { AnimateStyle } from 'react-native-reanimated';\nimport { Easing, interpolateColor, useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';\nimport { useTheme } from '../../KittThemeContext';\nimport type { HighlightVariant } from '../Highlight';\n\nexport interface UseNativeAnimationOptions {\n variant: HighlightVariant;\n isExpanded: boolean;\n isInitialRender: boolean;\n contentHeight: number;\n}\n\nexport interface NativeAnimation {\n onPressIn?: () => void;\n onPressOut?: () => void;\n containerAnimatedStyles: AnimateStyle<ViewStyle>;\n caretAnimatedStyles: AnimateStyle<ViewStyle>;\n contentAnimatedStyles: AnimateStyle<ViewStyle>;\n}\n\nconst withTimingConfig = {\n duration: 100,\n easing: Easing.ease,\n};\n\nexport const useNativeAnimation = ({\n variant,\n isExpanded,\n isInitialRender,\n contentHeight,\n}: UseNativeAnimationOptions): NativeAnimation => {\n const theme = useTheme();\n const color = useSharedValue(0);\n const rotation = useSharedValue(0);\n const translate = useSharedValue(0);\n\n const containerAnimatedStyles = useAnimatedStyle(() => {\n return {\n backgroundColor: interpolateColor(\n color.value,\n [0, 1],\n [theme.kitt.highlight[variant].default.backgroundColor, theme.kitt.highlight[variant].hover.backgroundColor],\n ),\n };\n });\n\n const caretAnimatedStyles = useAnimatedStyle(() => {\n rotation.value = withTiming(isExpanded ? 180 : 0, {\n duration: 300,\n easing: Easing.ease,\n });\n\n return {\n transform: [\n {\n rotate: `${rotation.value}deg`,\n },\n {\n translateY: translate.value,\n },\n ],\n };\n });\n\n const contentAnimatedStyles = useAnimatedStyle(() => {\n return {\n height: withTiming(isExpanded ? contentHeight : 0, {\n duration: isInitialRender ? 0 : 300,\n easing: Easing.ease,\n }),\n };\n });\n\n const handleHoverIn = (): void => {\n color.value = withTiming(1, withTimingConfig);\n translate.value = withTiming(2, withTimingConfig);\n };\n\n const handleHoverOut = (): void => {\n color.value = withTiming(0, withTimingConfig);\n translate.value = withTiming(0, withTimingConfig);\n };\n\n return {\n onPressIn: handleHoverIn,\n onPressOut: handleHoverOut,\n containerAnimatedStyles,\n caretAnimatedStyles,\n contentAnimatedStyles,\n };\n};\n","import { CaretDownRegularIcon } from '@ornikar/kitt-icons/phosphor';\nimport { type ReactNode, useState } from 'react';\nimport type { LayoutChangeEvent } from 'react-native';\nimport { useTheme } from '../KittThemeContext';\nimport { HStack } from '../native-base/layout';\nimport { Pressable, View } from '../native-base/primitives';\nimport { Typography } from '../typography/Typography';\nimport { TypographyIcon } from '../typography/TypographyIcon';\nimport { AnimatedCaret } from './AnimatedCaret/AnimatedCaret';\nimport { AnimatedContainer } from './AnimatedContainer/AnimatedContainer';\nimport { AnimatedContent } from './AnimatedContent/AnimatedContent';\nimport { useNativeAnimation } from './hooks/useNativeAnimation';\n\ntype DeprecatedHighlightVariant = 'regular';\n\nexport type HighlightSize = 'medium' | 'large';\nexport type HighlightVariant =\n | 'primary'\n | 'secondary'\n | 'dark'\n | DeprecatedHighlightVariant\n | 'ghost'\n | 'success'\n | 'warning';\n\nexport interface HighlightProps {\n variant?: HighlightVariant;\n canCollapse?: boolean;\n isInitialCollapsed?: boolean;\n title?: string;\n icon?: ReactNode;\n size?: HighlightSize;\n children?: ReactNode;\n}\n\nexport function Highlight({\n variant = 'primary',\n canCollapse = false,\n isInitialCollapsed = true,\n title,\n icon = null,\n size = 'medium',\n children,\n}: HighlightProps): ReactNode {\n const theme = useTheme();\n\n const [isExpanded, setIsExpanded] = useState(!isInitialCollapsed);\n const [contentHeight, setContentHeight] = useState(0);\n const [isInitialRender, setIsInitialRender] = useState(true);\n\n const highlightStyle = {\n medium: {\n marginBottom: 'kitt.1',\n spaceBetween: 'kitt.2',\n contentMarginY: 8,\n },\n large: {\n marginBottom: 'kitt.2',\n spaceBetween: 'kitt.4',\n contentMarginY: 16,\n },\n };\n\n const { containerAnimatedStyles, caretAnimatedStyles, contentAnimatedStyles, onPressIn, onPressOut } =\n useNativeAnimation({\n variant,\n isExpanded,\n isInitialRender,\n contentHeight,\n });\n\n const handlePress = (): void => {\n setIsExpanded(!isExpanded);\n setIsInitialRender(false);\n };\n\n const handleLayout = (event: LayoutChangeEvent): void => {\n const layoutHeight = event.nativeEvent.layout.height;\n const newContentHeight = layoutHeight + highlightStyle[size].contentMarginY;\n\n if (layoutHeight > 0 && newContentHeight !== contentHeight) {\n setContentHeight(newContentHeight);\n }\n };\n\n if (!canCollapse) {\n return (\n <View\n borderRadius=\"kitt.highlight.borderRadius\"\n padding={theme.kitt.highlight.padding[size]}\n backgroundColor={`kitt.highlight.${variant}.default.backgroundColor`}\n >\n <HStack space={highlightStyle[size].spaceBetween}>\n {icon && <View>{icon}</View>}\n <View flexGrow={1} flexShrink={1}>\n {title && (\n <View marginBottom={highlightStyle[size].marginBottom}>\n <Typography.Text variant=\"bold\" base=\"body\" ellipsizeMode=\"clip\">\n {title}\n </Typography.Text>\n </View>\n )}\n {children}\n </View>\n </HStack>\n </View>\n );\n }\n\n return (\n <Pressable onPress={handlePress} onPressIn={onPressIn} onPressOut={onPressOut}>\n {({ isHovered }) => {\n return (\n <AnimatedContainer\n isHovered={isHovered}\n size={size}\n variant={variant}\n animatedStyles={containerAnimatedStyles}\n >\n {title && (\n <HStack space={highlightStyle[size].spaceBetween} alignItems=\"center\">\n {icon && <View flexGrow={1}>{icon}</View>}\n <View flexGrow={1} flexShrink={1} width=\"100%\">\n <Typography.Text variant=\"bold\" base=\"body\" ellipsizeMode=\"clip\">\n {title}\n </Typography.Text>\n </View>\n <View flexGrow={2} flexShrink={2} alignItems=\"center\" justifyContent=\"center\">\n <AnimatedCaret isHovered={isHovered} isExpanded={isExpanded} animatedStyles={caretAnimatedStyles}>\n <TypographyIcon icon={<CaretDownRegularIcon />} />\n </AnimatedCaret>\n </View>\n </HStack>\n )}\n <AnimatedContent\n isExpanded={isExpanded}\n isInitialRender={isInitialRender}\n contentHeight={contentHeight}\n animatedStyles={contentAnimatedStyles}\n >\n <View marginTop={highlightStyle[size].contentMarginY} position=\"absolute\" onLayout={handleLayout}>\n {children}\n </View>\n </AnimatedContent>\n </AnimatedContainer>\n );\n }}\n </Pressable>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\nimport type { IconButtonColor } from './IconButton';\n\nfunction getBackgroundColor(color: IconButtonColor, isDisabled?: boolean): string {\n if (isDisabled) {\n return 'kitt.iconButton.disabled.backgroundColor';\n }\n\n switch (color) {\n case 'primary':\n return 'kitt.iconButton.primary.pressed.backgroundColor';\n case 'primary-plain':\n return 'kitt.iconButton.primary-plain.pressed.backgroundColor';\n case 'ghost':\n return 'kitt.iconButton.ghost.pressed.backgroundColor';\n case 'black':\n default:\n return 'kitt.iconButton.black.pressed.backgroundColor';\n }\n}\n\ninterface BackgroundProps extends ViewProps {\n color: IconButtonColor;\n isDisabled?: boolean;\n _web?: Partial<ViewProps>;\n}\n\nexport function Background({ color, isDisabled, ...props }: BackgroundProps): ReactNode {\n return (\n <View\n {...props}\n width=\"100%\"\n height=\"100%\"\n borderRadius=\"kitt.iconButton.borderRadius\"\n backgroundColor={getBackgroundColor(color, isDisabled)}\n />\n );\n}\n","import type { ReactNode } from 'react';\nimport Animated from 'react-native-reanimated';\nimport { useSx } from '../native-base/utils';\nimport { Background } from './Background';\nimport type { IconButtonColor } from './IconButton';\nimport type { UseNativeAnimation } from './hooks/useNativeAnimation';\n\nexport interface AnimatedBackgroundProps {\n color: IconButtonColor;\n isHovered?: boolean;\n isPressed?: boolean;\n isFocused?: boolean;\n isDisabled?: boolean;\n opacityStyles?: UseNativeAnimation['opacityStyles'];\n}\n\nexport function AnimatedBackground({ color, isDisabled, opacityStyles }: AnimatedBackgroundProps): ReactNode {\n const sx = useSx();\n\n const currentOpacityStyles = isDisabled ? { opacity: 1 } : opacityStyles;\n\n const styles = sx({\n position: 'absolute',\n top: 0,\n left: 0,\n width: '100%',\n height: '100%',\n });\n\n return (\n <Animated.View style={[styles, currentOpacityStyles]}>\n <Background color={color} isDisabled={isDisabled} />\n </Animated.View>\n );\n}\n","import type { ReactNode } from 'react';\nimport Animated from 'react-native-reanimated';\nimport { useSx } from '../native-base/utils';\nimport type { UseNativeAnimation } from './hooks/useNativeAnimation';\n\nexport interface AnimatedScaleProps {\n children: ReactNode;\n isHovered?: boolean;\n isPressed?: boolean;\n isFocused?: boolean;\n isDisabled?: boolean;\n scaleStyles?: UseNativeAnimation['scaleStyles'];\n}\n\nexport function AnimatedScale({ isDisabled, scaleStyles, children }: AnimatedScaleProps): ReactNode {\n const sx = useSx();\n\n const currentOpacityStyles = isDisabled ? { transform: [{ scale: 1 }] } : scaleStyles;\n\n const styles = sx({\n position: 'relative',\n alignItems: 'center',\n justifyContent: 'center',\n width: '100%',\n height: '100%',\n });\n\n return <Animated.View style={[styles, currentOpacityStyles]}>{children}</Animated.View>;\n}\n","import { useAnimatedStyle, useSharedValue, withSpring } from 'react-native-reanimated';\nimport { useTheme } from '../../KittThemeContext';\n\nexport interface UseNativeAnimationParams {\n isDisabled?: boolean;\n isPressed?: boolean;\n}\n\nexport interface UseNativeAnimation {\n opacityStyles?: { opacity: number };\n scaleStyles?: {\n transform: {\n scale: number;\n }[];\n };\n onPressIn: () => void;\n onPressOut: () => void;\n}\n\nexport function useNativeAnimation({ isPressed }: UseNativeAnimationParams): UseNativeAnimation {\n const theme = useTheme();\n const pressed = useSharedValue(!!isPressed);\n\n const opacityStyles = useAnimatedStyle(() => {\n return {\n opacity: withSpring(pressed.value ? 1 : 0),\n };\n });\n\n const scaleStyles = useAnimatedStyle(() => {\n return {\n transform: [\n {\n scale: withSpring(\n pressed.value ? theme.kitt.iconButton.scale.base.active : theme.kitt.iconButton.scale.base.default,\n ),\n },\n ],\n };\n });\n\n const handlePressIn = (): void => {\n pressed.value = true;\n };\n\n const handlePressOut = (): void => {\n pressed.value = false;\n };\n\n return {\n opacityStyles,\n scaleStyles,\n onPressIn: handlePressIn,\n onPressOut: handlePressOut,\n };\n}\n","import type { IconButtonColor } from '../IconButton';\n\nexport const getIconButtonBackgroundColor = (color: IconButtonColor, disabled?: boolean): string | undefined => {\n if (disabled) {\n return undefined;\n }\n\n switch (color) {\n case 'primary-plain':\n return 'kitt.iconButton.primary-plain.backgroundColor';\n case 'secondary':\n return 'kitt.iconButton.secondary.backgroundColor';\n default:\n return undefined;\n }\n};\n","import type { TypographyColor } from '../../typography/Typography';\nimport type { IconButtonColor } from '../IconButton';\n\nexport const getIconButtonTextColorByColor = (color: IconButtonColor, disabled?: boolean): TypographyColor => {\n if (disabled) {\n return 'black-light';\n }\n\n switch (color) {\n case 'ghost':\n return 'white';\n case 'primary-plain':\n return 'white';\n case 'secondary':\n return 'black';\n default:\n return color;\n }\n};\n","import { XRegularIcon } from '@ornikar/kitt-icons/phosphor';\nimport type { ReactElement, ReactNode } from 'react';\nimport type { Except } from 'type-fest';\nimport { ButtonBadge } from '../ButtonBadge/ButtonBadge';\nimport type { PressableProps } from '../native-base/primitives';\nimport { Pressable, View } from '../native-base/primitives';\nimport { TypographyIcon } from '../typography/TypographyIcon';\nimport { AnimatedBackground } from './AnimatedBackground';\nimport { AnimatedScale } from './AnimatedScale';\nimport { useNativeAnimation } from './hooks/useNativeAnimation';\nimport { getIconButtonBackgroundColor } from './utils/getIconButtonBackgroundColor';\nimport { getIconButtonTextColorByColor } from './utils/getIconButtonTextColorByColor';\n\nexport type IconButtonColor = 'black' | 'ghost' | 'primary' | 'primary-plain' | 'secondary';\n\nexport interface IconButtonProps {\n icon: ReactElement<any>;\n color?: IconButtonColor;\n disabled?: boolean;\n testID?: string;\n ariaLabel?: PressableProps['aria-label'];\n accessibilityRole?: PressableProps['accessibilityRole'];\n withBadge?: boolean;\n badgeCount?: number;\n /** @internal for story purpose */\n isHoveredInternal?: boolean;\n /** @internal for story purpose */\n isPressedInternal?: boolean;\n /** @internal for story purpose */\n isFocusedInternal?: boolean;\n onPress?: () => void;\n}\n\nexport function IconButton({\n icon,\n color = 'black',\n disabled,\n testID,\n ariaLabel,\n accessibilityRole = 'button',\n withBadge,\n badgeCount,\n isHoveredInternal,\n isPressedInternal,\n isFocusedInternal,\n onPress,\n}: IconButtonProps): ReactNode {\n const { onPressIn, onPressOut, opacityStyles, scaleStyles } = useNativeAnimation({\n isDisabled: disabled,\n isPressed: isPressedInternal,\n });\n\n return (\n <Pressable\n testID={testID}\n disabled={disabled}\n width=\"kitt.iconButton.width\"\n height=\"kitt.iconButton.height\"\n aria-label={ariaLabel}\n accessibilityRole={accessibilityRole}\n _web={{\n style: {\n backfaceVisibility: 'hidden',\n transform: 'translate3d(0px)',\n },\n }}\n backgroundColor={getIconButtonBackgroundColor(color, disabled)}\n borderRadius=\"kitt.iconButton.borderRadius\"\n borderColor={disabled ? 'kitt.iconButton.disabled.borderColor' : 'kitt.iconButton.borderColor'}\n borderWidth={disabled ? 'kitt.iconButton.borderWidth' : 0}\n onPress={onPress}\n onPressIn={onPressIn}\n onPressOut={onPressOut}\n >\n {({ isHovered, isPressed, isFocused }) => {\n const isCurrentHovered = isHovered || isHoveredInternal;\n const isCurrentPressed = isPressed || isPressedInternal;\n const isCurrentFocused = isFocused || isFocusedInternal;\n\n return (\n <>\n <AnimatedScale\n isDisabled={disabled}\n isHovered={isCurrentHovered}\n isPressed={isCurrentPressed}\n scaleStyles={scaleStyles}\n >\n <AnimatedBackground\n color={color}\n isDisabled={disabled}\n isHovered={isCurrentHovered}\n isPressed={isCurrentPressed}\n isFocused={isCurrentFocused}\n opacityStyles={opacityStyles}\n />\n <View alignItems=\"center\" justifyContent=\"center\">\n <TypographyIcon color={getIconButtonTextColorByColor(color, disabled)} icon={icon} />\n </View>\n </AnimatedScale>\n {withBadge || (badgeCount && badgeCount > 0) ? (\n <View position=\"absolute\" top={withBadge ? '1px' : '-6px'} right={withBadge ? '1px' : '-6px'}>\n <ButtonBadge withBadge={withBadge} badgeCount={badgeCount} />\n </View>\n ) : null}\n </>\n );\n }}\n </Pressable>\n );\n}\n\nexport function CloseIconButton(props: Except<IconButtonProps, 'icon'>): ReactNode {\n return <IconButton icon={<XRegularIcon />} {...props} />;\n}\n","import { CaretRightRegularIcon } from '@ornikar/kitt-icons/phosphor';\nimport { HStack, Image, View } from 'native-base';\nimport type { ReactNode } from 'react';\nimport { Pressable } from 'react-native';\nimport { Button } from '../Button/Button';\nimport { Icon } from '../Icon/Icon';\nimport type { HStackProps } from '../native-base/layout';\nimport { Typography } from '../typography/Typography';\n\nexport interface InfoCardAction {\n label: string;\n url: string;\n}\n\nexport interface InfoCardProps {\n title: ReactNode;\n action?: InfoCardAction;\n isContrastReversed?: boolean;\n backgroundColor: HStackProps['backgroundColor'];\n imageUrl: string;\n imageAlt?: string;\n slug?: string;\n onPress?: () => void;\n showIconButton?: boolean;\n}\n\nexport function InfoCard({\n title,\n action,\n imageUrl,\n imageAlt = 'info',\n isContrastReversed,\n backgroundColor,\n slug,\n onPress,\n showIconButton,\n}: InfoCardProps): ReactNode {\n const textColor = isContrastReversed ? 'white' : undefined;\n const isPressable = !!action && showIconButton;\n\n const actionElement = showIconButton ? (\n <Icon color={textColor} icon={<CaretRightRegularIcon />} />\n ) : (\n <View>\n <Button type={isContrastReversed ? 'subtle-revert' : 'subtle-dark'} onPress={onPress}>\n {action?.label}\n </Button>\n </View>\n );\n\n const view = (\n <HStack\n testID={slug ? `shared.components.InfoCard.${slug}` : undefined}\n alignItems=\"center\"\n backgroundColor={backgroundColor}\n borderRadius=\"kitt.2\"\n padding=\"kitt.2\"\n space=\"kitt.4\"\n >\n <Image borderRadius=\"kitt.2\" size={72} src={imageUrl} alt={imageAlt} />\n\n <View flexGrow={1} flexShrink={1} flexBasis=\"auto\">\n <Typography.Text base=\"body-small\" medium=\"body\" style={{ userSelect: 'none' }} color={textColor}>\n {title}\n </Typography.Text>\n </View>\n\n {action ? actionElement : null}\n </HStack>\n );\n\n return isPressable ? <Pressable onPress={onPress}>{view}</Pressable> : view;\n}\n","import type { ReactNode } from 'react';\nimport { createContext, useMemo } from 'react';\n\nexport interface KittMapConfigProviderConfig {\n mapId: string;\n apiToken: string;\n}\n\nexport const KittMapConfigProviderContext = createContext<KittMapConfigProviderConfig | undefined>(undefined);\n\nexport interface KittMapProviderProps {\n mapId: string;\n apiToken: string;\n children: ReactNode;\n}\n\nexport function KittMapConfigProvider({ children, mapId, apiToken }: KittMapProviderProps): ReactNode {\n const providerValue = useMemo(\n () => ({\n mapId,\n apiToken,\n }),\n [mapId, apiToken],\n );\n\n return (\n <KittMapConfigProviderContext.Provider value={providerValue}>{children}</KittMapConfigProviderContext.Provider>\n );\n}\n","import { useContext } from 'react';\nimport type { KittMapConfigProviderConfig } from '../KittMapConfigProvider';\nimport { KittMapConfigProviderContext } from '../KittMapConfigProvider';\n\nexport function useKittMapConfig(): KittMapConfigProviderConfig {\n const context = useContext(KittMapConfigProviderContext);\n\n if (!context) {\n throw new Error('<KittMapConfigProvider> missing in the react tree');\n }\n\n return context;\n}\n","<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10.274 17.405A8.502 8.502 0 0 0 9 .5a8.5 8.5 0 1 0 1.274 16.905Z\" stroke=\"#fff\"/><circle cx=\"9\" cy=\"9\" r=\"3\" fill=\"#fff\"/></svg>","<svg width=\"34\" height=\"36\" viewBox=\"0 0 34 36\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M19.474 33.316C27.414 32.12 33.5 25.272 33.5 17 33.5 7.887 26.113.5 17 .5S.5 7.887.5 17c0 8.272 6.087 15.121 14.026 16.316.05.007.156.053.336.21.158.137.32.31.505.51l.055.06c.196.21.423.451.662.637.232.181.545.367.916.367s.684-.186.916-.367c.239-.186.465-.426.662-.638l.055-.059a7 7 0 0 1 .505-.51c.18-.157.287-.203.336-.21Z\" stroke=\"#fff\"/><path d=\"M24 22h-1v-5.778a1 1 0 0 0-.323-.737l-5-4.717a1 1 0 0 0-1.352-.007l-.008.007-4.994 4.717a1 1 0 0 0-.323.737V22h-1a.5.5 0 0 0 0 1h14a.5.5 0 0 0 0-1Zm-5.5 0h-3v-3a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v3Z\" fill=\"#fff\"/></svg>","<svg viewBox=\"0 0 42 44\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M24.074 41.27C33.938 39.788 41.5 31.278 41.5 21 41.5 9.678 32.322.5 21 .5S.5 9.678.5 21c0 10.277 7.562 18.787 17.426 20.27.098.016.254.093.484.293.203.176.409.398.64.646l.069.075c.246.265.523.559.812.784.283.22.647.432 1.069.432.422 0 .786-.212 1.069-.432.289-.225.566-.519.812-.784l.07-.075c.23-.248.437-.47.639-.646.23-.2.386-.277.484-.292Z\" stroke=\"#fff\"/><path d=\"M18.5 13.5a.624.624 0 0 1 .625-.625h3.75a.624.624 0 1 1 0 1.25h-3.75a.624.624 0 0 1-.625-.625Zm11.875 6.875a.624.624 0 0 1-.625.625h-.625v6.25a1.25 1.25 0 0 1-1.25 1.25H26a1.25 1.25 0 0 1-1.25-1.25V26h-7.5v1.25A1.25 1.25 0 0 1 16 28.5h-1.875a1.25 1.25 0 0 1-1.25-1.25V21h-.625a.624.624 0 1 1 0-1.25h.887l2.14-3.745a1.25 1.25 0 0 1 1.086-.63h9.274a1.25 1.25 0 0 1 1.086.63l2.14 3.745h.887a.624.624 0 0 1 .625.625Zm-12.5 2.5a.624.624 0 0 0-.625-.625H16a.624.624 0 1 0 0 1.25h1.25a.624.624 0 0 0 .625-.625Zm8.75 0A.624.624 0 0 0 26 22.25h-1.25a.624.624 0 1 0 0 1.25H26a.624.624 0 0 0 .625-.625Z\" fill=\"#fff\"/></svg>","<svg width=\"12\" height=\"4\" viewBox=\"0 0 12 4\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><ellipse cx=\"6\" cy=\"2\" rx=\"6\" ry=\"2\" fill=\"#000\" fill-opacity=\".25\"/></svg>","import type { ViewStyle } from 'react-native';\nimport { Easing, useAnimatedStyle, withTiming } from 'react-native-reanimated';\n\ninterface UseNativeAnimationOptions {\n isHovered?: boolean;\n isSelected?: boolean;\n}\n\nconst SCALE_DURATION = 300;\nconst TRANSLATE_Y_DURATION = 150;\n\nexport const useNativeAnimation = ({ isHovered, isSelected }: UseNativeAnimationOptions): ViewStyle => {\n const animatedStyles = useAnimatedStyle(() => {\n if (isHovered && !isSelected) {\n return {\n transform: [\n { translateY: withTiming(-4, { duration: TRANSLATE_Y_DURATION, easing: Easing.linear }) },\n { scale: withTiming(1, { duration: SCALE_DURATION }) },\n ],\n };\n }\n\n if (isSelected) {\n return {\n transform: [\n { translateY: withTiming(-10, { duration: TRANSLATE_Y_DURATION, easing: Easing.linear }) },\n { scale: withTiming(1.3, { duration: SCALE_DURATION }) },\n ],\n };\n }\n\n return {\n transform: [\n { translateY: withTiming(0, { duration: TRANSLATE_Y_DURATION, easing: Easing.linear }) },\n { scale: withTiming(1, { duration: SCALE_DURATION }) },\n ],\n };\n }, [isHovered, isSelected]);\n\n return animatedStyles;\n};\n","import { theme } from '../../themes/default';\n\ninterface GetBackgroundColorProps {\n isSelected: boolean | undefined;\n isHovered: boolean | undefined;\n variant: 'home' | 'meetingPoint' | 'closeMeetingPoint';\n}\n\nexport const getBackgroundColor = ({ isHovered, isSelected, variant }: GetBackgroundColorProps): string => {\n if (variant === 'home') {\n return isSelected || isHovered ? theme.mapMarker.home.selected : theme.mapMarker.home.default;\n }\n return isSelected || isHovered ? theme.mapMarker.meetingPoint.selected : theme.mapMarker.meetingPoint.default;\n};\n","import { Pressable, VStack, View, useSx } from 'native-base';\nimport type { ReactNode } from 'react';\nimport Animated from 'react-native-reanimated';\nimport { theme } from '../themes/default';\nimport ClosemeetingPointMarkerSvg from './assets/close-meeting-point-marker.inline.svg';\nimport HomeMarkerSvg from './assets/home-marker.inline.svg';\nimport MeetingPointMarkerSvg from './assets/meeting-point-marker.inline.svg';\nimport ShadowSvg from './assets/shadow.inline.svg';\nimport { useNativeAnimation } from './hooks/useNativeAnimation';\nimport { getBackgroundColor } from './utils/getBackgroundColor';\n\nexport enum MapMarkerVariantEnum {\n HOME = 'home',\n MEETING_POINT = 'meetingPoint',\n CLOSE_MEETING_POINT = 'closeMeetingPoint',\n}\n\nexport interface MapMarkerProps extends Omit<StaticMapMarkerProps, 'isHovered'> {\n onPress?: () => void;\n testID?: string;\n}\nexport interface StaticMapMarkerProps {\n isSelected?: boolean;\n isHovered?: boolean;\n variant: MapMarkerVariantEnum;\n}\n\nexport function StaticMapMarker({ variant, isHovered, isSelected }: StaticMapMarkerProps): ReactNode {\n const sx = useSx();\n const animatedStyle = useNativeAnimation({ isHovered, isSelected });\n\n const styles = sx({ color: getBackgroundColor({ isHovered, isSelected, variant }) });\n\n if (variant === MapMarkerVariantEnum.CLOSE_MEETING_POINT) {\n return <ClosemeetingPointMarkerSvg color={styles.color} />;\n }\n\n const svgWidth =\n variant === MapMarkerVariantEnum.HOME ? theme.mapMarker.home.svg.width : theme.mapMarker.meetingPoint.svg.width;\n\n const svgHeight =\n variant === MapMarkerVariantEnum.HOME ? theme.mapMarker.home.svg.height : theme.mapMarker.meetingPoint.svg.height;\n\n const containerWidth =\n variant === MapMarkerVariantEnum.HOME\n ? theme.mapMarker.home.container.width\n : theme.mapMarker.meetingPoint.container.width;\n\n const containerHeight =\n variant === MapMarkerVariantEnum.HOME\n ? theme.mapMarker.home.container.height\n : theme.mapMarker.meetingPoint.container.height;\n\n const { width: shadowWidth, height: shadowHeight } = theme.mapMarker.shadow;\n\n return (\n <VStack alignItems=\"center\" width={containerWidth} height={containerHeight}>\n <Animated.View style={animatedStyle}>\n {variant === MapMarkerVariantEnum.MEETING_POINT ? (\n <MeetingPointMarkerSvg width={svgWidth} height={svgHeight} color={styles.color} />\n ) : (\n <HomeMarkerSvg width={svgWidth} height={svgHeight} color={styles.color} />\n )}\n </Animated.View>\n <View position=\"absolute\" bottom={0} zIndex={-1} width={shadowWidth} height={shadowHeight}>\n <ShadowSvg width={shadowWidth} height={shadowHeight} />\n </View>\n </VStack>\n );\n}\n\nexport function MapMarker({ onPress, testID, ...props }: MapMarkerProps): ReactNode {\n return (\n <Pressable testID={testID} onPress={onPress}>\n {({ isHovered }) => <StaticMapMarker {...props} isHovered={isHovered} />}\n </Pressable>\n );\n}\n","import {\n CheckRegularIcon,\n InfoRegularIcon,\n WarningCircleRegularIcon,\n WarningRegularIcon,\n} from '@ornikar/kitt-icons/phosphor';\nimport type { ReactNode } from 'react';\nimport type { TypographyColor } from '../typography/Typography';\nimport type { MessageType } from './BaseMessage';\n\ninterface IconContentProps {\n type: MessageType;\n color: TypographyColor;\n}\n\nexport function IconContent({ type, color }: IconContentProps): ReactNode {\n switch (type) {\n case 'warning':\n return <WarningCircleRegularIcon color={color} />;\n case 'success':\n return <CheckRegularIcon color={color} />;\n case 'danger':\n return <WarningRegularIcon color={color} />;\n default:\n return <InfoRegularIcon color={color} />;\n }\n}\n","import type { IconButtonProps } from '../IconButton/IconButton';\nimport type { TypographyColor } from '../typography/Typography';\nimport type { MessageType } from './BaseMessage';\n\nexport const getColorByType = (type: MessageType): TypographyColor => {\n switch (type) {\n case 'success':\n case 'danger':\n case 'warning':\n default:\n return 'black';\n }\n};\n\nexport const getIconButtonColor = (messageType: MessageType): IconButtonProps['color'] => {\n switch (messageType) {\n case 'success':\n case 'danger':\n case 'warning':\n default:\n return 'black';\n }\n};\n","import type { ReactNode } from 'react';\nimport type { EdgeInsets } from 'react-native-safe-area-context';\nimport { Icon } from '../Icon/Icon';\nimport { CloseIconButton } from '../IconButton/IconButton';\nimport { HStack } from '../native-base/layout';\nimport { View } from '../native-base/primitives';\nimport { Typography } from '../typography/Typography';\nimport { IconContent } from './IconContent';\nimport { getColorByType, getIconButtonColor } from './helper';\n\nexport type MessageType = 'success' | 'warning' | 'danger' | 'info';\n\nexport interface BaseMessageProps {\n type?: MessageType;\n children: NonNullable<ReactNode>;\n /**\n * @internal for styling between Message and Notification\n */\n hasNoRadius?: boolean;\n centeredText?: boolean;\n insets?: EdgeInsets;\n onDismiss?: () => void;\n}\n\nexport function BaseMessage({\n type = 'info',\n children,\n hasNoRadius,\n centeredText,\n insets,\n onDismiss,\n}: BaseMessageProps): ReactNode {\n const color = getColorByType(type);\n\n return (\n <HStack\n alignItems=\"flex-start\"\n justifyContent=\"space-between\"\n minHeight=\"kitt.feedbackMessage.minHeight\"\n paddingTop={insets?.top}\n borderRadius={hasNoRadius ? undefined : 'kitt.5'}\n backgroundColor={`kitt.feedbackMessage.${type}.backgroundColor`}\n >\n <HStack\n flexGrow={1}\n flexShrink={1}\n alignSelf=\"center\"\n alignItems=\"flex-start\"\n paddingY=\"kitt.4\"\n paddingX=\"kitt.5\"\n >\n {centeredText ? null : (\n <View marginRight=\"kitt.5\">\n <Icon color={color} icon={<IconContent type={type} color={color} />} />\n </View>\n )}\n <Typography.Text\n flexGrow={1}\n flexShrink={1}\n textAlign={centeredText ? 'center' : 'left'}\n base=\"body\"\n color={color}\n >\n {children}\n </Typography.Text>\n </HStack>\n\n {onDismiss ? (\n <View alignItems=\"center\" marginTop={10} marginRight=\"kitt.2\" marginLeft=\"kitt.5\">\n <CloseIconButton color={getIconButtonColor(type)} onPress={onDismiss} />\n </View>\n ) : null}\n </HStack>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { BaseMessageProps } from '../BaseMessage/BaseMessage';\nimport { BaseMessage } from '../BaseMessage/BaseMessage';\n\nexport interface MessageProps extends BaseMessageProps {}\n\nexport function Message({\n type = 'info',\n children,\n hasNoRadius,\n centeredText,\n insets,\n onDismiss,\n}: MessageProps): ReactNode {\n return (\n <BaseMessage\n insets={insets}\n hasNoRadius={hasNoRadius}\n type={type}\n centeredText={centeredText}\n onDismiss={onDismiss}\n >\n {children}\n </BaseMessage>\n );\n}\n","import type { NativeBaseProviderProps } from 'native-base';\nimport { NativeBaseProvider, extendTheme } from 'native-base';\nimport type { ReactNode } from 'react';\nimport { useMemo } from 'react';\nimport { Platform } from 'react-native';\nimport type { KittTheme } from '..';\nimport { KittBreakpoints } from '../KittBreakpoints';\nimport { KittThemeContext } from '../KittThemeContext';\nimport type { Theme } from '../themes/default';\nimport { CurrentBreakpointProvider } from './CurrentBreakpointContext';\n\nexport type Enumerate<N, A extends number[] = []> = A['length'] extends N\n ? A[number]\n : Enumerate<N, [...A, A['length']]>;\n\ntype KittSize = `kitt.${Exclude<Enumerate<65>, 0>}`;\ntype KittNegativeSize = `-kitt.${Exclude<Enumerate<65>, 0>}`;\n\ntype KittScaleRecord = Record<KittSize, number>;\ntype KittNegativeScaleRecord = Record<KittNegativeSize, number>;\ninterface KittSizeRecord {\n positive: Partial<KittScaleRecord>;\n negative: Partial<KittNegativeScaleRecord>;\n}\n\nconst createKittSpaces = (theme: Theme): KittSizeRecord => {\n const MAX_SIZE = 64;\n const sizes: KittSizeRecord = {\n positive: {},\n negative: {},\n };\n for (let size = 1; size <= MAX_SIZE; size++) {\n sizes.positive[`kitt.${size}` as KittSize] = theme.getSpacing(size);\n sizes.negative[`-kitt.${size}` as KittNegativeSize] = -theme.getSpacing(size);\n }\n return sizes;\n};\n\n// reset native-base to be able to set size / space as a number\n// https://docs.nativebase.io/next/default-theme#h2-size\nconst overridenNativeBaseSizeandSpaceScale = Object.fromEntries(\n [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64, 72, 80, 96, 0.5, 1.5, 2.5, 3.5].map((value) => [\n value,\n value,\n ]),\n);\n\nexport interface AppKittThemeExtensionsBreakpoints {}\nexport interface AppKittThemeExtensionsColors {}\nexport interface AppKittThemeExtensionsSizes {}\nexport interface AppKittThemeExtensionsSpace {}\nexport interface AppKittThemeExtensionsShadows {}\nexport interface AppKittThemeExtensionsOpacity {}\nexport interface AppKittThemeExtensionsBorderWidths {}\nexport interface AppKittThemeExtensionsRadii {}\n\nexport interface AppKittThemeExtensions {\n sizes: AppKittThemeExtensionsSpace;\n space: AppKittThemeExtensionsSpace;\n shadows: AppKittThemeExtensionsShadows;\n opacity: AppKittThemeExtensionsOpacity;\n borderWidths: AppKittThemeExtensionsBorderWidths;\n colors: AppKittThemeExtensionsColors;\n radii: AppKittThemeExtensionsRadii;\n breakpoints: AppKittThemeExtensionsBreakpoints;\n}\n\nexport type ExtensibleNativeBaseThemeKey =\n | 'sizes'\n | 'space'\n | 'shadows'\n | 'opacity'\n | 'borderWidths'\n | 'colors'\n | 'radii'\n | 'breakpoints';\n\nexport type ExtensibleNativeBaseAppThemeConfig = Partial<Record<ExtensibleNativeBaseThemeKey, Record<string, any>>>;\n\ntype ValidAppTheme<T> = T extends ExtensibleNativeBaseAppThemeConfig ? T : never;\n\nexport type AppTheme = Partial<ValidAppTheme<AppKittThemeExtensions>>;\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/explicit-function-return-type -- let typescript infer types\nexport function createKittNativeBaseCustomTheme(theme: Theme, appTheme?: AppTheme) {\n const spaces = createKittSpaces(theme);\n\n const appBreakpoints: AppKittThemeExtensionsBreakpoints =\n appTheme?.breakpoints || ({} as AppKittThemeExtensionsBreakpoints);\n\n const extendedTheme = extendTheme({\n colors: {\n kitt: {\n ...theme.colors,\n actionCard: {\n secondary: {\n default: {\n backgroundColor: theme.actionCard.secondary.default.backgroundColor,\n borderColor: theme.actionCard.secondary.default.borderColor,\n },\n disabled: {\n backgroundColor: theme.actionCard.secondary.disabled.backgroundColor,\n borderColor: theme.actionCard.secondary.disabled.borderColor,\n },\n hovered: {\n backgroundColor: theme.actionCard.secondary.hovered.backgroundColor,\n borderColor: theme.actionCard.secondary.hovered.borderColor,\n },\n focused: {\n backgroundColor: theme.actionCard.secondary.focused.backgroundColor,\n borderColor: theme.actionCard.secondary.focused.borderColor,\n },\n pressed: {\n backgroundColor: theme.actionCard.secondary.pressed.backgroundColor,\n borderColor: theme.actionCard.secondary.pressed.borderColor,\n },\n },\n primary: {\n default: {\n backgroundColor: theme.actionCard.primary.default.backgroundColor,\n borderColor: theme.actionCard.primary.default.borderColor,\n },\n disabled: {\n backgroundColor: theme.actionCard.primary.disabled.backgroundColor,\n borderColor: theme.actionCard.primary.disabled.borderColor,\n },\n hovered: {\n backgroundColor: theme.actionCard.primary.hovered.backgroundColor,\n borderColor: theme.actionCard.primary.hovered.borderColor,\n },\n focused: {\n backgroundColor: theme.actionCard.primary.focused.backgroundColor,\n borderColor: theme.actionCard.primary.focused.borderColor,\n },\n pressed: {\n backgroundColor: theme.actionCard.primary.pressed.backgroundColor,\n borderColor: theme.actionCard.primary.pressed.borderColor,\n },\n },\n 'primary-border-soft': {\n default: {\n backgroundColor: theme.actionCard['primary-border-soft'].default.backgroundColor,\n borderColor: theme.actionCard['primary-border-soft'].default.borderColor,\n },\n disabled: {\n backgroundColor: theme.actionCard['primary-border-soft'].disabled.backgroundColor,\n borderColor: theme.actionCard['primary-border-soft'].disabled.borderColor,\n },\n hovered: {\n backgroundColor: theme.actionCard['primary-border-soft'].hovered.backgroundColor,\n borderColor: theme.actionCard['primary-border-soft'].hovered.borderColor,\n },\n focused: {\n backgroundColor: theme.actionCard['primary-border-soft'].focused.backgroundColor,\n borderColor: theme.actionCard['primary-border-soft'].focused.borderColor,\n },\n pressed: {\n backgroundColor: theme.actionCard['primary-border-soft'].pressed.backgroundColor,\n borderColor: theme.actionCard['primary-border-soft'].pressed.borderColor,\n },\n },\n 'primary-border-hard': {\n default: {\n backgroundColor: theme.actionCard['primary-border-hard'].default.backgroundColor,\n borderColor: theme.actionCard['primary-border-hard'].default.borderColor,\n },\n disabled: {\n backgroundColor: theme.actionCard['primary-border-hard'].disabled.backgroundColor,\n borderColor: theme.actionCard['primary-border-hard'].disabled.borderColor,\n },\n hovered: {\n backgroundColor: theme.actionCard['primary-border-hard'].hovered.backgroundColor,\n borderColor: theme.actionCard['primary-border-hard'].hovered.borderColor,\n },\n focused: {\n backgroundColor: theme.actionCard['primary-border-hard'].focused.backgroundColor,\n borderColor: theme.actionCard['primary-border-hard'].focused.borderColor,\n },\n pressed: {\n backgroundColor: theme.actionCard['primary-border-hard'].pressed.backgroundColor,\n borderColor: theme.actionCard['primary-border-hard'].pressed.borderColor,\n },\n },\n highlight: {\n default: {\n backgroundColor: theme.actionCard.highlight.default.backgroundColor,\n borderColor: theme.actionCard.highlight.default.borderColor,\n },\n disabled: {\n backgroundColor: theme.actionCard.highlight.disabled.backgroundColor,\n borderColor: theme.actionCard.highlight.disabled.borderColor,\n },\n hovered: {\n backgroundColor: theme.actionCard.highlight.hovered.backgroundColor,\n borderColor: theme.actionCard.highlight.hovered.borderColor,\n },\n focused: {\n backgroundColor: theme.actionCard.highlight.focused.backgroundColor,\n borderColor: theme.actionCard.highlight.focused.borderColor,\n },\n pressed: {\n backgroundColor: theme.actionCard.highlight.pressed.backgroundColor,\n borderColor: theme.actionCard.highlight.pressed.borderColor,\n },\n },\n },\n avatar: {\n default: {\n color: theme.avatar.default.color,\n backgroundColor: theme.avatar.default.backgroundColor,\n },\n light: {\n color: theme.avatar.light.color,\n backgroundColor: theme.avatar.light.backgroundColor,\n },\n dark: {\n backgroundColor: theme.avatar.dark.backgroundColor,\n },\n disabled: {\n color: theme.avatar.disabled.color,\n backgroundColor: theme.avatar.disabled.backgroundColor,\n },\n },\n button: {\n default: theme.button.default,\n dark: theme.button.dark,\n primary: theme.button.primary,\n danger: theme.button.danger,\n subtle: theme.button.subtle,\n 'subtle-revert': theme.button['subtle-revert'],\n 'subtle-dark': theme.button['subtle-dark'],\n disabled: theme.button.disabled,\n },\n choices: {\n item: {\n default: {\n backgroundColor: theme.choices.item.backgroundColor.default,\n },\n disabled: {\n backgroundColor: theme.choices.item.backgroundColor.disabled,\n borderColor: theme.choices.item.disabled.border.color,\n },\n selected: {\n backgroundColor: theme.choices.item.backgroundColor.selected,\n },\n pressed: {\n backgroundColor: theme.choices.item.backgroundColor.pressed,\n },\n hover: {\n backgroundColor: theme.choices.item.backgroundColor.hover,\n },\n hoverWhenSelected: {\n backgroundColor: theme.choices.item.backgroundColor.hoverWhenSelected,\n },\n },\n },\n tooltip: {\n backgroundColor: theme.tooltip.backgroundColor,\n },\n typography: theme.typography.colors,\n palettes: theme.palettes,\n feedbackMessage: {\n danger: { backgroundColor: theme.feedbackMessage.danger.backgroundColor },\n info: { backgroundColor: theme.feedbackMessage.info.backgroundColor },\n success: { backgroundColor: theme.feedbackMessage.success.backgroundColor },\n warning: { backgroundColor: theme.feedbackMessage.warning.backgroundColor },\n },\n forms: {\n autocomplete: {\n option: {\n default: { backgroundColor: theme.forms.autocomplete.option.default.backgroundColor },\n hovered: { backgroundColor: theme.forms.autocomplete.option.hovered.backgroundColor },\n focused: { backgroundColor: theme.forms.autocomplete.option.focused.backgroundColor },\n selected: { backgroundColor: theme.forms.autocomplete.option.selected.backgroundColor },\n highlighted: { backgroundColor: theme.forms.autocomplete.option.highlighted.backgroundColor },\n pressed: { backgroundColor: theme.forms.autocomplete.option.pressed.backgroundColor },\n },\n optionsContainer: {\n backgroundColor: theme.forms.autocomplete.optionsContainer.backgroundColor,\n },\n },\n input: {\n states: theme.forms.input.states,\n },\n inputTag: {\n danger: {\n backgroundColor: theme.forms.inputTag.danger.backgroundColor,\n },\n default: {\n backgroundColor: theme.forms.inputTag.default.backgroundColor,\n },\n success: {\n backgroundColor: theme.forms.inputTag.success.backgroundColor,\n },\n },\n radioButtonGroup: {\n item: {\n borderColor: theme.forms.radioButtonGroup.item.borderColor,\n backgroundColor: theme.forms.radioButtonGroup.item.backgroundColor,\n },\n },\n checkbox: {\n markColor: theme.forms.checkbox.markColor,\n checked: {\n backgroundColor: theme.forms.checkbox.checked.backgroundColor,\n borderColor: theme.forms.checkbox.checked.borderColor,\n },\n hover: {\n backgroundColor: theme.forms.checkbox.hover.backgroundColor,\n borderColor: theme.forms.checkbox.hover.borderColor,\n },\n pressed: {\n backgroundColor: theme.forms.checkbox.pressed.backgroundColor,\n borderColor: theme.forms.checkbox.pressed.borderColor,\n },\n focus: {\n backgroundColor: theme.forms.checkbox.focus.backgroundColor,\n borderColor: theme.forms.checkbox.focus.borderColor,\n },\n default: {\n backgroundColor: theme.forms.checkbox.default.backgroundColor,\n borderColor: theme.forms.checkbox.default.borderColor,\n },\n },\n toggle: {\n primary: {\n enabled: {\n default: {\n backgroundColor: {\n checked: theme.forms.toggle.primary.enabled.default.backgroundColor.checked,\n unchecked: theme.forms.toggle.primary.enabled.default.backgroundColor.unchecked,\n },\n border: {\n color: theme.forms.toggle.primary.enabled.default.border.color,\n },\n wrapperBorder: {\n color: theme.forms.toggle.primary.enabled.default.wrapperBorder.color,\n },\n labelColor: theme.forms.toggle.primary.enabled.default.labelColor,\n circle: {\n backgroundColor: theme.forms.toggle.primary.enabled.default.circle.backgroundColor,\n },\n },\n hovered: {\n backgroundColor: {\n checked: theme.forms.toggle.primary.enabled.hovered.backgroundColor.checked,\n unchecked: theme.forms.toggle.primary.enabled.hovered.backgroundColor.unchecked,\n },\n border: {\n color: theme.forms.toggle.primary.enabled.hovered.border.color,\n },\n wrapperBorder: {\n color: theme.forms.toggle.primary.enabled.hovered.wrapperBorder.color,\n },\n labelColor: theme.forms.toggle.primary.enabled.hovered.labelColor,\n circle: {\n backgroundColor: theme.forms.toggle.primary.enabled.hovered.circle.backgroundColor,\n },\n },\n focused: {\n backgroundColor: {\n checked: theme.forms.toggle.primary.enabled.focused.backgroundColor.checked,\n unchecked: theme.forms.toggle.primary.enabled.focused.backgroundColor.unchecked,\n },\n border: {\n color: theme.forms.toggle.primary.enabled.focused.border.color,\n },\n wrapperBorder: {\n color: theme.forms.toggle.primary.enabled.focused.wrapperBorder.color,\n },\n labelColor: theme.forms.toggle.primary.enabled.focused.labelColor,\n circle: {\n backgroundColor: theme.forms.toggle.primary.enabled.focused.circle.backgroundColor,\n },\n },\n pressed: {\n backgroundColor: {\n checked: theme.forms.toggle.primary.enabled.pressed.backgroundColor.checked,\n unchecked: theme.forms.toggle.primary.enabled.pressed.backgroundColor.unchecked,\n },\n border: {\n color: theme.forms.toggle.primary.enabled.pressed.border.color,\n },\n wrapperBorder: {\n color: theme.forms.toggle.primary.enabled.pressed.wrapperBorder.color,\n },\n labelColor: theme.forms.toggle.primary.enabled.pressed.labelColor,\n circle: {\n backgroundColor: theme.forms.toggle.primary.enabled.pressed.circle.backgroundColor,\n },\n },\n },\n disabled: {\n default: {\n backgroundColor: {\n checked: theme.forms.toggle.primary.disabled.default.backgroundColor.checked,\n unchecked: theme.forms.toggle.primary.disabled.default.backgroundColor.unchecked,\n },\n border: {\n color: theme.forms.toggle.primary.disabled.default.border.color,\n },\n wrapperBorder: {\n color: theme.forms.toggle.primary.disabled.default.wrapperBorder.color,\n },\n labelColor: theme.forms.toggle.primary.disabled.default.labelColor,\n circle: {\n backgroundColor: theme.forms.toggle.primary.disabled.default.circle.backgroundColor,\n },\n },\n hovered: {\n backgroundColor: {\n checked: theme.forms.toggle.primary.disabled.hovered.backgroundColor.checked,\n unchecked: theme.forms.toggle.primary.disabled.hovered.backgroundColor.unchecked,\n },\n border: {\n color: theme.forms.toggle.primary.disabled.hovered.border.color,\n },\n wrapperBorder: {\n color: theme.forms.toggle.primary.disabled.hovered.wrapperBorder.color,\n },\n labelColor: theme.forms.toggle.primary.disabled.hovered.labelColor,\n circle: {\n backgroundColor: theme.forms.toggle.primary.disabled.hovered.circle.backgroundColor,\n },\n },\n focused: {\n backgroundColor: {\n checked: theme.forms.toggle.primary.disabled.focused.backgroundColor.checked,\n unchecked: theme.forms.toggle.primary.disabled.focused.backgroundColor.unchecked,\n },\n border: {\n color: theme.forms.toggle.primary.disabled.focused.border.color,\n },\n wrapperBorder: {\n color: theme.forms.toggle.primary.disabled.focused.wrapperBorder.color,\n },\n labelColor: theme.forms.toggle.primary.disabled.focused.labelColor,\n circle: {\n backgroundColor: theme.forms.toggle.primary.disabled.focused.circle.backgroundColor,\n },\n },\n pressed: {\n backgroundColor: {\n checked: theme.forms.toggle.primary.disabled.pressed.backgroundColor.checked,\n unchecked: theme.forms.toggle.primary.disabled.pressed.backgroundColor.unchecked,\n },\n border: {\n color: theme.forms.toggle.primary.disabled.pressed.border.color,\n },\n wrapperBorder: {\n color: theme.forms.toggle.primary.disabled.pressed.wrapperBorder.color,\n },\n labelColor: theme.forms.toggle.primary.disabled.pressed.labelColor,\n circle: {\n backgroundColor: theme.forms.toggle.primary.disabled.pressed.circle.backgroundColor,\n },\n },\n },\n },\n accent: {\n enabled: {\n default: {\n backgroundColor: {\n checked: theme.forms.toggle.accent.enabled.default.backgroundColor.checked,\n unchecked: theme.forms.toggle.accent.enabled.default.backgroundColor.unchecked,\n },\n border: {\n color: theme.forms.toggle.accent.enabled.default.border.color,\n },\n wrapperBorder: {\n color: theme.forms.toggle.accent.enabled.default.wrapperBorder.color,\n },\n labelColor: theme.forms.toggle.accent.enabled.default.labelColor,\n circle: {\n backgroundColor: theme.forms.toggle.accent.enabled.default.circle.backgroundColor,\n },\n },\n hovered: {\n backgroundColor: {\n checked: theme.forms.toggle.accent.enabled.hovered.backgroundColor.checked,\n unchecked: theme.forms.toggle.accent.enabled.hovered.backgroundColor.unchecked,\n },\n border: {\n color: theme.forms.toggle.accent.enabled.hovered.border.color,\n },\n wrapperBorder: {\n color: theme.forms.toggle.accent.enabled.hovered.wrapperBorder.color,\n },\n labelColor: theme.forms.toggle.accent.enabled.hovered.labelColor,\n circle: {\n backgroundColor: theme.forms.toggle.accent.enabled.hovered.circle.backgroundColor,\n },\n },\n focused: {\n backgroundColor: {\n checked: theme.forms.toggle.accent.enabled.focused.backgroundColor.checked,\n unchecked: theme.forms.toggle.accent.enabled.focused.backgroundColor.unchecked,\n },\n border: {\n color: theme.forms.toggle.accent.enabled.focused.border.color,\n },\n wrapperBorder: {\n color: theme.forms.toggle.accent.enabled.focused.wrapperBorder.color,\n },\n labelColor: theme.forms.toggle.accent.enabled.focused.labelColor,\n circle: {\n backgroundColor: theme.forms.toggle.accent.enabled.focused.circle.backgroundColor,\n },\n },\n pressed: {\n backgroundColor: {\n checked: theme.forms.toggle.accent.enabled.pressed.backgroundColor.checked,\n unchecked: theme.forms.toggle.accent.enabled.pressed.backgroundColor.unchecked,\n },\n border: {\n color: theme.forms.toggle.accent.enabled.pressed.border.color,\n },\n wrapperBorder: {\n color: theme.forms.toggle.accent.enabled.pressed.wrapperBorder.color,\n },\n labelColor: theme.forms.toggle.accent.enabled.pressed.labelColor,\n circle: {\n backgroundColor: theme.forms.toggle.primary.enabled.pressed.circle.backgroundColor,\n },\n },\n },\n disabled: {\n default: {\n backgroundColor: {\n checked: theme.forms.toggle.accent.disabled.default.backgroundColor.checked,\n unchecked: theme.forms.toggle.accent.disabled.default.backgroundColor.unchecked,\n },\n border: {\n color: theme.forms.toggle.accent.disabled.default.border.color,\n },\n wrapperBorder: {\n color: theme.forms.toggle.accent.disabled.default.wrapperBorder.color,\n },\n labelColor: theme.forms.toggle.accent.disabled.default.labelColor,\n circle: {\n backgroundColor: theme.forms.toggle.accent.disabled.default.circle.backgroundColor,\n },\n },\n hovered: {\n backgroundColor: {\n checked: theme.forms.toggle.accent.disabled.hovered.backgroundColor.checked,\n unchecked: theme.forms.toggle.accent.disabled.hovered.backgroundColor.unchecked,\n },\n border: {\n color: theme.forms.toggle.accent.disabled.hovered.border.color,\n },\n wrapperBorder: {\n color: theme.forms.toggle.accent.disabled.hovered.wrapperBorder.color,\n },\n labelColor: theme.forms.toggle.accent.disabled.hovered.labelColor,\n circle: {\n backgroundColor: theme.forms.toggle.accent.disabled.hovered.circle.backgroundColor,\n },\n },\n focused: {\n backgroundColor: {\n checked: theme.forms.toggle.accent.disabled.focused.backgroundColor.checked,\n unchecked: theme.forms.toggle.accent.disabled.focused.backgroundColor.unchecked,\n },\n border: {\n color: theme.forms.toggle.accent.disabled.focused.border.color,\n },\n wrapperBorder: {\n color: theme.forms.toggle.accent.disabled.focused.wrapperBorder.color,\n },\n labelColor: theme.forms.toggle.accent.disabled.focused.labelColor,\n circle: {\n backgroundColor: theme.forms.toggle.accent.disabled.focused.circle.backgroundColor,\n },\n },\n pressed: {\n backgroundColor: {\n checked: theme.forms.toggle.accent.disabled.pressed.backgroundColor.checked,\n unchecked: theme.forms.toggle.accent.disabled.pressed.backgroundColor.unchecked,\n },\n border: {\n color: theme.forms.toggle.accent.disabled.pressed.border.color,\n },\n wrapperBorder: {\n color: theme.forms.toggle.accent.disabled.pressed.wrapperBorder.color,\n },\n labelColor: theme.forms.toggle.accent.disabled.pressed.labelColor,\n circle: {\n backgroundColor: theme.forms.toggle.accent.disabled.pressed.circle.backgroundColor,\n },\n },\n },\n },\n },\n radio: {\n checked: {\n backgroundColor: theme.forms.radio.checked.backgroundColor,\n borderColor: theme.forms.radio.checked.borderColor,\n },\n hover: {\n backgroundColor: theme.forms.radio.hover.backgroundColor,\n borderColor: theme.forms.radio.hover.borderColor,\n },\n pressed: {\n backgroundColor: theme.forms.radio.pressed.backgroundColor,\n borderColor: theme.forms.radio.pressed.borderColor,\n },\n focus: {\n backgroundColor: theme.forms.radio.pressed.backgroundColor,\n borderColor: theme.forms.radio.pressed.borderColor,\n },\n disabled: {\n backgroundColor: theme.forms.radio.disabled.backgroundColor,\n borderColor: theme.forms.radio.disabled.borderColor,\n },\n default: {\n backgroundColor: theme.forms.radio.unchecked.backgroundColor,\n borderColor: theme.forms.radio.unchecked.borderColor,\n },\n innerCircle: {\n backgroundColor: theme.forms.radio.checked.innerBackgroundColor,\n },\n },\n },\n skeleton: {\n backgroundColor: theme.skeleton.backgroundColor,\n flareColor: theme.skeleton.flareColor,\n },\n buttonBadge: {\n backgroundColor: theme.buttonBadge.backgroundColor,\n },\n iconButton: {\n borderColor: theme.iconButton.borderColor,\n disabled: {\n borderColor: theme.iconButton.disabled.borderColor,\n backgroundColor: theme.iconButton.disabled.backgroundColor,\n },\n black: {\n pressed: {\n backgroundColor: theme.iconButton.default.pressedBackgroundColor,\n },\n },\n ghost: {\n pressed: {\n backgroundColor: theme.iconButton.ghost.pressedBackgroundColor,\n },\n },\n primary: {\n pressed: {\n backgroundColor: theme.iconButton.primary.pressedBackgroundColor,\n },\n },\n 'primary-plain': {\n pressed: {\n backgroundColor: theme.iconButton['primary-plain'].pressedBackgroundColor,\n },\n backgroundColor: theme.iconButton['primary-plain'].backgroundColor,\n },\n secondary: {\n pressed: {\n backgroundColor: theme.iconButton.secondary.pressedBackgroundColor,\n },\n backgroundColor: theme.iconButton.secondary.backgroundColor,\n },\n },\n highlight: {\n regular: {\n default: {\n backgroundColor: theme.highlight.regular.default.backgroundColor,\n },\n hover: {\n backgroundColor: theme.highlight.regular.hover.backgroundColor,\n },\n },\n primary: {\n default: {\n backgroundColor: theme.highlight.primary.default.backgroundColor,\n },\n hover: {\n backgroundColor: theme.highlight.primary.hover.backgroundColor,\n },\n },\n secondary: {\n default: {\n backgroundColor: theme.highlight.secondary.default.backgroundColor,\n },\n hover: {\n backgroundColor: theme.highlight.secondary.hover.backgroundColor,\n },\n },\n dark: {\n default: {\n backgroundColor: theme.highlight.dark.default.backgroundColor,\n },\n hover: {\n backgroundColor: theme.highlight.dark.hover.backgroundColor,\n },\n },\n ghost: {\n default: {\n backgroundColor: theme.highlight.ghost.default.backgroundColor,\n },\n hover: {\n backgroundColor: theme.highlight.ghost.hover.backgroundColor,\n },\n },\n success: {\n default: {\n backgroundColor: theme.highlight.success.default.backgroundColor,\n },\n hover: {\n backgroundColor: theme.highlight.success.hover.backgroundColor,\n },\n },\n warning: {\n default: {\n backgroundColor: theme.highlight.warning.default.backgroundColor,\n },\n hover: {\n backgroundColor: theme.highlight.warning.hover.backgroundColor,\n },\n },\n },\n verticalSteps: {\n active: {\n icon: {\n backgroundColor: theme.verticalSteps.active.icon.backgroundColor,\n textColor: theme.verticalSteps.active.icon.textColor,\n },\n },\n done: {\n icon: {\n backgroundColor: theme.verticalSteps.done.icon.backgroundColor,\n textColor: theme.verticalSteps.done.icon.textColor,\n },\n },\n default: {\n icon: {\n backgroundColor: theme.verticalSteps.default.icon.backgroundColor,\n textColor: theme.verticalSteps.default.icon.textColor,\n },\n },\n },\n listItem: {\n borderColor: theme.listItem.borderColor,\n },\n picker: {\n ios: {\n option: {\n selected: {\n color: theme.picker.ios.selected.color,\n },\n },\n },\n android: {\n option: {\n default: {\n backgroundColor: theme.picker.android.option.default.backgroundColor,\n },\n selected: {\n color: theme.picker.android.option.selected.color,\n backgroundColor: theme.picker.android.option.selected.backgroundColor,\n },\n },\n },\n web: {\n option: {\n default: { backgroundColor: theme.picker.web.option.default.backgroundColor },\n hovered: { backgroundColor: theme.picker.web.option.hovered.backgroundColor },\n focused: { backgroundColor: theme.picker.web.option.focused.backgroundColor },\n selected: { backgroundColor: theme.picker.web.option.selected.backgroundColor },\n highlighted: { backgroundColor: theme.picker.web.option.highlighted.backgroundColor },\n pressed: { backgroundColor: theme.picker.web.option.pressed.backgroundColor },\n },\n optionsContainer: {\n backgroundColor: theme.picker.web.optionsContainer.backgroundColor,\n },\n },\n },\n },\n app: appTheme?.colors,\n },\n radii: {\n // Make original native base values unusable\n lg: Number.MAX_SAFE_INTEGER,\n md: Number.MAX_SAFE_INTEGER,\n sm: Number.MAX_SAFE_INTEGER,\n xl: Number.MAX_SAFE_INTEGER,\n '2xl': Number.MAX_SAFE_INTEGER,\n '3xl': Number.MAX_SAFE_INTEGER,\n xs: Number.MAX_SAFE_INTEGER,\n\n // Allow values like kitt.X\n ...spaces.positive,\n\n kitt: {\n actionCard: {\n borderRadius: theme.actionCard.borderRadius,\n },\n avatar: {\n borderRadius: theme.avatar.borderRadius,\n large: {\n borderRadius: theme.avatar.large.borderRadius,\n },\n },\n borderRadius: theme.card.borderRadius,\n button: {\n borderRadius: theme.button.borderRadius,\n },\n buttonBadge: {\n borderRadius: theme.buttonBadge.borderRadius,\n },\n card: {\n borderRadius: theme.card.borderRadius,\n },\n cardModal: {\n borderRadius: theme.cardModal.borderRadius,\n },\n choices: {\n item: {\n borderRadius: theme.choices.item.borderRadius,\n },\n },\n dialogModal: {\n borderRadius: theme.dialogModal.borderRadius,\n },\n forms: {\n autocomplete: {\n optionsContainer: {\n borderRadius: theme.forms.autocomplete.optionsContainer.borderRadius,\n },\n },\n input: {\n borderRadius: theme.forms.input.borderRadius,\n },\n inputTag: {\n borderRadius: theme.forms.inputTag.borderRadius,\n },\n radioButtonGroup: {\n item: {\n borderRadius: theme.forms.radioButtonGroup.item.borderRadius,\n },\n },\n checkbox: {\n borderRadius: theme.forms.checkbox.borderRadius,\n },\n radio: {\n borderRadius: theme.forms.radio.size * 0.5,\n innerCircle: {\n borderRadius: theme.forms.radio.checked.innerSize * 0.5,\n },\n },\n },\n highlight: {\n borderRadius: theme.highlight.borderRadius,\n },\n iconButton: {\n borderRadius: theme.iconButton.borderRadius,\n },\n tag: {\n borderRadius: theme.tag.borderRadius,\n },\n tooltip: {\n borderRadius: theme.tooltip.borderRadius,\n },\n skeleton: {\n shape: {\n bar: {\n borderRadius: theme.skeleton.shape.bar.borderRadius,\n },\n circle: {\n borderRadius: theme.skeleton.shape.circle.borderRadius,\n },\n square: {\n borderRadius: theme.skeleton.shape.square.borderRadius,\n },\n },\n },\n picker: {\n web: {\n optionsContainer: {\n borderRadius: theme.picker.web.optionsContainer.borderRadius,\n },\n },\n },\n },\n app: appTheme?.radii,\n },\n borderWidths: {\n kitt: {\n actionCard: {\n secondary: {\n default: {\n borderWidth: theme.actionCard.secondary.default.borderWidth,\n },\n disabled: {\n borderWidth: theme.actionCard.secondary.disabled.borderWidth,\n },\n hovered: {\n borderWidth: theme.actionCard.secondary.hovered.borderWidth,\n },\n focused: {\n borderWidth: theme.actionCard.secondary.focused.borderWidth,\n },\n pressed: {\n borderWidth: theme.actionCard.secondary.pressed.borderWidth,\n },\n },\n primary: {\n default: {\n borderWidth: theme.actionCard.primary.default.borderWidth,\n },\n disabled: {\n borderWidth: theme.actionCard.primary.disabled.borderWidth,\n },\n hovered: {\n borderWidth: theme.actionCard.primary.hovered.borderWidth,\n },\n focused: {\n borderWidth: theme.actionCard.primary.focused.borderWidth,\n },\n pressed: {\n borderWidth: theme.actionCard.primary.pressed.borderWidth,\n },\n },\n 'primary-border-soft': {\n default: {\n borderWidth: theme.actionCard['primary-border-soft'].default.borderWidth,\n },\n disabled: {\n borderWidth: theme.actionCard['primary-border-soft'].disabled.borderWidth,\n },\n hovered: {\n borderWidth: theme.actionCard['primary-border-soft'].hovered.borderWidth,\n },\n focused: {\n borderWidth: theme.actionCard['primary-border-soft'].focused.borderWidth,\n },\n pressed: {\n borderWidth: theme.actionCard['primary-border-soft'].pressed.borderWidth,\n },\n },\n 'primary-border-hard': {\n default: {\n borderWidth: theme.actionCard['primary-border-hard'].default.borderWidth,\n },\n disabled: {\n borderWidth: theme.actionCard['primary-border-hard'].disabled.borderWidth,\n },\n hovered: {\n borderWidth: theme.actionCard['primary-border-hard'].hovered.borderWidth,\n },\n focused: {\n borderWidth: theme.actionCard['primary-border-hard'].focused.borderWidth,\n },\n pressed: {\n borderWidth: theme.actionCard['primary-border-hard'].pressed.borderWidth,\n },\n },\n highlight: {\n default: {\n borderWidth: theme.actionCard.highlight.default.borderWidth,\n },\n disabled: {\n borderWidth: theme.actionCard.highlight.disabled.borderWidth,\n },\n hovered: {\n borderWidth: theme.actionCard.highlight.hovered.borderWidth,\n },\n focused: {\n borderWidth: theme.actionCard.highlight.focused.borderWidth,\n },\n pressed: {\n borderWidth: theme.actionCard.highlight.pressed.borderWidth,\n },\n },\n },\n button: {\n borderWidth: theme.button.borderWidth,\n },\n choices: {\n item: {\n disabled: {\n borderWidth: theme.choices.item.disabled.border.width,\n },\n },\n },\n iconButton: {\n borderWidth: theme.iconButton.borderWidth,\n },\n forms: {\n input: {\n borderWidth: theme.forms.input.borderWidth,\n },\n radioButtonGroup: {\n item: {\n borderWidth: theme.forms.radioButtonGroup.item.borderWidth,\n },\n },\n checkbox: {\n borderWidth: theme.forms.checkbox.borderWidth,\n },\n radio: {\n borderWidth: theme.forms.radio.unchecked.borderWidth,\n },\n toggle: {\n primary: {\n enabled: {\n default: {\n border: {\n width: theme.forms.toggle.primary.enabled.default.border.width,\n },\n wrapperBorder: {\n width: theme.forms.toggle.primary.enabled.default.wrapperBorder.width,\n },\n },\n hovered: {\n border: {\n width: theme.forms.toggle.primary.enabled.hovered.border.width,\n },\n wrapperBorder: {\n width: theme.forms.toggle.primary.enabled.hovered.wrapperBorder.width,\n },\n },\n focused: {\n border: {\n width: theme.forms.toggle.primary.enabled.focused.border.width,\n },\n wrapperBorder: {\n width: theme.forms.toggle.primary.enabled.focused.wrapperBorder.width,\n },\n },\n pressed: {\n border: {\n width: theme.forms.toggle.primary.enabled.pressed.border.width,\n },\n wrapperBorder: {\n width: theme.forms.toggle.primary.enabled.pressed.wrapperBorder.width,\n },\n },\n },\n disabled: {\n default: {\n border: {\n width: theme.forms.toggle.primary.disabled.default.border.width,\n },\n wrapperBorder: {\n width: theme.forms.toggle.primary.disabled.default.wrapperBorder.width,\n },\n },\n hovered: {\n border: {\n width: theme.forms.toggle.primary.disabled.hovered.border.width,\n },\n wrapperBorder: {\n width: theme.forms.toggle.primary.disabled.hovered.wrapperBorder.width,\n },\n },\n focused: {\n border: {\n width: theme.forms.toggle.primary.disabled.focused.border.width,\n },\n wrapperBorder: {\n width: theme.forms.toggle.primary.disabled.focused.wrapperBorder.width,\n },\n },\n pressed: {\n border: {\n width: theme.forms.toggle.primary.disabled.pressed.border.width,\n },\n wrapperBorder: {\n width: theme.forms.toggle.primary.disabled.pressed.wrapperBorder.width,\n },\n },\n },\n },\n accent: {\n enabled: {\n default: {\n border: {\n width: theme.forms.toggle.accent.enabled.default.border.width,\n },\n wrapperBorder: {\n width: theme.forms.toggle.accent.enabled.default.wrapperBorder.width,\n },\n },\n hovered: {\n border: {\n width: theme.forms.toggle.accent.enabled.hovered.border.width,\n },\n wrapperBorder: {\n width: theme.forms.toggle.accent.enabled.hovered.wrapperBorder.width,\n },\n },\n focused: {\n border: {\n width: theme.forms.toggle.accent.enabled.focused.border.width,\n },\n wrapperBorder: {\n width: theme.forms.toggle.accent.enabled.focused.wrapperBorder.width,\n },\n },\n pressed: {\n border: {\n width: theme.forms.toggle.accent.enabled.pressed.border.width,\n },\n wrapperBorder: {\n width: theme.forms.toggle.accent.enabled.pressed.wrapperBorder.width,\n },\n },\n },\n disabled: {\n default: {\n border: {\n width: theme.forms.toggle.accent.disabled.default.border.width,\n },\n wrapperBorder: {\n width: theme.forms.toggle.accent.disabled.default.wrapperBorder.width,\n },\n },\n hovered: {\n border: {\n width: theme.forms.toggle.accent.disabled.hovered.border.width,\n },\n wrapperBorder: {\n width: theme.forms.toggle.accent.disabled.hovered.wrapperBorder.width,\n },\n },\n focused: {\n border: {\n width: theme.forms.toggle.accent.disabled.focused.border.width,\n },\n wrapperBorder: {\n width: theme.forms.toggle.accent.disabled.focused.wrapperBorder.width,\n },\n },\n pressed: {\n border: {\n width: theme.forms.toggle.accent.disabled.pressed.border.width,\n },\n wrapperBorder: {\n width: theme.forms.toggle.accent.disabled.pressed.wrapperBorder.width,\n },\n },\n },\n },\n },\n },\n cardModal: {\n header: {\n borderWidth: theme.cardModal.header.borderWidth,\n },\n footer: {\n borderWidth: theme.cardModal.footer.borderWidth,\n },\n },\n listItem: {\n borderWidth: theme.listItem.borderWidth,\n },\n tag: {\n fill: {\n borderWidth: theme.tag.fill.borderWidth,\n },\n outline: {\n borderWidth: theme.tag.outline.borderWidth,\n },\n contrast: {\n borderWidth: theme.tag.contrast.borderWidth,\n },\n },\n },\n app: appTheme?.borderWidths,\n },\n sizes: {\n ...spaces.positive,\n ...spaces.negative,\n ...overridenNativeBaseSizeandSpaceScale,\n kitt: {\n avatar: {\n size: theme.avatar.size,\n iconSize: theme.avatar.iconSize,\n large: {\n size: theme.avatar.large.size,\n iconSize: theme.avatar.large.iconSize,\n },\n },\n button: {\n minWidth: theme.button.minWidth,\n maxWidth: theme.button.maxWidth,\n minHeight: theme.button.minHeight,\n },\n buttonBadge: {\n dimensions: {\n withBadge: {\n width: theme.buttonBadge.dimensions.withBadge.width,\n height: theme.buttonBadge.dimensions.withBadge.height,\n },\n badgeCount: {\n width: theme.buttonBadge.dimensions.badgeCount.width,\n height: theme.buttonBadge.dimensions.badgeCount.height,\n },\n },\n },\n icon: theme.icon,\n cardModal: {\n header: {\n height: theme.cardModal.header.height,\n },\n maxWidth: theme.cardModal.maxWidth,\n maxWidthWithPadding: theme.cardModal.maxWidthWithPadding,\n minHeight: theme.cardModal.minHeight,\n },\n dialogModal: {\n maxWidth: theme.dialogModal.maxWidth,\n overlayPadding: theme.dialogModal.overlayPadding,\n },\n feedbackMessage: {\n minHeight: theme.feedbackMessage.minHeight,\n },\n forms: {\n autocomplete: {\n option: {\n minHeight: theme.forms.autocomplete.option.minHeight,\n },\n },\n datePicker: {\n minHeight: theme.forms.input.minHeight,\n day: {\n minWidth: theme.forms.datePicker.day.minWidth,\n },\n month: {\n minWidth: theme.forms.datePicker.month.minWidth,\n },\n year: {\n minWidth: theme.forms.datePicker.year.minWidth,\n },\n },\n input: {\n minHeight: theme.forms.input.minHeight,\n },\n radioButtonGroup: {\n item: {\n minHeight: theme.forms.radioButtonGroup.item.minHeight,\n },\n },\n checkbox: {\n height: theme.forms.checkbox.height,\n width: theme.forms.checkbox.width,\n iconSize: theme.forms.checkbox.iconSize,\n textSpacing: theme.forms.checkbox.textSpacing,\n },\n radio: {\n size: theme.forms.radio.size,\n innerCircle: {\n size: theme.forms.radio.checked.innerSize,\n },\n },\n textArea: {\n minHeight: theme.forms.textArea.minHeight,\n },\n timePicker: {\n minWidth: theme.forms.timePicker.minWidth,\n },\n toggle: {\n primary: {\n enabled: {\n default: {\n height: {\n medium: theme.forms.toggle.primary.enabled.default.height,\n large: theme.forms.toggle.primary.enabled.default.height,\n },\n width: {\n medium: theme.forms.toggle.primary.enabled.default.width,\n large: theme.forms.toggle.primary.enabled.default.width,\n },\n circle: {\n width: {\n medium: theme.forms.toggle.primary.enabled.default.circle.width.medium,\n large: theme.forms.toggle.primary.enabled.default.circle.width.large,\n },\n height: {\n medium: theme.forms.toggle.primary.enabled.default.circle.height.medium,\n large: theme.forms.toggle.primary.enabled.default.circle.height.large,\n },\n },\n },\n hovered: {\n height: theme.forms.toggle.primary.enabled.hovered.height,\n width: theme.forms.toggle.primary.enabled.hovered.width,\n circle: {\n width: {\n medium: theme.forms.toggle.primary.enabled.hovered.circle.width.medium,\n large: theme.forms.toggle.primary.enabled.hovered.circle.width.large,\n },\n height: {\n medium: theme.forms.toggle.primary.enabled.hovered.circle.height.medium,\n large: theme.forms.toggle.primary.enabled.hovered.circle.height.large,\n },\n },\n },\n focused: {\n height: theme.forms.toggle.primary.enabled.focused.height,\n width: theme.forms.toggle.primary.enabled.focused.width,\n circle: {\n width: {\n medium: theme.forms.toggle.primary.enabled.focused.circle.width.medium,\n large: theme.forms.toggle.primary.enabled.focused.circle.width.large,\n },\n height: {\n medium: theme.forms.toggle.primary.enabled.focused.circle.height.medium,\n large: theme.forms.toggle.primary.enabled.focused.circle.height.large,\n },\n },\n },\n pressed: {\n height: theme.forms.toggle.primary.enabled.pressed.height,\n width: theme.forms.toggle.primary.enabled.pressed.width,\n circle: {\n width: {\n medium: theme.forms.toggle.primary.enabled.pressed.circle.width.medium,\n large: theme.forms.toggle.primary.enabled.pressed.circle.width.large,\n },\n height: {\n medium: theme.forms.toggle.primary.enabled.pressed.circle.height.medium,\n large: theme.forms.toggle.primary.enabled.pressed.circle.height.large,\n },\n },\n },\n },\n disabled: {\n default: {\n height: theme.forms.toggle.primary.disabled.default.height,\n width: theme.forms.toggle.primary.disabled.default.width,\n circle: {\n width: {\n medium: theme.forms.toggle.primary.disabled.default.circle.width.medium,\n large: theme.forms.toggle.primary.disabled.default.circle.width.large,\n },\n height: {\n medium: theme.forms.toggle.primary.disabled.default.circle.height.medium,\n large: theme.forms.toggle.primary.disabled.default.circle.height.large,\n },\n },\n },\n hovered: {\n height: theme.forms.toggle.primary.disabled.hovered.height,\n width: theme.forms.toggle.primary.disabled.hovered.width,\n circle: {\n width: {\n medium: theme.forms.toggle.primary.disabled.hovered.circle.width.medium,\n large: theme.forms.toggle.primary.disabled.hovered.circle.width.large,\n },\n height: {\n medium: theme.forms.toggle.primary.disabled.hovered.circle.height.medium,\n large: theme.forms.toggle.primary.disabled.hovered.circle.height.large,\n },\n },\n },\n focused: {\n height: theme.forms.toggle.primary.disabled.focused.height,\n width: theme.forms.toggle.primary.disabled.focused.width,\n circle: {\n width: {\n medium: theme.forms.toggle.primary.disabled.focused.circle.width.medium,\n large: theme.forms.toggle.primary.disabled.focused.circle.width.large,\n },\n height: {\n medium: theme.forms.toggle.primary.disabled.focused.circle.height.medium,\n large: theme.forms.toggle.primary.disabled.focused.circle.height.large,\n },\n },\n },\n pressed: {\n height: theme.forms.toggle.primary.disabled.pressed.height,\n width: theme.forms.toggle.primary.disabled.pressed.width,\n circle: {\n width: {\n medium: theme.forms.toggle.primary.disabled.pressed.circle.width.medium,\n large: theme.forms.toggle.primary.disabled.pressed.circle.width.large,\n },\n height: {\n medium: theme.forms.toggle.primary.disabled.pressed.circle.height.medium,\n large: theme.forms.toggle.primary.disabled.pressed.circle.height.large,\n },\n },\n },\n },\n },\n accent: {\n enabled: {\n default: {\n height: theme.forms.toggle.accent.enabled.default.height,\n width: theme.forms.toggle.accent.enabled.default.width,\n circle: {\n width: {\n medium: theme.forms.toggle.accent.enabled.default.circle.width.medium,\n large: theme.forms.toggle.accent.enabled.default.circle.width.large,\n },\n height: {\n medium: theme.forms.toggle.accent.enabled.default.circle.height.medium,\n large: theme.forms.toggle.accent.enabled.default.circle.height.large,\n },\n },\n },\n hovered: {\n height: theme.forms.toggle.accent.enabled.hovered.height,\n width: theme.forms.toggle.accent.enabled.hovered.width,\n circle: {\n width: {\n medium: theme.forms.toggle.accent.enabled.hovered.circle.width.medium,\n large: theme.forms.toggle.accent.enabled.hovered.circle.width.large,\n },\n height: {\n medium: theme.forms.toggle.accent.enabled.hovered.circle.height.medium,\n large: theme.forms.toggle.accent.enabled.hovered.circle.height.large,\n },\n },\n },\n focused: {\n height: theme.forms.toggle.accent.enabled.focused.height,\n width: theme.forms.toggle.accent.enabled.focused.width,\n circle: {\n width: {\n medium: theme.forms.toggle.accent.enabled.focused.circle.width.medium,\n large: theme.forms.toggle.accent.enabled.focused.circle.width.large,\n },\n height: {\n medium: theme.forms.toggle.accent.enabled.focused.circle.height.medium,\n large: theme.forms.toggle.accent.enabled.focused.circle.height.large,\n },\n },\n },\n pressed: {\n height: theme.forms.toggle.accent.enabled.pressed.height,\n width: theme.forms.toggle.accent.enabled.pressed.width,\n circle: {\n width: {\n medium: theme.forms.toggle.accent.enabled.pressed.circle.width.medium,\n large: theme.forms.toggle.accent.enabled.pressed.circle.width.large,\n },\n height: {\n medium: theme.forms.toggle.accent.enabled.pressed.circle.height.medium,\n large: theme.forms.toggle.accent.enabled.pressed.circle.height.large,\n },\n },\n },\n },\n disabled: {\n default: {\n height: theme.forms.toggle.accent.disabled.default.height,\n width: theme.forms.toggle.accent.disabled.default.width,\n circle: {\n width: {\n medium: theme.forms.toggle.accent.disabled.default.circle.width.medium,\n large: theme.forms.toggle.accent.disabled.default.circle.width.large,\n },\n height: {\n medium: theme.forms.toggle.accent.disabled.default.circle.height.medium,\n large: theme.forms.toggle.accent.disabled.default.circle.height.large,\n },\n },\n },\n hovered: {\n height: theme.forms.toggle.accent.disabled.hovered.height,\n width: theme.forms.toggle.accent.disabled.hovered.width,\n circle: {\n width: {\n medium: theme.forms.toggle.accent.disabled.hovered.circle.width.medium,\n large: theme.forms.toggle.accent.disabled.hovered.circle.width.large,\n },\n height: {\n medium: theme.forms.toggle.accent.disabled.hovered.circle.height.medium,\n large: theme.forms.toggle.accent.disabled.hovered.circle.height.large,\n },\n },\n },\n focused: {\n height: theme.forms.toggle.accent.disabled.focused.height,\n width: theme.forms.toggle.accent.disabled.focused.width,\n circle: {\n width: {\n medium: theme.forms.toggle.accent.disabled.focused.circle.width.medium,\n large: theme.forms.toggle.accent.disabled.focused.circle.width.large,\n },\n height: {\n medium: theme.forms.toggle.accent.disabled.focused.circle.height.medium,\n large: theme.forms.toggle.accent.disabled.focused.circle.height.large,\n },\n },\n },\n pressed: {\n height: theme.forms.toggle.accent.disabled.pressed.height,\n width: theme.forms.toggle.accent.disabled.pressed.width,\n circle: {\n width: {\n medium: theme.forms.toggle.accent.disabled.pressed.circle.width.medium,\n large: theme.forms.toggle.accent.disabled.pressed.circle.width.large,\n },\n height: {\n medium: theme.forms.toggle.accent.disabled.pressed.circle.height.medium,\n large: theme.forms.toggle.accent.disabled.pressed.circle.height.large,\n },\n },\n },\n },\n },\n },\n },\n\n iconButton: {\n size: theme.iconButton.width - theme.iconButton.borderWidth,\n width: theme.iconButton.width,\n height: theme.iconButton.height,\n },\n fullscreenModal: {\n header: {\n height: theme.fullscreenModal.header.height,\n },\n },\n pageLoader: {\n size: theme.pageLoader.size,\n },\n tag: {\n small: {\n iconSize: theme.tag.icon.small,\n height: theme.tag.height.small,\n },\n medium: {\n iconSize: theme.tag.icon.medium,\n height: theme.tag.height.medium,\n },\n large: {\n iconSize: theme.tag.icon.large,\n height: theme.tag.height.large,\n },\n },\n tooltip: {\n maxWidth: theme.tooltip.maxWidth,\n arrow: {\n width: theme.tooltip.arrow.width,\n height: theme.tooltip.arrow.height,\n },\n },\n skeleton: {\n shape: {\n bar: {\n size: theme.skeleton.shape.bar.size,\n },\n circle: {\n size: theme.skeleton.shape.circle.size,\n },\n square: {\n size: theme.skeleton.shape.square.size,\n },\n },\n },\n picker: {\n maxWidthFixed: theme.picker.maxWidthFixed,\n\n ios: {\n default: {\n height: theme.picker.ios.default.height,\n },\n landscape: {\n height: theme.picker.ios.landscape.height,\n },\n },\n web: {\n option: {\n minHeight: theme.picker.web.option.minHeight,\n },\n },\n },\n },\n app: appTheme?.sizes,\n },\n space: {\n ...spaces.positive,\n ...spaces.negative,\n ...overridenNativeBaseSizeandSpaceScale,\n kitt: {\n bottomSheet: {\n container: {\n padding: theme.bottomSheet.container.padding,\n },\n },\n button: {\n padding: theme.button.padding,\n },\n cardModal: {\n overlayPadding: theme.cardModal.overlayPadding,\n },\n dialogModal: {\n overlayPadding: theme.dialogModal.overlayPadding,\n },\n forms: {\n autocomplete: {\n option: {\n verticalPadding: theme.forms.autocomplete.option.verticalPadding,\n },\n },\n datePicker: {\n padding: theme.forms.input.padding,\n },\n input: {\n padding: theme.forms.input.padding,\n },\n radioButtonGroup: {\n item: {\n padding: theme.forms.radioButtonGroup.item.padding,\n },\n },\n },\n fullscreenModal: {\n horizontalPadding: theme.fullscreenModal.sharedHorizontalPadding,\n body: {\n verticalPadding: theme.fullscreenModal.body.verticalPadding,\n },\n footer: {\n verticalPadding: theme.fullscreenModal.footer.verticalPadding,\n },\n },\n highlight: {\n medium: {\n padding: theme.highlight.padding.medium,\n },\n large: {\n padding: theme.highlight.padding.large,\n },\n },\n listItem: {\n verticalPadding: theme.listItem.verticalPadding,\n horizontalPadding: theme.listItem.horizontalPadding,\n },\n tag: {\n withoutIcon: {\n small: {\n paddingLeft: theme.tag.withoutIcon.small.paddingLeft,\n paddingRight: theme.tag.withoutIcon.small.paddingRight,\n },\n medium: {\n paddingLeft: theme.tag.withoutIcon.medium.paddingLeft,\n paddingRight: theme.tag.withoutIcon.medium.paddingRight,\n },\n large: {\n paddingLeft: theme.tag.withoutIcon.large.paddingLeft,\n paddingRight: theme.tag.withoutIcon.large.paddingRight,\n },\n },\n withIcon: {\n small: {\n paddingLeft: theme.tag.withIcon.small.paddingLeft,\n paddingRight: theme.tag.withIcon.small.paddingRight,\n },\n medium: {\n paddingLeft: theme.tag.withIcon.medium.paddingLeft,\n paddingRight: theme.tag.withIcon.medium.paddingRight,\n },\n large: {\n paddingLeft: theme.tag.withIcon.large.paddingLeft,\n paddingRight: theme.tag.withIcon.large.paddingRight,\n },\n },\n },\n toggle: {\n primary: {\n enabled: {\n default: {\n circle: {\n marginLeft: theme.forms.toggle.primary.enabled.default.circle.marginLeft,\n },\n },\n hovered: {\n circle: {\n marginLeft: theme.forms.toggle.primary.enabled.hovered.circle.marginLeft,\n },\n },\n focused: {\n circle: {\n marginLeft: theme.forms.toggle.primary.enabled.focused.circle.marginLeft,\n },\n },\n pressed: {\n circle: {\n marginLeft: theme.forms.toggle.primary.enabled.pressed.circle.marginLeft,\n },\n },\n },\n disabled: {\n default: {\n circle: {\n marginLeft: theme.forms.toggle.primary.disabled.default.circle.marginLeft,\n },\n },\n hovered: {\n circle: {\n marginLeft: theme.forms.toggle.primary.disabled.hovered.circle.marginLeft,\n },\n },\n focused: {\n circle: {\n marginLeft: theme.forms.toggle.primary.disabled.focused.circle.marginLeft,\n },\n },\n pressed: {\n circle: {\n marginLeft: theme.forms.toggle.primary.disabled.pressed.circle.marginLeft,\n },\n },\n },\n },\n accent: {\n enabled: {\n default: {\n circle: {\n marginLeft: theme.forms.toggle.accent.enabled.default.circle.marginLeft,\n },\n },\n hovered: {\n circle: {\n marginLeft: theme.forms.toggle.accent.enabled.hovered.circle.marginLeft,\n },\n },\n focused: {\n circle: {\n marginLeft: theme.forms.toggle.accent.enabled.focused.circle.marginLeft,\n },\n },\n pressed: {\n circle: {\n marginLeft: theme.forms.toggle.accent.enabled.pressed.circle.marginLeft,\n },\n },\n },\n disabled: {\n default: {\n circle: {\n marginLeft: theme.forms.toggle.accent.disabled.default.circle.marginLeft,\n },\n },\n hovered: {\n circle: {\n marginLeft: theme.forms.toggle.accent.disabled.hovered.circle.marginLeft,\n },\n },\n focused: {\n circle: {\n marginLeft: theme.forms.toggle.accent.disabled.focused.circle.marginLeft,\n },\n },\n pressed: {\n circle: {\n marginLeft: theme.forms.toggle.accent.disabled.pressed.circle.marginLeft,\n },\n },\n },\n },\n },\n tooltip: {\n horizontalPadding: theme.tooltip.horizontalPadding,\n verticalPadding: theme.tooltip.verticalPadding,\n floatingPadding: theme.tooltip.floatingPadding,\n },\n picker: {\n android: {\n option: {\n verticalPadding: theme.picker.android.option.verticalPadding,\n horizontalPadding: theme.picker.android.option.horizontalPadding,\n },\n },\n web: {\n option: {\n horizontalPadding: theme.picker.web.option.horizontalPadding,\n verticalPadding: theme.picker.web.option.verticalPadding,\n },\n },\n },\n },\n app: appTheme?.space,\n },\n breakpoints: {\n // kitt breakpoints\n base: KittBreakpoints.BASE,\n small: KittBreakpoints.SMALL,\n medium: KittBreakpoints.MEDIUM,\n large: KittBreakpoints.LARGE,\n wide: KittBreakpoints.WIDE,\n\n // native base default naming\n sm: Number.MAX_SAFE_INTEGER,\n md: Number.MAX_SAFE_INTEGER,\n lg: Number.MAX_SAFE_INTEGER,\n xl: Number.MAX_SAFE_INTEGER,\n '2xl': Number.MAX_SAFE_INTEGER,\n\n // Breakpoints can't be nested in objects\n ...appBreakpoints,\n },\n\n fontSizes: {\n baseAndSmall: {\n /* legacy */\n header1: `${theme.typography.types.headings.configs.header1.baseAndSmall.fontSize}px`,\n header2: `${theme.typography.types.headings.configs.header2.baseAndSmall.fontSize}px`,\n header3: `${theme.typography.types.headings.configs.header3.baseAndSmall.fontSize}px`,\n header4: `${theme.typography.types.headings.configs.header4.baseAndSmall.fontSize}px`,\n header5: `${theme.typography.types.headings.configs.header5.baseAndSmall.fontSize}px`,\n 'body-large': `${theme.typography.types.bodies.configs['body-large'].baseAndSmall.fontSize}px`,\n 'body-medium': `${theme.typography.types.bodies.configs['body-medium'].baseAndSmall.fontSize}px`,\n body: `${theme.typography.types.bodies.configs.body.baseAndSmall.fontSize}px`,\n 'body-small': `${theme.typography.types.bodies.configs['body-small'].baseAndSmall.fontSize}px`,\n 'body-xsmall': `${theme.typography.types.bodies.configs['body-xsmall'].baseAndSmall.fontSize}px`,\n 'header-impact-xxl': `${theme.typography.types['headings-impact'].configs['header-impact-xxl'].baseAndSmall.fontSize}px`,\n 'header-impact-xl': `${theme.typography.types['headings-impact'].configs['header-impact-xl'].baseAndSmall.fontSize}px`,\n 'header-impact-l': `${theme.typography.types['headings-impact'].configs['header-impact-l'].baseAndSmall.fontSize}px`,\n 'header-impact-m': `${theme.typography.types['headings-impact'].configs['header-impact-m'].baseAndSmall.fontSize}px`,\n 'header-impact-s': `${theme.typography.types['headings-impact'].configs['header-impact-s'].baseAndSmall.fontSize}px`,\n 'header-impact-xs': `${theme.typography.types['headings-impact'].configs['header-impact-xs'].baseAndSmall.fontSize}px`,\n 'header-impact-xxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxs'].baseAndSmall.fontSize}px`,\n 'header-impact-xxxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxxs'].baseAndSmall.fontSize}px`,\n /* latest */\n 'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].baseAndSmall.fontSize}px`,\n 'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].baseAndSmall.fontSize}px`,\n 'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].baseAndSmall.fontSize}px`,\n 'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].baseAndSmall.fontSize}px`,\n 'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].baseAndSmall.fontSize}px`,\n 'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].baseAndSmall.fontSize}px`,\n 'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].baseAndSmall.fontSize}px`,\n 'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].baseAndSmall.fontSize}px`,\n 'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].baseAndSmall.fontSize}px`,\n 'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].baseAndSmall.fontSize}px`,\n 'heading-l': `${theme.typography.types.headings.configs['heading-l'].baseAndSmall.fontSize}px`,\n 'heading-m': `${theme.typography.types.headings.configs['heading-m'].baseAndSmall.fontSize}px`,\n 'heading-s': `${theme.typography.types.headings.configs['heading-s'].baseAndSmall.fontSize}px`,\n 'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].baseAndSmall.fontSize}px`,\n 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].baseAndSmall.fontSize}px`,\n 'body-xl': `${theme.typography.types.bodies.configs['body-xl'].baseAndSmall.fontSize}px`,\n 'body-l': `${theme.typography.types.bodies.configs['body-l'].baseAndSmall.fontSize}px`,\n 'body-m': `${theme.typography.types.bodies.configs['body-m'].baseAndSmall.fontSize}px`,\n 'body-s': `${theme.typography.types.bodies.configs['body-s'].baseAndSmall.fontSize}px`,\n 'body-xs': `${theme.typography.types.bodies.configs['body-xs'].baseAndSmall.fontSize}px`,\n },\n mediumAndWide: {\n /* legacy */\n header1: `${theme.typography.types.headings.configs.header1.mediumAndWide.fontSize}px`,\n header2: `${theme.typography.types.headings.configs.header2.mediumAndWide.fontSize}px`,\n header3: `${theme.typography.types.headings.configs.header3.mediumAndWide.fontSize}px`,\n header4: `${theme.typography.types.headings.configs.header4.mediumAndWide.fontSize}px`,\n header5: `${theme.typography.types.headings.configs.header5.mediumAndWide.fontSize}px`,\n 'body-large': `${theme.typography.types.bodies.configs['body-large'].mediumAndWide.fontSize}px`,\n 'body-medium': `${theme.typography.types.bodies.configs['body-medium'].mediumAndWide.fontSize}px`,\n body: `${theme.typography.types.bodies.configs.body.mediumAndWide.fontSize}px`,\n 'body-small': `${theme.typography.types.bodies.configs['body-small'].mediumAndWide.fontSize}px`,\n 'body-xsmall': `${theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.fontSize}px`,\n 'header-impact-xxl': `${theme.typography.types['headings-impact'].configs['header-impact-xxl'].mediumAndWide.fontSize}px`,\n 'header-impact-xl': `${theme.typography.types['headings-impact'].configs['header-impact-xl'].mediumAndWide.fontSize}px`,\n 'header-impact-l': `${theme.typography.types['headings-impact'].configs['header-impact-l'].mediumAndWide.fontSize}px`,\n 'header-impact-m': `${theme.typography.types['headings-impact'].configs['header-impact-m'].mediumAndWide.fontSize}px`,\n 'header-impact-s': `${theme.typography.types['headings-impact'].configs['header-impact-s'].mediumAndWide.fontSize}px`,\n 'header-impact-xs': `${theme.typography.types['headings-impact'].configs['header-impact-xs'].mediumAndWide.fontSize}px`,\n 'header-impact-xxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxs'].mediumAndWide.fontSize}px`,\n 'header-impact-xxxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxxs'].mediumAndWide.fontSize}px`,\n /* latest */\n 'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].mediumAndWide.fontSize}px`,\n 'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].mediumAndWide.fontSize}px`,\n 'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].mediumAndWide.fontSize}px`,\n 'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].mediumAndWide.fontSize}px`,\n 'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].mediumAndWide.fontSize}px`,\n 'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].mediumAndWide.fontSize}px`,\n 'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].mediumAndWide.fontSize}px`,\n 'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].mediumAndWide.fontSize}px`,\n 'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].mediumAndWide.fontSize}px`,\n 'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].mediumAndWide.fontSize}px`,\n 'heading-l': `${theme.typography.types.headings.configs['heading-l'].mediumAndWide.fontSize}px`,\n 'heading-m': `${theme.typography.types.headings.configs['heading-m'].mediumAndWide.fontSize}px`,\n 'heading-s': `${theme.typography.types.headings.configs['heading-s'].mediumAndWide.fontSize}px`,\n 'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].mediumAndWide.fontSize}px`,\n 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].mediumAndWide.fontSize}px`,\n 'body-xl': `${theme.typography.types.bodies.configs['body-xl'].mediumAndWide.fontSize}px`,\n 'body-l': `${theme.typography.types.bodies.configs['body-l'].mediumAndWide.fontSize}px`,\n 'body-m': `${theme.typography.types.bodies.configs['body-m'].mediumAndWide.fontSize}px`,\n 'body-s': `${theme.typography.types.bodies.configs['body-s'].mediumAndWide.fontSize}px`,\n 'body-xs': `${theme.typography.types.bodies.configs['body-xs'].mediumAndWide.fontSize}px`,\n },\n },\n lineHeights: {\n baseAndSmall: {\n /* legacy */\n header1: theme.typography.types.headings.configs.header1.baseAndSmall.lineHeight,\n header2: theme.typography.types.headings.configs.header2.baseAndSmall.lineHeight,\n header3: theme.typography.types.headings.configs.header3.baseAndSmall.lineHeight,\n header4: theme.typography.types.headings.configs.header4.baseAndSmall.lineHeight,\n header5: theme.typography.types.headings.configs.header5.baseAndSmall.lineHeight,\n 'body-large': theme.typography.types.bodies.configs['body-large'].baseAndSmall.lineHeight,\n 'body-medium': theme.typography.types.bodies.configs['body-medium'].baseAndSmall.lineHeight,\n body: theme.typography.types.bodies.configs.body.baseAndSmall.lineHeight,\n 'body-small': theme.typography.types.bodies.configs['body-small'].baseAndSmall.lineHeight,\n 'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].baseAndSmall.lineHeight,\n 'header-impact-xxl':\n theme.typography.types['headings-impact'].configs['header-impact-xxl'].baseAndSmall.lineHeight,\n 'header-impact-xl':\n theme.typography.types['headings-impact'].configs['header-impact-xl'].baseAndSmall.lineHeight,\n 'header-impact-l': theme.typography.types['headings-impact'].configs['header-impact-l'].baseAndSmall.lineHeight,\n 'header-impact-m': theme.typography.types['headings-impact'].configs['header-impact-m'].baseAndSmall.lineHeight,\n 'header-impact-s': theme.typography.types['headings-impact'].configs['header-impact-s'].baseAndSmall.lineHeight,\n 'header-impact-xs':\n theme.typography.types['headings-impact'].configs['header-impact-xs'].baseAndSmall.lineHeight,\n 'header-impact-xxs':\n theme.typography.types['headings-impact'].configs['header-impact-xxs'].baseAndSmall.lineHeight,\n 'header-impact-xxxs':\n theme.typography.types['headings-impact'].configs['header-impact-xxxs'].baseAndSmall.lineHeight,\n /* latest */\n 'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].baseAndSmall.lineHeight}px`,\n 'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].baseAndSmall.lineHeight}px`,\n 'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].baseAndSmall.lineHeight}px`,\n 'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].baseAndSmall.lineHeight}px`,\n 'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].baseAndSmall.lineHeight}px`,\n 'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].baseAndSmall.lineHeight}px`,\n 'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].baseAndSmall.lineHeight}px`,\n 'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].baseAndSmall.lineHeight}px`,\n 'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].baseAndSmall.lineHeight}px`,\n 'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].baseAndSmall.lineHeight}px`,\n 'heading-l': `${theme.typography.types.headings.configs['heading-l'].baseAndSmall.lineHeight}px`,\n 'heading-m': `${theme.typography.types.headings.configs['heading-m'].baseAndSmall.lineHeight}px`,\n 'heading-s': `${theme.typography.types.headings.configs['heading-s'].baseAndSmall.lineHeight}px`,\n 'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].baseAndSmall.lineHeight}px`,\n 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].baseAndSmall.lineHeight}px`,\n 'body-xl': `${theme.typography.types.bodies.configs['body-xl'].baseAndSmall.lineHeight}px`,\n 'body-l': `${theme.typography.types.bodies.configs['body-l'].baseAndSmall.lineHeight}px`,\n 'body-m': `${theme.typography.types.bodies.configs['body-m'].baseAndSmall.lineHeight}px`,\n 'body-s': `${theme.typography.types.bodies.configs['body-s'].baseAndSmall.lineHeight}px`,\n 'body-xs': `${theme.typography.types.bodies.configs['body-xs'].baseAndSmall.lineHeight}px`,\n },\n mediumAndWide: {\n /* legacy */\n header1: theme.typography.types.headings.configs.header1.mediumAndWide.lineHeight,\n header2: theme.typography.types.headings.configs.header2.mediumAndWide.lineHeight,\n header3: theme.typography.types.headings.configs.header3.mediumAndWide.lineHeight,\n header4: theme.typography.types.headings.configs.header4.mediumAndWide.lineHeight,\n header5: theme.typography.types.headings.configs.header5.mediumAndWide.lineHeight,\n 'body-large': theme.typography.types.bodies.configs['body-large'].mediumAndWide.lineHeight,\n 'body-medium': theme.typography.types.bodies.configs['body-medium'].mediumAndWide.lineHeight,\n body: theme.typography.types.bodies.configs.body.mediumAndWide.lineHeight,\n 'body-small': theme.typography.types.bodies.configs['body-small'].mediumAndWide.lineHeight,\n 'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.lineHeight,\n 'header-impact-xxl':\n theme.typography.types['headings-impact'].configs['header-impact-xxl'].mediumAndWide.lineHeight,\n 'header-impact-xl':\n theme.typography.types['headings-impact'].configs['header-impact-xl'].mediumAndWide.lineHeight,\n 'header-impact-l':\n theme.typography.types['headings-impact'].configs['header-impact-l'].mediumAndWide.lineHeight,\n 'header-impact-m':\n theme.typography.types['headings-impact'].configs['header-impact-m'].mediumAndWide.lineHeight,\n 'header-impact-s':\n theme.typography.types['headings-impact'].configs['header-impact-s'].mediumAndWide.lineHeight,\n 'header-impact-xs':\n theme.typography.types['headings-impact'].configs['header-impact-xs'].mediumAndWide.lineHeight,\n 'header-impact-xxs':\n theme.typography.types['headings-impact'].configs['header-impact-xxs'].mediumAndWide.lineHeight,\n 'header-impact-xxxs':\n theme.typography.types['headings-impact'].configs['header-impact-xxxs'].mediumAndWide.lineHeight,\n /* latest */\n 'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].mediumAndWide.lineHeight}px`,\n 'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].mediumAndWide.lineHeight}px`,\n 'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].mediumAndWide.lineHeight}px`,\n 'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].mediumAndWide.lineHeight}px`,\n 'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].mediumAndWide.lineHeight}px`,\n 'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].mediumAndWide.lineHeight}px`,\n 'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].mediumAndWide.lineHeight}px`,\n 'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].mediumAndWide.lineHeight}px`,\n 'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].mediumAndWide.lineHeight}px`,\n 'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].mediumAndWide.lineHeight}px`,\n 'heading-l': `${theme.typography.types.headings.configs['heading-l'].mediumAndWide.lineHeight}px`,\n 'heading-m': `${theme.typography.types.headings.configs['heading-m'].mediumAndWide.lineHeight}px`,\n 'heading-s': `${theme.typography.types.headings.configs['heading-s'].mediumAndWide.lineHeight}px`,\n 'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].mediumAndWide.lineHeight}px`,\n 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].mediumAndWide.lineHeight}px`,\n 'body-xl': `${theme.typography.types.bodies.configs['body-xl'].mediumAndWide.lineHeight}px`,\n 'body-l': `${theme.typography.types.bodies.configs['body-l'].mediumAndWide.lineHeight}px`,\n 'body-m': `${theme.typography.types.bodies.configs['body-m'].mediumAndWide.lineHeight}px`,\n 'body-s': `${theme.typography.types.bodies.configs['body-s'].mediumAndWide.lineHeight}px`,\n 'body-xs': `${theme.typography.types.bodies.configs['body-xs'].mediumAndWide.lineHeight}px`,\n },\n },\n fontWeights: {\n headings: {\n regular: theme.typography.types.headings.fontWeight.regular,\n bold: theme.typography.types.headings.fontWeight.bold,\n },\n 'headings-impact': {\n regular: theme.typography.types['headings-impact'].fontWeight,\n bold: theme.typography.types['headings-impact'].fontWeight,\n },\n bodies: {\n regular: theme.typography.types.bodies.fontWeight.regular,\n // TODO [https://ornikar.atlassian.net/browse/CME-767] This quick fix should be replaced by a 700 in every case, and native font weights should be handled by expo-fonts\n bold: Platform.OS === 'android' ? 400 : theme.typography.types.bodies.fontWeight.bold,\n },\n },\n fonts: {\n headings:\n Platform.OS === 'web'\n ? theme.typography.types.headings.fontFamily.web\n : theme.typography.types.headings.fontFamily.native,\n 'headings-impact':\n Platform.OS === 'web'\n ? theme.typography.types['headings-impact'].fontFamily.web\n : theme.typography.types['headings-impact'].fontFamily.native,\n bodies:\n Platform.OS === 'web'\n ? theme.typography.types.bodies.fontFamily.web\n : theme.typography.types.bodies.fontFamily.native,\n },\n\n shadows: {\n kitt: {\n shadows: {\n cards: {\n low: {\n shadowColor: theme.shadows.cards.low.color,\n shadowOffset: { width: theme.shadows.cards.low.offsetX, height: theme.shadows.cards.low.offsetY },\n shadowOpacity: theme.shadows.cards.low.opacity,\n shadowRadius: theme.shadows.cards.low.radius,\n },\n medium: {\n shadowColor: theme.shadows.cards.medium.color,\n shadowOffset: { width: theme.shadows.cards.medium.offsetX, height: theme.shadows.cards.medium.offsetY },\n shadowOpacity: theme.shadows.cards.medium.opacity,\n shadowRadius: theme.shadows.cards.medium.radius,\n },\n highBase: {\n shadowColor: theme.shadows.cards.highBase.color,\n shadowOffset: {\n width: theme.shadows.cards.highBase.offsetX,\n height: theme.shadows.cards.highBase.offsetY,\n },\n shadowOpacity: theme.shadows.cards.highBase.opacity,\n shadowRadius: theme.shadows.cards.highBase.radius,\n },\n highMedium: {\n shadowColor: theme.shadows.cards.highMedium.color,\n shadowOffset: {\n width: theme.shadows.cards.highMedium.offsetX,\n height: theme.shadows.cards.highMedium.offsetY,\n },\n shadowOpacity: theme.shadows.cards.highMedium.opacity,\n shadowRadius: theme.shadows.cards.highMedium.radius,\n },\n highLarge: {\n shadowColor: theme.shadows.cards.highLarge.color,\n shadowOffset: {\n width: theme.shadows.cards.highLarge.offsetX,\n height: theme.shadows.cards.highLarge.offsetY,\n },\n shadowOpacity: theme.shadows.cards.highLarge.opacity,\n shadowRadius: theme.shadows.cards.highLarge.radius,\n },\n },\n navigation: {\n left: {\n shadowColor: theme.shadows.navigation.left.color,\n shadowOffset: {\n width: theme.shadows.navigation.left.offsetX,\n height: theme.shadows.navigation.left.offsetY,\n },\n shadowOpacity: theme.shadows.navigation.left.opacity,\n shadowRadius: theme.shadows.navigation.left.radius,\n },\n right: {\n shadowColor: theme.shadows.navigation.right.color,\n shadowOffset: {\n width: theme.shadows.navigation.right.offsetX,\n height: theme.shadows.navigation.right.offsetY,\n },\n shadowOpacity: theme.shadows.navigation.right.opacity,\n shadowRadius: theme.shadows.navigation.right.radius,\n },\n },\n panel: {\n shadowColor: theme.shadows.panel.color,\n shadowOffset: { width: theme.shadows.panel.offsetX, height: theme.shadows.panel.offsetY },\n shadowOpacity: theme.shadows.panel.opacity,\n shadowRadius: theme.shadows.panel.radius,\n },\n },\n actionCard: {\n secondary: {\n default: {\n shadow: {\n shadowColor: theme.actionCard.secondary.default.shadow.color,\n shadowOffset: {\n width: theme.actionCard.secondary.default.shadow.offsetX,\n height: theme.actionCard.secondary.default.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard.secondary.default.shadow.opacity,\n shadowRadius: theme.actionCard.secondary.default.shadow.radius,\n },\n },\n hovered: {\n shadow: {\n shadowColor: theme.actionCard.secondary.hovered.shadow.color,\n shadowOffset: {\n width: theme.actionCard.secondary.hovered.shadow.offsetX,\n height: theme.actionCard.secondary.hovered.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard.secondary.hovered.shadow.opacity,\n shadowRadius: theme.actionCard.secondary.hovered.shadow.radius,\n },\n },\n focused: {\n shadow: {\n shadowColor: theme.actionCard.secondary.focused.shadow.color,\n shadowOffset: {\n width: theme.actionCard.secondary.focused.shadow.offsetX,\n height: theme.actionCard.secondary.focused.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard.secondary.focused.shadow.opacity,\n shadowRadius: theme.actionCard.secondary.focused.shadow.radius,\n },\n },\n pressed: {\n shadow: {\n shadowColor: theme.actionCard.secondary.pressed.shadow.color,\n shadowOffset: {\n width: theme.actionCard.secondary.pressed.shadow.offsetX,\n height: theme.actionCard.secondary.pressed.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard.secondary.pressed.shadow.opacity,\n shadowRadius: theme.actionCard.secondary.pressed.shadow.radius,\n },\n },\n disabled: {\n shadow: {\n shadowColor: theme.actionCard.secondary.disabled.shadow.color,\n shadowOffset: {\n width: theme.actionCard.secondary.disabled.shadow.offsetX,\n height: theme.actionCard.secondary.disabled.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard.secondary.disabled.shadow.opacity,\n shadowRadius: theme.actionCard.secondary.disabled.shadow.radius,\n },\n },\n },\n primary: {\n default: {\n shadow: {\n shadowColor: theme.actionCard.primary.default.shadow.color,\n shadowOffset: {\n width: theme.actionCard.primary.default.shadow.offsetX,\n height: theme.actionCard.primary.default.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard.primary.default.shadow.opacity,\n shadowRadius: theme.actionCard.primary.default.shadow.radius,\n },\n },\n hovered: {\n shadow: {\n shadowColor: theme.actionCard.primary.hovered.shadow.color,\n shadowOffset: {\n width: theme.actionCard.primary.hovered.shadow.offsetX,\n height: theme.actionCard.primary.hovered.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard.primary.hovered.shadow.opacity,\n shadowRadius: theme.actionCard.primary.hovered.shadow.radius,\n },\n },\n focused: {\n shadow: {\n shadowColor: theme.actionCard.primary.focused.shadow.color,\n shadowOffset: {\n width: theme.actionCard.primary.focused.shadow.offsetX,\n height: theme.actionCard.primary.focused.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard.primary.focused.shadow.opacity,\n shadowRadius: theme.actionCard.primary.focused.shadow.radius,\n },\n },\n pressed: {\n shadow: {\n shadowColor: theme.actionCard.primary.pressed.shadow.color,\n shadowOffset: {\n width: theme.actionCard.primary.pressed.shadow.offsetX,\n height: theme.actionCard.primary.pressed.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard.primary.pressed.shadow.opacity,\n shadowRadius: theme.actionCard.primary.pressed.shadow.radius,\n },\n },\n disabled: {\n shadow: {\n shadowColor: theme.actionCard.primary.disabled.shadow.color,\n shadowOffset: {\n width: theme.actionCard.primary.disabled.shadow.offsetX,\n height: theme.actionCard.primary.disabled.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard.primary.disabled.shadow.opacity,\n shadowRadius: theme.actionCard.primary.disabled.shadow.radius,\n },\n },\n },\n 'primary-border-soft': {\n default: {\n shadow: {\n shadowColor: theme.actionCard['primary-border-soft'].default.shadow.color,\n shadowOffset: {\n width: theme.actionCard['primary-border-soft'].default.shadow.offsetX,\n height: theme.actionCard['primary-border-soft'].default.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard['primary-border-soft'].default.shadow.opacity,\n shadowRadius: theme.actionCard['primary-border-soft'].default.shadow.radius,\n },\n },\n hovered: {\n shadow: {\n shadowColor: theme.actionCard['primary-border-soft'].hovered.shadow.color,\n shadowOffset: {\n width: theme.actionCard['primary-border-soft'].hovered.shadow.offsetX,\n height: theme.actionCard['primary-border-soft'].hovered.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard['primary-border-soft'].hovered.shadow.opacity,\n shadowRadius: theme.actionCard['primary-border-soft'].hovered.shadow.radius,\n },\n },\n focused: {\n shadow: {\n shadowColor: theme.actionCard['primary-border-soft'].focused.shadow.color,\n shadowOffset: {\n width: theme.actionCard['primary-border-soft'].focused.shadow.offsetX,\n height: theme.actionCard['primary-border-soft'].focused.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard['primary-border-soft'].focused.shadow.opacity,\n shadowRadius: theme.actionCard['primary-border-soft'].focused.shadow.radius,\n },\n },\n pressed: {\n shadow: {\n shadowColor: theme.actionCard['primary-border-soft'].pressed.shadow.color,\n shadowOffset: {\n width: theme.actionCard['primary-border-soft'].pressed.shadow.offsetX,\n height: theme.actionCard['primary-border-soft'].pressed.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard['primary-border-soft'].pressed.shadow.opacity,\n shadowRadius: theme.actionCard['primary-border-soft'].pressed.shadow.radius,\n },\n },\n disabled: {\n shadow: {\n shadowColor: theme.actionCard['primary-border-soft'].disabled.shadow.color,\n shadowOffset: {\n width: theme.actionCard['primary-border-soft'].disabled.shadow.offsetX,\n height: theme.actionCard['primary-border-soft'].disabled.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard['primary-border-soft'].disabled.shadow.opacity,\n shadowRadius: theme.actionCard['primary-border-soft'].disabled.shadow.radius,\n },\n },\n },\n 'primary-border-hard': {\n default: {\n shadow: {\n shadowColor: theme.actionCard['primary-border-hard'].default.shadow.color,\n shadowOffset: {\n width: theme.actionCard['primary-border-hard'].default.shadow.offsetX,\n height: theme.actionCard['primary-border-hard'].default.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard['primary-border-hard'].default.shadow.opacity,\n shadowRadius: theme.actionCard['primary-border-hard'].default.shadow.radius,\n },\n },\n hovered: {\n shadow: {\n shadowColor: theme.actionCard['primary-border-hard'].hovered.shadow.color,\n shadowOffset: {\n width: theme.actionCard['primary-border-hard'].hovered.shadow.offsetX,\n height: theme.actionCard['primary-border-hard'].hovered.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard['primary-border-hard'].hovered.shadow.opacity,\n shadowRadius: theme.actionCard['primary-border-hard'].hovered.shadow.radius,\n },\n },\n focused: {\n shadow: {\n shadowColor: theme.actionCard['primary-border-hard'].focused.shadow.color,\n shadowOffset: {\n width: theme.actionCard['primary-border-hard'].focused.shadow.offsetX,\n height: theme.actionCard['primary-border-hard'].focused.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard['primary-border-hard'].focused.shadow.opacity,\n shadowRadius: theme.actionCard['primary-border-hard'].focused.shadow.radius,\n },\n },\n pressed: {\n shadow: {\n shadowColor: theme.actionCard['primary-border-hard'].pressed.shadow.color,\n shadowOffset: {\n width: theme.actionCard['primary-border-hard'].pressed.shadow.offsetX,\n height: theme.actionCard['primary-border-hard'].pressed.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard['primary-border-hard'].pressed.shadow.opacity,\n shadowRadius: theme.actionCard['primary-border-hard'].pressed.shadow.radius,\n },\n },\n disabled: {\n shadow: {\n shadowColor: theme.actionCard['primary-border-hard'].disabled.shadow.color,\n shadowOffset: {\n width: theme.actionCard['primary-border-hard'].disabled.shadow.offsetX,\n height: theme.actionCard['primary-border-hard'].disabled.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard['primary-border-hard'].disabled.shadow.opacity,\n shadowRadius: theme.actionCard['primary-border-hard'].disabled.shadow.radius,\n },\n },\n },\n highlight: {\n default: {\n shadow: {\n shadowColor: theme.actionCard.highlight.default.shadow.color,\n shadowOffset: {\n width: theme.actionCard.highlight.default.shadow.offsetX,\n height: theme.actionCard.highlight.default.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard.highlight.default.shadow.opacity,\n shadowRadius: theme.actionCard.highlight.default.shadow.radius,\n },\n },\n hovered: {\n shadow: {\n shadowColor: theme.actionCard.highlight.hovered.shadow.color,\n shadowOffset: {\n width: theme.actionCard.highlight.hovered.shadow.offsetX,\n height: theme.actionCard.highlight.hovered.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard.highlight.hovered.shadow.opacity,\n shadowRadius: theme.actionCard.highlight.hovered.shadow.radius,\n },\n },\n focused: {\n shadow: {\n shadowColor: theme.actionCard.highlight.focused.shadow.color,\n shadowOffset: {\n width: theme.actionCard.highlight.focused.shadow.offsetX,\n height: theme.actionCard.highlight.focused.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard.highlight.focused.shadow.opacity,\n shadowRadius: theme.actionCard.highlight.focused.shadow.radius,\n },\n },\n pressed: {\n shadow: {\n shadowColor: theme.actionCard.highlight.pressed.shadow.color,\n shadowOffset: {\n width: theme.actionCard.highlight.pressed.shadow.offsetX,\n height: theme.actionCard.highlight.pressed.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard.highlight.pressed.shadow.opacity,\n shadowRadius: theme.actionCard.highlight.pressed.shadow.radius,\n },\n },\n disabled: {\n shadow: {\n shadowColor: theme.actionCard.highlight.disabled.shadow.color,\n shadowOffset: {\n width: theme.actionCard.highlight.disabled.shadow.offsetX,\n height: theme.actionCard.highlight.disabled.shadow.offsetY,\n },\n shadowOpacity: theme.actionCard.highlight.disabled.shadow.opacity,\n shadowRadius: theme.actionCard.highlight.disabled.shadow.radius,\n },\n },\n },\n },\n cardModal: {\n shadow: {\n shadowColor: theme.cardModal.shadow.color,\n shadowOffset: { width: theme.cardModal.shadow.offsetX, height: theme.cardModal.shadow.offsetY },\n shadowOpacity: theme.cardModal.shadow.opacity,\n shadowRadius: theme.cardModal.shadow.radius,\n },\n },\n dialogModal: {\n shadow: {\n shadowColor: theme.dialogModal.shadow.color,\n shadowOffset: { width: theme.dialogModal.shadow.offsetX, height: theme.dialogModal.shadow.offsetY },\n shadowOpacity: theme.dialogModal.shadow.opacity,\n shadowRadius: theme.dialogModal.shadow.radius,\n },\n },\n picker: {\n web: {\n optionsContainer: {\n shadow: {\n shadowColor: theme.picker.web.optionsContainer.shadow.color,\n shadowOffset: {\n width: theme.picker.web.optionsContainer.shadow.offsetX,\n height: theme.picker.web.optionsContainer.shadow.offsetY,\n },\n shadowOpacity: theme.picker.web.optionsContainer.shadow.opacity,\n shadowRadius: theme.picker.web.optionsContainer.shadow.radius,\n },\n },\n },\n },\n forms: {\n autocomplete: {\n optionsContainer: {\n shadow: {\n shadowColor: theme.forms.autocomplete.optionsContainer.shadow.color,\n shadowOffset: {\n width: theme.forms.autocomplete.optionsContainer.shadow.offsetX,\n height: theme.forms.autocomplete.optionsContainer.shadow.offsetY,\n },\n shadowOpacity: theme.forms.autocomplete.optionsContainer.shadow.opacity,\n shadowRadius: theme.forms.autocomplete.optionsContainer.shadow.radius,\n },\n },\n },\n },\n },\n app: appTheme?.shadows,\n },\n\n opacity: {\n app: appTheme?.opacity,\n kitt: {\n tooltip: {\n opacity: theme.tooltip.opacity,\n },\n },\n },\n\n components: {\n Input: {\n baseStyle: {\n width: '100%',\n minHeight: theme.forms.input.minHeight,\n py: theme.forms.input.padding.vertical,\n px: theme.forms.input.padding.horizontal,\n borderRadius: theme.forms.input.borderRadius,\n _disabled: {\n opacity: 1, // override default native-base opacity\n },\n _light: {\n color: theme.forms.input.states.default.color,\n placeholderTextColor: theme.forms.input.color.placeholder,\n borderColor: theme.forms.input.states.default.borderColor,\n bg: theme.forms.input.states.default.backgroundColor,\n _hover: {\n bg: theme.forms.input.states.hover.backgroundColor,\n borderColor: theme.forms.input.states.hover.borderColor,\n color: theme.forms.input.states.hover.color,\n _focus: {\n bg: theme.forms.input.states.default.backgroundColor,\n borderColor: theme.forms.input.states.focus.borderColor,\n color: theme.forms.input.states.focus.color,\n },\n },\n _focus: {\n borderColor: theme.forms.input.states.focus.borderColor,\n color: theme.forms.input.states.focus.color,\n _hover: {\n borderColor: theme.forms.input.states.focus.borderColor,\n color: theme.forms.input.states.focus.color,\n },\n _stack: {\n style: {\n outlineWidth: 0,\n boxShadow: 'none',\n },\n },\n _ios: {\n selectionColor: theme.forms.input.color.selection,\n },\n _android: {\n selectionColor: theme.forms.input.color.selection,\n },\n },\n _invalid: {\n borderColor: theme.forms.input.states.invalid.borderColor,\n color: theme.forms.input.states.invalid.color,\n _hover: {\n borderColor: theme.forms.input.states.hover.borderColor,\n color: theme.forms.input.states.hover.color,\n },\n },\n _ios: {\n selectionColor: theme.forms.input.color.selection,\n },\n _android: {\n selectionColor: theme.forms.input.color.selection,\n },\n _disabled: {\n placeholderTextColor: theme.forms.input.states.disabled.color,\n color: theme.forms.input.states.disabled.color,\n borderColor: theme.forms.input.states.disabled.borderColor,\n bg: theme.forms.input.states.disabled.backgroundColor,\n },\n },\n },\n variants: {\n outline: {\n borderWidth: theme.forms.input.borderWidth,\n _focus: {\n bg: theme.forms.input.states.default.backgroundColor,\n },\n },\n underlined: {},\n rounded: {},\n filled: {},\n unstyled: {},\n },\n },\n Text: {\n baseStyle: {\n _light: {\n color: 'kitt.typography.black',\n },\n _dark: {\n color: 'kitt.typography.white',\n },\n fontFamily:\n Platform.OS === 'web'\n ? theme.typography.types.bodies.fontFamily.web.regular\n : theme.typography.types.bodies.fontFamily.native.regular,\n fontStyle: theme.typography.types.bodies.fontStyle.regular,\n fontWeight: theme.typography.types.bodies.fontWeight.regular,\n fontSize: undefined,\n lineHeight: theme.typography.types.bodies.configs.body.baseAndSmall.lineHeight,\n },\n },\n },\n });\n\n return { ...extendedTheme, space: extendedTheme.space as typeof spaces.positive & typeof spaces.negative };\n}\n\ntype KittNativeBaseCustomTheme = ReturnType<typeof createKittNativeBaseCustomTheme>;\n\ndeclare module 'native-base' {\n interface ICustomTheme extends KittNativeBaseCustomTheme {}\n}\n\nexport interface KittNativeBaseProviderProps {\n /**\n * `theme` should come from `useKittTheme`\n */\n theme: KittTheme;\n isSSR: NativeBaseProviderProps['isSSR'];\n /**\n * `appTheme` is optional and provides extended theme configuration. It's a native-base representation of your application theme.\n * This variable must not change at each render\n */\n appTheme?: AppTheme;\n children: ReactNode;\n}\n\n/**\n * Provide theme to native-base\n *\n * `appTheme` is optional and provides extended theme configuration. This variable must not change at each render\n *\n * @exemple\n * ```tsx\n * const appTheme = {};\n * export function MyAppThemeProvider({ children }) {\n * const theme = useKittTheme();\n * return <KittNativeBaseProvider theme={theme} appTheme={appTheme}>{children}</KittNativeBaseProvider>\n * }\n * ```\n */\nexport function KittNativeBaseProvider({ theme, isSSR, appTheme, children }: KittNativeBaseProviderProps): ReactNode {\n const kittTheme = theme.kitt;\n\n const nativeBaseCustomTheme = useMemo(\n () => createKittNativeBaseCustomTheme(kittTheme, appTheme),\n [kittTheme, appTheme],\n );\n\n const kittInternalTheme = useMemo(() => ({ kitt: kittTheme }), [kittTheme]);\n\n return (\n <NativeBaseProvider theme={nativeBaseCustomTheme} isSSR={isSSR}>\n <KittThemeContext.Provider value={kittInternalTheme}>\n <CurrentBreakpointProvider>{children}</CurrentBreakpointProvider>\n </KittThemeContext.Provider>\n </NativeBaseProvider>\n );\n}\n","import { type ReactNode, useEffect } from 'react';\nimport { BottomSheet } from '../BottomSheet/BottomSheet';\nimport { useBottomSheet } from '../BottomSheet/useBottomSheet';\nimport type { FullscreenModalBodyProps } from '../FullscreenModal/Body';\nimport type { FullscreenModalFooterProps } from '../FullscreenModal/Footer';\nimport { HStack, VStack } from '../native-base/layout';\nimport { Typography } from '../typography/Typography';\n\nexport interface NavigationBottomSheetProps {\n children: ReactNode;\n isVisible?: boolean;\n /**\n * Native only: whether the bottom sheet has a scroll view inside it.\n */\n hasScrollView?: boolean;\n /**\n * Native only: snap points for the bottom sheet.\n */\n snapPoints?: (number | string)[];\n /**\n * Native only: maximum dynamic content size for the bottom sheet.\n */\n maxDynamicContentSize?: number;\n onClose?: () => void;\n}\n\nexport function NavigationBottomSheet({\n children,\n hasScrollView,\n snapPoints,\n maxDynamicContentSize,\n isVisible,\n onClose,\n}: NavigationBottomSheetProps): ReactNode {\n const bottomSheetRef = useBottomSheet();\n\n useEffect(() => {\n if (isVisible) {\n bottomSheetRef.current?.present();\n } else {\n bottomSheetRef.current?.close();\n }\n }, [bottomSheetRef, isVisible]);\n\n return (\n <BottomSheet\n ref={bottomSheetRef}\n maxDynamicContentSize={maxDynamicContentSize}\n hasScrollView={hasScrollView}\n snapPoints={snapPoints}\n onDismiss={onClose}\n >\n <BottomSheet.View>{children}</BottomSheet.View>\n </BottomSheet>\n );\n}\n\nexport interface NavigationBottomSheetHeaderProps {\n children: ReactNode;\n /**\n * Web only: display left content (e.g. a back button)\n */\n left?: ReactNode;\n}\n\nfunction NavigationBottomSheetHeader({ children, left }: NavigationBottomSheetHeaderProps): ReactNode {\n return (\n <HStack marginBottom=\"kitt.6\">\n <Typography.Text flexGrow={1} flexShrink={1} variant=\"bold\" textAlign=\"center\">\n {children}\n </Typography.Text>\n </HStack>\n );\n}\n\nexport interface NavigationBottomSheetBodyProps extends FullscreenModalBodyProps {}\n\nfunction NavigationBottomSheetBody(props: NavigationBottomSheetBodyProps): ReactNode {\n return <VStack flexGrow={1} flexShrink={1} marginBottom=\"kitt.4\" {...props} />;\n}\n\nexport interface NavigationBottomSheetFooterProps extends FullscreenModalFooterProps {}\n\nfunction NavigationBottomSheetFooter(props: NavigationBottomSheetFooterProps): ReactNode {\n return <HStack width=\"100%\" {...props} />;\n}\n\nNavigationBottomSheet.Header = NavigationBottomSheetHeader;\nNavigationBottomSheet.Body = NavigationBottomSheetBody;\nNavigationBottomSheet.Footer = NavigationBottomSheetFooter;\n","import type { ReactNode } from 'react';\nimport { useEffect, useState } from 'react';\nimport { CardModalAnimation } from '../CardModal/CardModalAnimation/CardModalAnimation';\nimport { FullscreenModalAnimation } from '../FullscreenModal/FullscreenModalAnimation';\nimport type { ModalBehaviourProps } from '../ModalBehaviour/ModalBehaviour';\nimport { ModalBehaviour } from '../ModalBehaviour/ModalBehaviour';\nimport type { ModalAnimationComponentProps } from '../ModalBehaviour/type';\nimport { useBreakpointValue } from '../native-base/utils';\n\ntype AnimationComponentType = typeof CardModalAnimation | typeof FullscreenModalAnimation;\n\nexport interface NavigationModalBehaviourProps extends ModalBehaviourProps, ModalAnimationComponentProps {\n onClose: () => void;\n}\n\nexport function NavigationModalBehaviour({\n children,\n visible,\n appear = true,\n onExited,\n onEnter,\n onExit,\n onClose,\n ...props\n}: NavigationModalBehaviourProps): ReactNode {\n const AnimationComponent = useBreakpointValue<AnimationComponentType>({\n base: FullscreenModalAnimation,\n small: CardModalAnimation,\n });\n\n const [isModalBehaviourVisible, setIsModalBehaviourVisible] = useState(visible);\n const [shouldAppear, setShouldAppear] = useState(appear);\n\n useEffect(() => {\n if (visible === true) {\n setIsModalBehaviourVisible(true);\n }\n }, [visible]);\n\n const handleExitAnimationDone = (): void => {\n if (onExited) onExited();\n setIsModalBehaviourVisible(false);\n };\n\n const handleEnter = (): void => {\n if (onEnter) onEnter();\n\n // Once a children as been displayed, we force appear to false in order to avoid replaying animation on breakpoint change\n setShouldAppear(false);\n };\n\n const handleExit = (): void => {\n if (onExit) onExit();\n\n // Reset appear value to its original value for future modal display\n setShouldAppear(appear);\n };\n\n return (\n <ModalBehaviour visible={isModalBehaviourVisible} onClose={onClose}>\n <AnimationComponent\n {...props}\n appear={shouldAppear}\n visible={visible}\n onEnter={handleEnter}\n onExit={handleExit}\n onExited={handleExitAnimationDone}\n onClose={onClose}\n >\n {children}\n </AnimationComponent>\n </ModalBehaviour>\n );\n}\n","import type { ReactNode } from 'react';\nimport { CardModal } from '../CardModal/CardModal';\nimport type { CardModalBodyProps } from '../CardModal/CardModalBody';\nimport type { CardModalFooterProps } from '../CardModal/CardModalFooter';\nimport type { CardModalHeaderProps } from '../CardModal/CardModalHeader';\nimport type { FullscreenModalBodyProps } from '../FullscreenModal/Body';\nimport type { FullscreenModalFooterProps } from '../FullscreenModal/Footer';\nimport { FullscreenModal } from '../FullscreenModal/FullscreenModal';\nimport type { FullscreenModalProps } from '../FullscreenModal/FullscreenModal';\nimport type { FullscreenModalHeaderProps } from '../FullscreenModal/Header';\nimport { useBreakpointValue } from '../native-base/utils';\nimport { NavigationModalBehaviour } from './NavigationModalBehaviour';\n\nexport type NavigationModalProps = FullscreenModalProps;\n\nexport function NavigationModal({ body, backgroundColor, footer, header, children }: NavigationModalProps): ReactNode {\n const Component = useBreakpointValue<typeof FullscreenModal | typeof CardModal>({\n base: FullscreenModal,\n small: CardModal,\n });\n\n return children ? (\n <Component backgroundColor={backgroundColor}>{children}</Component>\n ) : (\n <Component body={body} backgroundColor={backgroundColor} footer={footer} header={header} />\n );\n}\n\ntype HeaderProps = CardModalHeaderProps | FullscreenModalHeaderProps;\n\nfunction Header(props: HeaderProps): ReactNode {\n const Component: typeof FullscreenModal.Header | typeof CardModal.Header = useBreakpointValue({\n base: FullscreenModal.Header,\n small: CardModal.Header,\n });\n return <Component {...props} />;\n}\n\ntype BodyProps = CardModalBodyProps | FullscreenModalBodyProps;\n\nfunction Body(props: BodyProps): ReactNode {\n const Component: typeof FullscreenModal.Body | typeof CardModal.Body = useBreakpointValue({\n base: FullscreenModal.Body,\n small: CardModal.Body,\n });\n return <Component {...props} />;\n}\n\ntype FooterProps = CardModalFooterProps | FullscreenModalFooterProps;\n\nfunction Footer(props: FooterProps): ReactNode {\n const Component: typeof FullscreenModal.Footer | typeof CardModal.Footer = useBreakpointValue({\n base: FullscreenModal.Footer,\n small: CardModal.Footer,\n });\n return <Component {...props} />;\n}\n\nNavigationModal.Header = Header;\nNavigationModal.Body = Body;\nNavigationModal.Footer = Footer;\nNavigationModal.ModalBehaviour = NavigationModalBehaviour;\n","import type { ReactNode } from 'react';\nimport { BaseMessage } from '../BaseMessage/BaseMessage';\nimport type { BaseMessageProps } from '../BaseMessage/BaseMessage';\n\nexport interface NotificationProps extends BaseMessageProps {}\n\nexport function Notification({ type, children, centeredText, insets, onDismiss }: NotificationProps): ReactNode {\n return (\n <BaseMessage hasNoRadius type={type} centeredText={centeredText} insets={insets} onDismiss={onDismiss}>\n {children}\n </BaseMessage>\n );\n}\n","import type { ReactNode } from 'react';\nimport Animated, { useAnimatedProps } from 'react-native-reanimated';\nimport type { CircleProps } from 'react-native-svg';\nimport { Circle } from 'react-native-svg';\nimport { useTheme } from '../KittThemeContext';\n\nconst AnimatedCircle = Animated.createAnimatedComponent(Circle);\n\ninterface PageLoaderCircleProps {\n color: CircleProps['stroke'];\n progress: Animated.SharedValue<number>;\n}\n\nexport function AnimatedLoaderCircle({ color, progress }: PageLoaderCircleProps): ReactNode {\n const theme = useTheme();\n\n const { strokeWidth, size } = theme.kitt.pageLoader;\n\n const centerCoord = size * 0.5;\n const radius = centerCoord - strokeWidth;\n const circlePerimeter = 2 * Math.PI * (size * 0.5 - strokeWidth);\n\n const strokeAnimation = useAnimatedProps(() => {\n return {\n strokeDashoffset: circlePerimeter - circlePerimeter * progress.value,\n };\n });\n\n return (\n <AnimatedCircle\n transform-origin=\"center center\"\n strokeWidth={strokeWidth}\n stroke={color}\n strokeLinecap=\"round\"\n cx={centerCoord}\n cy={centerCoord}\n r={radius}\n fill=\"none\"\n strokeDasharray={circlePerimeter}\n animatedProps={strokeAnimation}\n />\n );\n}\n","import type { ReactNode } from 'react';\nimport { useEffect } from 'react';\nimport { Easing, useSharedValue, withDelay, withTiming } from 'react-native-reanimated';\nimport Svg from 'react-native-svg';\nimport { useTheme } from '../KittThemeContext';\nimport { AnimatedLoaderCircle } from './AnimatedLoaderCircle';\n\nexport function AnimatedBackgroundCircle(): ReactNode {\n const theme = useTheme();\n const progress = useSharedValue(0);\n\n const { animation, colors, size } = theme.kitt.pageLoader;\n\n useEffect(() => {\n const { delay, circleBackgroundFillDuration, fillEasingFunction } = animation;\n const [x1, y1, x2, y2] = fillEasingFunction;\n\n progress.value = withDelay(\n delay,\n withTiming(1, { duration: circleBackgroundFillDuration, easing: Easing.bezier(x1, y1, x2, y2) }),\n );\n }, [progress, animation]);\n\n return (\n <Svg width={size} height={size} viewBox={`0 0 ${size} ${size}`}>\n <AnimatedLoaderCircle color={colors.base} progress={progress} />\n </Svg>\n );\n}\n","import type { ReactNode } from 'react';\nimport { useEffect } from 'react';\nimport { StyleSheet } from 'react-native';\nimport Animated, {\n Easing,\n useAnimatedStyle,\n useSharedValue,\n withDelay,\n withRepeat,\n withTiming,\n} from 'react-native-reanimated';\nimport { useTheme } from '../KittThemeContext';\n\nconst isInfinitAnimation = -1;\n\ninterface AnimatedFillCircleContainerProps {\n children: NonNullable<ReactNode>;\n duration: number;\n}\n\nexport function AnimatedFillCircleContainer({ children, duration }: AnimatedFillCircleContainerProps): ReactNode {\n const theme = useTheme();\n const progress = useSharedValue(0);\n\n const { animation } = theme.kitt.pageLoader;\n\n useEffect(() => {\n const { delay } = animation;\n\n progress.value = withDelay(\n delay,\n withRepeat(withTiming(1, { duration, easing: Easing.linear }), isInfinitAnimation),\n );\n }, [progress, animation, duration]);\n\n const rotationStyles = useAnimatedStyle(() => {\n return {\n transform: [\n {\n rotate: `${360 * progress.value}deg`,\n },\n ],\n };\n });\n\n return <Animated.View style={[StyleSheet.absoluteFill, rotationStyles]}>{children}</Animated.View>;\n}\n","import type { ReactNode } from 'react';\nimport { useEffect } from 'react';\nimport { Easing, useSharedValue, withDelay, withRepeat, withTiming } from 'react-native-reanimated';\nimport Svg from 'react-native-svg';\nimport { useTheme } from '../KittThemeContext';\nimport { AnimatedFillCircleContainer } from './AnimatedFillCircleContainer';\nimport { AnimatedLoaderCircle } from './AnimatedLoaderCircle';\n\nconst isInfinitAnimation = -1;\nconst shouldReverse = true;\n\nexport function AnimatedFilledCircle(): ReactNode {\n const theme = useTheme();\n const progress = useSharedValue(0);\n\n const { size, animation, colors } = theme.kitt.pageLoader;\n\n useEffect(() => {\n const { delay, filledCircleFillDuration, fillEasingFunction } = animation;\n const [x1, y1, x2, y2] = fillEasingFunction;\n\n progress.value = withDelay(\n delay,\n withRepeat(\n withTiming(0.8, { duration: filledCircleFillDuration, easing: Easing.bezier(x1, y1, x2, y2) }),\n isInfinitAnimation,\n shouldReverse,\n ),\n );\n }, [progress, animation]);\n\n return (\n <AnimatedFillCircleContainer duration={animation.groupFilledCircleRotationDuration}>\n <AnimatedFillCircleContainer duration={animation.filledCircleRotationDuration}>\n <Svg width={size} height={size} viewBox={`0 0 ${size} ${size}`}>\n <AnimatedLoaderCircle color={colors.fill} progress={progress} />\n </Svg>\n </AnimatedFillCircleContainer>\n </AnimatedFillCircleContainer>\n );\n}\n","import type { ReactNode } from 'react';\nimport { View } from '../native-base/primitives';\nimport { AnimatedBackgroundCircle } from './AnimatedBackgroundCircle';\nimport { AnimatedFilledCircle } from './AnimatedFillCircle';\n\nexport type PageLoaderProps = Record<string, never>;\n\nexport function PageLoader(props: PageLoaderProps): ReactNode {\n const sharedTransformStyle = {\n style: {\n /* Needed to make the animation starting from the top of the circles */\n transform: [{ rotate: '90deg' }, { scale: -1 }],\n },\n };\n\n return (\n <View\n position=\"relative\"\n height=\"kitt.pageLoader.size\"\n width=\"kitt.pageLoader.size\"\n _ios={sharedTransformStyle}\n _android={sharedTransformStyle}\n >\n <AnimatedBackgroundCircle />\n <AnimatedFilledCircle />\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { View } from '../native-base/primitives';\nimport { Typography } from '../typography/Typography';\n\nexport interface PickerItemProps {\n children: ReactNode;\n isSelected?: boolean;\n isHighlighted?: boolean;\n isPressed?: boolean;\n isHovered?: boolean;\n isFocused?: boolean;\n}\n\n// This item is for Android only, iOS uses its own implementation and web is not supported yet\nexport function PickerItem({ children, isSelected }: PickerItemProps): ReactNode {\n return (\n <View\n backgroundColor={\n isSelected\n ? 'kitt.picker.android.option.selected.backgroundColor'\n : 'kitt.picker.android.option.default.backgroundColor'\n }\n paddingX=\"kitt.picker.android.option.horizontalPadding\"\n paddingY=\"kitt.picker.android.option.verticalPadding\"\n >\n <Typography.SetDefaultColor value={isSelected ? 'white' : undefined}>{children}</Typography.SetDefaultColor>\n </View>\n );\n}\n","import type { PickerItemProps as NativePickerItemProps } from '@react-native-picker/picker';\nimport type { ReactNode } from 'react';\nimport { Typography } from '../typography/Typography';\n\ninterface PickerOptionChildrenProps {\n isHighlighted?: boolean;\n isSelected?: boolean;\n}\n\nexport interface PickerOptionProps<T> extends Pick<NativePickerItemProps<T>, 'label'>, PickerOptionChildrenProps {\n children: ReactNode | ((props: PickerOptionChildrenProps) => ReactNode);\n value: T;\n testID?: string;\n}\n\n// This item is for Android only, iOS uses its own implementation and web is not supported yet\nexport function PickerOption<T>({ children, testID, isHighlighted, isSelected }: PickerOptionProps<T>): ReactNode {\n return (\n <Typography.Text testID={testID} base=\"body\">\n {typeof children === 'function' ? children({ isHighlighted, isSelected }) : children}\n </Typography.Text>\n );\n}\n","import type { Reducer } from 'react';\n\nexport interface State {\n isOpen?: boolean;\n currentValue?: any;\n internalValue?: any;\n}\n\ninterface ChangeInternalValueAction {\n type: 'change-internal-value';\n payload: {\n nextInternalValue?: any;\n };\n}\n\ninterface OpenModalAction {\n type: 'open-modal';\n}\n\ninterface OpenModalWithValueAction {\n type: 'open-modal-with-value';\n payload: {\n value: any;\n };\n}\n\ninterface CloseModalAction {\n type: 'close-modal';\n}\n\ninterface ChangeValueAction {\n type: 'change-value';\n}\n\ntype Actions =\n | ChangeInternalValueAction\n | CloseModalAction\n | ChangeValueAction\n | OpenModalAction\n | OpenModalWithValueAction;\n\nexport const nativePickerReducer: Reducer<State, Actions> = (state, action) => {\n switch (action.type) {\n case 'change-internal-value': {\n return {\n ...state,\n internalValue: action.payload.nextInternalValue,\n };\n }\n\n case 'close-modal': {\n return {\n ...state,\n isOpen: false,\n internalValue: state.currentValue ? state.internalValue : undefined,\n };\n }\n\n case 'open-modal': {\n return {\n ...state,\n isOpen: true,\n };\n }\n\n case 'open-modal-with-value': {\n return {\n ...state,\n internalValue: action.payload.value,\n currentValue: action.payload.value,\n isOpen: true,\n };\n }\n\n case 'change-value': {\n return {\n ...state,\n currentValue: state.internalValue,\n isOpen: false,\n };\n }\n\n default:\n return state;\n }\n};\n","import { XRegularIcon } from '@ornikar/kitt-icons/phosphor';\nimport type { PickerItemProps as NativePickerItemProps } from '@react-native-picker/picker';\nimport { Picker as NativePicker } from '@react-native-picker/picker';\nimport { useSx } from 'native-base';\nimport type { ReactElement, ReactNode } from 'react';\nimport React, { cloneElement, useReducer } from 'react';\nimport { FormattedMessage } from 'react-intl';\nimport { Platform, ScrollView } from 'react-native';\nimport { Button } from '../Button/Button';\nimport { CardModal } from '../CardModal/CardModal';\nimport { IconButton } from '../IconButton/IconButton';\nimport type { ViewProps } from '../native-base/primitives';\nimport { Pressable } from '../native-base/primitives';\nimport { Typography } from '../typography/Typography';\nimport { useMediaQuery } from '../utils/windowSize/useMediaQuery';\nimport { PickerItem } from './PickerItem';\nimport type { PickerOptionProps } from './PickerOption';\nimport { PickerOption } from './PickerOption';\nimport { nativePickerReducer } from './reducer/nativePickerReducer';\n\nexport interface PickerRenderTriggerProps<T> {\n isOpen?: boolean;\n selectedItem?: T;\n disabled?: boolean;\n // event is required for web implementation\n onPress: (event: unknown) => void;\n}\n\nexport interface PickerProps<T> {\n children: NonNullable<ReactNode>;\n renderTrigger: (props: PickerRenderTriggerProps<T>) => ReactNode;\n isInitialOpen?: boolean;\n initialValue?: T;\n /**\n * @description: Used to sync the internal state with the sourceValue prop\n */\n syncStateWithSourceValue?: boolean;\n /**\n * @description: Use only with syncStateWithSourceValue prop\n */\n sourceValue?: T;\n /**\n * @description: Native only, used to display a custom title in the picker modal\n */\n title: ReactNode;\n /**\n * @description: Native only, used to display a custom label in the picker modal\n */\n validateButtonLabel?: ReactNode;\n /**\n * @description: Web only, used to add custom style on view element that wraps trigger element\n */\n triggerViewProps?: ViewProps;\n /**\n * @description: Web only, used to keep the options open when the value changes\n */\n keepOpenOnChange?: boolean;\n /**\n * @description: Web only, used to position the items relative to the trigger element\n */\n itemsPlacement?: 'bottom' | 'bottom-start' | 'bottom-end' | 'top' | 'top-start' | 'top-end';\n disabled?: boolean;\n isItemsWidthFixed?: boolean;\n testID?: string;\n /**\n * @description: iOS only, used to display a label based on the item in the native iOS element\n */\n itemToString: (item: T) => string;\n checkSelectedItem: (selectedItem: T | undefined, item: T) => boolean;\n onChange?: (value?: T) => void;\n onClose?: () => void;\n /**\n * @description: iOS only, used to display the native picker on iOS. Default to true.\n */\n shouldDisplayNativePickerOnIOS?: boolean;\n}\n\nexport function Picker<T>({\n children,\n renderTrigger,\n title,\n initialValue,\n syncStateWithSourceValue = false,\n sourceValue,\n validateButtonLabel,\n disabled,\n isInitialOpen,\n testID,\n itemToString,\n checkSelectedItem,\n onChange,\n onClose,\n shouldDisplayNativePickerOnIOS = true,\n}: PickerProps<T>): ReactNode {\n if (__DEV__ && sourceValue !== undefined && !syncStateWithSourceValue) {\n throw new Error('Picker: value prop should only be used with syncStateWithSourceValue prop');\n }\n\n const [state, dispatch] = useReducer(nativePickerReducer, {\n isOpen: isInitialOpen,\n currentValue: syncStateWithSourceValue ? sourceValue : initialValue,\n internalValue: syncStateWithSourceValue ? sourceValue : initialValue,\n });\n\n const sx = useSx();\n const iosTextStyle = sx({\n color: 'kitt.picker.ios.option.selected.color',\n });\n\n // Max height is based on base Modal sizes (which are not themified): padding (4*20*2) + footer (58) + header (58) + default iOS picker height (216)\n const [isMatchingMaxHeight] = useMediaQuery({\n maxHeight: 492,\n });\n\n const iosItemStyle = sx({\n fontSize: 'baseAndSmall.body',\n lineHeight: 'baseAndSmall.body',\n fontFamily: 'bodies.regular',\n color: 'kitt.typography.black-light',\n\n // As it is displayed in a modal, we must hard code an height to ensure that the picker doesn't bleed out of it\n // We can't set a percentage as it will be computed based on the page height\n height: isMatchingMaxHeight ? 'kitt.picker.ios.landscape.height' : 'kitt.picker.ios.default.height',\n });\n\n const handleClose = (): void => {\n dispatch({ type: 'close-modal' });\n\n if (onClose) onClose();\n };\n\n const handleChange = (): void => {\n if (onChange) onChange(state.internalValue);\n\n dispatch({ type: 'change-value' });\n\n if (onClose) onClose();\n };\n\n const handleInternalChange = (itemValue: T): void => {\n dispatch({\n type: 'change-internal-value',\n payload: {\n nextInternalValue: itemValue,\n },\n });\n };\n\n const handlePressTrigger = (): void => {\n if (syncStateWithSourceValue) {\n dispatch({ type: 'open-modal-with-value', payload: { value: sourceValue } });\n return;\n }\n dispatch({ type: 'open-modal' });\n };\n\n return (\n <>\n {renderTrigger({ isOpen: state.isOpen, selectedItem: state.currentValue, disabled, onPress: handlePressTrigger })}\n\n <CardModal.ModalBehaviour visible={state.isOpen} onClose={handleClose}>\n <CardModal>\n <CardModal.Header right={<IconButton icon={<XRegularIcon />} onPress={handleClose} />}>\n <Typography.Text base=\"body\" variant=\"bold\">\n {title}\n </Typography.Text>\n </CardModal.Header>\n\n {Platform.OS === 'ios' && shouldDisplayNativePickerOnIOS ? (\n <NativePicker<T>\n testID={testID}\n selectedValue={state.internalValue}\n itemStyle={iosItemStyle}\n onValueChange={handleInternalChange}\n >\n {React.Children.map(children, (child) => {\n const item = child as ReactElement<NativePickerItemProps<T>>;\n\n // iOS Picker doesn't support a custom Item component, we need to override its props manually for the selected one\n return cloneElement(item, {\n color: item.props.value === state.currentValue ? iosTextStyle.color : undefined,\n label: itemToString(item.props.value as T),\n });\n })}\n </NativePicker>\n ) : (\n <ScrollView testID={testID}>\n {React.Children.map(children, (child, index) => {\n const item = child as ReactElement<PickerOptionProps<T>>;\n\n const isSelected = checkSelectedItem(state.internalValue, item.props.value);\n\n return (\n <Pressable\n // eslint-disable-next-line react/no-array-index-key\n key={index}\n accessibilityRole=\"button\"\n accessibilityState={{\n selected: isSelected,\n }}\n onPress={() => {\n handleInternalChange(item.props.value);\n }}\n >\n {({ isHovered, isFocused, isPressed }) => (\n <PickerItem\n isSelected={isSelected}\n isHovered={isHovered}\n isFocused={isFocused}\n isPressed={isPressed}\n >\n {child}\n </PickerItem>\n )}\n </Pressable>\n );\n })}\n </ScrollView>\n )}\n\n <CardModal.Footer>\n <Button stretch type=\"primary\" onPress={handleChange}>\n {validateButtonLabel || <FormattedMessage defaultMessage=\"Valider\" id=\"kitt-universal.Picker.validate\" />}\n </Button>\n </CardModal.Footer>\n </CardModal>\n </CardModal.ModalBehaviour>\n </>\n );\n}\n\nPicker.Option = PickerOption;\n\n/**\n * @description: This is exported for testing purposes only\n */\nPicker.UnsafeInternalItem = PickerItem;\n","<svg viewBox=\"0 0 453 71\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"#fff\" d=\"m40 0 2.598 1.5-40 69.282L0 69.282zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5zm10 0 2.598 1.5-40 69.282-2.598-1.5z\"/></svg>","import { HStack, View } from 'native-base';\nimport type { ReactNode } from 'react';\nimport Stripes from './assets/stripes.inline.svg';\n\nexport type SegmentedProgressBarSizes = 'small' | 'default';\nexport type SegmentedProgressBarColors = 'primary' | 'validated';\n\ninterface SegmentedProgressBarProps {\n currentStep?: number;\n stepsCount: number;\n size?: SegmentedProgressBarSizes;\n colorVariant?: SegmentedProgressBarColors;\n withCurrentInProgress?: boolean;\n}\n\nexport function SegmentedProgressBar({\n currentStep = 0,\n stepsCount,\n size = 'default',\n colorVariant = 'primary',\n withCurrentInProgress,\n}: SegmentedProgressBarProps): ReactNode {\n const height = size === 'small' ? 'kitt.2' : 'kitt.4';\n const fillColor =\n colorVariant === 'validated' ? 'kitt.palettes.lateOcean.viride' : 'kitt.palettes.lateOcean.lateOceanLight1';\n\n const steps = [...Array.from({ length: stepsCount }).keys()];\n\n return (\n <HStack height={height} space={2} borderRadius={height} overflow=\"hidden\">\n {steps.map((stepNumber) => {\n const isSegmentCurrentInProgress = withCurrentInProgress && stepNumber === currentStep - 1;\n const color = stepNumber < currentStep ? fillColor : 'kitt.palettes.lateOcean.black50';\n\n return (\n <View\n key={stepNumber}\n height=\"100%\"\n flexGrow={1}\n flexShrink={1}\n flexBasis={0}\n backgroundColor={isSegmentCurrentInProgress ? 'kitt.palettes.lateOcean.lateOceanLight3' : color}\n borderRadius={2}\n overflow=\"hidden\"\n alignItems=\"center\"\n justifyContent=\"center\"\n >\n {isSegmentCurrentInProgress ? (\n <View width=\"453\" height=\"71\">\n <Stripes />\n </View>\n ) : null}\n </View>\n );\n })}\n </HStack>\n );\n}\n","import { LinearGradient } from 'expo-linear-gradient';\nimport type { ReactNode } from 'react';\nimport { useEffect } from 'react';\nimport { StyleSheet } from 'react-native';\nimport Animated, {\n Easing,\n interpolate,\n useAnimatedStyle,\n useSharedValue,\n withRepeat,\n withTiming,\n} from 'react-native-reanimated';\nimport { useTheme } from '../KittThemeContext';\nimport { View } from '../native-base/primitives';\n\ninterface SkeletonProps {\n isLoading?: boolean;\n width: number;\n}\n\nconst AnimatedLinearGradient = Animated.createAnimatedComponent(LinearGradient);\n\nexport function SkeletonContent({ isLoading, width }: SkeletonProps): ReactNode {\n const theme = useTheme();\n const sharedX = useSharedValue(0);\n\n useEffect(() => {\n if (isLoading) {\n sharedX.value = withRepeat(\n withTiming(1, { duration: theme.kitt.skeleton.animationDuration, easing: Easing.inOut(Easing.ease) }),\n -1,\n );\n }\n }, [sharedX, width, isLoading, theme]);\n\n const linearGradientStyle = useAnimatedStyle(() => {\n return {\n transform: [{ translateX: interpolate(sharedX.value, [0, 1], [-width, width]) }],\n };\n });\n\n return (\n <View\n height=\"100%\"\n width=\"100%\"\n backgroundColor=\"kitt.skeleton.backgroundColor\"\n borderColor=\"kitt.skeleton.flareColor\"\n >\n <AnimatedLinearGradient\n colors={[\n theme.kitt.skeleton.backgroundColor,\n theme.kitt.skeleton.flareColor,\n theme.kitt.skeleton.backgroundColor,\n ]}\n locations={[0.1, 0.5, 0.9]}\n start={{ x: 0, y: 0 }}\n end={{ x: 1, y: 0 }}\n style={[StyleSheet.absoluteFill, linearGradientStyle]}\n />\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { useState } from 'react';\nimport type { StyleProp, ViewStyle } from 'react-native';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\nimport { SkeletonContent } from './SkeletonContent';\n\nexport interface SkeletonProps extends Omit<ViewProps, 'onLayout'> {\n isLoading?: boolean;\n style?: StyleProp<ViewStyle>;\n}\n\nexport function Skeleton({ isLoading = false, style, ...props }: SkeletonProps): ReactNode {\n const [width, setWidth] = useState(0);\n\n return (\n <View {...props} overflow=\"hidden\" style={style} onLayout={({ nativeEvent }) => setWidth(nativeEvent.layout.width)}>\n <SkeletonContent isLoading={isLoading} width={width} />\n </View>\n );\n}\n\nexport interface BarSkeletonProps extends Omit<SkeletonProps, 'width' | 'height' | 'borderRadius'> {\n size?: number;\n}\n\nfunction Bar({ size, ...props }: BarSkeletonProps): ReactNode {\n const currentBorderRadius = size ? size * 0.5 : 'kitt.skeleton.shape.bar.borderRadius';\n\n return (\n <Skeleton\n {...props}\n width=\"100%\"\n height={size || 'kitt.skeleton.shape.bar.size'}\n borderRadius={currentBorderRadius}\n />\n );\n}\n\nexport interface CircleSkeletonProps extends Omit<SkeletonProps, 'width' | 'height' | 'borderRadius'> {\n size?: number;\n}\n\nfunction Circle({ size, ...props }: CircleSkeletonProps): ReactNode {\n const currentSize = size || 'kitt.skeleton.shape.circle.size';\n const currentBorderRadius = size ? size * 0.5 : 'kitt.skeleton.shape.circle.borderRadius';\n\n return <Skeleton {...props} width={currentSize} height={currentSize} borderRadius={currentBorderRadius} />;\n}\n\nexport interface SquareSkeletonProps extends Omit<SkeletonProps, 'width' | 'height' | 'borderRadius'> {\n size?: number;\n}\n\nfunction Square({ size, ...props }: SquareSkeletonProps): ReactNode {\n const currentSize = size || 'kitt.skeleton.shape.square.size';\n const currentBorderRadius = size ? size * 0.5 : 'kitt.skeleton.shape.square.borderRadius';\n\n return <Skeleton {...props} width={currentSize} height={currentSize} borderRadius={currentBorderRadius} />;\n}\n\nSkeleton.Bar = Bar;\nSkeleton.Circle = Circle;\nSkeleton.Square = Square;\n","export interface MapCenter {\n long: number;\n lat: number;\n zoom: number;\n}\n\nexport interface GetStaticMapImageUrlParams {\n mapId: string;\n apiToken: string;\n mapWidth: number;\n mapHeight: number;\n center: MapCenter;\n is2x?: boolean;\n}\n\nexport function getStaticMapImageUrl({\n mapId,\n apiToken,\n mapWidth,\n mapHeight,\n center,\n is2x,\n}: GetStaticMapImageUrlParams): string {\n const width = Math.round(mapWidth);\n const height = Math.round(mapHeight);\n\n const centerPart = `${center.long},${center.lat},${center.zoom}/`;\n\n const sizePart = `${width}x${height}`;\n\n const urlParts = [\n `https://api.mapbox.com/styles/v1/ornikar/${mapId}/static/`,\n centerPart,\n sizePart,\n is2x ? '@2x' : '',\n ];\n\n const mapImageUrl = new URL(urlParts.join(''));\n mapImageUrl.searchParams.append('access_token', apiToken);\n\n return mapImageUrl.toString();\n}\n","import { useEffect, useRef, useState } from 'react';\nimport { useKittMapConfig } from '../../KittMapConfigProvider/hooks/useKittMapConfig';\nimport type { GetStaticMapImageUrlParams } from '../utils/getStaticMapImageUrl';\nimport { getStaticMapImageUrl } from '../utils/getStaticMapImageUrl';\n\ninterface UseGetStaticMapImageUrlParams extends Omit<GetStaticMapImageUrlParams, 'mapId' | 'apiToken'> {\n forceMapId?: string;\n forceApiToken?: string;\n}\n\nexport function useGetStaticMapImageUrl({\n forceMapId,\n forceApiToken,\n mapWidth,\n mapHeight,\n center,\n is2x,\n}: UseGetStaticMapImageUrlParams): string {\n const { mapId, apiToken } = useKittMapConfig();\n const [currentUrl, setCurrentUrl] = useState<string>('');\n\n const currentMapIdRef = useRef(forceMapId || mapId);\n const currentApiTokenRef = useRef(forceApiToken || apiToken);\n\n useEffect(() => {\n const newUrl = getStaticMapImageUrl({\n center,\n is2x,\n mapHeight,\n mapWidth,\n mapId: currentMapIdRef.current,\n apiToken: currentApiTokenRef.current,\n });\n\n setCurrentUrl(newUrl);\n }, [mapHeight, mapWidth, center, is2x]);\n\n return currentUrl;\n}\n","import { ArrowCounterClockwiseRegularIcon } from '@ornikar/kitt-icons/phosphor';\nimport type { ReactNode } from 'react';\nimport { IconButton } from '../IconButton/IconButton';\nimport { View } from '../native-base/primitives';\n\ninterface StaticMapErrorProps {\n onReload?: () => void;\n}\n\nexport function StaticMapError({ onReload }: StaticMapErrorProps): ReactNode {\n return (\n <View alignItems=\"center\" justifyContent=\"center\" height=\"100%\" backgroundColor=\"kitt.separator\">\n <IconButton icon={<ArrowCounterClockwiseRegularIcon />} onPress={onReload} />\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { Image } from '../native-base/primitives';\n\ninterface StaticMapImageProps {\n url: string;\n alt?: string;\n width: number;\n height: number;\n onLoadEnd?: () => void;\n onError?: () => void;\n}\n\nexport function StaticMapImage({ url, alt, width, height, onLoadEnd, onError }: StaticMapImageProps): ReactNode {\n return (\n <Image source={{ uri: url }} width={width} height={height} alt={alt} onError={onError} onLoadEnd={onLoadEnd} />\n );\n}\n","import type { ReactNode } from 'react';\nimport { Skeleton } from '../Skeleton/Skeleton';\nimport { View } from '../native-base/primitives';\n\nexport function StaticMapLoader(): ReactNode {\n return (\n <View alignItems=\"center\" justifyContent=\"center\" height=\"100%\">\n <Skeleton isLoading width=\"100%\" height=\"100%\" />\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { MapMarker, MapMarkerVariantEnum } from '../MapMarker/MapMarker';\nimport { View } from '../native-base/primitives';\n\ninterface MarkerProps {\n variant?: MapMarkerVariantEnum;\n}\n\nexport function StaticMapMarker({ variant = MapMarkerVariantEnum.MEETING_POINT }: MarkerProps): ReactNode {\n return (\n <View position=\"absolute\" top=\"0\" left=\"0\" width=\"100%\" height=\"100%\">\n <View justifyContent=\"center\" alignItems=\"center\" height=\"100%\">\n {variant === MapMarkerVariantEnum.HOME ? (\n <MapMarker variant={MapMarkerVariantEnum.HOME} />\n ) : (\n <MapMarker variant={MapMarkerVariantEnum.MEETING_POINT} />\n )}\n </View>\n </View>\n );\n}\n","export function getRangedWidthValue(nextWidth: number, maxValue: number): number {\n const rangedMapWidth = Math.max(1, Math.min(nextWidth, maxValue));\n\n return rangedMapWidth;\n}\n","import { PixelRatio } from 'react-native';\n\nexport function getShouldDisplay2x(): boolean {\n const currentDevicePixelRatio = PixelRatio.get();\n\n return currentDevicePixelRatio > 1;\n}\n","import type { ReactNode } from 'react';\nimport { useState } from 'react';\nimport type { LayoutChangeEvent } from 'react-native';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\nimport { StaticMapError } from './StaticMapError';\nimport { StaticMapImage } from './StaticMapImage';\nimport { StaticMapLoader } from './StaticMapLoader';\nimport { StaticMapMarker } from './StaticMapMarker';\nimport { useGetStaticMapImageUrl } from './hooks/useGetStaticMapImageUrl';\nimport { getRangedWidthValue } from './utils/getRangedWidthValue';\nimport { getShouldDisplay2x } from './utils/getShouldDisplay2x';\nimport type { MapCenter } from './utils/getStaticMapImageUrl';\n\nconst mapBoxMaxPictureWidth = 1280;\n\n// Mapbox requestable width for image is between 1 - 1280px\nfunction getPictureWidth(nextWidth: number): number {\n return getRangedWidthValue(nextWidth, mapBoxMaxPictureWidth);\n}\n\nexport interface StaticMapProps extends Omit<ViewProps, 'onLayout'> {\n width?: number;\n height: number;\n alt?: string;\n center: MapCenter;\n marker?: ReactNode;\n /**\n * Mapbox map id.\n * Only use this props if you want to use something different that the config in <KittMapConfigProvider />\n */\n mapId?: string;\n /**\n * Mapbox api access token.\n * Only use this props if you want to use something different that the config in <KittMapConfigProvider />\n */\n apiToken?: string;\n\n onLoaded?: () => void;\n onError?: () => void;\n}\n\nexport function StaticMap({\n width = 0,\n height,\n alt,\n apiToken,\n mapId,\n marker,\n center,\n onLoaded,\n onError,\n ...props\n}: StaticMapProps): ReactNode {\n const [currentWidth, setCurrentWidth] = useState(getPictureWidth(width));\n const [isLoading, setIsLoading] = useState(true);\n const [hasError, setHasError] = useState(false);\n const [currentMapKey, setCurrentMapKey] = useState(0);\n\n const shouldDisplay2xImage = getShouldDisplay2x();\n\n const mapUrl = useGetStaticMapImageUrl({\n forceApiToken: apiToken,\n forceMapId: mapId,\n mapWidth: currentWidth,\n mapHeight: height,\n center,\n is2x: shouldDisplay2xImage,\n });\n\n const handleParentLayout = (event: LayoutChangeEvent): void => {\n const { nativeEvent } = event;\n const rangedMapWidth = getPictureWidth(nativeEvent.layout.width);\n\n setCurrentWidth(rangedMapWidth);\n };\n\n const handleImageLoadEnd = (): void => {\n setIsLoading(false);\n\n if (onLoaded) onLoaded();\n };\n\n const handleError = (): void => {\n setHasError(true);\n\n if (onError) onError();\n };\n\n const handleReload = (): void => {\n setHasError(false);\n setIsLoading(true);\n setCurrentMapKey((prev) => prev + 1);\n };\n\n const shouldDisplayMarker = marker && !isLoading && !hasError;\n\n // Prevents requesting unusable image\n const shouldDisplayPicture = currentWidth > 1 && mapUrl;\n\n return (\n <View\n position=\"relative\"\n maxWidth={mapBoxMaxPictureWidth}\n height={height}\n onLayout={handleParentLayout}\n {...props}\n data-chromatic={process.env.KITT_MAP_CHROMATIC_IGNORE === 'true' ? 'ignore' : undefined}\n >\n {shouldDisplayPicture ? (\n <StaticMapImage\n key={`map-key-${currentMapKey}`}\n url={mapUrl}\n width={currentWidth}\n height={height}\n alt={alt}\n onLoadEnd={handleImageLoadEnd}\n onError={handleError}\n />\n ) : null}\n\n {shouldDisplayMarker ? (\n <View position=\"absolute\" top=\"0\" left=\"0\" width=\"100%\" height=\"100%\">\n {marker}\n </View>\n ) : null}\n\n {isLoading ? (\n <View position=\"absolute\" top=\"0\" left=\"0\" width=\"100%\" height=\"100%\">\n <StaticMapLoader />\n </View>\n ) : null}\n\n {hasError ? (\n <View position=\"absolute\" top=\"0\" left=\"0\" width=\"100%\" height=\"100%\">\n <StaticMapError onReload={handleReload} />\n </View>\n ) : null}\n </View>\n );\n}\n\nStaticMap.Image = StaticMapImage;\nStaticMap.Loader = StaticMapLoader;\nStaticMap.Error = StaticMapError;\nStaticMap.Marker = StaticMapMarker;\n","import type { ReactNode } from 'react';\nimport type { ViewStyle } from 'react-native';\nimport type { Except } from 'type-fest';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\n\ninterface FlexProps extends Except<ViewProps, 'display' | 'flexDirection' | 'flexWrap'> {\n direction: ViewStyle['flexDirection'];\n wrap?: ViewStyle['flexWrap'];\n}\n\nexport function Flex({ direction, wrap = 'wrap', ...props }: FlexProps): ReactNode {\n return <View {...props} flexDirection={direction} flexWrap={wrap} />;\n}\n","export const storyPadding = 'kitt.4';\n","import type { ReactNode } from 'react';\nimport { createContext, useContext } from 'react';\nimport type { KittThemeContextValue } from '../KittThemeContext';\nimport { useTheme } from '../KittThemeContext';\nimport { View } from '../native-base/primitives';\nimport type { ExtendedTypographyColor } from '../typography/Typography';\nimport { storyPadding } from './theme';\n\nexport interface StoryBlockProps {\n background?: 'dark' | 'white' | 'light' | 'primary' | 'transparent';\n children: ReactNode;\n}\n\nconst getBackgroundColorFromBlockColor = (\n theme: KittThemeContextValue,\n color: StoryBlockProps['background'] = 'transparent',\n): string => {\n switch (color) {\n case 'dark':\n return '#293033';\n case 'white':\n return '#ffffff';\n case 'light':\n return theme.kitt.palettes.lateOcean['eggshell.2'];\n case 'primary':\n return theme.kitt.palettes.lateOcean['violine.9'];\n default:\n return 'transparent';\n }\n};\n\nconst getTypographyColorFromBlockColor = (\n color: StoryBlockProps['background'] = 'transparent',\n): ExtendedTypographyColor => {\n switch (color) {\n case 'dark':\n case 'primary':\n return 'white';\n case 'white':\n case 'light':\n default:\n return 'black';\n }\n};\n\nexport const StoryBlockBackgroundContext = createContext<StoryBlockProps['background']>('transparent');\nconst StoryBlockColorContext = createContext<ExtendedTypographyColor>('black');\n\nexport const useStoryBlockColor = (color?: ExtendedTypographyColor | undefined): ExtendedTypographyColor => {\n const storyBlockColor = useContext(StoryBlockColorContext);\n return color || storyBlockColor;\n};\n\nexport function StoryBlock({ children, background }: StoryBlockProps): ReactNode {\n const theme = useTheme();\n return (\n <View\n paddingTop=\"kitt.4\"\n paddingX={storyPadding}\n marginX={`-${storyPadding}`}\n background={getBackgroundColorFromBlockColor(theme, background)}\n >\n <StoryBlockColorContext.Provider value={getTypographyColorFromBlockColor(background)}>\n <StoryBlockBackgroundContext.Provider value={background}>{children}</StoryBlockBackgroundContext.Provider>\n </StoryBlockColorContext.Provider>\n </View>\n );\n}\n","import type { ReactNode } from 'react';\nimport { View } from '../native-base/primitives';\nimport { Typography } from '../typography/Typography';\nimport type { TypographyProps } from '../typography/Typography';\nimport { useStoryBlockColor } from './StoryBlock';\n\ninterface StoryTitleProps {\n color?: TypographyProps['color'];\n numberOfLines?: TypographyProps['numberOfLines'];\n children: ReactNode;\n}\n\nexport function StoryTitle({ color, children, numberOfLines }: StoryTitleProps): ReactNode {\n return (\n <View marginBottom={30}>\n <Typography.Header1 variant=\"bold\" base=\"header1\" color={useStoryBlockColor(color)} numberOfLines={numberOfLines}>\n {children}\n </Typography.Header1>\n </View>\n );\n}\n\nfunction StoryTitleLevel2({ color, children, numberOfLines }: StoryTitleProps): ReactNode {\n return (\n <View marginBottom={30}>\n <Typography.Header2 variant=\"bold\" base=\"header2\" color={useStoryBlockColor(color)} numberOfLines={numberOfLines}>\n {children}\n </Typography.Header2>\n </View>\n );\n}\n\nStoryTitleLevel2.displayName = 'StoryTitle.Level2';\n\nfunction StoryTitleLevel3({ color, children, numberOfLines }: StoryTitleProps): ReactNode {\n return (\n <View marginBottom={10}>\n <Typography.Header3\n variant=\"bold\"\n base=\"header3\"\n medium=\"header4\"\n color={useStoryBlockColor(color)}\n numberOfLines={numberOfLines}\n >\n {children}\n </Typography.Header3>\n </View>\n );\n}\n\nStoryTitleLevel3.displayName = 'StoryTitle.Level3';\n\nfunction StoryTitleLevel4({ color, children, numberOfLines }: StoryTitleProps): ReactNode {\n return (\n <View marginBottom={10}>\n <Typography.Header4\n variant=\"bold\"\n base=\"header4\"\n medium=\"header5\"\n color={useStoryBlockColor(color)}\n numberOfLines={numberOfLines}\n >\n {children}\n </Typography.Header4>\n </View>\n );\n}\n\nStoryTitleLevel4.displayName = 'StoryTitle.Level3';\n\nStoryTitle.Level2 = StoryTitleLevel2;\nStoryTitle.Level3 = StoryTitleLevel3;\nStoryTitle.Level4 = StoryTitleLevel4;\n","import type { ReactNode } from 'react';\nimport type { ScrollViewProps } from '../native-base/primitives';\nimport { ScrollView } from '../native-base/primitives';\nimport { StoryTitle } from './StoryTitle';\nimport { storyPadding } from './theme';\n\nexport interface StoryProps {\n title: ReactNode;\n children: ReactNode;\n contentContainerStyle?: ScrollViewProps['contentContainerStyle'];\n}\n\nexport function Story({ title, contentContainerStyle, children }: StoryProps): ReactNode {\n return (\n <ScrollView background=\"#fff\" padding={storyPadding} contentContainerStyle={contentContainerStyle}>\n <StoryTitle>{title}</StoryTitle>\n {children}\n </ScrollView>\n );\n}\n","import type { ReactNode } from 'react';\nimport type { Except } from 'type-fest';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\nimport { StoryTitle } from './StoryTitle';\n\nexport interface StorySectionProps extends Except<ViewProps, 'marginBottom'> {\n title: ReactNode;\n children: ReactNode;\n /** @private */\n internalIsDemoSection?: boolean;\n}\n\nexport function StorySection({ title, children, internalIsDemoSection, ...props }: StorySectionProps): ReactNode {\n if (title === 'Demo' && !internalIsDemoSection) throw new Error('Use StorySection.Demo instead');\n return (\n <View marginBottom=\"kitt.8\" {...props}>\n <StoryTitle.Level2>{title}</StoryTitle.Level2>\n {children}\n </View>\n );\n}\n\nfunction SubSection({ title, children, ...props }: StorySectionProps): ReactNode {\n return (\n <View marginBottom=\"kitt.4\" {...props}>\n <StoryTitle.Level3>{title}</StoryTitle.Level3>\n {children}\n </View>\n );\n}\n\nfunction BlockSection({ title, children, ...props }: StorySectionProps): ReactNode {\n return (\n <View marginBottom=\"kitt.4\" {...props}>\n <StoryTitle.Level4>{title}</StoryTitle.Level4>\n {children}\n </View>\n );\n}\n\nexport interface DemoSectionProps extends ViewProps {\n children: ReactNode;\n}\n\nfunction DemoSection({ children, ...props }: DemoSectionProps): ReactNode {\n return (\n <View marginBottom=\"kitt.16\" {...props}>\n <StorySection internalIsDemoSection title=\"Demo\">\n {children}\n </StorySection>\n </View>\n );\n}\n\nStorySection.SubSection = SubSection;\nStorySection.BlockSection = BlockSection;\n/** @deprecated use StorySection.Demo instead */\nStorySection.DemoSection = DemoSection;\nStorySection.Demo = DemoSection;\n\n/** @deprecated use StorySection instead */\nexport const DeprecatedSection = StorySection;\n","import type { ReactNode } from 'react';\nimport { StorySection } from './StorySection';\n\nexport interface StoryContainerProps {\n children: NonNullable<ReactNode>;\n state?: 'none' | 'active' | 'hover' | 'focus';\n platform?: 'all' | 'native' | 'web';\n title?: ReactNode;\n}\n\nexport function StoryContainer({ children, title, state = 'none', platform = 'all' }: StoryContainerProps): ReactNode {\n if (platform === 'web') return null;\n\n return (\n <StorySection.BlockSection testID={state} title={title}>\n {children}\n </StorySection.BlockSection>\n );\n}\n","import { makeDecorator } from '@storybook/addons';\nimport type { ReactNode } from 'react';\nimport { Story } from './Story';\n\nexport const StoryDecorator = makeDecorator({\n name: 'StoryDecorator',\n parameterName: 'storyDecorator',\n wrapper: (storyFn, context): ReactNode => {\n const story = storyFn(context) as unknown as ReactNode;\n\n if (context.parameters.disableStoryContainer) {\n return story;\n }\n\n return <Story title={context.name}>{story}</Story>;\n },\n});\n","import type { ReactNode } from 'react';\nimport { Children } from 'react';\nimport { Platform } from 'react-native';\nimport type { TypographyProps } from '..';\nimport { View } from '../native-base/primitives';\nimport { StoryTitle } from './StoryTitle';\n\nexport interface StoryGridRowProps {\n children: NonNullable<ReactNode>;\n breakpoint?: 'small' | 'medium';\n flexWrap?: boolean;\n}\n\nfunction StoryGridRow({ children, breakpoint = 'small', flexWrap }: StoryGridRowProps): ReactNode {\n return (\n <View\n flexDirection={{ base: 'column', [breakpoint]: 'row' }}\n flexWrap={flexWrap ? 'wrap' : undefined}\n marginX={{ [breakpoint]: '-kitt.1' }}\n marginBottom={{ [breakpoint]: 'kitt.4' }}\n >\n {Children.map(children, (child) => (\n <View\n flexGrow={{ [breakpoint]: 1 }}\n flexBasis={flexWrap ? undefined : { [breakpoint]: 0 }}\n paddingTop={{ base: 'kitt.2', [breakpoint]: 0 }}\n paddingBottom={{ base: 'kitt.4', [breakpoint]: 0 }}\n marginX={{ [breakpoint]: 'kitt.2' }}\n >\n {child}\n </View>\n ))}\n </View>\n );\n}\n\nexport interface StoryGridColProps {\n children: NonNullable<ReactNode>;\n title?: string;\n titleColor?: TypographyProps['color'];\n platform?: 'all' | 'native' | 'web';\n}\n\nfunction StoryGridCol({ title, titleColor, children, platform = 'all' }: StoryGridColProps): ReactNode {\n const isNative = Platform.OS === 'ios' || Platform.OS === 'android';\n\n if (Platform.OS === 'web' && platform === 'native') {\n return null;\n }\n\n if (isNative && platform === 'web') {\n return null;\n }\n\n return (\n <>\n {title ? (\n <StoryTitle.Level4 numberOfLines={1} color={titleColor}>\n {title}\n </StoryTitle.Level4>\n ) : null}\n {children}\n </>\n );\n}\n\nexport const StoryGrid = {\n Row: StoryGridRow,\n Col: StoryGridCol,\n};\n","import { type ReactNode } from 'react';\nimport { HStack } from '../native-base/layout';\nimport type { PressableProps } from '../native-base/primitives';\nimport { Pressable, View } from '../native-base/primitives';\nimport type { ExtendedTypographyColor } from '../typography/Typography';\nimport { Typography } from '../typography/Typography';\nimport type { TypographyIconProps } from '../typography/TypographyIcon';\nimport { TypographyIcon } from '../typography/TypographyIcon';\nimport { useKittTheme } from '../useKittTheme';\n\nexport type TabBarItemColor = 'black' | 'white';\n\nexport interface TabBarItemProps {\n name: ReactNode;\n icon?: TypographyIconProps['icon'];\n color?: TabBarItemColor;\n testID?: PressableProps['testID'];\n isActive?: boolean;\n onPress?: PressableProps['onPress'];\n}\n\nfunction useTabBarItemColor(color: TabBarItemColor, isActive: boolean): ExtendedTypographyColor {\n const { kitt: kittTheme } = useKittTheme();\n\n switch (color) {\n case 'black': {\n return isActive ? kittTheme.palettes.lateOcean.black : kittTheme.palettes.lateOcean['eggshell.10'];\n }\n case 'white': {\n return kittTheme.palettes.lateOcean.white;\n }\n default: {\n return isActive ? kittTheme.palettes.lateOcean.black : kittTheme.palettes.lateOcean['eggshell.10'];\n }\n }\n}\n\nfunction useTabBarIndicatorColor(color: TabBarItemColor, isActive: boolean): ExtendedTypographyColor {\n const { kitt: kittTheme } = useKittTheme();\n\n switch (color) {\n case 'black': {\n return isActive ? kittTheme.palettes.lateOcean.black : kittTheme.palettes.lateOcean.transparent;\n }\n case 'white': {\n return isActive ? kittTheme.palettes.lateOcean.white : kittTheme.palettes.lateOcean.transparent;\n }\n default: {\n return isActive ? kittTheme.palettes.lateOcean.black : kittTheme.palettes.lateOcean['eggshell.10'];\n }\n }\n}\n\nexport function TabBarItem({\n name,\n icon,\n color = 'black',\n testID,\n isActive = false,\n onPress,\n}: TabBarItemProps): ReactNode {\n const typographyColor = useTabBarItemColor(color, isActive);\n const indicatorColor = useTabBarIndicatorColor(color, isActive);\n\n return (\n <Pressable testID={testID} onPress={onPress}>\n <HStack height={56} alignItems=\"center\" position=\"relative\">\n {/* icon */}\n {icon ? (\n <View marginRight=\"kitt.1\">\n <TypographyIcon color={typographyColor} icon={icon} />\n </View>\n ) : null}\n\n {/* label */}\n <Typography.Text numberOfLines={1} color={typographyColor} variant={isActive ? 'bold' : undefined}>\n {name}\n </Typography.Text>\n\n {/* indicator */}\n <View\n borderRadius={100}\n backgroundColor={indicatorColor}\n position=\"absolute\"\n bottom={-1} // in order to be over tab bar's border bottom\n width=\"100%\"\n height={4}\n />\n </HStack>\n </Pressable>\n );\n}\n","import { useSx } from 'native-base';\nimport type { ReactElement, ReactNode } from 'react';\nimport { Children, cloneElement } from 'react';\nimport type { GestureResponderEvent } from 'react-native';\nimport { HStack } from '../native-base/layout';\nimport type { ViewProps } from '../native-base/primitives';\nimport { ScrollView, View } from '../native-base/primitives';\nimport { useKittTheme } from '../useKittTheme';\nimport type { TabBarItemColor, TabBarItemProps } from './TabBarItem';\nimport { TabBarItem } from './TabBarItem';\n\ninterface ChangeTabObject<T> {\n tab: T;\n index: number;\n}\n\ninterface RenderTabObject<T> extends ChangeTabObject<T> {\n isActive: boolean;\n}\n\nexport type TabBarAlignment = 'left' | 'center';\n\nexport interface TabBarProps<T> extends ViewProps {\n color?: TabBarItemColor;\n align?: TabBarAlignment;\n tabs: T[];\n activeTabIndex: number;\n onChangeTab: (values: ChangeTabObject<T>) => void;\n renderTabItem: (values: RenderTabObject<T>) => ReactElement<TabBarItemProps>;\n}\n\nexport function TabBar<T extends { key: string }>({\n tabs,\n color = 'black',\n align = 'left',\n activeTabIndex = 0,\n renderTabItem,\n onChangeTab,\n ...props\n}: TabBarProps<T>): ReactNode {\n const sx = useSx();\n const { kitt: kittTheme } = useKittTheme();\n const tabItems = tabs.map((tab, index) => renderTabItem({ tab, index, isActive: activeTabIndex === index }));\n\n const scrollViewStyles = sx({\n justifyContent: align,\n paddingRight: align === 'center' ? 'kitt.2' : 'kitt.12',\n minWidth: '100%',\n borderBottomWidth: 1,\n borderBottomColor: kittTheme.palettes.lateOcean['eggshell.3'],\n });\n\n return (\n <ScrollView horizontal showsHorizontalScrollIndicator={false} contentContainerStyle={scrollViewStyles}>\n <HStack space={align === 'center' ? 'kitt.16' : 'kitt.4'} {...props}>\n {Children.map(tabItems, (child, index) => {\n const tab = tabs[index];\n return (\n <View key={tab.key}>\n {cloneElement(child, {\n color,\n onPress: (event: GestureResponderEvent) => {\n onChangeTab({ tab: tabs[index], index });\n child.props.onPress?.(event);\n },\n })}\n </View>\n );\n })}\n </HStack>\n </ScrollView>\n );\n}\n\nTabBar.Item = TabBarItem;\n","import type { ReactElement, ReactNode } from 'react';\nimport { HStack } from '../native-base/layout';\nimport { View } from '../native-base/primitives';\nimport type { TypographyBodyType } from '../typography/Typography';\nimport { Typography } from '../typography/Typography';\nimport { TypographyIcon } from '../typography/TypographyIcon';\nimport { useKittTheme } from '../useKittTheme';\n\nexport type TagColor = 'eggshell' | 'sun' | 'coral' | 'raspberry' | 'lavender' | 'violine' | 'blue' | 'green';\nexport type TagSize = 'small' | 'medium' | 'large';\nexport type TagVariant = 'outline' | 'fill' | 'contrast';\nexport type TagType = 'primary' | 'default' | 'danger' | 'warn';\n\nexport interface TagProps {\n label: ReactNode;\n icon?: ReactElement<any>;\n color?: TagColor;\n size?: TagSize;\n variant?: TagVariant;\n /** @deprecated use `color=` instead */\n type?: TagType;\n withWhiteBorder?: boolean;\n}\n\nconst getTypography = (size: TagSize): TypographyBodyType => {\n switch (size) {\n case 'small':\n return 'body-xs';\n case 'medium':\n return 'body-s';\n case 'large':\n default:\n return 'body-m';\n }\n};\n\nconst typeToColor = (color?: TagColor, type?: TagType): TagColor => {\n if (color) return color;\n switch (type) {\n case 'primary':\n return 'violine';\n case 'warn':\n return 'sun';\n case 'danger':\n return 'coral';\n case 'default':\n default:\n return 'eggshell';\n }\n};\n\nexport function Tag({\n label,\n icon,\n color,\n type,\n size = 'medium',\n variant = 'fill',\n withWhiteBorder = false,\n}: TagProps): ReactNode {\n const kittTheme = useKittTheme();\n\n const tagColor = typeToColor(color, type);\n\n const getBackgroundColor = (): string => {\n if (variant === 'contrast') {\n return kittTheme.kitt.palettes.lateOcean[`${tagColor}.9`];\n }\n return kittTheme.kitt.palettes.lateOcean[`${tagColor}.4`];\n };\n\n const getBorderColor = (): string | undefined => {\n return kittTheme.kitt.palettes.lateOcean[`${tagColor}.6`];\n };\n\n const getFontColor = (): string => {\n if (variant === 'contrast') {\n return kittTheme.kitt.palettes.lateOcean[`${tagColor}.${tagColor === 'sun' ? 12 : 2}`];\n }\n return 'black';\n };\n\n return (\n <HStack\n alignSelf=\"flex-start\"\n borderRadius=\"kitt.tag.borderRadius\"\n height={`kitt.tag.${size}.height`}\n paddingLeft={`kitt.tag.${icon ? 'withIcon' : 'withoutIcon'}.${size}.paddingLeft`}\n paddingRight={`kitt.tag.${icon ? 'withIcon' : 'withoutIcon'}.${size}.paddingRight`}\n backgroundColor={variant === 'fill' || variant === 'contrast' ? getBackgroundColor() : 'kitt.transparent'}\n borderColor={withWhiteBorder ? 'kitt.white' : getBorderColor()}\n borderWidth={withWhiteBorder ? 1 : `kitt.tag.${variant}.borderWidth`}\n space=\"kitt.1\"\n alignItems=\"center\"\n maxWidth=\"100%\"\n >\n {icon ? <TypographyIcon icon={icon} size={`kitt.tag.${size}.iconSize`} color={getFontColor()} /> : null}\n <View flexShrink={1}>\n <Typography.Text base={getTypography(size)} color={getFontColor()} numberOfLines={1} ellipsizeMode=\"tail\">\n {label}\n </Typography.Text>\n </View>\n </HStack>\n );\n}\n","import { XRegularIcon } from '@ornikar/kitt-icons/phosphor';\nimport type { AndroidNativeProps, DateTimePickerEvent } from '@react-native-community/datetimepicker';\nimport DateTimePicker from '@react-native-community/datetimepicker';\nimport type { ReactNode } from 'react';\nimport { useState } from 'react';\nimport { FormattedMessage } from 'react-intl';\nimport { Platform } from 'react-native';\nimport type { ButtonProps } from '../Button/Button';\nimport { Button } from '../Button/Button';\nimport type { CardModalProps } from '../CardModal/CardModal';\nimport { CardModal } from '../CardModal/CardModal';\nimport { IconButton } from '../IconButton/IconButton';\n\ninterface ModalDateTimePickerProps {\n title?: ReactNode;\n visible?: boolean;\n timezoneName?: string;\n /** @description Native only props - iOSNativeProps['minuteInterval'] has same type */\n minuteInterval?: AndroidNativeProps['minuteInterval'];\n value: Date;\n validateButtonLabel?: ButtonProps['children'];\n testID?: CardModalProps['testID'];\n pickerTestID?: string;\n onChange: (newDate: Date) => void;\n onClose: () => void;\n}\n\nexport function ModalDateTimePicker({\n title,\n visible,\n value,\n minuteInterval,\n timezoneName = 'UTC',\n validateButtonLabel,\n testID,\n pickerTestID,\n onChange,\n onClose,\n}: ModalDateTimePickerProps): ReactNode {\n const [currentValue, setCurrentValue] = useState(value);\n\n // Prevent unsynced value between the modal and its parent state\n const handleClose = (): void => {\n setCurrentValue(value);\n onClose();\n };\n\n const handleSubmit = (): void => {\n onChange(currentValue);\n };\n\n const handleChange = (nextDate?: Date): void => {\n if (nextDate) setCurrentValue(nextDate);\n };\n\n const buttonContent = validateButtonLabel || (\n <FormattedMessage id=\"kitt-universal.ModalDateTimePicker.confirm\" defaultMessage=\"Valider\" />\n );\n\n return (\n <CardModal.ModalBehaviour visible={Boolean(visible)} onClose={handleClose}>\n <CardModal testID={testID}>\n {title ? (\n <CardModal.Header\n title={title}\n right={\n <IconButton\n testID=\"timePicker.ModalDateTimePicker.closeButton\"\n icon={<XRegularIcon />}\n onPress={handleClose}\n />\n }\n />\n ) : null}\n\n <CardModal.Body>\n <DateTimePicker\n is24Hour\n timeZoneName={timezoneName}\n minuteInterval={minuteInterval}\n testID={pickerTestID}\n value={currentValue}\n mode=\"time\"\n display={Platform.OS === 'ios' ? 'spinner' : 'default'}\n onChange={(event: DateTimePickerEvent, date?: Date) => handleChange(date)}\n />\n </CardModal.Body>\n <CardModal.Footer>\n <Button stretch testID=\"timePicker.ModalDateTimePicker.submitButton\" type=\"primary\" onPress={handleSubmit}>\n {buttonContent}\n </Button>\n </CardModal.Footer>\n </CardModal>\n </CardModal.ModalBehaviour>\n );\n}\n","function formatNumberToTimeString(time: number): string {\n return `${String(time).padStart(2, '0')}`;\n}\n\nexport function formatDateToTimeString(date: Date): string {\n return `${formatNumberToTimeString(date.getHours())}:${formatNumberToTimeString(date.getMinutes())}`;\n}\n","import type { InputUIState } from '../../forms/utils';\n\ninterface GetCurrentInternalForcedStateParams {\n isDisabled?: boolean;\n isFocusedInternal?: boolean;\n isPressedInternal?: boolean;\n isHoveredInternal?: boolean;\n}\n\nexport function getCurrentInternalForcedState({\n isDisabled,\n isHoveredInternal,\n isFocusedInternal,\n isPressedInternal,\n}: GetCurrentInternalForcedStateParams): InputUIState | 'disabled' {\n if (isDisabled) return 'disabled';\n\n if (isHoveredInternal) return 'hover';\n\n if (isFocusedInternal) return 'focus';\n\n if (isPressedInternal) return 'hover';\n\n return 'default';\n}\n","import type { ReactNode } from 'react';\nimport { forwardRef } from 'react';\nimport { InputText } from '../forms/InputText/InputText';\nimport type { PressableProps } from '../native-base/primitives';\nimport { Pressable, View } from '../native-base/primitives';\nimport type { ResponsiveValue } from '../utils/createResponsiveStyleFromProp/createResponsiveStyleFromProp';\nimport { createResponsiveStyleFromProp } from '../utils/createResponsiveStyleFromProp/createResponsiveStyleFromProp';\nimport { formatDateToTimeString } from './utils/formatDateToTimeString';\nimport { getCurrentInternalForcedState } from './utils/getCurrentInternalForcedState';\n\ninterface TimePickerPressableProps {\n testID?: PressableProps['testID'];\n disabled?: boolean;\n stretch?: ResponsiveValue<boolean | undefined>;\n value?: Date;\n placeholder?: string;\n /** @internal for story purpose */\n isHoveredInternal?: boolean;\n /** @internal for story purpose */\n isFocusedInternal?: boolean;\n /** @internal for story purpose */\n isPressedInternal?: boolean;\n onPress?: () => void;\n}\n\nexport const TimePickerPressable = forwardRef<PressableProps, TimePickerPressableProps>(\n (\n {\n testID,\n disabled,\n stretch,\n value,\n placeholder,\n isHoveredInternal,\n isFocusedInternal,\n isPressedInternal,\n onPress,\n }: TimePickerPressableProps,\n ref,\n ): ReactNode => {\n return (\n <Pressable\n ref={ref}\n testID={testID}\n disabled={disabled}\n accessibilityRole=\"button\"\n width={createResponsiveStyleFromProp(stretch, '100%', 'kitt.forms.timePicker.minWidth')}\n pointerEvents=\"box-only\"\n onPress={onPress}\n >\n {({ isHovered, isFocused, isPressed }) => (\n <View position=\"relative\">\n <InputText\n internalForceState={getCurrentInternalForcedState({\n isDisabled: disabled,\n isHoveredInternal: isHovered || isHoveredInternal,\n isFocusedInternal: isFocused || isFocusedInternal,\n isPressedInternal: isPressed || isPressedInternal,\n })}\n value={value ? formatDateToTimeString(value) : undefined}\n placeholder={placeholder}\n disabled={disabled}\n textAlign=\"center\"\n />\n <View position=\"absolute\" top=\"0\" left=\"0\" height=\"100%\" width=\"100%\" />\n </View>\n )}\n </Pressable>\n );\n },\n);\n","import type { AndroidNativeProps, DateTimePickerEvent } from '@react-native-community/datetimepicker';\nimport DateTimePicker from '@react-native-community/datetimepicker';\nimport type { ReactNode } from 'react';\nimport { forwardRef, useState } from 'react';\nimport { Platform } from 'react-native';\nimport type { CardModalProps } from '../CardModal/CardModal';\nimport type { PressableProps } from '../native-base/primitives';\nimport type { ResponsiveValue } from '../utils/createResponsiveStyleFromProp/createResponsiveStyleFromProp';\nimport { ModalDateTimePicker } from './ModalDateTimePicker';\nimport { TimePickerPressable } from './TimePickerPressable';\n\nexport interface TimePickerProps {\n value?: Date;\n disabled?: boolean;\n placeholder?: string;\n stretch?: ResponsiveValue<boolean | undefined>;\n testID?: PressableProps['testID'];\n /** @description Native only props */\n timezoneName?: string;\n // iOSNativeProps['minuteInterval'] has same type\n minuteInterval?: AndroidNativeProps['minuteInterval'];\n /** @descritpion Native only props - title displayed in the CardModal that shows the native picker */\n title?: ReactNode;\n /** @description Native only props */\n validateButtonLabel?: string;\n /** @description Native only props */\n isDefaultVisible?: boolean;\n /** @description Native only props */\n modalTestID?: CardModalProps['testID'];\n /** @description Native only props */\n pickerTestID?: string;\n /** @internal for story purpose */\n isHoveredInternal?: boolean;\n /** @internal for story purpose */\n isFocusedInternal?: boolean;\n /** @internal for story purpose */\n isPressedInternal?: boolean;\n onChange?: (nextDate: Date | undefined) => void;\n onBlur?: () => void;\n}\n\nexport const TimePicker = forwardRef<PressableProps, TimePickerProps>(\n (\n {\n title,\n disabled = false,\n stretch,\n value,\n timezoneName = 'UTC',\n minuteInterval,\n validateButtonLabel,\n isDefaultVisible,\n placeholder = '--:--',\n testID,\n modalTestID,\n pickerTestID = 'timePicker.ModalDateTimePicker.dateTimeNativePicker',\n isHoveredInternal,\n isFocusedInternal,\n isPressedInternal,\n onChange,\n onBlur,\n }: TimePickerProps,\n ref,\n ): ReactNode => {\n const [currentValue, setCurrentValue] = useState<Date | undefined>(value);\n const [isPickerVisible, setIsPickerVisible] = useState(isDefaultVisible);\n\n const handleClose = (): void => {\n setIsPickerVisible(false);\n };\n\n const handleChange = (nextDate?: Date | undefined): void => {\n setIsPickerVisible(false);\n\n setCurrentValue(nextDate);\n\n if (onChange) onChange(nextDate);\n\n if (onBlur) onBlur();\n };\n\n const handlePress = (): void => {\n setIsPickerVisible(true);\n };\n\n const pickerValue = currentValue || new Date();\n\n return (\n <>\n <TimePickerPressable\n ref={ref}\n testID={testID}\n disabled={disabled}\n stretch={stretch}\n value={currentValue}\n placeholder={placeholder}\n isHoveredInternal={isHoveredInternal}\n isFocusedInternal={isFocusedInternal}\n isPressedInternal={isPressedInternal}\n onPress={handlePress}\n />\n\n {Platform.OS === 'android' && isPickerVisible ? (\n <DateTimePicker\n is24Hour\n testID={pickerTestID}\n value={pickerValue}\n minuteInterval={minuteInterval}\n timeZoneName={timezoneName}\n mode=\"time\"\n display=\"spinner\"\n onChange={(event: DateTimePickerEvent, date?: Date) => handleChange(date)}\n />\n ) : null}\n\n {Platform.OS !== 'android' ? (\n <ModalDateTimePicker\n visible={isPickerVisible}\n minuteInterval={minuteInterval}\n title={title}\n testID={modalTestID}\n timezoneName={timezoneName}\n pickerTestID={pickerTestID}\n value={pickerValue}\n validateButtonLabel={validateButtonLabel}\n onChange={handleChange}\n onClose={handleClose}\n />\n ) : null}\n </>\n );\n },\n);\n","import { Pressable, VStack } from 'native-base';\nimport type { ReactNode } from 'react';\nimport { Typography } from '../typography/Typography';\n\nexport interface ToastContentProps {\n title?: ReactNode;\n description?: ReactNode;\n showButton?: boolean;\n actionLabel?: ReactNode;\n onPress?: () => void;\n}\n\nexport function ToastContent({ title, description, actionLabel, showButton, onPress }: ToastContentProps): ReactNode {\n return (\n <VStack space=\"kitt.2\" flexGrow={1} flexShrink={1}>\n {title ? (\n <Typography.Text base=\"heading-xxs\" color=\"white\">\n {title}\n </Typography.Text>\n ) : null}\n {description ? (\n <Typography.Text base=\"body-s\" color=\"white\">\n {description}\n </Typography.Text>\n ) : null}\n {showButton ? (\n <Pressable\n alignSelf=\"flex-end\"\n paddingY=\"kitt.1\"\n paddingX=\"kitt.2\"\n borderRadius=\"kitt.1\"\n borderWidth={1}\n borderColor=\"white\"\n onPress={onPress}\n >\n <Typography.Text base=\"heading-xxs\" color=\"white\">\n {actionLabel}\n </Typography.Text>\n </Pressable>\n ) : null}\n </VStack>\n );\n}\n","import {\n CheckCircleFillIcon,\n InfoFillIcon,\n WarningCircleFillIcon,\n WarningFillIcon,\n} from '@ornikar/kitt-icons/phosphor';\nimport type { ReactElement } from 'react';\n\nexport type ToastType = 'success' | 'warning' | 'info' | 'danger';\n\nexport const typeToColor = (type: ToastType): 'sun' | 'coral' | 'blue' | 'green' => {\n switch (type) {\n case 'success':\n return 'green';\n case 'danger':\n return 'coral';\n case 'warning':\n return 'sun';\n default:\n return 'blue';\n }\n};\n\nexport const typeToIcon = (type: ToastType): ReactElement<any> => {\n switch (type) {\n case 'success':\n return <CheckCircleFillIcon />;\n case 'danger':\n return <WarningFillIcon />;\n case 'warning':\n return <WarningCircleFillIcon />;\n default:\n return <InfoFillIcon />;\n }\n};\n","import { XRegularIcon } from '@ornikar/kitt-icons/phosphor';\nimport { type ReactNode, useCallback, useEffect } from 'react';\nimport Animated, { Easing, runOnJS, useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';\nimport { HStack } from '../native-base/layout';\nimport { Pressable, View } from '../native-base/primitives';\nimport { TypographyIcon } from '../typography/TypographyIcon';\nimport { useKittTheme } from '../useKittTheme';\nimport { ToastContent } from './Toast.Content';\nimport type { ToastType } from './Toast.utils';\nimport { typeToColor, typeToIcon } from './Toast.utils';\n\nexport interface ToastProps {\n outro?: 'timer' | 'action' | 'closeButton';\n stretch?: boolean;\n title?: ReactNode;\n description?: ReactNode;\n type?: ToastType;\n timer?: 'small' | 'large';\n timeout?: number;\n actionLabel?: ReactNode;\n onDismiss?: () => void;\n hideToast: () => void;\n}\n\nconst AnimatedView = Animated.createAnimatedComponent(View);\n\nexport function ToastComponent({\n title,\n description,\n actionLabel,\n type = 'info',\n stretch = true,\n timer = 'large',\n outro = 'closeButton',\n timeout,\n onDismiss,\n hideToast,\n}: ToastProps): ReactNode {\n const kittTheme = useKittTheme();\n const color = typeToColor(type);\n const icon = typeToIcon(type);\n const width = useSharedValue(100);\n const toastTimeout = timeout || (timer === 'small' ? 4000 : 6000);\n const animatedStyle = useAnimatedStyle(() => {\n return {\n minWidth: `${width.value}%`,\n };\n }, [width]);\n\n const handleHideToast = useCallback(() => {\n hideToast();\n onDismiss?.();\n }, [hideToast, onDismiss]);\n\n useEffect(() => {\n if (outro === 'timer') {\n width.value = 100;\n width.value = withTiming(0, { duration: toastTimeout, easing: Easing.bezier(0, 0, 0.58, 1) }, () => {\n runOnJS(handleHideToast)();\n });\n }\n }, [handleHideToast, outro, width, toastTimeout]);\n\n return (\n <View\n alignSelf={stretch ? 'flex-start' : 'auto'}\n backgroundColor={kittTheme.kitt.palettes.lateOcean['eggshell.12']}\n borderRadius=\"kitt.2\"\n maxWidth={{\n base: '100%',\n medium: stretch ? kittTheme.kitt.breakpoints.values.medium : 580,\n }}\n overflow=\"hidden\"\n >\n <HStack alignItems=\"flex-start\" padding=\"kitt.4\" space=\"kitt.2\">\n <TypographyIcon icon={icon} size=\"kitt.5\" color={kittTheme.kitt.palettes.lateOcean[`${color}.8`]} />\n <ToastContent\n title={title}\n description={description}\n showButton={outro === 'action'}\n actionLabel={actionLabel}\n onPress={handleHideToast}\n />\n {outro === 'closeButton' ? (\n <Pressable alignSelf=\"center\" onPress={handleHideToast}>\n <TypographyIcon icon={<XRegularIcon />} size=\"kitt.5\" color=\"white\" />\n </Pressable>\n ) : null}\n </HStack>\n {outro === 'timer' ? (\n <AnimatedView\n alignSelf=\"flex-end\"\n backgroundColor={kittTheme.kitt.palettes.lateOcean[`${color}.8`]}\n height=\"kitt.1\"\n style={animatedStyle}\n />\n ) : null}\n </View>\n );\n}\n","<svg viewBox=\"0 0 36 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"currentColor\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M22.399 6.128C20.939 7.722 19.767 9 18 9s-2.938-1.278-4.399-2.872C11.187 3.494 7.984 0 0 0h36c-7.984 0-11.187 3.494-13.601 6.128z\"/></svg>","import type { ReactNode } from 'react';\nimport { forwardRef } from 'react';\nimport { useTheme } from '../KittThemeContext';\nimport type { ViewProps } from '../native-base/primitives';\nimport { View } from '../native-base/primitives';\nimport type { TooltipPosition } from './Tooltip';\nimport TooltipArrowImage from './arrow.inline.svg';\n\nexport interface ArrowProps {\n position: TooltipPosition;\n top?: number;\n left?: number;\n display?: ViewProps['display'];\n}\n\nexport const Arrow = forwardRef<typeof View, ArrowProps>(\n ({ position, top, left, display }: ArrowProps, ref): ReactNode => {\n const theme = useTheme();\n return (\n <View\n ref={ref}\n display={display || { base: 'none', small: 'flex' }}\n width=\"kitt.tooltip.arrow.width\"\n height=\"kitt.tooltip.arrow.height\"\n left={left}\n top={top}\n style={{\n transform: `rotate(${position === 'bottom' ? '180deg' : '0deg'})`,\n }}\n >\n <TooltipArrowImage color={theme.kitt.tooltip.backgroundColor} opacity={theme.kitt.tooltip.opacity} />\n </View>\n );\n },\n);\n","import type { ReactNode } from 'react';\nimport { View } from '../native-base/primitives';\nimport { Typography } from '../typography/Typography';\n\ninterface TooltipContentProps {\n children: ReactNode;\n}\n\nexport function TooltipContent({ children }: TooltipContentProps): ReactNode {\n return (\n <View\n backgroundColor=\"kitt.tooltip.backgroundColor\"\n borderRadius=\"kitt.tooltip.borderRadius\"\n opacity=\"kitt.tooltip.opacity\"\n paddingY=\"kitt.tooltip.verticalPadding\"\n paddingX=\"kitt.tooltip.horizontalPadding\"\n >\n <Typography.Text base=\"body-small\" color=\"white-light\">\n {children}\n </Typography.Text>\n </View>\n );\n}\n","import { useEffect, useState } from 'react';\nimport { useWindowDimensions } from 'react-native';\n\ninterface CustomShiftParams {\n tooltipX: number;\n refPageX: number;\n refWidth: number;\n floatingWidth: number;\n wWidth: number;\n}\n// HG 08/11/2022\n// At the moment `shift` from `@floating-ui/react-native` does not work properly\nexport function customShift({ tooltipX, refPageX, refWidth, floatingWidth, wWidth }: CustomShiftParams): {\n left?: number;\n right?: number;\n} {\n const refCenterOnScreen = refPageX + refWidth * 0.5;\n const halfFloatingWith = floatingWidth * 0.5;\n\n // Left collisions\n if (refCenterOnScreen - halfFloatingWith < 0) {\n return {\n left: 0,\n right: undefined,\n };\n }\n\n // Right collisions\n if (refCenterOnScreen + halfFloatingWith > wWidth) {\n return {\n left: undefined,\n right: 0,\n };\n }\n\n // No collisions\n return {\n left: tooltipX,\n right: undefined,\n };\n}\n\ninterface UseCustomShiftParams {\n tooltipX: number;\n pressableRect?: {\n pageX: number;\n width: number;\n };\n floatingWidth?: number;\n}\n\nexport function useCustomShift({ tooltipX, pressableRect, floatingWidth }: UseCustomShiftParams): {\n left?: number;\n right?: number;\n} {\n const windowDimensions = useWindowDimensions();\n const [customShiftData, setCustomShiftData] = useState<{ left?: number; right?: number }>({\n left: undefined,\n right: undefined,\n });\n\n useEffect(() => {\n if (tooltipX === undefined || !pressableRect || floatingWidth === undefined) return;\n\n const res = customShift({\n tooltipX,\n refPageX: pressableRect.pageX,\n refWidth: pressableRect.width,\n wWidth: windowDimensions.width,\n floatingWidth,\n });\n\n setCustomShiftData(res);\n }, [floatingWidth, tooltipX, windowDimensions, pressableRect]);\n\n return customShiftData;\n}\n","import type { MiddlewareData, Placement } from '@floating-ui/react-native';\nimport { autoPlacement, offset, useFloating } from '@floating-ui/react-native';\nimport type { ReactNode, Ref, RefObject } from 'react';\nimport { useCallback, useEffect, useRef, useState } from 'react';\nimport type { Pressable as NativePressable } from 'react-native';\nimport Animated, { useAnimatedStyle, useSharedValue, withSpring } from 'react-native-reanimated';\nimport { useTheme } from '../KittThemeContext';\nimport type { PressableProps, ViewProps } from '../native-base/primitives';\nimport { Pressable, View } from '../native-base/primitives';\nimport { Arrow } from './Arrow';\nimport { TooltipContent } from './TooltipContent';\nimport { useCustomShift } from './hooks/useCustomShift';\n\nexport type TooltipPosition = 'bottom' | 'top';\nexport type WebFloatingPosition = 'fixed' | 'absolute';\n\nexport interface UpdateCallbackParams {\n x: number;\n y: number;\n placement: Placement;\n strategy: string;\n refs: {\n reference: RefObject<any>;\n floating: RefObject<any>;\n offsetParent?: RefObject<any>;\n };\n middlewareData: MiddlewareData;\n update: () => void;\n}\n\ntype OnUpdateCallback = (params: UpdateCallbackParams) => void;\n\ntype RenderPressablePropsAndRef = Pick<\n PressableProps,\n // native-only\n | 'onPress'\n // web-only\n | 'onHoverIn'\n // web-only\n | 'onHoverOut'\n // web-only\n | 'onFocus'\n // web-only\n | 'onBlur'\n | 'width'\n> & {\n // native-only\n ref?: Ref<typeof NativePressable>;\n};\n\nexport interface BaseTooltipProps {\n alignSelf?: ViewProps['alignSelf'];\n content: NonNullable<ReactNode>;\n floatingPadding?: number;\n position?: TooltipPosition;\n zIndex?: number;\n fullWidth?: boolean;\n /**\n * @description\n * This value init the internal visibile state of the tooltip. This is mainly used for testing purpose.\n */\n defaultVisible?: boolean;\n /**\n * @default absolute\n * @description\n * Specific position strategy to apply to the tooltip.\n * Might be usefull when dealing with edge case (see https://floating-ui.com/docs/misc#z-index-stacking).\n */\n floatingStrategy?: {\n web: WebFloatingPosition;\n };\n onToggle?: (isVisible: boolean) => void;\n onUpdate?: OnUpdateCallback;\n}\n\nexport interface TooltipPropsWithRenderPressable extends BaseTooltipProps {\n children?: never;\n renderPressable: (pressablePropsAndRef: RenderPressablePropsAndRef) => ReactNode;\n}\n\nexport interface TooltipPropsWithChildren extends BaseTooltipProps {\n renderPressable?: never;\n children: NonNullable<ReactNode>;\n}\n\nexport type TooltipProps = TooltipPropsWithRenderPressable | TooltipPropsWithChildren;\n\n// eslint-disable-next-line unicorn/expiring-todo-comments\n// TODO : update position on scroll in future iteration\nexport function Tooltip({\n children,\n alignSelf,\n defaultVisible,\n position = 'top',\n content,\n floatingPadding,\n zIndex = 1000,\n fullWidth,\n renderPressable = (pressablePropsAndRef) => (\n <Pressable accessibilityRole=\"button\" {...pressablePropsAndRef}>\n {children}\n </Pressable>\n ),\n onUpdate,\n onToggle,\n}: TooltipProps): ReactNode {\n const theme = useTheme();\n const currentFloatingPadding = floatingPadding || theme.kitt.tooltip.floatingPadding;\n\n const [floatingWidth, setFloatingWidth] = useState<number | undefined>(undefined);\n const pressableRectRef = useRef<{ width: number; pageX: number } | undefined>(undefined);\n\n const pressed = useSharedValue(defaultVisible);\n\n const animatedStyles = useAnimatedStyle(() => {\n return {\n opacity: withSpring(pressed.value ? theme.kitt.tooltip.opacity : 0),\n transform: [\n {\n scale: withSpring(pressed.value ? 1 : 0.8),\n },\n ],\n };\n });\n\n const { x, y, reference, floating, update, refs, middlewareData, strategy, placement } = useFloating({\n placement: position,\n middleware: [\n // Order matters\n offset(currentFloatingPadding),\n // shift() => shift is replaced by customShift\n autoPlacement({\n allowedPlacements: ['top', 'bottom'],\n padding: currentFloatingPadding,\n }),\n // arrow is not reliable enough for implementation\n // arrow({ element: arrowRef }),\n ],\n });\n\n const tooltipY = Math.round(y ?? 0) || 0;\n const tooltipX = Math.round(x ?? 0) || 0;\n\n useEffect(() => {\n if (!onUpdate) return;\n onUpdate({\n x: tooltipX,\n y: tooltipY,\n placement,\n strategy,\n update,\n refs,\n middlewareData,\n });\n }, [tooltipX, tooltipY, placement, strategy, update, refs, middlewareData, onUpdate]);\n\n const getPressableRect = useCallback(\n (element: any) => {\n if (element) {\n element.measure((_x: number, _y: number, width: number, _h: number, pageX: number) => {\n pressableRectRef.current = { width, pageX };\n });\n }\n },\n [pressableRectRef],\n );\n\n const customShiftData = useCustomShift({ tooltipX, pressableRect: pressableRectRef.current, floatingWidth });\n\n const handlePress = (): void => {\n if (onToggle) onToggle(!!pressed.value);\n pressed.value = !pressed.value;\n };\n\n return (\n <View position=\"relative\" alignSelf={alignSelf}>\n <View ref={reference}>{renderPressable({ ref: getPressableRect, onPress: handlePress, width: '100%' })}</View>\n\n <View\n ref={floating}\n accessibilityElementsHidden={!pressed.value}\n importantForAccessibility={pressed.value === true ? 'auto' : 'no-hide-descendants'}\n position=\"absolute\"\n maxWidth={fullWidth ? undefined : { base: '100%', small: 'kitt.tooltip.maxWidth' }}\n top={tooltipY}\n left={customShiftData.left}\n right={customShiftData.right}\n zIndex={zIndex}\n onLayout={({ nativeEvent }) => setFloatingWidth(nativeEvent.layout.width)}\n >\n <Animated.View style={[animatedStyles]}>\n <TooltipContent>{content}</TooltipContent>\n </Animated.View>\n </View>\n </View>\n );\n}\n\nTooltip.Arrow = Arrow;\nTooltip.Content = TooltipContent;\n","import type { ReactNode } from 'react';\nimport { useMemo } from 'react';\nimport type { Entries } from 'type-fest';\nimport type { EmojiProps } from '../Emoji/Emoji';\nimport { Emoji } from '../Emoji/Emoji';\nimport { KittBreakpointNameEnum } from '../KittBreakpoints';\nimport type { KittThemeContextValue } from '../KittThemeContext';\nimport { useTheme } from '../KittThemeContext';\nimport type { TypographyTypeConfig } from '../themes/late-ocean/typography';\nimport type { TypographyBreakpointType, TypographyType } from './Typography';\nimport { getTypographyTypeConfigKeyFromTypeName } from './Typography';\nimport { getTypographyFamily } from './utils/getTypographyFamily';\n\nfunction getTypographyTypeConfig(type: TypographyType, theme: KittThemeContextValue): TypographyTypeConfig {\n const { configs } = theme.kitt.typography.types[getTypographyFamily(type)];\n return (configs as any)[type];\n}\n\ninterface Sizes {\n size: EmojiProps['size'];\n marginLeft: NonNullable<EmojiProps['_web']>['marginLeft'];\n marginRight: NonNullable<EmojiProps['_web']>['marginRight'];\n}\n\nfunction calcSizesFromType(type: TypographyBreakpointType, theme: KittThemeContextValue): Sizes {\n const typeWithMediumForced = {\n ...type,\n medium: type.medium || type.small || type.base,\n };\n\n const size: Sizes['size'] = {\n base: getTypographyTypeConfig(type.base ?? 'body', theme).baseAndSmall.fontSize,\n };\n\n [\n KittBreakpointNameEnum.SMALL,\n KittBreakpointNameEnum.MEDIUM,\n KittBreakpointNameEnum.LARGE,\n KittBreakpointNameEnum.WIDE,\n ].forEach((typeName) => {\n const value = typeWithMediumForced[typeName];\n if (value) {\n size[typeName] = getTypographyTypeConfig(value, theme)[getTypographyTypeConfigKeyFromTypeName(typeName)].fontSize;\n }\n });\n\n const marginLeft: Sizes['marginLeft'] = {};\n const marginRight: Sizes['marginRight'] = {};\n\n (Object.entries(size) as Entries<typeof size>).forEach(([key, value]) => {\n if (value) {\n marginLeft[key] = value / 10;\n marginLeft[key] = value / 20;\n }\n });\n\n return { size, marginLeft, marginRight };\n}\n\nexport interface TypographyEmojiProps extends TypographyBreakpointType {\n type?: TypographyBreakpointType;\n emoji: string;\n}\n\nexport function TypographyEmoji({\n emoji,\n base: legacyBase,\n small: legacySmall,\n medium: legacyMedium,\n large: legacyLarge,\n wide: legacyWide,\n type = { base: legacyBase, small: legacySmall, medium: legacyMedium, large: legacyLarge, wide: legacyWide },\n}: TypographyEmojiProps): ReactNode {\n const theme = useTheme();\n const { base, small, medium, large, wide } = type;\n const { size, marginLeft, marginRight } = useMemo(\n () => calcSizesFromType({ base, small, medium, large, wide }, theme),\n [base, small, medium, large, wide, theme],\n );\n\n return (\n <Emoji\n size={size}\n emoji={emoji}\n alignSelf=\"center\"\n _web={{\n style: {\n transform: 'translateY(20%)',\n },\n /* Style Twemoji: https://github.com/jdecked/twemoji?tab=readme-ov-file#inline-styles */\n marginLeft,\n marginRight,\n }}\n />\n );\n}\n","import type { ReactElement, ReactNode } from 'react';\n\nexport interface TypographyLinkWebWrapperProps {\n children: ReactNode;\n hasNoUnderline?: boolean;\n}\n\nexport function TypographyLinkWebWrapper({ children, ...props }: TypographyLinkWebWrapperProps): ReactNode {\n return children as ReactElement<any>;\n}\n","import type { ReactNode } from 'react';\nimport type { TextProps } from 'react-native';\nimport type { Except } from 'type-fest';\nimport type { TypographyPropsWithoutAccessibilityRole } from './Typography';\nimport { Typography } from './Typography';\nimport { TypographyLinkWebWrapper } from './TypographyLinkWebWrapper';\n\nexport interface TypographyLinkProps extends Except<TypographyPropsWithoutAccessibilityRole, 'children'> {\n children: NonNullable<ReactNode>;\n disabled?: boolean;\n noUnderline?: boolean;\n variant: NonNullable<TypographyPropsWithoutAccessibilityRole['variant']>;\n href?: TextProps['href'];\n hrefAttrs?: TextProps['hrefAttrs'];\n onPress?: TextProps['onPress'];\n}\n\nexport function TypographyLink({\n children,\n disabled,\n noUnderline,\n href,\n hrefAttrs,\n onPress,\n ...otherProps\n}: TypographyLinkProps): ReactNode {\n return (\n <TypographyLinkWebWrapper hasNoUnderline={noUnderline}>\n <Typography\n underline={!noUnderline}\n color={disabled ? 'black-disabled' : undefined}\n href={href}\n hrefAttrs={hrefAttrs}\n accessibilityRole=\"link\"\n dataSet={{\n // remove data-kitt-universal when we delete kitt web. See :global(a) in Link styles.module.css\n 'kitt-universal': 'true',\n }}\n _web={{\n cursor: disabled ? 'not-allowed' : 'pointer',\n transitionProperty: 'color',\n transitionDuration: '0.2s',\n transitionTimingFunction: 'ease-in-out',\n }}\n // TODO[native-base@>=3.4.19] this currently does not work. Retest when updating native-base.\n // _active={{\n // underline: !!noUnderline,\n // }}\n // _hover={{\n // underline: !!noUnderline,\n // }}\n onPress={disabled ? undefined : onPress}\n {...otherProps}\n >\n {children}\n </Typography>\n </TypographyLinkWebWrapper>\n );\n}\n","import { makeDecorator } from '@storybook/addons';\nimport type { ReactNode } from 'react';\nimport type { AppTheme, KittNativeBaseProviderProps } from '../../native-base/KittNativeBaseProvider';\nimport { KittNativeBaseProvider } from '../../native-base/KittNativeBaseProvider';\nimport { useKittTheme } from '../../useKittTheme';\n\ninterface KittThemeProviderProps {\n appTheme?: AppTheme;\n isSSR?: KittNativeBaseProviderProps['isSSR'];\n children: ReactNode;\n}\n\nexport function KittThemeProvider({ isSSR, children, appTheme }: KittThemeProviderProps): ReactNode {\n const theme = useKittTheme();\n return (\n <KittNativeBaseProvider theme={theme} isSSR={isSSR} appTheme={appTheme}>\n {children}\n </KittNativeBaseProvider>\n );\n}\n\nexport const KittThemeDecorator = makeDecorator({\n name: 'ThemeDecorator',\n parameterName: 'theme',\n wrapper: (storyFn, context, { options = {}, parameters = {} }) => {\n return (\n <KittThemeProvider isSSR={parameters.isSSR ?? (options as any).isSSR}>\n {storyFn(context) as ReactNode}\n </KittThemeProvider>\n );\n },\n});\n","import type { ComponentProps, ElementType, ReactElement, ReactNode } from 'react';\nimport { Platform } from 'react-native';\n\nexport interface StyleWebWrapperProps<T extends ElementType> {\n as: T;\n children: ReactNode;\n}\n\n/**\n * @deprecated Use react-native Platform instead\n */\nexport function StyleWebWrapper<T extends ElementType = 'div'>({\n as,\n children,\n ...props\n}: StyleWebWrapperProps<T> & ComponentProps<T>): ReactNode {\n if (Platform.OS !== 'web') return children as ReactElement<any>;\n const Component: T = as || ('div' as T); // as or default to div. If as is undefined, T is div but typescript is not sure\n return <Component {...(props as any)}>{children}</Component>;\n}\n","import { useWindowDimensions } from 'react-native';\n\nexport interface WindowDimensions {\n width?: number;\n height?: number;\n}\n\nexport interface MatchWindowSizeOptions {\n minWidth?: number;\n maxWidth?: number;\n minHeight?: number;\n maxHeight?: number;\n}\nexport function matchWindowSize(\n { width, height }: WindowDimensions,\n { minWidth, maxWidth, minHeight, maxHeight }: MatchWindowSizeOptions,\n): boolean {\n const hasWidthMatched = width ? (!minWidth || width >= minWidth) && (!maxWidth || width <= maxWidth) : true;\n const hasHeightMatched = height ? (!minHeight || height >= minHeight) && (!maxHeight || height <= maxHeight) : true;\n return hasWidthMatched && hasHeightMatched;\n}\n\n/**\n * Returns if a size matches based on dimensions passed as options.\n *\n * WARNING: Not SSR friendly.\n */\nexport function useMatchWindowSize(options: MatchWindowSizeOptions): boolean {\n const { width, height } = useWindowDimensions();\n return matchWindowSize({ width, height }, options);\n}\n","import type { ReactElement, ReactNode } from 'react';\nimport { useCurrentBreakpointName } from '../../native-base/CurrentBreakpointContext';\nimport { type BreakpointValueHookValues, getValueForBreakpoint } from '../../native-base/utils';\nimport type { MatchWindowSizeOptions } from './useMatchWindowSize';\nimport { useMatchWindowSize } from './useMatchWindowSize';\n\ninterface MatchWindowSizeProps extends MatchWindowSizeOptions {\n children: ReactNode;\n}\n\n/**\n * Display children if match window size options\n *\n * WARNING: Currently not SSR friendly (but could be).\n */\nexport function MatchWindowSize({ children, ...matchWindowSizeOptions }: MatchWindowSizeProps): ReactNode {\n const match = useMatchWindowSize(matchWindowSizeOptions);\n if (!match) return null;\n return children as ReactElement<any>;\n}\n\ntype SwitchBreakpointsProps = BreakpointValueHookValues<ReactNode>;\n\n/**\n * Display based on current breakpoint\n * Mimics the behavior of Native Base's SwitchBreakpoints, but uses our custom context for better performance.\n *\n * WARNING: Currently not SSR friendly (but could be).\n */\nexport function SwitchBreakpoints(values: SwitchBreakpointsProps): ReactNode {\n const { breakpoint } = useCurrentBreakpointName();\n\n return getValueForBreakpoint(breakpoint, values);\n}\n","import { useEffect } from 'react';\nimport type { ViewStyle } from 'react-native';\nimport type { AnimateStyle } from 'react-native-reanimated';\nimport { interpolate, useAnimatedStyle, useSharedValue, withDelay, withSpring } from 'react-native-reanimated';\n\ninterface StepAnimations {\n checkmarkAnimatedStyles: AnimateStyle<ViewStyle>;\n progressBarAnimatedStyles: AnimateStyle<ViewStyle>;\n}\n\ninterface StepAnimationsProps {\n isDone: boolean;\n animated: boolean;\n position: number;\n isNextDone: boolean;\n}\n\nexport function useStepAnimations({ isDone, position, animated, isNextDone }: StepAnimationsProps): StepAnimations {\n const checkmarkAnimatedValue = useSharedValue(animated ? 0 : 1);\n const progressBarAnimatedValue = useSharedValue(animated ? 0 : 1);\n\n const STAGGER_DELAY = 70;\n\n useEffect(() => {\n if (isDone) {\n if (isNextDone) {\n progressBarAnimatedValue.value = animated\n ? withDelay(STAGGER_DELAY + position * STAGGER_DELAY, withSpring(1))\n : 1;\n }\n checkmarkAnimatedValue.value = animated ? withDelay(position * STAGGER_DELAY, withSpring(1)) : 1;\n } else {\n checkmarkAnimatedValue.value = 0;\n progressBarAnimatedValue.value = 0;\n }\n }, [checkmarkAnimatedValue, progressBarAnimatedValue, isDone, position, animated, isNextDone]);\n\n const checkmarkAnimatedStyles = useAnimatedStyle(() => {\n return {\n transform: [{ scale: checkmarkAnimatedValue.value }],\n };\n }, [checkmarkAnimatedValue]);\n\n const progressBarAnimatedStyles = useAnimatedStyle(() => {\n return {\n transform: [\n {\n scaleY: interpolate(progressBarAnimatedValue.value, [0, 1], [0, 2]),\n },\n ],\n };\n }, [progressBarAnimatedValue]);\n\n return {\n checkmarkAnimatedStyles,\n progressBarAnimatedStyles,\n };\n}\n","import { CheckRegularIcon } from '@ornikar/kitt-icons/phosphor';\nimport type { ReactNode } from 'react';\nimport Animated from 'react-native-reanimated';\nimport { HStack } from '../native-base/layout';\nimport { View } from '../native-base/primitives';\nimport { Typography } from '../typography/Typography';\nimport { TypographyIcon } from '../typography/TypographyIcon';\nimport { useStepAnimations } from './Step.animations';\n\nexport interface BorderlessStepProps {\n title: ReactNode;\n description?: ReactNode;\n position?: number;\n isLast?: boolean;\n animated?: boolean;\n currentStep?: number;\n}\n\nconst AnimatedView = Animated.createAnimatedComponent(View);\n\nexport function BorderlessStep({\n description,\n title,\n position = 1,\n isLast,\n animated,\n currentStep = 1,\n}: BorderlessStepProps): ReactNode {\n const isDone = position <= currentStep;\n const isNextDone = position + 1 <= currentStep;\n const { checkmarkAnimatedStyles, progressBarAnimatedStyles } = useStepAnimations({\n isDone,\n isNextDone,\n position,\n animated: !!animated,\n });\n\n return (\n <HStack paddingBottom={isLast ? 0 : 'kitt.6'} width=\"100%\">\n <View\n zIndex={1}\n width=\"kitt.8\"\n height=\"kitt.8\"\n borderRadius={16}\n backgroundColor=\"kitt.palettes.lateOcean.black50\"\n alignItems=\"center\"\n justifyContent=\"center\"\n marginRight=\"kitt.3\"\n >\n <Typography.Paragraph variant=\"bold\" color=\"black-light\">\n {position}\n </Typography.Paragraph>\n\n {isDone ? (\n <AnimatedView\n style={checkmarkAnimatedStyles}\n position=\"absolute\"\n left={0}\n top={0}\n width=\"kitt.8\"\n height=\"kitt.8\"\n borderRadius={16}\n backgroundColor=\"kitt.primary\"\n alignItems=\"center\"\n justifyContent=\"center\"\n marginRight=\"kitt.3\"\n >\n <TypographyIcon color=\"white\" icon={<CheckRegularIcon />} />\n </AnimatedView>\n ) : null}\n </View>\n\n <View flexGrow={1} flexShrink={1} marginTop=\"kitt.1\">\n <Typography.Paragraph color={isDone ? 'primary' : 'black-light'} variant=\"bold\">\n {title}\n </Typography.Paragraph>\n\n {description ? (\n <Typography.Paragraph color={isDone ? 'black' : 'black-light'} variant=\"regular\">\n {description}\n </Typography.Paragraph>\n ) : null}\n </View>\n\n {!isLast && (\n <View\n left={15}\n top={36}\n bottom={4}\n width={2}\n borderRadius={2}\n position=\"absolute\"\n backgroundColor=\"kitt.palettes.lateOcean.black50\"\n overflow=\"hidden\"\n >\n {isNextDone ? (\n <AnimatedView\n style={progressBarAnimatedStyles}\n position=\"absolute\"\n width={2}\n top={0}\n bottom={0}\n left={0}\n backgroundColor=\"kitt.primary\"\n />\n ) : null}\n </View>\n )}\n </HStack>\n );\n}\n","import { CheckRegularIcon } from '@ornikar/kitt-icons/phosphor';\nimport type { ReactNode } from 'react';\nimport { View } from '../native-base/primitives';\nimport { Typography } from '../typography/Typography';\nimport { TypographyIcon } from '../typography/TypographyIcon';\nimport type { StepState } from './Step';\n\nconst backgroundColors = {\n done: 'kitt.verticalSteps.done.icon.backgroundColor',\n active: 'kitt.verticalSteps.active.icon.backgroundColor',\n default: 'kitt.verticalSteps.default.icon.backgroundColor',\n};\n\nexport interface IconStatusProps {\n state: StepState;\n index: number;\n}\n\nfunction IconStatus({ state, index }: IconStatusProps): ReactNode {\n if (state === 'done') {\n return <TypographyIcon icon={<CheckRegularIcon />} color=\"kitt.verticalSteps.done.icon.textColor\" />;\n }\n\n return (\n // padding aligns the text in the center\n <View paddingBottom={2}>\n <Typography.Text\n textAlign=\"center\"\n variant=\"bold\"\n color={\n state === 'active' ? 'kitt.verticalSteps.active.icon.textColor' : 'kitt.verticalSteps.default.icon.textColor'\n }\n >\n {index + 1}\n </Typography.Text>\n </View>\n );\n}\n\ninterface StepIconProps {\n index: number;\n state?: StepState;\n}\n\nexport function StepIcon({ index, state = 'default' }: StepIconProps): ReactNode {\n return (\n <View\n justifyContent=\"center\"\n alignItems=\"center\"\n width={30}\n height={30}\n borderRadius={15}\n backgroundColor={backgroundColors[state]}\n >\n <IconStatus state={state} index={index} />\n </View>\n );\n}\n","import { HStack } from 'native-base';\nimport type { ReactNode } from 'react';\nimport { ActionCard } from '../ActionCard/ActionCard';\nimport { View } from '../native-base/primitives';\nimport { StepIcon } from './StepIcon';\n\nexport type StepState = 'active' | 'done' | 'default';\n\nexport interface ExternalStepProps {\n children: ReactNode;\n shouldDisableNextLink?: boolean;\n}\n\nexport function ExternalStep(props: ExternalStepProps): ReactNode {\n return null;\n}\n\nexport interface StepProps {\n index?: number;\n children: ReactNode;\n state?: StepState;\n isLast?: boolean;\n isFirst?: boolean;\n shouldDisableNextLink?: boolean;\n}\n\nexport function Step({\n index = 0,\n children,\n state = 'default',\n isLast = false,\n isFirst = false,\n shouldDisableNextLink = false,\n}: StepProps): ReactNode {\n return (\n <HStack space=\"kitt.2\" flexGrow={1} marginTop={isFirst ? undefined : 'kitt.4'}>\n <View marginTop=\"kitt.2\" paddingY=\"kitt.2\" backgroundColor=\"kitt.white\">\n <StepIcon state={state} index={index} />\n {!isLast ? (\n <View\n backgroundColor={\n shouldDisableNextLink ? 'kitt.palettes.lateOcean.black100' : 'kitt.palettes.lateOcean.moonPurple'\n }\n width={1}\n position=\"absolute\"\n top={46}\n left={15}\n zIndex={-1}\n height=\"100%\"\n />\n ) : null}\n </View>\n <View flexGrow={1} flexShrink={1}>\n <ActionCard variant=\"primary\">{children}</ActionCard>\n </View>\n </HStack>\n );\n}\n","import type { StepState } from '../Step';\n\nexport function getStepState(index: number, activeIndex: number): StepState {\n if (index === activeIndex) {\n return 'active';\n }\n if (index < activeIndex) {\n return 'done';\n }\n return 'default';\n}\n","import type { ViewProps } from '@ornikar/kitt-universal';\nimport { View } from 'native-base';\nimport type { ReactElement, ReactNode } from 'react';\nimport { Children, cloneElement } from 'react';\nimport { BorderlessStep } from './BorderlessStep';\nimport { Step } from './Step';\nimport { getStepState } from './utils/getStepState';\n\nexport enum StepVariationEnum {\n default = 'default',\n borderless = 'borderless',\n}\n\nexport interface VerticalStepsProps extends ViewProps {\n children: ReactNode;\n activeIndex: number;\n animated?: boolean;\n}\n\nexport function VerticalSteps({ children, activeIndex, animated, ...props }: VerticalStepsProps): ReactNode {\n const childrenArray = Children.toArray(children) as ReactElement<any>[];\n\n const clonedArray = childrenArray.map((aChild, index) => {\n if (__DEV__ && aChild.type !== Step && aChild.type !== BorderlessStep) {\n throw new Error('VerticalSteps only accepts VerticalSteps.Step or VerticalSteps.BorderlessStep as children');\n }\n\n const step = index + 1;\n const isLast = step === childrenArray.length;\n const isFirst = index === 0;\n const newProps: Record<string, unknown> = {\n ...aChild.props,\n position: step,\n animated,\n isLast,\n isFirst,\n currentStep: activeIndex,\n state: getStepState(index, activeIndex),\n index,\n };\n\n return cloneElement(aChild, newProps, aChild.props.children as ReactNode);\n });\n\n return (\n <View width=\"100%\" {...props}>\n {clonedArray}\n </View>\n );\n}\n\nVerticalSteps.Step = Step;\nVerticalSteps.BorderlessStep = BorderlessStep;\n"],"names":["View","NativeBaseView","ScrollView","NativeBaseScrollView","Pressable","NativeBasePressable","Image","NativeBaseImage","FlatList","NativeBaseFlatList","SectionList","NativeBaseSectionList","hex2rgba","hex","alpha","r","parseInt","slice","g","b","createColorScale","colorScale","colorScales","eggshell","violine","lavender","blue","raspberry","coral","sun","green","transformColorScalesToTokens","Object","fromEntries","entries","flatMap","colorName","map","scaleNumber","colorValue","lateOceanColorPalette","lateOcean","lateOceanLight1","lateOceanLight2","lateOceanLight3","lateOceanDark1","warmEmbrace","warmEmbraceLight1","white","black","black1000","black800","black555","black400","black200","black100","black50","black25","viride","englishVermillon","goldCrayola","aero","seaShell","transparent","moonPurple","moonPurpleLight1","colors","primary","primaryLight","accent","accentLight","success","correct","danger","info","warning","separator","hover","blackDisabled","blackLight","blackAnthracite","uiBackground","uiBackgroundLight","disabled","overlay","dark","light","actionCard","borderRadius","default","backgroundColor","borderColor","borderWidth","shadow","color","offsetX","offsetY","opacity","radius","translateY","hovered","focused","pressed","secondary","highlight","defaultAvatarSize","defaultAvatarIconSize","largeAvatarSize","largeAvatarIconSize","avatar","size","iconSize","large","spacing","bottomSheet","container","padding","handle","button","focus","minHeight","minWidth","maxWidth","scale","base","active","medium","contentPadding","xLarge","hasBadge","right","horizontal","vertical","transition","duration","timingFunction","pressedBackgroundColor","hoverBackgroundColor","focusBorderColor","ghost","hoverColor","activeColor","subtle","buttonBadge","dimensions","withBadge","width","height","badgeCount","card","webAnimationContentDuration","webAnimationContentEasing","webAnimationOverlayDuration","webAnimationOverlayEasing","overlayHorizontalPadding","cardModal","maxWidthWithPadding","header","footer","overlayPadding","animation","easing","content","choices","row","column","item","small","selected","hoverWhenSelected","border","property","dialogModal","feedbackMessage","autocomplete","option","verticalPadding","highlighted","optionsContainer","checkbox","markColor","textSpacing","checked","datePicker","day","month","year","inputStatesStyle","pending","valid","invalid","webAnimationDuration","webAnimationTimingFunction","webAnimationProperties","input","selection","placeholder","icon","rightContainer","properties","states","inputField","containerPaddingTop","containerPaddingBottom","feedbackPaddingTop","labelContainerPaddingBottom","labelFeedbackMarginLeft","inputTag","labelColor","radio","unchecked","innerSize","innerBackgroundColor","radioButtonGroup","textArea","timePicker","toggle","enabled","circle","marginLeft","wrapperBorder","forms","fullscreenModal","sharedHorizontalPadding","body","regular","getIconSizeFromFontSize","fontSize","createTypographyIconSizeConfig","baseAndSmallFontSize","mediumAndWideFontSize","baseAndSmallIconSize","mediumAndWideIconSize","baseAndSmall","mediumAndWide","defaultSize","typographySize","header1","header2","header3","header4","header5","iconButton","listItem","horizontalPadding","innerMargin","mapMarker","home","svg","meetingPoint","pageLoaderSize","pageLoaderStrokeWidth","webAnimationDelay","webAnimationCircleBackgroundFillDuration","webAnimationFilledCircleFillDuration","webAnimationFilledCircleRotationDuration","fillEasingFunction","pageLoader","strokeWidth","fill","delay","circleBackgroundFillDuration","filledCircleFillDuration","groupFilledCircleRotationDuration","filledCircleRotationDuration","calcLineHeight","lineHeightMultiplier","Math","round","createLegacyTypographyTypeConfig","lineHeightMultiplierBaseAndSmall","lineHeightMultiplierMediumAndWide","lineHeight","createTypographyConfig","config","typography","kittColors","types","headings","fontFamily","native","bold","web","fontWeight","fontStyle","configs","bodies","link","disabledColor","picker","maxWidthFixed","ios","landscape","android","shadows","cards","low","highBase","highMedium","highLarge","navigation","left","panel","skeletonBackgroundColor","skeletonFlareColor","skeleton","flareColor","animationDuration","shape","bar","square","tag","withIcon","paddingLeft","paddingRight","withoutIcon","outline","contrast","tooltip","floatingPadding","in","out","arrow","verticalSteps","textColor","done","breakpoints","values","wide","min","smallBreakpoint","mediumBreakpoint","largeBreakpoint","wideBreakpoint","max","theme","getSpacing","multiplier","palettes","KittThemeContext","createContext","kitt","kittTheme","useTheme","useContext","getStateKey","isHovered","isPressed","isFocused","getThemeName","variant","borderVariant","ActionCardContentWrapper","children","state","__DEV__","Error","sharedTransform","transform","themeName","_jsx","_ios","style","_android","_web","flexGrow","ActionCardDisabled","borderStyle","ActionCard","props","ActionCardPressable","forwardRef","testID","href","hrefAttrs","accessibilityRole","isHoveredInternal","isPressedInternal","isFocusedInternal","onPress","onHoverIn","onHoverOut","ref","Stack","NativeBaseStack","VStack","NativeBaseVStack","HStack","NativeBaseHStack","Center","NativeBaseCenter","KittBreakpoints","BASE","SMALL","MEDIUM","LARGE","WIDE","KittBreakpointsMax","KittBreakpointNameEnum","CurrentBreakpointContext","undefined","CurrentBreakpointProvider","breakpoint","useBreakpointValue","value","useMemo","Provider","useCurrentBreakpointName","context","getValueForBreakpoint","createResponsiveStyleFromProp","responsiveBooleanValue","valueIfTrue","valueIfFalse","keys","length","responsiveValue","forEach","breakpointName","warn","message","process","env","NODE_ENV","console","deprecatedMessage","symbol","deprecation","replaceBy","replaceMessage","deprecatedInComponent","component","getCurrentBackgroundColorForNativeBaseTheme","type","isDisabled","baseKey","AnimatedContainer","animatedStyles","currentBackgroundColor","sx","useSx","styles","Animated","typographyColors","getNBThemeColorFromColorProps","isColorTypographyColor","includes","getTypographyColorValue","isTypeHeadings","startsWith","isTypeHeadingsImpact","getTypographyFamily","getTypographyFamilyWithAncestorValue","typographyFamilyInContext","TypographyFamilyContext","TypographyTypeContext","TypographyColorContext","useTypographyColor","useTypographyAncestorType","TypographyDefaultColorContext","useTypographyDefaultColor","getTypographyTypeConfigKeyFromTypeName","createNativeBaseFontSize","typeWithMediumForced","fontSizeForNativeBase","typeName","Typography","legacyBase","legacySmall","legacyMedium","legacyLarge","legacyWide","otherProps","defaultColor","hasTypographyAncestor","baseOrDefaultToBody","typographyFamily","nonNullableVariant","currentColor","currentColorValue","colorStyles","textDecorationColor","key","text","NBText","TypographyText","TypographyParagraph","Platform","OS","createHeading","level","defaultBase","TypographyHeading","displayName","SetDefaultColor","Text","Paragraph","Header1","Header2","Header3","Header4","Header5","Header6","h1","h2","h3","h4","h5","ButtonBadge","alignItems","justifyContent","Icon","align","iconColor","clonedIcon","cloneElement","alignSelf","getIconSizeConfigKeyFromTypeName","createNativeBaseIconSize","iconSizeForNativeBase","TypographyIconSpecifiedColor","ancestorType","colorStyleValue","TypographyIconInheritColor","TypographyIcon","getButtonTextColorByType","isButtonInteractedWith","ButtonIcon","iconPosition","marginRight","ButtonContentChildren","innerSpacing","buttonIconSharedProps","sharedNativeStyle","flexShrink","_jsxs","flexDirection","textAlign","ButtonContent","flexBasis","getCurrentPaddingConfig","ButtonPadding","currentPaddingKey","position","paddingX","paddingY","DisabledBorder","top","bottom","FocusBorder","buttonTheme","transitionProperty","transitionDuration","transitionTimingFunction","hasVariant","getVariantValuesIfExist","useNativeAnimation","useSharedValue","useAnimatedStyle","interpolateColor","withSpring","onPressIn","onPressOut","getButtonSize","allowedGhostTypes","Button","stretch","sizeProp","onFocus","onBlur","deprecatedProp","isStretch","Boolean","SpinningIcon","String","animationRef","useRef","Value","rotation","current","interpolate","inputRange","outputRange","useEffect","loop","timing","toValue","Easing","linear","useNativeDriver","start","stop","rotate","LoaderIcon","SpinnerGapRegularIcon","ActionsItem","as","isLoading","setIsLoading","useState","mountedRef","loadingRef","e","error","ActionsButton","getCurrentLayout","layout","getCurrentDirection","getCurrentAlignSelf","Actions","reversed","shouldReverse","currentAlignItems","currentDirection","currentAlignSelf","isReversed","direction","space","Item","getCurrentRadius","sizeVariant","getCurrentSize","getIconSize","getInitials","firstname","lastname","toUpperCase","AvatarContent","src","alt","_Fragment","source","uri","getFontColor","UserRegularIcon","Avatar","currentSize","currentBorderRadius","overflow","BottomSheetComp","Content","hasScrollView","hasBackdrop","hasHandle","enableDynamicSizing","snapPoints","rest","useSafeAreaInsets","Wrapper","BottomSheetScrollView","BottomSheetView","BottomSheetModal","enablePanDownToClose","handleIndicatorStyle","handleComponent","BottomSheetHandle","backdropComponent","BottomSheetBackdrop","appearsOnIndex","disappearsOnIndex","topInset","data","BottomSheetContainerView","BottomSheet","SheetView","BottomSheetSectionList","BottomSheetFlatList","Handle","Backdrop","Footer","BottomSheetFooter","TextInput","BottomSheetTextInput","useBottomSheet","useStaticBottomSheet","bottomSheetRef","BottomSheetMemoized","ModalBehaviourPortal","OnCloseContext","OnCloseProvider","onClose","useOnCloseModalBehaviour","CloseButton","onCloseContextCallback","ModalBehaviour","visible","Overlay","CardModalRotationContainer","maxHeight","NativeOpacityAnimation","onExited","hasRunAnimationRef","handleAnimationFinished","opacityStyle","x1","y1","x2","y2","withTiming","bezier","isFinished","runOnJS","StyleSheet","absoluteFillObject","NativeRotationAnimation","onEntered","animatedStyle","rotateZ","CardModalAnimation","onEnter","onExit","isModalVisible","setIsModalVisible","isContentVisible","setIsContentVisible","handleAnimationExited","Modal","supportedOrientations","onShow","onDismiss","CardModalBehaviour","isModalBehaviourVisible","setIsModalBehaviourVisible","CardModalBody","showsVerticalScrollIndicator","_contentContainerStyle","CardModalFooter","hasSeparator","marginTop","borderTopWidth","CardModalHeader","title","paddingBottom","defaultContainerPadding","borderBottomWidth","CardModal","withoutShadow","Body","Header","getBackgroundColor","isSelected","getBorderRadius","Number","MAX_SAFE_INTEGER","AnimatedChoiceItemView","progress","useDerivedValue","backgroundStyles","defaultBg","pressedBg","selectedBg","disabledBg","getCurrentTextColor","ChoiceItem","onChange","handleChange","accessibilityState","ChoiceItemContainer","isLast","currentItemMarginValue","flexProps","marginBottom","ChoicesContainer","contentContainerStyle","Choices","id","currentValue","setCurrentValue","isForm","childrenArray","Children","toArray","sharedProps","newValue","child","index","element","createChoicesComponent","ButtonChoices","ChoicesElements","DialogModalAnimation","DialogModalBehaviour","bounces","DialogModal","illustration","actions","paddingTop","DialogModalButton","Emoji","emoji","emojiData","parse","assetType","url","ExternalAppLink","Component","appScheme","appValue","onOpenAppError","canOpen","Linking","canOpenURL","defaultPrevented","openURL","catch","Sms","phoneNumber","Tel","Mail","emailAddress","defaultOpenLinkBehavior","useOpenExternalLink","errorHandler","behavior","encodedURL","encodeURI","WebBrowser","openBrowserAsync","ExternalLink","openLinkBehavior","onOpenLinkError","openExternalLink","getIconColor","InputIcon","InputPressable","InputTextContainer","InputText","formState","internalForceState","autoCorrect","textContentType","autoComplete","inputMode","multiline","onSubmitEditing","shouldHandleSingleLineOnIOS","Input","py","isHighlighted","AutocompleteItem","AutocompleteItemsListContainer","zIndex","elevation","AutocompleteOption","patchNativeEvent","event","preventDownshiftDefault","preventDefault","isReactElement","Autocomplete","name","isInitialOpen","initialValue","containerProps","filterItemBasedOnCurrentInputValue","checkSelectedItem","itemToString","onInputChange","onSelectItem","onOuterPress","errorElement","emptyResultsElement","inputTestID","listContainerTestID","maxItemContainerHeight","items","filter","Downshift","defaultIsOpen","initialSelectedItem","initialInputValue","stateReducer","changes","stateChangeTypes","changeInput","selectedItem","stateAndHelpers","onSelect","onOuterClick","onInputValueChange","getRootProps","getInputProps","getMenuProps","getItemProps","getToggleButtonProps","isOpen","inputValue","highlightedIndex","openMenu","shouldSuppressRefError","rootProps","suppressRefError","menuProps","onClick","onClickToggle","onPressToggle","toggleProps","onKeyDown","onSearchInputFocus","onSearchInputBlur","onSearchInputChange","inputProps","hasCurrentSearch","currentItems","isCurrentlyOpen","canDisplayCollapseButton","hitSlop","CaretUpFillIcon","CaretDownFillIcon","Keyboard","isVisible","onKeyPress","role","ariaSelected","itemProps","Option","UnsafeInternalItem","isChecked","getBorderColor","Checkbox","display","CheckboxMarkIcon","getEnterKeyHintForNumericInput","enterKeyHint","prefixWithZero","maxLength","padStart","dayFormatter","monthFormatter","yearFormatter","getDayInInterval","getMonthInInterval","minDate","maxDate","minValue","getMonth","maxValue","getYearInInterval","getFullYear","getValueToDisplayedString","toString","keyboardDatePickerReducer","action","nextDay","currentDay","displayedDay","nextMonth","currentMonth","displayedMonth","nextYear","currentYear","displayedYear","nextCurrentDay","nextCurrentMonth","nextCurrentYear","onDatePartChange","validYearMinLength","arrayParts","isSomethingUndefined","isEverythingDefined","every","nextValue","Date","isValidYear","setFullYear","setMonth","setDate","setMinutes","setHours","setSeconds","setMilliseconds","isMinDateAfterNextValue","getTime","isMaxDateBeforeNextValue","isNumber","isNaN","stringToNumber","parsedText","getCurrentInternalForcedState","InputPart","PartContainer","KeyboardDatePicker","monthRef","yearRef","defaultValue","defaultDay","getDate","defaultMonth","defaultYear","dispatch","useReducer","sharedInputPartProps","handleDatePartChange","handleAutoFocusNextField","currentFieldValue","nextFieldRef","nativeEvent","PressableDateInputs","pointerEvents","DatePickerAndroid","pickerDefaultDate","pickerUITestID","isDefaultVisible","setIsFocused","handleClose","handleModalOpen","DateTimePickerAndroid","open","now","timestamp","date","onTouchCancel","getDatePickerDisplayMode","PlatformDateTimePicker","defaultDate","maximumDate","minimuDate","displayMode","iosProps","DateTimePicker","is24Hour","mode","minimumDate","_event","ModalTitle","ModalPlatformDateTimePicker","validateButtonLabel","newDate","prev","FormattedMessage","DefaultNativeUIDatePicker","pickerUITitle","pickerUIValidateButtonLabel","isPickerUIVisible","setIsPickerUIVisible","handleModalClose","NativeUIDatePicker","DatePicker","fillMode","DocumentPicker","onDocumentUpload","documentPickerOptions","childElement","only","result","getDocumentAsync","multiple","canceled","assets","file","ImagePicker","onImageSelected","imagePickerOptions","launchImageLibraryAsync","allowsMultipleSelection","ListItemContent","ListItemSideContainer","side","ListItemSideContent","ListItem","withPadding","borders","Fragment","wrapperProps","SideContent","SideContainer","BottomSheetActionsItem","BottomSheetActions","onBottomSheetActionsChange","isPlatformIOS","FilePicker","onFileSelected","dismissAll","useBottomSheetModal","handleBottomSheetActionsChange","present","GoogleMapsApiKeyContext","GoogleMapsApiKeyProvider","apiKey","useGoogleMapApiKey","countryCodes","defaultLanguageSearch","autocompletePredictionTypes","makeMapsApiUrl","resource","params","queryParams","paramsName","encodeURIComponent","join","useGoogleMapsApi","defaultSearchParams","country","makeApiUrl","param","sharedFetchOptions","method","headers","getPlacePredictions","response","fetch","json","status","results","predictions","google","maps","places","PlacesServiceStatus","UNKNOWN_ERROR","placesService","getDetails","placeId","googleMapsAutocompleteReducer","hasSearchError","isLoadingSearch","payload","hasSelectResultError","isLoadingResultDetails","currentSelectedValue","getOrCallValue","findComponentByType","components","find","matchStreetNumberWithOriginalAddress","streetNumber","address","number","extension","exec","formatAddressFromGoogle","placeResult","originalAddress","address_components","addressComponents","lat","geometry","location","lng","locality","long_name","subLocality","zipcode","streetName","administrativeAreaLevel1","administrativeAreaLevel2","GoogleMapsAutocompleteContext","shouldDisplayEmptyStateWhenNoResults","Promise","resolve","GoogleMapsAutocompleteProvider","minCharsToSearch","debounceTimeout","mapsApi","searchResultsCache","resultDetailsCache","handleInputChange","useDebouncedCallback","useCallback","predictionsPromise","handleSelectItem","place_id","placePromise","then","place","formattedAddress","description","api","useGoogleMapsAutocomplete","InputAddressOption","MapPinRegularIcon","structured_formatting","main_text","secondary_text","defaultItemToString","formatInitialValueDescription","streetElements","formatInitialValueToAutocompletePrediction","reference","terms","matched_substrings","main_text_matched_substrings","InputAddress","formattedInitialValue","v","InputEmail","autoCapitalize","getColorFromState","InputFeedback","InputField","label","labelFeedback","feedback","InputIban","InputNumber","parseFloat","InputPassword","isPasswordDefaultVisible","setIsVisible","secureTextEntry","EyeClosedRegularIcon","EyeRegularIcon","isPhoneNumberValid","isValidNumber","phoneNumberLength","InputPhone","currentEnterKeyHint","parseNumber","phone","finalPhoneNumber","eventWithoutCountryCode","countryCode","getCountryCallingCode","originalNativeEventText","InputTag","Label","htmlFor","isWeb","InnerCircle","OuterCircle","Radio","focusable","RadioWithRef","isFirst","borderTopLeftRadius","borderBottomLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderLeftWidth","HoverBorder","shouldDisplayBorder","margin","pressedBorderColor","RadioButton","RadioButtonGroupItem","RadioButtonGroup","flexWrap","clone","TextArea","helper","limit","shouldDisplayLimit","isLimitReached","limitContainerAnimatedStyle","translateX","checkIconAnimatedStyle","textAlignVertical","CheckCircleFillIcon","useKittTheme","ToggleAnimated","disabledState","marginLeftAnim","hoverAnim","hoverBackgroundAnim","buttonTranslate","hoverTranslate","hoverBackgroundTranslate","ease","getLabelTypographyType","Toggle","ellipsizeMode","FullscreenModalBody","shouldHandleBottomNotch","shouldHandleTopNotch","FullscreenModalFooter","borderTopColor","NativeSlideInAnimation","wHeight","useWindowDimensions","translateStyle","flex","FullscreenModalAnimation","FullscreenModalBehaviour","FullscreenModalContainer","FullscreenModalHeader","isTransparent","hasRight","hasLeft","hasContent","borderBottomColor","FullscreenModal","GroupTags","clonedTagWithBorder","withWhiteBorder","AnimatedCaret","AnimatedContent","withTimingConfig","isExpanded","isInitialRender","contentHeight","translate","containerAnimatedStyles","caretAnimatedStyles","contentAnimatedStyles","Highlight","canCollapse","isInitialCollapsed","setIsExpanded","setContentHeight","setIsInitialRender","highlightStyle","spaceBetween","contentMarginY","handleLayout","layoutHeight","newContentHeight","CaretDownRegularIcon","onLayout","Background","AnimatedBackground","opacityStyles","currentOpacityStyles","AnimatedScale","scaleStyles","getIconButtonBackgroundColor","getIconButtonTextColorByColor","IconButton","ariaLabel","backfaceVisibility","isCurrentHovered","isCurrentPressed","CloseIconButton","XRegularIcon","InfoCard","imageUrl","imageAlt","isContrastReversed","slug","showIconButton","actionElement","CaretRightRegularIcon","view","userSelect","KittMapConfigProviderContext","KittMapConfigProvider","mapId","apiToken","providerValue","useKittMapConfig","SCALE_DURATION","TRANSLATE_Y_DURATION","MapMarkerVariantEnum","StaticMapMarker","CLOSE_MEETING_POINT","ClosemeetingPointMarkerSvg","svgWidth","HOME","svgHeight","containerWidth","containerHeight","shadowWidth","shadowHeight","MEETING_POINT","MeetingPointMarkerSvg","HomeMarkerSvg","ShadowSvg","MapMarker","IconContent","WarningCircleRegularIcon","CheckRegularIcon","WarningRegularIcon","InfoRegularIcon","getColorByType","getIconButtonColor","messageType","BaseMessage","hasNoRadius","centeredText","insets","Message","createKittSpaces","sizes","positive","negative","overridenNativeBaseSizeandSpaceScale","createKittNativeBaseCustomTheme","appTheme","spaces","appBreakpoints","extendedTheme","extendTheme","innerCircle","app","radii","lg","md","sm","xl","xs","borderWidths","fontSizes","lineHeights","fontWeights","fonts","shadowColor","shadowOffset","shadowOpacity","shadowRadius","baseStyle","px","_disabled","_light","placeholderTextColor","bg","_hover","_focus","_stack","outlineWidth","boxShadow","selectionColor","_invalid","variants","underlined","rounded","filled","unstyled","_dark","KittNativeBaseProvider","isSSR","nativeBaseCustomTheme","kittInternalTheme","NativeBaseProvider","NavigationBottomSheet","maxDynamicContentSize","close","NavigationBottomSheetHeader","NavigationBottomSheetBody","NavigationBottomSheetFooter","NavigationModalBehaviour","appear","AnimationComponent","shouldAppear","setShouldAppear","NavigationModal","Notification","AnimatedCircle","createAnimatedComponent","Circle","AnimatedLoaderCircle","centerCoord","circlePerimeter","PI","strokeAnimation","useAnimatedProps","strokeDashoffset","stroke","strokeLinecap","cx","cy","strokeDasharray","animatedProps","AnimatedBackgroundCircle","withDelay","Svg","viewBox","isInfinitAnimation","AnimatedFillCircleContainer","withRepeat","rotationStyles","absoluteFill","AnimatedFilledCircle","PageLoader","sharedTransformStyle","PickerItem","PickerOption","nativePickerReducer","internalValue","nextInternalValue","Picker","renderTrigger","syncStateWithSourceValue","sourceValue","shouldDisplayNativePickerOnIOS","iosTextStyle","isMatchingMaxHeight","useMediaQuery","iosItemStyle","handleInternalChange","itemValue","NativePicker","selectedValue","itemStyle","onValueChange","React","SegmentedProgressBar","currentStep","stepsCount","colorVariant","withCurrentInProgress","fillColor","steps","Array","from","stepNumber","isSegmentCurrentInProgress","Stripes","AnimatedLinearGradient","LinearGradient","SkeletonContent","sharedX","inOut","linearGradientStyle","locations","x","y","end","Skeleton","setWidth","Bar","Square","getStaticMapImageUrl","mapWidth","mapHeight","center","is2x","centerPart","long","zoom","urlParts","mapImageUrl","URL","searchParams","append","useGetStaticMapImageUrl","forceMapId","forceApiToken","currentUrl","setCurrentUrl","currentMapIdRef","currentApiTokenRef","newUrl","StaticMapError","onReload","ArrowCounterClockwiseRegularIcon","StaticMapImage","onLoadEnd","onError","StaticMapLoader","getRangedWidthValue","nextWidth","rangedMapWidth","getShouldDisplay2x","currentDevicePixelRatio","PixelRatio","get","mapBoxMaxPictureWidth","getPictureWidth","StaticMap","marker","onLoaded","currentWidth","setCurrentWidth","hasError","setHasError","currentMapKey","setCurrentMapKey","shouldDisplay2xImage","mapUrl","KITT_MAP_CHROMATIC_IGNORE","Loader","Marker","Flex","wrap","storyPadding","getBackgroundColorFromBlockColor","getTypographyColorFromBlockColor","StoryBlockBackgroundContext","StoryBlockColorContext","useStoryBlockColor","storyBlockColor","StoryBlock","background","marginX","StoryTitle","numberOfLines","StoryTitleLevel2","StoryTitleLevel3","StoryTitleLevel4","Level2","Level3","Level4","Story","StorySection","internalIsDemoSection","SubSection","BlockSection","DemoSection","Demo","DeprecatedSection","StoryContainer","platform","StoryDecorator","makeDecorator","parameterName","wrapper","storyFn","story","parameters","disableStoryContainer","StoryGridRow","StoryGridCol","titleColor","isNative","StoryGrid","Row","Col","useTabBarItemColor","isActive","useTabBarIndicatorColor","TabBarItem","typographyColor","indicatorColor","TabBar","tabs","activeTabIndex","renderTabItem","onChangeTab","tabItems","tab","scrollViewStyles","showsHorizontalScrollIndicator","getTypography","typeToColor","Tag","tagColor","ModalDateTimePicker","minuteInterval","timezoneName","pickerTestID","nextDate","buttonContent","timeZoneName","formatNumberToTimeString","time","formatDateToTimeString","getHours","getMinutes","TimePickerPressable","TimePicker","modalTestID","isPickerVisible","setIsPickerVisible","pickerValue","ToastContent","actionLabel","showButton","typeToIcon","WarningFillIcon","WarningCircleFillIcon","InfoFillIcon","AnimatedView","ToastComponent","timer","outro","timeout","hideToast","toastTimeout","handleHideToast","Arrow","TooltipArrowImage","TooltipContent","customShift","tooltipX","refPageX","refWidth","floatingWidth","wWidth","refCenterOnScreen","halfFloatingWith","useCustomShift","pressableRect","windowDimensions","customShiftData","setCustomShiftData","res","pageX","Tooltip","defaultVisible","fullWidth","renderPressable","pressablePropsAndRef","onUpdate","onToggle","currentFloatingPadding","setFloatingWidth","pressableRectRef","floating","update","refs","middlewareData","strategy","placement","useFloating","middleware","offset","autoPlacement","allowedPlacements","tooltipY","getPressableRect","measure","_x","_y","_h","accessibilityElementsHidden","importantForAccessibility","getTypographyTypeConfig","calcSizesFromType","TypographyEmoji","TypographyLinkWebWrapper","TypographyLink","noUnderline","hasNoUnderline","underline","dataSet","cursor","KittThemeProvider","KittThemeDecorator","options","StyleWebWrapper","matchWindowSize","hasWidthMatched","hasHeightMatched","useMatchWindowSize","MatchWindowSize","matchWindowSizeOptions","match","SwitchBreakpoints","useStepAnimations","isDone","animated","isNextDone","checkmarkAnimatedValue","progressBarAnimatedValue","STAGGER_DELAY","checkmarkAnimatedStyles","progressBarAnimatedStyles","scaleY","BorderlessStep","backgroundColors","IconStatus","StepIcon","Step","shouldDisableNextLink","getStepState","activeIndex","VerticalSteps","clonedArray","aChild","step","newProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA0DO,MAAMA,IAAI,GAAGC,OAAgD;AAoB7D,MAAMC,UAAU,GAAGC,aAA4D;AAmC/E,MAAMC,SAAS,GAAGC,YAA0D;AAE5E,MAAMC,KAAK,GAAGC,QAAmD;AAoBxE;AACO,MAAMC,QAAQ,GAAGC,WAEkB;AAoB1C;AACO,MAAMC,WAAW,GAAGC;;AC/JpB,MAAMC,QAAQ,GAAGA,CAACC,GAAW,EAAEC,KAAK,GAAG,CAAC,KAAa;AAC1D,EAAA,MAAMC,CAAC,GAAGC,QAAQ,CAACH,GAAG,CAAC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