@draftbit/core 48.2.2-fa36bc.2 → 48.2.3-353542.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/Provider.js +1 -0
- package/lib/commonjs/components/AccordionGroup.js +1 -0
- package/lib/commonjs/components/ActionSheet/ActionSheet.js +1 -0
- package/lib/commonjs/components/ActionSheet/ActionSheetCancel.js +1 -0
- package/lib/commonjs/components/ActionSheet/ActionSheetItem.js +1 -0
- package/lib/commonjs/components/ActionSheet/index.js +1 -0
- package/lib/commonjs/components/AspectRatio.js +1 -0
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -0
- package/lib/commonjs/components/BottomSheet/BottomSheetComponent.js +1 -0
- package/lib/commonjs/components/BottomSheet/index.js +1 -0
- package/lib/commonjs/components/Button.js +1 -0
- package/lib/commonjs/components/Checkbox/Checkbox.js +1 -0
- package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js +1 -0
- package/lib/commonjs/components/Checkbox/CheckboxRow.js +1 -0
- package/lib/commonjs/components/Checkbox/context.js +1 -0
- package/lib/commonjs/components/Checkbox/index.js +1 -0
- package/lib/commonjs/components/CodeInput/CodeInput.js +1 -0
- package/lib/commonjs/components/CodeInput/CodeInputCell.js +1 -0
- package/lib/commonjs/components/CodeInput/CodeInputText.js +1 -0
- package/lib/commonjs/components/CodeInput/index.js +1 -0
- package/lib/commonjs/components/Config.js +1 -0
- package/lib/commonjs/components/DatePicker/DatePicker.js +1 -0
- package/lib/commonjs/components/DatePicker/DatePickerComponent.js +1 -0
- package/lib/commonjs/components/DatePicker/DatePickerComponent.web.js +1 -0
- package/lib/commonjs/components/DatePicker/DatePickerComponentType.js +1 -0
- package/lib/commonjs/components/DeckSwiper/DeckSwiper.js +1 -0
- package/lib/commonjs/components/DeckSwiper/DeckSwiperCard.js +1 -0
- package/lib/commonjs/components/DeckSwiper/index.js +1 -0
- package/lib/commonjs/components/Divider.js +1 -0
- package/lib/commonjs/components/Elevation.js +1 -0
- package/lib/commonjs/components/FormRow.js +1 -0
- package/lib/commonjs/components/IconButton.js +1 -0
- package/lib/commonjs/components/Image.js +1 -0
- package/lib/commonjs/components/Layout.js +1 -0
- package/lib/commonjs/components/Markdown.js +1 -0
- package/lib/commonjs/components/MediaPlayer/AudioPlayer/AudioPlayerCommon.js +1 -0
- package/lib/commonjs/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.js +1 -0
- package/lib/commonjs/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.js +1 -0
- package/lib/commonjs/components/MediaPlayer/AudioPlayer/index.js +1 -0
- package/lib/commonjs/components/MediaPlayer/MediaPlaybackWrapper.js +1 -0
- package/lib/commonjs/components/MediaPlayer/MediaPlayerCommon.js +1 -0
- package/lib/commonjs/components/MediaPlayer/VideoPlayer/VideoPlayer.js +1 -0
- package/lib/commonjs/components/MediaPlayer/VideoPlayer/index.js +1 -0
- package/lib/commonjs/components/NumberInput.js +1 -0
- package/lib/commonjs/components/Picker/Picker.js +1 -0
- package/lib/commonjs/components/Picker/PickerComponent.android.js +1 -0
- package/lib/commonjs/components/Picker/PickerComponent.ios.js +1 -0
- package/lib/commonjs/components/Picker/PickerComponent.web.js +1 -0
- package/lib/commonjs/components/Picker/PickerTypes.js +1 -0
- package/lib/commonjs/components/Portal/Portal.js +1 -0
- package/lib/commonjs/components/Portal/PortalConsumer.js +1 -0
- package/lib/commonjs/components/Portal/PortalHost.js +1 -0
- package/lib/commonjs/components/Portal/PortalManager.js +1 -0
- package/lib/commonjs/components/Pressable.js +1 -0
- package/lib/commonjs/components/Progress/CircularProgress/CircularProgress.js +1 -0
- package/lib/commonjs/components/Progress/CircularProgress/index.js +1 -0
- package/lib/commonjs/components/Progress/IndeterminateProgress.js +1 -0
- package/lib/commonjs/components/Progress/LinearProgress/LinearProgress.js +1 -0
- package/lib/commonjs/components/Progress/LinearProgress/index.js +1 -0
- package/lib/commonjs/components/Progress/ProgressCommon.js +1 -0
- package/lib/commonjs/components/ProgressIndicator.js +1 -0
- package/lib/commonjs/components/RadioButton/RadioButton.js +1 -0
- package/lib/commonjs/components/RadioButton/RadioButtonGroup.js +1 -0
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js +1 -0
- package/lib/commonjs/components/RadioButton/context.js +1 -0
- package/lib/commonjs/components/RadioButton/index.js +1 -0
- package/lib/commonjs/components/Row.js +1 -0
- package/lib/commonjs/components/SVG.js +1 -0
- package/lib/commonjs/components/ScreenContainer.js +1 -0
- package/lib/commonjs/components/SectionList/SectionHeader.js +1 -0
- package/lib/commonjs/components/SectionList/SectionList.js +1 -0
- package/lib/commonjs/components/SectionList/index.js +1 -0
- package/lib/commonjs/components/Shadow.js +1 -0
- package/lib/commonjs/components/Slider.js +1 -0
- package/lib/commonjs/components/StarRating.js +1 -0
- package/lib/commonjs/components/StepIndicator.js +1 -0
- package/lib/commonjs/components/Stepper.js +1 -0
- package/lib/commonjs/components/Surface.js +1 -0
- package/lib/commonjs/components/SwipeableItem/SwipeableItem.js +1 -0
- package/lib/commonjs/components/SwipeableItem/SwipeableItemButton.js +1 -0
- package/lib/commonjs/components/SwipeableItem/SwipeableItemCommon.js +1 -0
- package/lib/commonjs/components/SwipeableItem/SwipeableList.js +1 -0
- package/lib/commonjs/components/SwipeableItem/index.js +1 -0
- package/lib/commonjs/components/Swiper/Swiper.js +1 -0
- package/lib/commonjs/components/Swiper/SwiperItem.js +1 -0
- package/lib/commonjs/components/Swiper/index.js +1 -0
- package/lib/commonjs/components/Switch.js +1 -0
- package/lib/commonjs/components/TabView/TabView.js +1 -0
- package/lib/commonjs/components/TabView/TabViewItem.js +1 -0
- package/lib/commonjs/components/TabView/index.js +1 -0
- package/lib/commonjs/components/Table/Table.js +1 -0
- package/lib/commonjs/components/Table/TableCell.js +1 -0
- package/lib/commonjs/components/Table/TableCommon.js +1 -0
- package/lib/commonjs/components/Table/TableRow.js +1 -0
- package/lib/commonjs/components/Table/index.js +1 -0
- package/lib/commonjs/components/Text.js +1 -0
- package/lib/commonjs/components/TextField.js +1 -0
- package/lib/commonjs/components/TextInput.js +1 -0
- package/lib/commonjs/components/Touchable.js +1 -0
- package/lib/commonjs/components/Touchable.web.js +1 -0
- package/lib/commonjs/components/Typography.js +1 -0
- package/lib/commonjs/components/YoutubePlayer/YoutubePlayer.js +1 -0
- package/lib/commonjs/components/YoutubePlayer/YoutubePlayer.native.js +1 -0
- package/lib/commonjs/components/YoutubePlayer/YoutubePlayerProps.js +1 -0
- package/lib/commonjs/components/YoutubePlayer/index.js +1 -0
- package/lib/commonjs/components/useAuthState.js +1 -0
- package/lib/commonjs/constants.js +1 -0
- package/lib/commonjs/deprecated-components/AccordionItem.js +1 -0
- package/lib/commonjs/deprecated-components/AnimatedCircularProgress.js +1 -0
- package/lib/commonjs/deprecated-components/AvatarEdit.js +1 -0
- package/lib/commonjs/deprecated-components/Banner.js +1 -0
- package/lib/commonjs/deprecated-components/Card.js +1 -0
- package/lib/commonjs/deprecated-components/CheckboxGroup.js +1 -0
- package/lib/commonjs/deprecated-components/CircleImage.js +1 -0
- package/lib/commonjs/deprecated-components/CircularProgress.js +1 -0
- package/lib/commonjs/deprecated-components/Container.js +1 -0
- package/lib/commonjs/deprecated-components/DeprecatedButton.js +1 -0
- package/lib/commonjs/deprecated-components/DeprecatedCardWrapper.js +1 -0
- package/lib/commonjs/deprecated-components/DeprecatedFAB.js +1 -0
- package/lib/commonjs/deprecated-components/FAB.js +1 -0
- package/lib/commonjs/deprecated-components/FieldSearchBarFull.js +1 -0
- package/lib/commonjs/deprecated-components/ProgressBar.js +1 -0
- package/lib/commonjs/deprecated-components/ProgressCircle.js +1 -0
- package/lib/commonjs/deprecated-components/RadioButtonFieldGroup.js +1 -0
- package/lib/commonjs/deprecated-components/RowBodyIcon.js +1 -0
- package/lib/commonjs/deprecated-components/RowHeadlineImageCaption.js +1 -0
- package/lib/commonjs/deprecated-components/RowHeadlineImageIcon.js +1 -0
- package/lib/commonjs/deprecated-components/ToggleButton.js +1 -0
- package/lib/commonjs/hooks.js +1 -0
- package/lib/commonjs/index.js +1 -0
- package/lib/commonjs/interfaces/Icon.js +1 -0
- package/lib/commonjs/styles/DarkTheme.js +1 -0
- package/lib/commonjs/styles/DefaultTheme.js +1 -0
- package/lib/commonjs/styles/fonts.js +1 -0
- package/lib/commonjs/styles/overlay.js +1 -0
- package/lib/commonjs/styles/shadow.js +1 -0
- package/lib/commonjs/theming.js +1 -0
- package/lib/commonjs/utilities.js +1 -0
- package/lib/typescript/src/Provider.js.map +1 -0
- package/lib/typescript/src/components/AccordionGroup.js.map +1 -0
- package/lib/typescript/src/components/ActionSheet/ActionSheet.js.map +1 -0
- package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.js.map +1 -0
- package/lib/typescript/src/components/ActionSheet/ActionSheetItem.js.map +1 -0
- package/lib/typescript/src/components/ActionSheet/index.js.map +1 -0
- package/lib/typescript/src/components/AspectRatio.js.map +1 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheet.js.map +1 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheetComponent.js.map +1 -0
- package/lib/typescript/src/components/BottomSheet/index.js.map +1 -0
- package/lib/typescript/src/components/Button.js.map +1 -0
- package/lib/typescript/src/components/Checkbox/Checkbox.js.map +1 -0
- package/lib/typescript/src/components/Checkbox/CheckboxGroupRow.js.map +1 -0
- package/lib/typescript/src/components/Checkbox/CheckboxRow.js.map +1 -0
- package/lib/typescript/src/components/Checkbox/context.js.map +1 -0
- package/lib/typescript/src/components/Checkbox/index.js.map +1 -0
- package/lib/typescript/src/components/CodeInput/CodeInput.d.ts +18 -0
- package/lib/typescript/src/components/CodeInput/CodeInput.js +30 -0
- package/lib/typescript/src/components/CodeInput/CodeInput.js.map +1 -0
- package/lib/typescript/src/components/CodeInput/CodeInputCell.d.ts +16 -0
- package/lib/typescript/src/components/CodeInput/CodeInputCell.js +41 -0
- package/lib/typescript/src/components/CodeInput/CodeInputCell.js.map +1 -0
- package/lib/typescript/src/components/CodeInput/CodeInputText.d.ts +13 -0
- package/lib/typescript/src/components/CodeInput/CodeInputText.js +14 -0
- package/lib/typescript/src/components/CodeInput/CodeInputText.js.map +1 -0
- package/lib/typescript/src/components/CodeInput/index.d.ts +3 -0
- package/lib/typescript/src/components/CodeInput/index.js +4 -0
- package/lib/typescript/src/components/CodeInput/index.js.map +1 -0
- package/lib/typescript/src/components/Config.js.map +1 -0
- package/lib/typescript/src/components/DatePicker/DatePicker.js.map +1 -0
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.js.map +1 -0
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.js.map +1 -0
- package/lib/typescript/src/components/DatePicker/DatePickerComponentType.js.map +1 -0
- package/lib/{src → typescript/src}/components/DeckSwiper/DeckSwiper.d.ts +3 -1
- package/lib/{src → typescript/src}/components/DeckSwiper/DeckSwiper.js +6 -2
- package/lib/typescript/src/components/DeckSwiper/DeckSwiper.js.map +1 -0
- package/lib/typescript/src/components/DeckSwiper/DeckSwiperCard.js.map +1 -0
- package/lib/typescript/src/components/DeckSwiper/index.js.map +1 -0
- package/lib/typescript/src/components/Divider.js.map +1 -0
- package/lib/typescript/src/components/Elevation.js.map +1 -0
- package/lib/typescript/src/components/FormRow.js.map +1 -0
- package/lib/typescript/src/components/IconButton.js.map +1 -0
- package/lib/typescript/src/components/Image.js.map +1 -0
- package/lib/typescript/src/components/Layout.js.map +1 -0
- package/lib/typescript/src/components/Markdown.js.map +1 -0
- package/lib/typescript/src/components/MediaPlayer/AudioPlayer/AudioPlayerCommon.js.map +1 -0
- package/lib/typescript/src/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.js.map +1 -0
- package/lib/typescript/src/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.js.map +1 -0
- package/lib/typescript/src/components/MediaPlayer/AudioPlayer/index.js.map +1 -0
- package/lib/typescript/src/components/MediaPlayer/MediaPlaybackWrapper.js.map +1 -0
- package/lib/typescript/src/components/MediaPlayer/MediaPlayerCommon.js.map +1 -0
- package/lib/typescript/src/components/MediaPlayer/VideoPlayer/VideoPlayer.js.map +1 -0
- package/lib/typescript/src/components/MediaPlayer/VideoPlayer/index.js.map +1 -0
- package/lib/typescript/src/components/NumberInput.js.map +1 -0
- package/lib/typescript/src/components/Picker/Picker.js.map +1 -0
- package/lib/typescript/src/components/Picker/PickerComponent.android.js.map +1 -0
- package/lib/typescript/src/components/Picker/PickerComponent.ios.js.map +1 -0
- package/lib/typescript/src/components/Picker/PickerComponent.web.js.map +1 -0
- package/lib/typescript/src/components/Picker/PickerTypes.js.map +1 -0
- package/lib/typescript/src/components/Portal/Portal.js.map +1 -0
- package/lib/typescript/src/components/Portal/PortalConsumer.js.map +1 -0
- package/lib/typescript/src/components/Portal/PortalHost.js.map +1 -0
- package/lib/typescript/src/components/Portal/PortalManager.js.map +1 -0
- package/lib/typescript/src/components/Pressable.js.map +1 -0
- package/lib/{src → typescript/src}/components/Progress/CircularProgress/CircularProgress.js +3 -3
- package/lib/typescript/src/components/Progress/CircularProgress/CircularProgress.js.map +1 -0
- package/lib/typescript/src/components/Progress/CircularProgress/index.js.map +1 -0
- package/lib/{src → typescript/src}/components/Progress/IndeterminateProgress.js +1 -1
- package/lib/typescript/src/components/Progress/IndeterminateProgress.js.map +1 -0
- package/lib/{src → typescript/src}/components/Progress/LinearProgress/LinearProgress.js +1 -1
- package/lib/typescript/src/components/Progress/LinearProgress/LinearProgress.js.map +1 -0
- package/lib/typescript/src/components/Progress/LinearProgress/index.js.map +1 -0
- package/lib/typescript/src/components/Progress/ProgressCommon.js.map +1 -0
- package/lib/typescript/src/components/ProgressIndicator.js.map +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButton.js.map +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButtonGroup.js.map +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButtonRow.js.map +1 -0
- package/lib/typescript/src/components/RadioButton/context.js.map +1 -0
- package/lib/typescript/src/components/RadioButton/index.js.map +1 -0
- package/lib/typescript/src/components/Row.js.map +1 -0
- package/lib/typescript/src/components/SVG.js.map +1 -0
- package/lib/typescript/src/components/ScreenContainer.js.map +1 -0
- package/lib/typescript/src/components/SectionList/SectionHeader.js.map +1 -0
- package/lib/typescript/src/components/SectionList/SectionList.js.map +1 -0
- package/lib/typescript/src/components/SectionList/index.js.map +1 -0
- package/lib/typescript/src/components/Shadow.js.map +1 -0
- package/lib/typescript/src/components/Slider.js.map +1 -0
- package/lib/typescript/src/components/StarRating.js.map +1 -0
- package/lib/typescript/src/components/StepIndicator.js.map +1 -0
- package/lib/typescript/src/components/Stepper.js.map +1 -0
- package/lib/typescript/src/components/Surface.js.map +1 -0
- package/lib/typescript/src/components/SwipeableItem/SwipeableItem.js.map +1 -0
- package/lib/typescript/src/components/SwipeableItem/SwipeableItemButton.js.map +1 -0
- package/lib/typescript/src/components/SwipeableItem/SwipeableItemCommon.js.map +1 -0
- package/lib/typescript/src/components/SwipeableItem/SwipeableList.js.map +1 -0
- package/lib/typescript/src/components/SwipeableItem/index.js.map +1 -0
- package/lib/typescript/src/components/Swiper/Swiper.js.map +1 -0
- package/lib/typescript/src/components/Swiper/SwiperItem.js.map +1 -0
- package/lib/typescript/src/components/Swiper/index.js.map +1 -0
- package/lib/typescript/src/components/Switch.js.map +1 -0
- package/lib/typescript/src/components/TabView/TabView.js.map +1 -0
- package/lib/typescript/src/components/TabView/TabViewItem.js.map +1 -0
- package/lib/typescript/src/components/TabView/index.js.map +1 -0
- package/lib/typescript/src/components/Table/Table.js.map +1 -0
- package/lib/typescript/src/components/Table/TableCell.js.map +1 -0
- package/lib/typescript/src/components/Table/TableCommon.js.map +1 -0
- package/lib/typescript/src/components/Table/TableRow.js.map +1 -0
- package/lib/typescript/src/components/Table/index.js.map +1 -0
- package/lib/typescript/src/components/Text.js.map +1 -0
- package/lib/typescript/src/components/TextField.js.map +1 -0
- package/lib/typescript/src/components/TextInput.js.map +1 -0
- package/lib/typescript/src/components/Touchable.js.map +1 -0
- package/lib/typescript/src/components/Touchable.web.js.map +1 -0
- package/lib/typescript/src/components/Typography.js.map +1 -0
- package/lib/typescript/src/components/YoutubePlayer/YoutubePlayer.js.map +1 -0
- package/lib/typescript/src/components/YoutubePlayer/YoutubePlayer.native.js.map +1 -0
- package/lib/typescript/src/components/YoutubePlayer/YoutubePlayerProps.js.map +1 -0
- package/lib/typescript/src/components/YoutubePlayer/index.js.map +1 -0
- package/lib/typescript/src/components/useAuthState.js.map +1 -0
- package/lib/typescript/src/constants.js.map +1 -0
- package/lib/typescript/src/deprecated-components/AccordionItem.js.map +1 -0
- package/lib/typescript/src/deprecated-components/AnimatedCircularProgress.js.map +1 -0
- package/lib/typescript/src/deprecated-components/AvatarEdit.js.map +1 -0
- package/lib/typescript/src/deprecated-components/Banner.js.map +1 -0
- package/lib/typescript/src/deprecated-components/Card.js.map +1 -0
- package/lib/typescript/src/deprecated-components/CheckboxGroup.js.map +1 -0
- package/lib/typescript/src/deprecated-components/CircleImage.js.map +1 -0
- package/lib/typescript/src/deprecated-components/CircularProgress.js.map +1 -0
- package/lib/typescript/src/deprecated-components/Container.js.map +1 -0
- package/lib/typescript/src/deprecated-components/DeprecatedButton.js.map +1 -0
- package/lib/typescript/src/deprecated-components/DeprecatedCardWrapper.js.map +1 -0
- package/lib/typescript/src/deprecated-components/DeprecatedFAB.js.map +1 -0
- package/lib/typescript/src/deprecated-components/FAB.js.map +1 -0
- package/lib/typescript/src/deprecated-components/FieldSearchBarFull.js.map +1 -0
- package/lib/typescript/src/deprecated-components/ProgressBar.js.map +1 -0
- package/lib/typescript/src/deprecated-components/ProgressCircle.js.map +1 -0
- package/lib/typescript/src/deprecated-components/RadioButtonFieldGroup.js.map +1 -0
- package/lib/typescript/src/deprecated-components/RowBodyIcon.js.map +1 -0
- package/lib/typescript/src/deprecated-components/RowHeadlineImageCaption.js.map +1 -0
- package/lib/typescript/src/deprecated-components/RowHeadlineImageIcon.js.map +1 -0
- package/lib/typescript/src/deprecated-components/ToggleButton.js.map +1 -0
- package/lib/typescript/src/hooks.js.map +1 -0
- package/lib/{src → typescript/src}/index.d.ts +1 -0
- package/lib/{src → typescript/src}/index.js +1 -0
- package/lib/typescript/src/index.js.map +1 -0
- package/lib/typescript/src/interfaces/Icon.js.map +1 -0
- package/lib/typescript/src/styles/DarkTheme.js.map +1 -0
- package/lib/typescript/src/styles/DefaultTheme.js.map +1 -0
- package/lib/typescript/src/styles/fonts.js.map +1 -0
- package/lib/typescript/src/styles/overlay.js.map +1 -0
- package/lib/typescript/src/styles/shadow.js.map +1 -0
- package/lib/typescript/src/theming.js.map +1 -0
- package/lib/typescript/src/utilities.js.map +1 -0
- package/lib/typescript/tsconfig.tsbuildinfo +1 -0
- package/package.json +10 -7
- package/src/components/CodeInput/CodeInput.js +30 -0
- package/src/components/CodeInput/CodeInput.js.map +1 -0
- package/src/components/CodeInput/CodeInput.tsx +94 -0
- package/src/components/CodeInput/CodeInputCell.js +41 -0
- package/src/components/CodeInput/CodeInputCell.js.map +1 -0
- package/src/components/CodeInput/CodeInputCell.tsx +71 -0
- package/src/components/CodeInput/CodeInputText.js +14 -0
- package/src/components/CodeInput/CodeInputText.js.map +1 -0
- package/src/components/CodeInput/CodeInputText.tsx +37 -0
- package/src/components/CodeInput/index.js +4 -0
- package/src/components/CodeInput/index.js.map +1 -0
- package/src/components/CodeInput/index.tsx +3 -0
- package/src/components/DeckSwiper/DeckSwiper.js +6 -2
- package/src/components/DeckSwiper/DeckSwiper.js.map +1 -1
- package/src/components/DeckSwiper/DeckSwiper.tsx +8 -0
- package/src/components/Progress/CircularProgress/CircularProgress.js +3 -3
- package/src/components/Progress/CircularProgress/CircularProgress.js.map +1 -1
- package/src/components/Progress/CircularProgress/CircularProgress.tsx +3 -1
- package/src/components/Progress/IndeterminateProgress.js +1 -1
- package/src/components/Progress/IndeterminateProgress.js.map +1 -1
- package/src/components/Progress/IndeterminateProgress.tsx +2 -0
- package/src/components/Progress/LinearProgress/LinearProgress.js +1 -1
- package/src/components/Progress/LinearProgress/LinearProgress.js.map +1 -1
- package/src/components/Progress/LinearProgress/LinearProgress.tsx +1 -3
- package/src/index.js +1 -0
- package/src/index.js.map +1 -1
- package/src/index.tsx +5 -0
- package/lib/src/Provider.js.map +0 -1
- package/lib/src/components/AccordionGroup.js.map +0 -1
- package/lib/src/components/ActionSheet/ActionSheet.js.map +0 -1
- package/lib/src/components/ActionSheet/ActionSheetCancel.js.map +0 -1
- package/lib/src/components/ActionSheet/ActionSheetItem.js.map +0 -1
- package/lib/src/components/ActionSheet/index.js.map +0 -1
- package/lib/src/components/AspectRatio.js.map +0 -1
- package/lib/src/components/BottomSheet/BottomSheet.js.map +0 -1
- package/lib/src/components/BottomSheet/BottomSheetComponent.js.map +0 -1
- package/lib/src/components/BottomSheet/index.js.map +0 -1
- package/lib/src/components/Button.js.map +0 -1
- package/lib/src/components/Checkbox/Checkbox.js.map +0 -1
- package/lib/src/components/Checkbox/CheckboxGroupRow.js.map +0 -1
- package/lib/src/components/Checkbox/CheckboxRow.js.map +0 -1
- package/lib/src/components/Checkbox/context.js.map +0 -1
- package/lib/src/components/Checkbox/index.js.map +0 -1
- package/lib/src/components/Config.js.map +0 -1
- package/lib/src/components/DatePicker/DatePicker.js.map +0 -1
- package/lib/src/components/DatePicker/DatePickerComponent.js.map +0 -1
- package/lib/src/components/DatePicker/DatePickerComponent.web.js.map +0 -1
- package/lib/src/components/DatePicker/DatePickerComponentType.js.map +0 -1
- package/lib/src/components/DeckSwiper/DeckSwiper.js.map +0 -1
- package/lib/src/components/DeckSwiper/DeckSwiperCard.js.map +0 -1
- package/lib/src/components/DeckSwiper/index.js.map +0 -1
- package/lib/src/components/Divider.js.map +0 -1
- package/lib/src/components/Elevation.js.map +0 -1
- package/lib/src/components/FormRow.js.map +0 -1
- package/lib/src/components/IconButton.js.map +0 -1
- package/lib/src/components/Image.js.map +0 -1
- package/lib/src/components/Layout.js.map +0 -1
- package/lib/src/components/Markdown.js.map +0 -1
- package/lib/src/components/MediaPlayer/AudioPlayer/AudioPlayerCommon.js.map +0 -1
- package/lib/src/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.js.map +0 -1
- package/lib/src/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.js.map +0 -1
- package/lib/src/components/MediaPlayer/AudioPlayer/index.js.map +0 -1
- package/lib/src/components/MediaPlayer/MediaPlaybackWrapper.js.map +0 -1
- package/lib/src/components/MediaPlayer/MediaPlayerCommon.js.map +0 -1
- package/lib/src/components/MediaPlayer/VideoPlayer/VideoPlayer.js.map +0 -1
- package/lib/src/components/MediaPlayer/VideoPlayer/index.js.map +0 -1
- package/lib/src/components/NumberInput.js.map +0 -1
- package/lib/src/components/Picker/Picker.js.map +0 -1
- package/lib/src/components/Picker/PickerComponent.android.js.map +0 -1
- package/lib/src/components/Picker/PickerComponent.ios.js.map +0 -1
- package/lib/src/components/Picker/PickerComponent.web.js.map +0 -1
- package/lib/src/components/Picker/PickerTypes.js.map +0 -1
- package/lib/src/components/Portal/Portal.js.map +0 -1
- package/lib/src/components/Portal/PortalConsumer.js.map +0 -1
- package/lib/src/components/Portal/PortalHost.js.map +0 -1
- package/lib/src/components/Portal/PortalManager.js.map +0 -1
- package/lib/src/components/Pressable.js.map +0 -1
- package/lib/src/components/Progress/CircularProgress/CircularProgress.js.map +0 -1
- package/lib/src/components/Progress/CircularProgress/index.js.map +0 -1
- package/lib/src/components/Progress/IndeterminateProgress.js.map +0 -1
- package/lib/src/components/Progress/LinearProgress/LinearProgress.js.map +0 -1
- package/lib/src/components/Progress/LinearProgress/index.js.map +0 -1
- package/lib/src/components/Progress/ProgressCommon.js.map +0 -1
- package/lib/src/components/ProgressIndicator.js.map +0 -1
- package/lib/src/components/RadioButton/RadioButton.js.map +0 -1
- package/lib/src/components/RadioButton/RadioButtonGroup.js.map +0 -1
- package/lib/src/components/RadioButton/RadioButtonRow.js.map +0 -1
- package/lib/src/components/RadioButton/context.js.map +0 -1
- package/lib/src/components/RadioButton/index.js.map +0 -1
- package/lib/src/components/Row.js.map +0 -1
- package/lib/src/components/SVG.js.map +0 -1
- package/lib/src/components/ScreenContainer.js.map +0 -1
- package/lib/src/components/SectionList/SectionHeader.js.map +0 -1
- package/lib/src/components/SectionList/SectionList.js.map +0 -1
- package/lib/src/components/SectionList/index.js.map +0 -1
- package/lib/src/components/Shadow.js.map +0 -1
- package/lib/src/components/Slider.js.map +0 -1
- package/lib/src/components/StarRating.js.map +0 -1
- package/lib/src/components/StepIndicator.js.map +0 -1
- package/lib/src/components/Stepper.js.map +0 -1
- package/lib/src/components/Surface.js.map +0 -1
- package/lib/src/components/SwipeableItem/SwipeableItem.js.map +0 -1
- package/lib/src/components/SwipeableItem/SwipeableItemButton.js.map +0 -1
- package/lib/src/components/SwipeableItem/SwipeableItemCommon.js.map +0 -1
- package/lib/src/components/SwipeableItem/SwipeableList.js.map +0 -1
- package/lib/src/components/SwipeableItem/index.js.map +0 -1
- package/lib/src/components/Swiper/Swiper.js.map +0 -1
- package/lib/src/components/Swiper/SwiperItem.js.map +0 -1
- package/lib/src/components/Swiper/index.js.map +0 -1
- package/lib/src/components/Switch.js.map +0 -1
- package/lib/src/components/TabView/TabView.js.map +0 -1
- package/lib/src/components/TabView/TabViewItem.js.map +0 -1
- package/lib/src/components/TabView/index.js.map +0 -1
- package/lib/src/components/Table/Table.js.map +0 -1
- package/lib/src/components/Table/TableCell.js.map +0 -1
- package/lib/src/components/Table/TableCommon.js.map +0 -1
- package/lib/src/components/Table/TableRow.js.map +0 -1
- package/lib/src/components/Table/index.js.map +0 -1
- package/lib/src/components/Text.js.map +0 -1
- package/lib/src/components/TextField.js.map +0 -1
- package/lib/src/components/TextInput.js.map +0 -1
- package/lib/src/components/Touchable.js.map +0 -1
- package/lib/src/components/Touchable.web.js.map +0 -1
- package/lib/src/components/Typography.js.map +0 -1
- package/lib/src/components/YoutubePlayer/YoutubePlayer.js.map +0 -1
- package/lib/src/components/YoutubePlayer/YoutubePlayer.native.js.map +0 -1
- package/lib/src/components/YoutubePlayer/YoutubePlayerProps.js.map +0 -1
- package/lib/src/components/YoutubePlayer/index.js.map +0 -1
- package/lib/src/components/useAuthState.js.map +0 -1
- package/lib/src/constants.js.map +0 -1
- package/lib/src/deprecated-components/AccordionItem.js.map +0 -1
- package/lib/src/deprecated-components/AnimatedCircularProgress.js.map +0 -1
- package/lib/src/deprecated-components/AvatarEdit.js.map +0 -1
- package/lib/src/deprecated-components/Banner.js.map +0 -1
- package/lib/src/deprecated-components/Card.js.map +0 -1
- package/lib/src/deprecated-components/CheckboxGroup.js.map +0 -1
- package/lib/src/deprecated-components/CircleImage.js.map +0 -1
- package/lib/src/deprecated-components/CircularProgress.js.map +0 -1
- package/lib/src/deprecated-components/Container.js.map +0 -1
- package/lib/src/deprecated-components/DeprecatedButton.js.map +0 -1
- package/lib/src/deprecated-components/DeprecatedCardWrapper.js.map +0 -1
- package/lib/src/deprecated-components/DeprecatedFAB.js.map +0 -1
- package/lib/src/deprecated-components/FAB.js.map +0 -1
- package/lib/src/deprecated-components/FieldSearchBarFull.js.map +0 -1
- package/lib/src/deprecated-components/ProgressBar.js.map +0 -1
- package/lib/src/deprecated-components/ProgressCircle.js.map +0 -1
- package/lib/src/deprecated-components/RadioButtonFieldGroup.js.map +0 -1
- package/lib/src/deprecated-components/RowBodyIcon.js.map +0 -1
- package/lib/src/deprecated-components/RowHeadlineImageCaption.js.map +0 -1
- package/lib/src/deprecated-components/RowHeadlineImageIcon.js.map +0 -1
- package/lib/src/deprecated-components/ToggleButton.js.map +0 -1
- package/lib/src/hooks.js.map +0 -1
- package/lib/src/index.js.map +0 -1
- package/lib/src/interfaces/Icon.js.map +0 -1
- package/lib/src/styles/DarkTheme.js.map +0 -1
- package/lib/src/styles/DefaultTheme.js.map +0 -1
- package/lib/src/styles/fonts.js.map +0 -1
- package/lib/src/styles/overlay.js.map +0 -1
- package/lib/src/styles/shadow.js.map +0 -1
- package/lib/src/theming.js.map +0 -1
- package/lib/src/utilities.js.map +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- /package/lib/{src → typescript/src}/Provider.d.ts +0 -0
- /package/lib/{src → typescript/src}/Provider.js +0 -0
- /package/lib/{src → typescript/src}/components/AccordionGroup.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/AccordionGroup.js +0 -0
- /package/lib/{src → typescript/src}/components/ActionSheet/ActionSheet.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/ActionSheet/ActionSheet.js +0 -0
- /package/lib/{src → typescript/src}/components/ActionSheet/ActionSheetCancel.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/ActionSheet/ActionSheetCancel.js +0 -0
- /package/lib/{src → typescript/src}/components/ActionSheet/ActionSheetItem.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/ActionSheet/ActionSheetItem.js +0 -0
- /package/lib/{src → typescript/src}/components/ActionSheet/index.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/ActionSheet/index.js +0 -0
- /package/lib/{src → typescript/src}/components/AspectRatio.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/AspectRatio.js +0 -0
- /package/lib/{src → typescript/src}/components/BottomSheet/BottomSheet.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/BottomSheet/BottomSheet.js +0 -0
- /package/lib/{src → typescript/src}/components/BottomSheet/BottomSheetComponent.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/BottomSheet/BottomSheetComponent.js +0 -0
- /package/lib/{src → typescript/src}/components/BottomSheet/index.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/BottomSheet/index.js +0 -0
- /package/lib/{src → typescript/src}/components/Button.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Button.js +0 -0
- /package/lib/{src → typescript/src}/components/Checkbox/Checkbox.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Checkbox/Checkbox.js +0 -0
- /package/lib/{src → typescript/src}/components/Checkbox/CheckboxGroupRow.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Checkbox/CheckboxGroupRow.js +0 -0
- /package/lib/{src → typescript/src}/components/Checkbox/CheckboxRow.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Checkbox/CheckboxRow.js +0 -0
- /package/lib/{src → typescript/src}/components/Checkbox/context.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Checkbox/context.js +0 -0
- /package/lib/{src → typescript/src}/components/Checkbox/index.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Checkbox/index.js +0 -0
- /package/lib/{src → typescript/src}/components/Config.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Config.js +0 -0
- /package/lib/{src → typescript/src}/components/DatePicker/DatePicker.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/DatePicker/DatePicker.js +0 -0
- /package/lib/{src → typescript/src}/components/DatePicker/DatePickerComponent.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/DatePicker/DatePickerComponent.js +0 -0
- /package/lib/{src → typescript/src}/components/DatePicker/DatePickerComponent.web.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/DatePicker/DatePickerComponent.web.js +0 -0
- /package/lib/{src → typescript/src}/components/DatePicker/DatePickerComponentType.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/DatePicker/DatePickerComponentType.js +0 -0
- /package/lib/{src → typescript/src}/components/DeckSwiper/DeckSwiperCard.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/DeckSwiper/DeckSwiperCard.js +0 -0
- /package/lib/{src → typescript/src}/components/DeckSwiper/index.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/DeckSwiper/index.js +0 -0
- /package/lib/{src → typescript/src}/components/Divider.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Divider.js +0 -0
- /package/lib/{src → typescript/src}/components/Elevation.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Elevation.js +0 -0
- /package/lib/{src → typescript/src}/components/FormRow.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/FormRow.js +0 -0
- /package/lib/{src → typescript/src}/components/IconButton.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/IconButton.js +0 -0
- /package/lib/{src → typescript/src}/components/Image.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Image.js +0 -0
- /package/lib/{src → typescript/src}/components/Layout.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Layout.js +0 -0
- /package/lib/{src → typescript/src}/components/Markdown.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Markdown.js +0 -0
- /package/lib/{src → typescript/src}/components/MediaPlayer/AudioPlayer/AudioPlayerCommon.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/MediaPlayer/AudioPlayer/AudioPlayerCommon.js +0 -0
- /package/lib/{src → typescript/src}/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.js +0 -0
- /package/lib/{src → typescript/src}/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/MediaPlayer/AudioPlayer/HeadlessAudioPlayer.js +0 -0
- /package/lib/{src → typescript/src}/components/MediaPlayer/AudioPlayer/index.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/MediaPlayer/AudioPlayer/index.js +0 -0
- /package/lib/{src → typescript/src}/components/MediaPlayer/MediaPlaybackWrapper.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/MediaPlayer/MediaPlaybackWrapper.js +0 -0
- /package/lib/{src → typescript/src}/components/MediaPlayer/MediaPlayerCommon.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/MediaPlayer/MediaPlayerCommon.js +0 -0
- /package/lib/{src → typescript/src}/components/MediaPlayer/VideoPlayer/VideoPlayer.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/MediaPlayer/VideoPlayer/VideoPlayer.js +0 -0
- /package/lib/{src → typescript/src}/components/MediaPlayer/VideoPlayer/index.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/MediaPlayer/VideoPlayer/index.js +0 -0
- /package/lib/{src → typescript/src}/components/NumberInput.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/NumberInput.js +0 -0
- /package/lib/{src → typescript/src}/components/Picker/Picker.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Picker/Picker.js +0 -0
- /package/lib/{src → typescript/src}/components/Picker/PickerComponent.android.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Picker/PickerComponent.android.js +0 -0
- /package/lib/{src → typescript/src}/components/Picker/PickerComponent.ios.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Picker/PickerComponent.ios.js +0 -0
- /package/lib/{src → typescript/src}/components/Picker/PickerComponent.web.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Picker/PickerComponent.web.js +0 -0
- /package/lib/{src → typescript/src}/components/Picker/PickerTypes.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Picker/PickerTypes.js +0 -0
- /package/lib/{src → typescript/src}/components/Portal/Portal.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Portal/Portal.js +0 -0
- /package/lib/{src → typescript/src}/components/Portal/PortalConsumer.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Portal/PortalConsumer.js +0 -0
- /package/lib/{src → typescript/src}/components/Portal/PortalHost.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Portal/PortalHost.js +0 -0
- /package/lib/{src → typescript/src}/components/Portal/PortalManager.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Portal/PortalManager.js +0 -0
- /package/lib/{src → typescript/src}/components/Pressable.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Pressable.js +0 -0
- /package/lib/{src → typescript/src}/components/Progress/CircularProgress/CircularProgress.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Progress/CircularProgress/index.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Progress/CircularProgress/index.js +0 -0
- /package/lib/{src → typescript/src}/components/Progress/IndeterminateProgress.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Progress/LinearProgress/LinearProgress.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Progress/LinearProgress/index.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Progress/LinearProgress/index.js +0 -0
- /package/lib/{src → typescript/src}/components/Progress/ProgressCommon.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Progress/ProgressCommon.js +0 -0
- /package/lib/{src → typescript/src}/components/ProgressIndicator.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/ProgressIndicator.js +0 -0
- /package/lib/{src → typescript/src}/components/RadioButton/RadioButton.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/RadioButton/RadioButton.js +0 -0
- /package/lib/{src → typescript/src}/components/RadioButton/RadioButtonGroup.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/RadioButton/RadioButtonGroup.js +0 -0
- /package/lib/{src → typescript/src}/components/RadioButton/RadioButtonRow.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/RadioButton/RadioButtonRow.js +0 -0
- /package/lib/{src → typescript/src}/components/RadioButton/context.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/RadioButton/context.js +0 -0
- /package/lib/{src → typescript/src}/components/RadioButton/index.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/RadioButton/index.js +0 -0
- /package/lib/{src → typescript/src}/components/Row.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Row.js +0 -0
- /package/lib/{src → typescript/src}/components/SVG.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/SVG.js +0 -0
- /package/lib/{src → typescript/src}/components/ScreenContainer.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/ScreenContainer.js +0 -0
- /package/lib/{src → typescript/src}/components/SectionList/SectionHeader.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/SectionList/SectionHeader.js +0 -0
- /package/lib/{src → typescript/src}/components/SectionList/SectionList.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/SectionList/SectionList.js +0 -0
- /package/lib/{src → typescript/src}/components/SectionList/index.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/SectionList/index.js +0 -0
- /package/lib/{src → typescript/src}/components/Shadow.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Shadow.js +0 -0
- /package/lib/{src → typescript/src}/components/Slider.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Slider.js +0 -0
- /package/lib/{src → typescript/src}/components/StarRating.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/StarRating.js +0 -0
- /package/lib/{src → typescript/src}/components/StepIndicator.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/StepIndicator.js +0 -0
- /package/lib/{src → typescript/src}/components/Stepper.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Stepper.js +0 -0
- /package/lib/{src → typescript/src}/components/Surface.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Surface.js +0 -0
- /package/lib/{src → typescript/src}/components/SwipeableItem/SwipeableItem.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/SwipeableItem/SwipeableItem.js +0 -0
- /package/lib/{src → typescript/src}/components/SwipeableItem/SwipeableItemButton.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/SwipeableItem/SwipeableItemButton.js +0 -0
- /package/lib/{src → typescript/src}/components/SwipeableItem/SwipeableItemCommon.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/SwipeableItem/SwipeableItemCommon.js +0 -0
- /package/lib/{src → typescript/src}/components/SwipeableItem/SwipeableList.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/SwipeableItem/SwipeableList.js +0 -0
- /package/lib/{src → typescript/src}/components/SwipeableItem/index.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/SwipeableItem/index.js +0 -0
- /package/lib/{src → typescript/src}/components/Swiper/Swiper.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Swiper/Swiper.js +0 -0
- /package/lib/{src → typescript/src}/components/Swiper/SwiperItem.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Swiper/SwiperItem.js +0 -0
- /package/lib/{src → typescript/src}/components/Swiper/index.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Swiper/index.js +0 -0
- /package/lib/{src → typescript/src}/components/Switch.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Switch.js +0 -0
- /package/lib/{src → typescript/src}/components/TabView/TabView.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/TabView/TabView.js +0 -0
- /package/lib/{src → typescript/src}/components/TabView/TabViewItem.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/TabView/TabViewItem.js +0 -0
- /package/lib/{src → typescript/src}/components/TabView/index.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/TabView/index.js +0 -0
- /package/lib/{src → typescript/src}/components/Table/Table.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Table/Table.js +0 -0
- /package/lib/{src → typescript/src}/components/Table/TableCell.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Table/TableCell.js +0 -0
- /package/lib/{src → typescript/src}/components/Table/TableCommon.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Table/TableCommon.js +0 -0
- /package/lib/{src → typescript/src}/components/Table/TableRow.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Table/TableRow.js +0 -0
- /package/lib/{src → typescript/src}/components/Table/index.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Table/index.js +0 -0
- /package/lib/{src → typescript/src}/components/Text.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Text.js +0 -0
- /package/lib/{src → typescript/src}/components/TextField.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/TextField.js +0 -0
- /package/lib/{src → typescript/src}/components/TextInput.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/TextInput.js +0 -0
- /package/lib/{src → typescript/src}/components/Touchable.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Touchable.js +0 -0
- /package/lib/{src → typescript/src}/components/Touchable.web.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Touchable.web.js +0 -0
- /package/lib/{src → typescript/src}/components/Typography.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/Typography.js +0 -0
- /package/lib/{src → typescript/src}/components/YoutubePlayer/YoutubePlayer.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/YoutubePlayer/YoutubePlayer.js +0 -0
- /package/lib/{src → typescript/src}/components/YoutubePlayer/YoutubePlayer.native.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/YoutubePlayer/YoutubePlayer.native.js +0 -0
- /package/lib/{src → typescript/src}/components/YoutubePlayer/YoutubePlayerProps.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/YoutubePlayer/YoutubePlayerProps.js +0 -0
- /package/lib/{src → typescript/src}/components/YoutubePlayer/index.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/YoutubePlayer/index.js +0 -0
- /package/lib/{src → typescript/src}/components/useAuthState.d.ts +0 -0
- /package/lib/{src → typescript/src}/components/useAuthState.js +0 -0
- /package/lib/{src → typescript/src}/constants.d.ts +0 -0
- /package/lib/{src → typescript/src}/constants.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/AccordionItem.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/AccordionItem.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/AnimatedCircularProgress.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/AnimatedCircularProgress.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/AvatarEdit.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/AvatarEdit.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/Banner.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/Banner.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/Card.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/Card.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/CheckboxGroup.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/CheckboxGroup.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/CircleImage.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/CircleImage.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/CircularProgress.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/CircularProgress.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/Container.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/Container.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/DeprecatedButton.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/DeprecatedButton.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/DeprecatedCardWrapper.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/DeprecatedCardWrapper.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/DeprecatedFAB.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/DeprecatedFAB.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/FAB.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/FAB.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/FieldSearchBarFull.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/FieldSearchBarFull.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/ProgressBar.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/ProgressBar.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/ProgressCircle.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/ProgressCircle.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/RadioButtonFieldGroup.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/RadioButtonFieldGroup.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/RowBodyIcon.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/RowBodyIcon.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/RowHeadlineImageCaption.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/RowHeadlineImageCaption.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/RowHeadlineImageIcon.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/RowHeadlineImageIcon.js +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/ToggleButton.d.ts +0 -0
- /package/lib/{src → typescript/src}/deprecated-components/ToggleButton.js +0 -0
- /package/lib/{src → typescript/src}/hooks.d.ts +0 -0
- /package/lib/{src → typescript/src}/hooks.js +0 -0
- /package/lib/{src → typescript/src}/interfaces/Icon.d.ts +0 -0
- /package/lib/{src → typescript/src}/interfaces/Icon.js +0 -0
- /package/lib/{src → typescript/src}/styles/DarkTheme.d.ts +0 -0
- /package/lib/{src → typescript/src}/styles/DarkTheme.js +0 -0
- /package/lib/{src → typescript/src}/styles/DefaultTheme.d.ts +0 -0
- /package/lib/{src → typescript/src}/styles/DefaultTheme.js +0 -0
- /package/lib/{src → typescript/src}/styles/fonts.d.ts +0 -0
- /package/lib/{src → typescript/src}/styles/fonts.js +0 -0
- /package/lib/{src → typescript/src}/styles/overlay.d.ts +0 -0
- /package/lib/{src → typescript/src}/styles/overlay.js +0 -0
- /package/lib/{src → typescript/src}/styles/shadow.d.ts +0 -0
- /package/lib/{src → typescript/src}/styles/shadow.js +0 -0
- /package/lib/{src → typescript/src}/theming.d.ts +0 -0
- /package/lib/{src → typescript/src}/theming.js +0 -0
- /package/lib/{src → typescript/src}/utilities.d.ts +0 -0
- /package/lib/{src → typescript/src}/utilities.js +0 -0
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@draftbit/core",
|
|
3
|
-
"version": "48.2.
|
|
3
|
+
"version": "48.2.3-353542.2+353542c",
|
|
4
4
|
"description": "Core (non-native) Components",
|
|
5
|
-
"main": "lib/
|
|
6
|
-
"types": "lib/src/index.d.ts",
|
|
7
|
-
"react-native": "src/index.tsx",
|
|
5
|
+
"main": "lib/commonjs/index.js",
|
|
6
|
+
"types": "lib/typescript/src/index.d.ts",
|
|
8
7
|
"files": [
|
|
9
8
|
"src",
|
|
10
9
|
"lib",
|
|
@@ -15,7 +14,8 @@
|
|
|
15
14
|
"scripts": {
|
|
16
15
|
"clean": "rimraf lib",
|
|
17
16
|
"clean:modules": "rimraf node_modules",
|
|
18
|
-
"build": "
|
|
17
|
+
"build:commonjs": "../../node_modules/.bin/babel src --out-dir lib/commonjs --extensions .tsx,.ts,.js,.jsx",
|
|
18
|
+
"build": "yarn clean && yarn build:commonjs && yarn tsc",
|
|
19
19
|
"test": "jest",
|
|
20
20
|
"test:coverage": "jest --coverage"
|
|
21
21
|
},
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@date-io/date-fns": "^1.3.13",
|
|
43
43
|
"@draftbit/react-theme-provider": "^2.1.1",
|
|
44
|
-
"@draftbit/types": "^48.2.
|
|
44
|
+
"@draftbit/types": "^48.2.3-353542.2+353542c",
|
|
45
45
|
"@expo/vector-icons": "^13.0.0",
|
|
46
46
|
"@material-ui/core": "^4.11.0",
|
|
47
47
|
"@material-ui/pickers": "^3.2.10",
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"lodash.isnumber": "^3.0.3",
|
|
56
56
|
"lodash.omit": "^4.5.0",
|
|
57
57
|
"lodash.tonumber": "^4.0.3",
|
|
58
|
+
"react-native-confirmation-code-field": "^7.3.1",
|
|
58
59
|
"react-native-deck-swiper": "^2.0.12",
|
|
59
60
|
"react-native-gesture-handler": "~2.9.0",
|
|
60
61
|
"react-native-markdown-display": "^7.0.0-alpha.2",
|
|
@@ -71,6 +72,8 @@
|
|
|
71
72
|
"react-youtube": "^10.1.0"
|
|
72
73
|
},
|
|
73
74
|
"devDependencies": {
|
|
75
|
+
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
76
|
+
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
|
|
74
77
|
"@types/color": "^3.0.1",
|
|
75
78
|
"@types/dateformat": "^3.0.1",
|
|
76
79
|
"@types/lodash.isnumber": "^3.0.6",
|
|
@@ -97,5 +100,5 @@
|
|
|
97
100
|
],
|
|
98
101
|
"testEnvironment": "node"
|
|
99
102
|
},
|
|
100
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "353542c035a6c953e0215f98f5c1dadb133d3892"
|
|
101
104
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { View, } from "react-native";
|
|
3
|
+
import TextInput from "../TextInput";
|
|
4
|
+
import { CodeField, useClearByFocusCell, } from "react-native-confirmation-code-field";
|
|
5
|
+
import { DefaultCodeInputCell } from "./CodeInputCell";
|
|
6
|
+
const CodeInput = React.forwardRef(({ onInputFull, cellCount = 4, clearOnCellFocus = true, blurOnFull = true, renderItem, value, onChangeText, style, ...rest }, ref) => {
|
|
7
|
+
const newCodeInputRef = React.useRef(null);
|
|
8
|
+
// Use the provided ref or default to new ref when not provided
|
|
9
|
+
const codeInputRef = ref
|
|
10
|
+
? ref
|
|
11
|
+
: newCodeInputRef;
|
|
12
|
+
// Clears input of a cell when focused, configured as explained here (https://github.com/retyui/react-native-confirmation-code-field/blob/master/API.md#useclearbyfocuscellvalue-string-setvalue-text-string--void)
|
|
13
|
+
const [codeFieldProps, getCellOnLayout] = useClearByFocusCell({
|
|
14
|
+
value,
|
|
15
|
+
setValue: (text) => onChangeText === null || onChangeText === void 0 ? void 0 : onChangeText(text),
|
|
16
|
+
});
|
|
17
|
+
React.useEffect(() => {
|
|
18
|
+
var _a;
|
|
19
|
+
if ((value === null || value === void 0 ? void 0 : value.length) === cellCount) {
|
|
20
|
+
if (blurOnFull) {
|
|
21
|
+
(_a = codeInputRef.current) === null || _a === void 0 ? void 0 : _a.blur();
|
|
22
|
+
}
|
|
23
|
+
onInputFull === null || onInputFull === void 0 ? void 0 : onInputFull(value);
|
|
24
|
+
}
|
|
25
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
26
|
+
}, [value, cellCount, blurOnFull, codeInputRef]);
|
|
27
|
+
return (React.createElement(CodeField, { ref: codeInputRef, ...(clearOnCellFocus ? codeFieldProps : {}), value: value, onChangeText: onChangeText, rootStyle: style, InputComponent: TextInput, cellCount: cellCount, renderCell: ({ symbol, index, isFocused }) => (React.createElement(View, { key: index, onLayout: clearOnCellFocus ? getCellOnLayout(index) : undefined, style: { flex: 1 } }, (renderItem === null || renderItem === void 0 ? void 0 : renderItem({ cellValue: symbol, index, isFocused })) || (React.createElement(DefaultCodeInputCell, { cellValue: symbol, isFocused: isFocused })))), ...rest }));
|
|
28
|
+
});
|
|
29
|
+
export default CodeInput;
|
|
30
|
+
//# sourceMappingURL=CodeInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeInput.js","sourceRoot":"","sources":["CodeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAIL,IAAI,GACL,MAAM,cAAc,CAAC;AACtB,OAAO,SAA6B,MAAM,cAAc,CAAC;AACzD,OAAO,EACL,SAAS,EACT,mBAAmB,GACpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAiBvD,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,CAChC,CACE,EACE,WAAW,EACX,SAAS,GAAG,CAAC,EACb,gBAAgB,GAAG,IAAI,EACvB,UAAU,GAAG,IAAI,EACjB,UAAU,EACV,KAAK,EACL,YAAY,EACZ,KAAK,EACL,GAAG,IAAI,EACR,EACD,GAAG,EACH,EAAE;IACF,MAAM,eAAe,GAAG,KAAK,CAAC,MAAM,CAAkB,IAAI,CAAC,CAAC;IAE5D,+DAA+D;IAC/D,MAAM,YAAY,GAAG,GAAG;QACtB,CAAC,CAAE,GAAwC;QAC3C,CAAC,CAAC,eAAe,CAAC;IAEpB,mNAAmN;IACnN,MAAM,CAAC,cAAc,EAAE,eAAe,CAAC,G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AAI,CAClE,CACI,CACR,KACG,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import {
|
|
3
|
+
StyleProp,
|
|
4
|
+
ViewStyle,
|
|
5
|
+
TextInput as NativeTextInput,
|
|
6
|
+
View,
|
|
7
|
+
} from "react-native";
|
|
8
|
+
import TextInput, { TextInputProps } from "../TextInput";
|
|
9
|
+
import {
|
|
10
|
+
CodeField,
|
|
11
|
+
useClearByFocusCell,
|
|
12
|
+
} from "react-native-confirmation-code-field";
|
|
13
|
+
import { DefaultCodeInputCell } from "./CodeInputCell";
|
|
14
|
+
|
|
15
|
+
interface CellItem {
|
|
16
|
+
cellValue: string;
|
|
17
|
+
index: number;
|
|
18
|
+
isFocused: boolean;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
interface CodeInputProps extends TextInputProps {
|
|
22
|
+
onInputFull?: (value: string) => void;
|
|
23
|
+
cellCount?: number;
|
|
24
|
+
clearOnCellFocus?: boolean;
|
|
25
|
+
blurOnFull?: boolean;
|
|
26
|
+
renderItem?: ({ cellValue, index, isFocused }: CellItem) => JSX.Element;
|
|
27
|
+
style?: StyleProp<ViewStyle>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const CodeInput = React.forwardRef<NativeTextInput, CodeInputProps>(
|
|
31
|
+
(
|
|
32
|
+
{
|
|
33
|
+
onInputFull,
|
|
34
|
+
cellCount = 4,
|
|
35
|
+
clearOnCellFocus = true,
|
|
36
|
+
blurOnFull = true,
|
|
37
|
+
renderItem,
|
|
38
|
+
value,
|
|
39
|
+
onChangeText,
|
|
40
|
+
style,
|
|
41
|
+
...rest
|
|
42
|
+
},
|
|
43
|
+
ref
|
|
44
|
+
) => {
|
|
45
|
+
const newCodeInputRef = React.useRef<NativeTextInput>(null);
|
|
46
|
+
|
|
47
|
+
// Use the provided ref or default to new ref when not provided
|
|
48
|
+
const codeInputRef = ref
|
|
49
|
+
? (ref as React.RefObject<NativeTextInput>)
|
|
50
|
+
: newCodeInputRef;
|
|
51
|
+
|
|
52
|
+
// Clears input of a cell when focused, configured as explained here (https://github.com/retyui/react-native-confirmation-code-field/blob/master/API.md#useclearbyfocuscellvalue-string-setvalue-text-string--void)
|
|
53
|
+
const [codeFieldProps, getCellOnLayout] = useClearByFocusCell({
|
|
54
|
+
value,
|
|
55
|
+
setValue: (text) => onChangeText?.(text),
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
React.useEffect(() => {
|
|
59
|
+
if (value?.length === cellCount) {
|
|
60
|
+
if (blurOnFull) {
|
|
61
|
+
codeInputRef.current?.blur();
|
|
62
|
+
}
|
|
63
|
+
onInputFull?.(value);
|
|
64
|
+
}
|
|
65
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
66
|
+
}, [value, cellCount, blurOnFull, codeInputRef]);
|
|
67
|
+
|
|
68
|
+
return (
|
|
69
|
+
<CodeField
|
|
70
|
+
ref={codeInputRef}
|
|
71
|
+
{...(clearOnCellFocus ? codeFieldProps : {})}
|
|
72
|
+
value={value}
|
|
73
|
+
onChangeText={onChangeText}
|
|
74
|
+
rootStyle={style}
|
|
75
|
+
InputComponent={TextInput}
|
|
76
|
+
cellCount={cellCount}
|
|
77
|
+
renderCell={({ symbol, index, isFocused }) => (
|
|
78
|
+
<View
|
|
79
|
+
key={index}
|
|
80
|
+
onLayout={clearOnCellFocus ? getCellOnLayout(index) : undefined}
|
|
81
|
+
style={{ flex: 1 }}
|
|
82
|
+
>
|
|
83
|
+
{renderItem?.({ cellValue: symbol, index, isFocused }) || (
|
|
84
|
+
<DefaultCodeInputCell cellValue={symbol} isFocused={isFocused} />
|
|
85
|
+
)}
|
|
86
|
+
</View>
|
|
87
|
+
)}
|
|
88
|
+
{...rest}
|
|
89
|
+
/>
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
);
|
|
93
|
+
|
|
94
|
+
export default CodeInput;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { View, StyleSheet } from "react-native";
|
|
3
|
+
import { withTheme } from "../../theming";
|
|
4
|
+
import CodeInputText from "./CodeInputText";
|
|
5
|
+
const CodeInputCell = ({ style, children, }) => {
|
|
6
|
+
return React.createElement(View, { style: [styles.cell, style], children: children });
|
|
7
|
+
};
|
|
8
|
+
export const DefaultCodeInputCell = withTheme(({ cellValue, isFocused, theme }) => {
|
|
9
|
+
return (React.createElement(View, { testID: "default-code-input-cell", style: [
|
|
10
|
+
styles.cell,
|
|
11
|
+
styles.defaultCellContainer,
|
|
12
|
+
{
|
|
13
|
+
borderWidth: isFocused ? 2 : 1,
|
|
14
|
+
borderColor: isFocused
|
|
15
|
+
? theme.colors.primary
|
|
16
|
+
: theme.colors.disabled,
|
|
17
|
+
},
|
|
18
|
+
] },
|
|
19
|
+
React.createElement(CodeInputText, { style: [
|
|
20
|
+
styles.defaultCellText,
|
|
21
|
+
{
|
|
22
|
+
color: theme.colors.strong,
|
|
23
|
+
},
|
|
24
|
+
], isFocused: isFocused }, cellValue)));
|
|
25
|
+
});
|
|
26
|
+
const styles = StyleSheet.create({
|
|
27
|
+
cell: { marginStart: 5, marginEnd: 5 },
|
|
28
|
+
defaultCellContainer: {
|
|
29
|
+
padding: 5,
|
|
30
|
+
backgroundColor: "transparent",
|
|
31
|
+
borderRadius: 5,
|
|
32
|
+
justifyContent: "center",
|
|
33
|
+
alignItems: "center",
|
|
34
|
+
aspectRatio: 1,
|
|
35
|
+
},
|
|
36
|
+
defaultCellText: {
|
|
37
|
+
fontSize: 25,
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
export default CodeInputCell;
|
|
41
|
+
//# sourceMappingURL=CodeInputCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeInputCell.js","sourceRoot":"","sources":["CodeInputCell.tsx"],"names":[],"mappings":"AAAA,OAA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EAAE,aAAa;QAC9B,YAAY,EAAE,CAAC;QACf,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;QACpB,WAAW,EAAE,CAAC;KACf;IACD,eAAe,EAAE;QACf,QAAQ,EAAE,EAAE;KACb;CACF,CAAC,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { StyleProp, ViewStyle, View, StyleSheet } from "react-native";
|
|
3
|
+
import type { Theme } from "../../styles/DefaultTheme";
|
|
4
|
+
import { withTheme } from "../../theming";
|
|
5
|
+
import CodeInputText from "./CodeInputText";
|
|
6
|
+
|
|
7
|
+
interface CodeInputCellProps {
|
|
8
|
+
style?: StyleProp<ViewStyle>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
const CodeInputCell: React.FC<React.PropsWithChildren<CodeInputCellProps>> = ({
|
|
12
|
+
style,
|
|
13
|
+
children,
|
|
14
|
+
}) => {
|
|
15
|
+
return <View style={[styles.cell, style]} children={children} />;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
interface DefaultCodeInputCellProps {
|
|
19
|
+
cellValue: string;
|
|
20
|
+
isFocused: boolean;
|
|
21
|
+
theme: Theme;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export const DefaultCodeInputCell = withTheme(
|
|
25
|
+
({ cellValue, isFocused, theme }: DefaultCodeInputCellProps) => {
|
|
26
|
+
return (
|
|
27
|
+
<View
|
|
28
|
+
testID="default-code-input-cell"
|
|
29
|
+
style={[
|
|
30
|
+
styles.cell,
|
|
31
|
+
styles.defaultCellContainer,
|
|
32
|
+
{
|
|
33
|
+
borderWidth: isFocused ? 2 : 1,
|
|
34
|
+
borderColor: isFocused
|
|
35
|
+
? theme.colors.primary
|
|
36
|
+
: theme.colors.disabled,
|
|
37
|
+
},
|
|
38
|
+
]}
|
|
39
|
+
>
|
|
40
|
+
<CodeInputText
|
|
41
|
+
style={[
|
|
42
|
+
styles.defaultCellText,
|
|
43
|
+
{
|
|
44
|
+
color: theme.colors.strong,
|
|
45
|
+
},
|
|
46
|
+
]}
|
|
47
|
+
isFocused={isFocused}
|
|
48
|
+
>
|
|
49
|
+
{cellValue}
|
|
50
|
+
</CodeInputText>
|
|
51
|
+
</View>
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
|
|
56
|
+
const styles = StyleSheet.create({
|
|
57
|
+
cell: { marginStart: 5, marginEnd: 5 },
|
|
58
|
+
defaultCellContainer: {
|
|
59
|
+
padding: 5,
|
|
60
|
+
backgroundColor: "transparent",
|
|
61
|
+
borderRadius: 5,
|
|
62
|
+
justifyContent: "center",
|
|
63
|
+
alignItems: "center",
|
|
64
|
+
aspectRatio: 1,
|
|
65
|
+
},
|
|
66
|
+
defaultCellText: {
|
|
67
|
+
fontSize: 25,
|
|
68
|
+
},
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
export default CodeInputCell;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Text } from "react-native";
|
|
3
|
+
import { withTheme } from "../../theming";
|
|
4
|
+
import { Cursor } from "react-native-confirmation-code-field";
|
|
5
|
+
/**
|
|
6
|
+
* Text component that can conditionally render a blinking cursor when focused and empty
|
|
7
|
+
* Meant to be used within a CodeInputCell component
|
|
8
|
+
*/
|
|
9
|
+
const CodeInputText = ({ isFocused, cursorBlinkDuration, cursorText, style, theme, children, ...rest }) => {
|
|
10
|
+
return (React.createElement(Text, { style: [{ color: theme.colors.strong }, style], ...rest }, children ||
|
|
11
|
+
(isFocused ? (React.createElement(Cursor, { cursorSymbol: cursorText, delay: cursorBlinkDuration })) : null)));
|
|
12
|
+
};
|
|
13
|
+
export default withTheme(CodeInputText);
|
|
14
|
+
//# sourceMappingURL=CodeInputText.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeInputText.js","sourceRoot":"","sources":["CodeInputText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAa,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAS9D;;;GAGG;AACH,MAAM,aAAa,GAAiC,CAAC,EACnD,SAAS,EACT,mBAAmB,EACnB,UAAU,EACV,KAAK,EACL,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,oBAAC,IAAI,IAAC,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,KAAK,CAAC,KAAM,IAAI,IAC3D,QAAQ;QACP,CAAC,SAAS,CAAC,CAAC,CAAC,CACX,oBAAC,MAAM,IAAC,YAAY,EAAE,UAAU,EAAE,KAAK,EAAE,mBAAmB,GAAI,CACjE,CAAC,CAAC,CAAC,IAAI,CAAC,CACN,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Text, TextProps } from "react-native";
|
|
3
|
+
import type { Theme } from "../../styles/DefaultTheme";
|
|
4
|
+
import { withTheme } from "../../theming";
|
|
5
|
+
import { Cursor } from "react-native-confirmation-code-field";
|
|
6
|
+
|
|
7
|
+
interface CodeInputTextProps extends TextProps {
|
|
8
|
+
cursorBlinkDuration?: number;
|
|
9
|
+
cursorText?: string;
|
|
10
|
+
isFocused?: boolean;
|
|
11
|
+
theme: Theme;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Text component that can conditionally render a blinking cursor when focused and empty
|
|
16
|
+
* Meant to be used within a CodeInputCell component
|
|
17
|
+
*/
|
|
18
|
+
const CodeInputText: React.FC<CodeInputTextProps> = ({
|
|
19
|
+
isFocused,
|
|
20
|
+
cursorBlinkDuration,
|
|
21
|
+
cursorText,
|
|
22
|
+
style,
|
|
23
|
+
theme,
|
|
24
|
+
children,
|
|
25
|
+
...rest
|
|
26
|
+
}) => {
|
|
27
|
+
return (
|
|
28
|
+
<Text style={[{ color: theme.colors.strong }, style]} {...rest}>
|
|
29
|
+
{children ||
|
|
30
|
+
(isFocused ? (
|
|
31
|
+
<Cursor cursorSymbol={cursorText} delay={cursorBlinkDuration} />
|
|
32
|
+
) : null)}
|
|
33
|
+
</Text>
|
|
34
|
+
);
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export default withTheme(CodeInputText);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { StyleSheet, View } from "react-native";
|
|
3
3
|
import DeckSwiperComponent from "react-native-deck-swiper";
|
|
4
|
-
const DeckSwiper = ({ onSwipe, onSwipedLeft, onSwipedRight, onSwipedUp, onSwipedDown, onIndexChanged, onEndReached, startCardIndex = 0, infiniteSwiping = false, verticalEnabled = true, horizontalEnabled = true, visibleCardCount = 1, data, keyExtractor, renderItem, style, children, }) => {
|
|
4
|
+
const DeckSwiper = ({ onStartSwipe, onEndSwipe, onSwipe, onSwipedLeft, onSwipedRight, onSwipedUp, onSwipedDown, onIndexChanged, onEndReached, startCardIndex = 0, infiniteSwiping = false, verticalEnabled = true, horizontalEnabled = true, visibleCardCount = 1, data, keyExtractor, renderItem, style, children, }) => {
|
|
5
5
|
//Both 'renderItem' and 'data' are optional to allow direct children. But if one is included, both need to be included
|
|
6
6
|
if ((data && !renderItem) || (renderItem && !data)) {
|
|
7
7
|
throw new Error("'renderItem' and 'data' need to both be provided to lazily render. Either remove them entirley or include both");
|
|
@@ -67,7 +67,11 @@ const DeckSwiper = ({ onSwipe, onSwipedLeft, onSwipedRight, onSwipedUp, onSwiped
|
|
|
67
67
|
}, onSwipedBottom: (index) => {
|
|
68
68
|
onSwipedDown === null || onSwipedDown === void 0 ? void 0 : onSwipedDown(index);
|
|
69
69
|
onSwipe === null || onSwipe === void 0 ? void 0 : onSwipe(index);
|
|
70
|
-
}
|
|
70
|
+
},
|
|
71
|
+
//@ts-ignore Not typed, but is implemented and works
|
|
72
|
+
dragStart: onStartSwipe,
|
|
73
|
+
//@ts-ignore
|
|
74
|
+
dragEnd: onEndSwipe })));
|
|
71
75
|
};
|
|
72
76
|
const styles = StyleSheet.create({
|
|
73
77
|
cardsContainer: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeckSwiper.js","sourceRoot":"","sources":["DeckSwiper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAwB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,mBAAmB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"DeckSwiper.js","sourceRoot":"","sources":["DeckSwiper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAwB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,mBAAmB,MAAM,0BAA0B,CAAC;AAuB3D,MAAM,UAAU,GAAG,CAAmB,EACpC,YAAY,EACZ,UAAU,EACV,OAAO,EACP,YAAY,EACZ,aAAa,EACb,UAAU,EACV,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,cAAc,GAAG,CAAC,EAClB,eAAe,GAAG,KAAK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AG,KAAK,CAAC,CAAC;gBACtB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,KAAK,CAAC,CAAC;YACnB,CAAC,EACD,aAAa,EAAE,CAAC,KAAK,EAAE,EAAE;gBACvB,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAG,KAAK,CAAC,CAAC;gBACvB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,KAAK,CAAC,CAAC;YACnB,CAAC,EACD,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE;gBACrB,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAG,KAAK,CAAC,CAAC;gBACpB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,KAAK,CAAC,CAAC;YACnB,CAAC,EACD,cAAc,EAAE,CAAC,KAAK,EAAE,EAAE;gBACxB,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAG,KAAK,CAAC,CAAC;gBACtB,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,KAAK,CAAC,CAAC;YACnB,CAAC;YACD,oDAAoD;YACpD,SAAS,EAAE,YAAY;YACvB,YAAY;YACZ,OAAO,EAAE,UAAU,GACnB,CACG,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,cAAc,EAAE;QACd,QAAQ,EAAE,UAAU;KACrB;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,CAAC;QACP,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;KACf;IACD,qBAAqB,EAAE;QACrB,OAAO,EAAE,GAAG;KACb;CACF,CAAC,CAAC;AAEH,eAAe,UAAU,CAAC"}
|
|
@@ -3,6 +3,8 @@ import { StyleProp, ViewStyle, StyleSheet, View } from "react-native";
|
|
|
3
3
|
import DeckSwiperComponent from "react-native-deck-swiper";
|
|
4
4
|
|
|
5
5
|
export interface DeckSwiperProps<T> {
|
|
6
|
+
onStartSwipe?: () => void;
|
|
7
|
+
onEndSwipe?: () => void;
|
|
6
8
|
onSwipe?: (index: number) => void;
|
|
7
9
|
onSwipedLeft?: (index: number) => void;
|
|
8
10
|
onSwipedRight?: (index: number) => void;
|
|
@@ -22,6 +24,8 @@ export interface DeckSwiperProps<T> {
|
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
const DeckSwiper = <T extends object>({
|
|
27
|
+
onStartSwipe,
|
|
28
|
+
onEndSwipe,
|
|
25
29
|
onSwipe,
|
|
26
30
|
onSwipedLeft,
|
|
27
31
|
onSwipedRight,
|
|
@@ -150,6 +154,10 @@ const DeckSwiper = <T extends object>({
|
|
|
150
154
|
onSwipedDown?.(index);
|
|
151
155
|
onSwipe?.(index);
|
|
152
156
|
}}
|
|
157
|
+
//@ts-ignore Not typed, but is implemented and works
|
|
158
|
+
dragStart={onStartSwipe}
|
|
159
|
+
//@ts-ignore
|
|
160
|
+
dragEnd={onEndSwipe}
|
|
153
161
|
/>
|
|
154
162
|
</View>
|
|
155
163
|
);
|
|
@@ -33,7 +33,7 @@ export const CircularProgress = ({ theme, minimumValue = 0, maximumValue = 100,
|
|
|
33
33
|
}
|
|
34
34
|
}, [startPosition]);
|
|
35
35
|
const currentFillPercentage = value / (maximumValue + minimumValue);
|
|
36
|
-
const currentAngle = useSharedValue(startAngle
|
|
36
|
+
const currentAngle = useSharedValue(startAngle);
|
|
37
37
|
const progressPathAnimatedProps = useAnimatedProps(() => {
|
|
38
38
|
const isBelowMinAngle = currentAngle.value <= startAngle;
|
|
39
39
|
return {
|
|
@@ -69,8 +69,8 @@ export const CircularProgress = ({ theme, minimumValue = 0, maximumValue = 100,
|
|
|
69
69
|
style,
|
|
70
70
|
] },
|
|
71
71
|
React.createElement(Svg, { testID: testID !== null && testID !== void 0 ? testID : "circular-progress-component", style: { flex: 1 } },
|
|
72
|
-
showTrack && (React.createElement(Path, { d: circlePath(radius, radius, radius - thicknessOffset, startAngle, startAngle + 360), stroke: trackColor, strokeWidth: trackThickness, strokeOpacity: trackOpacity, strokeLinecap: trackLineCap, strokeDasharray: trackCustomDashArray || trackDashArray, strokeDashoffset: trackDashOffset })),
|
|
73
|
-
React.createElement(AnimatedPath, { animatedProps: progressPathAnimatedProps, stroke: color, strokeWidth: thickness, strokeLinecap: lineCap, strokeDasharray: customDashArray || dashArray, strokeDashoffset: dashOffset, onPress: () => { } }))));
|
|
72
|
+
showTrack && (React.createElement(Path, { d: circlePath(radius, radius, radius - thicknessOffset, startAngle, startAngle + 360), stroke: trackColor, strokeWidth: trackThickness, strokeOpacity: trackOpacity, strokeLinecap: trackLineCap, strokeDasharray: trackCustomDashArray || trackDashArray, strokeDashoffset: trackDashOffset, fill: "rgba(0,0,0,0)" })),
|
|
73
|
+
React.createElement(AnimatedPath, { animatedProps: progressPathAnimatedProps, stroke: color, strokeWidth: thickness, strokeLinecap: lineCap, strokeDasharray: customDashArray || dashArray, strokeDashoffset: dashOffset, fill: "rgba(0,0,0,0)", onPress: () => { } }))));
|
|
74
74
|
};
|
|
75
75
|
// From: https://github.com/bartgryszko/react-native-circular-progress/blob/a93b501aea40306126c8ede72089741eead52308/src/CircularProgress.js#L15
|
|
76
76
|
function circlePath(x, y, radius, startAngle, endAngle) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CircularProgress.js","sourceRoot":"","sources":["CircularProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,EAAE,EAAE,IAAI,EAAa,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,QAAQ,EAAE,EACf,gBAAgB,EAChB,cAAc,EACd,UAAU,GACX,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,0BAA0B,GAG3B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,YAAY,GAAG,QAAQ,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;AAEnE,MAAM,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AEhE,SAAS,gBAAgB,CACvB,OAAe,EACf,OAAe,EACf,MAAc,EACd,cAAsB;QAEtB,IAAI,cAAc,GAAG,CAAC,CAAC,cAAc,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC;QAC/D,OAAO;YACL,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC;YAC9C,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC;SAC/C,CAAC;IACJ,CAAC;IAED,IAAI,KAAK,GAAG,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,QAAQ,GAAG,MAAM,CAAC,CAAC;IAC9D,IAAI,GAAG,GAAG,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;IACrD,IAAI,YAAY,GAAG,QAAQ,GAAG,UAAU,IAAI,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;IAC5D,IAAI,CAAC,GAAG;QACN,GAAG;QACH,KAAK,CAAC,CAAC;QACP,KAAK,CAAC,CAAC;QACP,GAAG;QACH,MAAM;QACN,MAAM;QACN,CAAC;QACD,YAAY;QACZ,CAAC;QACD,GAAG,CAAC,CAAC;QACL,GAAG,CAAC,CAAC;KACN,CAAC;IACF,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACrB,CAAC"}
|
|
@@ -80,7 +80,7 @@ export const CircularProgress: React.FC<
|
|
|
80
80
|
}, [startPosition]);
|
|
81
81
|
|
|
82
82
|
const currentFillPercentage = value / (maximumValue + minimumValue);
|
|
83
|
-
const currentAngle = useSharedValue(startAngle
|
|
83
|
+
const currentAngle = useSharedValue(startAngle);
|
|
84
84
|
|
|
85
85
|
const progressPathAnimatedProps = useAnimatedProps<PathProps>(() => {
|
|
86
86
|
const isBelowMinAngle = currentAngle.value <= startAngle;
|
|
@@ -144,6 +144,7 @@ export const CircularProgress: React.FC<
|
|
|
144
144
|
strokeLinecap={trackLineCap}
|
|
145
145
|
strokeDasharray={trackCustomDashArray || trackDashArray}
|
|
146
146
|
strokeDashoffset={trackDashOffset}
|
|
147
|
+
fill={"rgba(0,0,0,0)"} //Prevents default black fill
|
|
147
148
|
/>
|
|
148
149
|
)}
|
|
149
150
|
<AnimatedPath
|
|
@@ -153,6 +154,7 @@ export const CircularProgress: React.FC<
|
|
|
153
154
|
strokeLinecap={lineCap}
|
|
154
155
|
strokeDasharray={customDashArray || dashArray}
|
|
155
156
|
strokeDashoffset={dashOffset}
|
|
157
|
+
fill={"rgba(0,0,0,0)"}
|
|
156
158
|
onPress={() => {}} //Addresses reanimated issue with SVG (https://github.com/software-mansion/react-native-reanimated/issues/3321#issuecomment-1256983430)
|
|
157
159
|
/>
|
|
158
160
|
</Svg>
|
|
@@ -33,7 +33,7 @@ const IndeterminateProgress = ({ ProgressComponent, ...rest }) => {
|
|
|
33
33
|
var _a;
|
|
34
34
|
setPathWidth(width);
|
|
35
35
|
(_a = rest.onFullPathWidth) === null || _a === void 0 ? void 0 : _a.call(rest, width);
|
|
36
|
-
}, dashOffset: dashOffset, dashGap: pathWidth / 2, dashWidth: pathWidth / 2, animationDuration: animationDuration, value: 100 }));
|
|
36
|
+
}, dashOffset: dashOffset, dashGap: pathWidth / 2, dashWidth: pathWidth / 2, animationDuration: animationDuration, minimumValue: 0, maximumValue: 100, value: 100 }));
|
|
37
37
|
};
|
|
38
38
|
export default IndeterminateProgress;
|
|
39
39
|
//# sourceMappingURL=IndeterminateProgress.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IndeterminateProgress.js","sourceRoot":"","sources":["IndeterminateProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,OAAO,EACP,mBAAmB,EACnB,cAAc,EACd,UAAU,GACX,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AAwB,EAC/C,eAAe,EAAE,CAAC,KAAK,EAAE,EAAE;;YACzB,YAAY,CAAC,KAAK,CAAC,CAAC;YACpB,MAAA,IAAI,CAAC,eAAe,qDAAG,KAAK,CAAC,CAAC;QAChC,CAAC,EACD,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,SAAS,GAAG,CAAC,EACtB,SAAS,EAAE,SAAS,GAAG,CAAC,EACxB,iBAAiB,EAAE,iBAAiB,EACpC,YAAY,EAAE,CAAC,EACf,YAAY,EAAE,GAAG,EACjB,KAAK,EAAE,GAAG,GACV,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -17,7 +17,7 @@ export const LinearProgress = ({ theme, minimumValue = 0, maximumValue = 100, va
|
|
|
17
17
|
const progressLineWidth = svgContainerWidth - thicknessOffset;
|
|
18
18
|
const trackProgressLineWidth = svgContainerWidth - thicknessOffset;
|
|
19
19
|
const currentFillPercentage = value / (maximumValue + minimumValue);
|
|
20
|
-
const currentProgressLineWidth = useSharedValue(
|
|
20
|
+
const currentProgressLineWidth = useSharedValue(0);
|
|
21
21
|
const progressLineAnimatedProps = useAnimatedProps(() => {
|
|
22
22
|
const isBelowMinWidth = currentProgressLineWidth.value <= thicknessOffset;
|
|
23
23
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinearProgress.js","sourceRoot":"","sources":["LinearProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,EAAE,EAAE,IAAI,EAAa,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,QAAQ,EAAE,EACf,gBAAgB,EAChB,cAAc,EACd,UAAU,GACX,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,0BAA0B,GAE3B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,YAAY,GAAG,QAAQ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58
|
const trackProgressLineWidth = svgContainerWidth - thicknessOffset;
|
|
59
59
|
|
|
60
60
|
const currentFillPercentage = value / (maximumValue + minimumValue);
|
|
61
|
-
const currentProgressLineWidth = useSharedValue(
|
|
62
|
-
currentFillPercentage * progressLineWidth
|
|
63
|
-
);
|
|
61
|
+
const currentProgressLineWidth = useSharedValue(0);
|
|
64
62
|
|
|
65
63
|
const progressLineAnimatedProps = useAnimatedProps<LineProps>(() => {
|
|
66
64
|
const isBelowMinWidth = currentProgressLineWidth.value <= thicknessOffset;
|
package/src/index.js
CHANGED
|
@@ -40,6 +40,7 @@ export { default as LinearProgress } from "./components/Progress/LinearProgress"
|
|
|
40
40
|
export { default as CircularProgress } from "./components/Progress/CircularProgress";
|
|
41
41
|
export { default as TextInput } from "./components/TextInput";
|
|
42
42
|
export { default as VideoPlayer, } from "./components/MediaPlayer/VideoPlayer";
|
|
43
|
+
export { CodeInput, CodeInputCell, CodeInputText, } from "./components/CodeInput";
|
|
43
44
|
/* Deprecated: Fix or Delete! */
|
|
44
45
|
export { default as AccordionItem } from "./deprecated-components/AccordionItem";
|
|
45
46
|
export { default as AvatarEdit } from "./deprecated-components/AvatarEdit";
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,uBAAu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AAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AACrG,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAC/F,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC"}
|
package/src/index.tsx
CHANGED
|
@@ -58,6 +58,11 @@ export {
|
|
|
58
58
|
default as VideoPlayer,
|
|
59
59
|
VideoPlayerRef,
|
|
60
60
|
} from "./components/MediaPlayer/VideoPlayer";
|
|
61
|
+
export {
|
|
62
|
+
CodeInput,
|
|
63
|
+
CodeInputCell,
|
|
64
|
+
CodeInputText,
|
|
65
|
+
} from "./components/CodeInput";
|
|
61
66
|
|
|
62
67
|
/* Deprecated: Fix or Delete! */
|
|
63
68
|
export { default as AccordionItem } from "./deprecated-components/AccordionItem";
|