@draftbit/core 46.4.4-1c8d6e.2 → 46.4.4-1da4cc.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 +9 -0
- package/lib/commonjs/components/Accordion/AccordionGroup.js +14 -0
- package/lib/commonjs/components/Accordion/AccordionItem.js +13 -0
- package/lib/commonjs/components/Accordion/index.js +3 -0
- package/lib/commonjs/components/ActionSheet/ActionSheet.js +9 -0
- package/lib/commonjs/components/ActionSheet/ActionSheetCancel.js +5 -0
- package/lib/commonjs/components/ActionSheet/ActionSheetItem.js +7 -0
- package/lib/commonjs/components/ActionSheet/index.js +4 -0
- package/lib/commonjs/components/AnimatedCircularProgress.js +15 -0
- package/lib/commonjs/components/AspectRatio.js +10 -0
- package/lib/commonjs/components/AvatarEdit.js +12 -0
- package/lib/commonjs/components/Banner.js +23 -9
- package/lib/commonjs/components/Button.js +19 -2
- package/lib/commonjs/components/Card.js +14 -0
- package/lib/commonjs/components/CardBlock.js +15 -0
- package/lib/commonjs/components/CardContainer.js +18 -0
- package/lib/commonjs/components/CardContainerRating.js +20 -2
- package/lib/commonjs/components/CardContainerShortImage.js +12 -0
- package/lib/commonjs/components/CardInline.js +14 -1
- package/lib/commonjs/components/Carousel.js +21 -3
- package/lib/commonjs/components/Checkbox/Checkbox.js +18 -3
- package/lib/commonjs/components/Checkbox/CheckboxGroup.js +11 -0
- package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js +20 -0
- package/lib/commonjs/components/Checkbox/CheckboxRow.js +24 -3
- package/lib/commonjs/components/Checkbox/context.js +5 -0
- package/lib/commonjs/components/Checkbox/index.js +4 -0
- package/lib/commonjs/components/CircleImage.js +9 -0
- package/lib/commonjs/components/CircularProgress.js +13 -3
- package/lib/commonjs/components/Config.js +13 -5
- package/lib/commonjs/components/Container.js +15 -15
- package/lib/commonjs/components/DatePicker/DatePicker.js +70 -28
- package/lib/commonjs/components/DatePicker/{DatePickerComponent.web.js → DatePickerComponent.__web.js} +13 -0
- package/lib/commonjs/components/DatePicker/DatePickerComponent.js +9 -0
- package/lib/commonjs/components/DeprecatedButton.js +23 -0
- package/lib/commonjs/components/DeprecatedCardWrapper.js +11 -0
- package/lib/commonjs/components/DeprecatedFAB.js +26 -0
- package/lib/commonjs/components/Divider.js +9 -0
- package/lib/commonjs/components/Elevation.js +11 -0
- package/lib/commonjs/components/FAB.js +10 -0
- package/lib/commonjs/components/FieldSearchBarFull.js +18 -0
- package/lib/commonjs/components/FormRow.js +10 -0
- package/lib/commonjs/components/Header.js +13 -0
- package/lib/commonjs/components/HeaderLarge.js +9 -0
- package/lib/commonjs/components/HeaderMedium.js +9 -0
- package/lib/commonjs/components/HeaderOverline.js +9 -0
- package/lib/commonjs/components/IconButton.js +10 -0
- package/lib/commonjs/components/Image.js +17 -0
- package/lib/commonjs/components/Layout.js +12 -2
- package/lib/commonjs/components/NumberInput.js +21 -8
- package/lib/commonjs/components/Picker/Picker.js +42 -9
- package/lib/commonjs/components/Picker/PickerComponent.android.js +23 -6
- package/lib/commonjs/components/Picker/PickerComponent.ios.js +27 -8
- package/lib/commonjs/components/Picker/PickerComponent.web.js +23 -6
- package/lib/commonjs/components/Portal/Portal.js +14 -4
- package/lib/commonjs/components/Portal/PortalConsumer.js +15 -5
- package/lib/commonjs/components/Portal/PortalHost.js +31 -4
- package/lib/commonjs/components/Portal/PortalManager.js +19 -7
- package/lib/commonjs/components/ProgressBar.js +25 -5
- package/lib/commonjs/components/ProgressCircle.js +10 -0
- package/lib/commonjs/components/ProgressIndicator.js +9 -0
- package/lib/commonjs/components/RadioButton/RadioButton.js +14 -1
- package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js +10 -0
- package/lib/commonjs/components/RadioButton/RadioButtonGroup.js +14 -0
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js +21 -1
- package/lib/commonjs/components/RadioButton/context.js +5 -0
- package/lib/commonjs/components/RadioButton/index.js +5 -0
- package/lib/commonjs/components/Row.js +11 -0
- package/lib/commonjs/components/RowBodyIcon.js +10 -0
- package/lib/commonjs/components/RowHeadlineImageCaption.js +11 -2
- package/lib/commonjs/components/RowHeadlineImageIcon.js +10 -0
- package/lib/commonjs/components/SVG.js +9 -0
- package/lib/commonjs/components/ScreenContainer.js +14 -0
- package/lib/commonjs/components/Slider.js +21 -0
- package/lib/commonjs/components/StarRating.js +10 -0
- package/lib/commonjs/components/StepIndicator.js +39 -5
- package/lib/commonjs/components/Stepper.js +26 -7
- package/lib/commonjs/components/Surface.js +14 -0
- package/lib/commonjs/components/Swiper/Swiper.js +8 -0
- package/lib/commonjs/components/Swiper/SwiperItem.js +6 -0
- package/lib/commonjs/components/Swiper/index.js +3 -0
- package/lib/commonjs/components/Switch.js +18 -5
- package/lib/commonjs/components/Text.js +18 -3
- package/lib/commonjs/components/TextField.js +62 -12
- package/lib/commonjs/components/ToggleButton.js +14 -0
- package/lib/commonjs/components/Touchable.js +5 -0
- package/lib/commonjs/components/Touchable.web.js +2 -0
- package/lib/commonjs/components/Typography.js +5 -0
- package/lib/commonjs/components/useAuthState.js +9 -0
- package/lib/commonjs/constants.js +4 -0
- package/lib/commonjs/hooks.js +7 -4
- package/lib/commonjs/index.js +52 -37
- package/lib/commonjs/interfaces/Icon.js +5 -3
- package/lib/commonjs/mappings/Accordion.js +2 -0
- package/lib/commonjs/mappings/AccordionItem.js +2 -0
- package/lib/commonjs/mappings/ActionSheet.js +2 -0
- package/lib/commonjs/mappings/ActionSheetCancel.js +2 -0
- package/lib/commonjs/mappings/ActionSheetItem.js +2 -0
- package/lib/commonjs/mappings/ActivityIndicator.js +2 -0
- package/lib/commonjs/mappings/AudioPlayer.js +34 -2
- package/lib/commonjs/mappings/AvatarEdit.js +2 -0
- package/lib/commonjs/mappings/Banner.js +2 -0
- package/lib/commonjs/mappings/BlurView.js +2 -0
- package/lib/commonjs/mappings/Button.js +5 -6
- package/lib/commonjs/mappings/Card.js +4 -3
- package/lib/commonjs/mappings/CardBlock.js +5 -6
- package/lib/commonjs/mappings/CardContainer.js +7 -5
- package/lib/commonjs/mappings/CardContainerRating.js +4 -4
- package/lib/commonjs/mappings/CardContainerShortImage.js +2 -0
- package/lib/commonjs/mappings/CardInline.js +2 -0
- package/lib/commonjs/mappings/Carousel.js +2 -0
- package/lib/commonjs/mappings/Checkbox.js +2 -0
- package/lib/commonjs/mappings/CheckboxGroup.js +2 -0
- package/lib/commonjs/mappings/CheckboxRow.js +2 -0
- package/lib/commonjs/mappings/CircleImage.js +2 -0
- package/lib/commonjs/mappings/Container.js +2 -0
- package/lib/commonjs/mappings/CustomCode.js +2 -0
- package/lib/commonjs/mappings/DatePicker.js +24 -7
- package/lib/commonjs/mappings/Divider.js +2 -0
- package/lib/commonjs/mappings/FAB.js +2 -0
- package/lib/commonjs/mappings/Fetch.js +2 -0
- package/lib/commonjs/mappings/FieldSearchBarFull.js +3 -2
- package/lib/commonjs/mappings/FlashList.js +2 -0
- package/lib/commonjs/mappings/FlatList.js +2 -0
- package/lib/commonjs/mappings/HeaderLarge.js +2 -0
- package/lib/commonjs/mappings/HeaderMedium.js +2 -0
- package/lib/commonjs/mappings/HeaderOverline.js +2 -0
- package/lib/commonjs/mappings/Icon.js +3 -2
- package/lib/commonjs/mappings/IconButton.js +2 -0
- package/lib/commonjs/mappings/Image.js +2 -0
- package/lib/commonjs/mappings/ImageBackground.js +2 -0
- package/lib/commonjs/mappings/KeyboardAvoidingView.js +2 -0
- package/lib/commonjs/mappings/KeyboardAwareScrollView.js +2 -0
- package/lib/commonjs/mappings/Layout.js +2 -0
- package/lib/commonjs/mappings/LinearGradient.js +2 -0
- package/lib/commonjs/mappings/MapCallout.js +2 -0
- package/lib/commonjs/mappings/MapMarker.js +2 -0
- package/lib/commonjs/mappings/MapView.js +2 -0
- package/lib/commonjs/mappings/Modal.js +2 -0
- package/lib/commonjs/mappings/NumberInput.js +4 -4
- package/lib/commonjs/mappings/Picker.js +4 -4
- package/lib/commonjs/mappings/ProgressBar.js +2 -0
- package/lib/commonjs/mappings/ProgressCircle.js +2 -0
- package/lib/commonjs/mappings/ProgressIndicator.js +2 -0
- package/lib/commonjs/mappings/RadioButton.js +2 -0
- package/lib/commonjs/mappings/RadioButtonGroup.js +2 -0
- package/lib/commonjs/mappings/RadioButtonRow.js +2 -0
- package/lib/commonjs/mappings/RowBodyIcon.js +2 -0
- package/lib/commonjs/mappings/RowHeadlineImageCaption.js +2 -0
- package/lib/commonjs/mappings/RowHeadlineImageIcon.js +8 -12
- package/lib/commonjs/mappings/SVG.js +2 -0
- package/lib/commonjs/mappings/SafeAreaView.js +2 -0
- package/lib/commonjs/mappings/ScrollView.js +2 -0
- package/lib/commonjs/mappings/Slider.js +2 -0
- package/lib/commonjs/mappings/StarRating.js +3 -1
- package/lib/commonjs/mappings/Stepper.js +3 -1
- package/lib/commonjs/mappings/Surface.js +2 -0
- package/lib/commonjs/mappings/Swiper.js +2 -0
- package/lib/commonjs/mappings/SwiperItem.js +2 -0
- package/lib/commonjs/mappings/Switch.js +2 -0
- package/lib/commonjs/mappings/Text.js +5 -5
- package/lib/commonjs/mappings/TextArea.js +17 -5
- package/lib/commonjs/mappings/TextField.js +22 -11
- package/lib/commonjs/mappings/TextInput.js +17 -5
- package/lib/commonjs/mappings/ToggleButton.js +2 -0
- package/lib/commonjs/mappings/Touchable.js +2 -0
- package/lib/commonjs/mappings/Video.js +2 -0
- package/lib/commonjs/mappings/View.js +2 -0
- package/lib/commonjs/mappings/WebView.js +2 -0
- package/lib/commonjs/styles/DarkTheme.js +6 -5
- package/lib/commonjs/styles/DefaultTheme.js +17 -26
- package/lib/commonjs/styles/fonts.js +5 -3
- package/lib/commonjs/styles/overlay.js +14 -5
- package/lib/commonjs/styles/shadow.js +9 -0
- package/lib/commonjs/theming.js +4 -0
- package/lib/commonjs/utilities.js +16 -4
- package/lib/module/Provider.js +1 -0
- package/lib/module/components/Accordion/AccordionGroup.js +4 -0
- package/lib/module/components/Accordion/AccordionItem.js +3 -0
- package/lib/module/components/ActionSheet/ActionSheet.js +2 -0
- package/lib/module/components/ActionSheet/ActionSheetCancel.js +2 -0
- package/lib/module/components/ActionSheet/ActionSheetItem.js +2 -0
- package/lib/module/components/AnimatedCircularProgress.js +6 -0
- package/lib/module/components/AspectRatio.js +6 -0
- package/lib/module/components/AvatarEdit.js +3 -0
- package/lib/module/components/Banner.js +10 -9
- package/lib/module/components/Button.js +10 -2
- package/lib/module/components/Card.js +2 -0
- package/lib/module/components/CardBlock.js +6 -0
- package/lib/module/components/CardContainer.js +7 -0
- package/lib/module/components/CardContainerRating.js +8 -2
- package/lib/module/components/CardContainerShortImage.js +3 -0
- package/lib/module/components/CardInline.js +2 -0
- package/lib/module/components/Carousel.js +9 -3
- package/lib/module/components/Checkbox/Checkbox.js +9 -3
- package/lib/module/components/Checkbox/CheckboxGroup.js +5 -0
- package/lib/module/components/Checkbox/CheckboxGroupRow.js +8 -0
- package/lib/module/components/Checkbox/CheckboxRow.js +11 -3
- package/lib/module/components/Checkbox/context.js +2 -0
- package/lib/module/components/CircleImage.js +3 -0
- package/lib/module/components/CircularProgress.js +9 -3
- package/lib/module/components/Config.js +11 -5
- package/lib/module/components/Container.js +3 -0
- package/lib/module/components/DatePicker/DatePicker.js +54 -28
- package/lib/module/components/DatePicker/{DatePickerComponent.web.js → DatePickerComponent.__web.js} +5 -0
- package/lib/module/components/DatePicker/DatePickerComponent.js +4 -0
- package/lib/module/components/DeprecatedButton.js +9 -0
- package/lib/module/components/DeprecatedCardWrapper.js +6 -0
- package/lib/module/components/DeprecatedFAB.js +13 -0
- package/lib/module/components/Divider.js +3 -0
- package/lib/module/components/Elevation.js +3 -0
- package/lib/module/components/FAB.js +3 -0
- package/lib/module/components/FieldSearchBarFull.js +9 -0
- package/lib/module/components/FormRow.js +1 -0
- package/lib/module/components/Header.js +2 -0
- package/lib/module/components/HeaderLarge.js +2 -0
- package/lib/module/components/HeaderMedium.js +2 -0
- package/lib/module/components/HeaderOverline.js +2 -0
- package/lib/module/components/IconButton.js +3 -0
- package/lib/module/components/Image.js +10 -0
- package/lib/module/components/Layout.js +3 -4
- package/lib/module/components/NumberInput.js +16 -8
- package/lib/module/components/Picker/Picker.js +25 -8
- package/lib/module/components/Picker/PickerComponent.android.js +10 -6
- package/lib/module/components/Picker/PickerComponent.ios.js +11 -8
- package/lib/module/components/Picker/PickerComponent.web.js +10 -6
- package/lib/module/components/Portal/Portal.js +6 -4
- package/lib/module/components/Portal/PortalConsumer.js +10 -5
- package/lib/module/components/Portal/PortalHost.js +22 -4
- package/lib/module/components/Portal/PortalManager.js +14 -7
- package/lib/module/components/ProgressBar.js +17 -5
- package/lib/module/components/ProgressCircle.js +2 -0
- package/lib/module/components/ProgressIndicator.js +2 -0
- package/lib/module/components/RadioButton/RadioButton.js +6 -1
- package/lib/module/components/RadioButton/RadioButtonFieldGroup.js +3 -0
- package/lib/module/components/RadioButton/RadioButtonGroup.js +7 -0
- package/lib/module/components/RadioButton/RadioButtonRow.js +9 -1
- package/lib/module/components/RadioButton/context.js +2 -0
- package/lib/module/components/Row.js +2 -0
- package/lib/module/components/RowBodyIcon.js +2 -0
- package/lib/module/components/RowHeadlineImageCaption.js +3 -2
- package/lib/module/components/RowHeadlineImageIcon.js +2 -0
- package/lib/module/components/SVG.js +2 -0
- package/lib/module/components/ScreenContainer.js +6 -0
- package/lib/module/components/Slider.js +10 -0
- package/lib/module/components/StarRating.js +3 -0
- package/lib/module/components/StepIndicator.js +29 -5
- package/lib/module/components/Stepper.js +16 -9
- package/lib/module/components/Surface.js +5 -0
- package/lib/module/components/Swiper/Swiper.js +4 -0
- package/lib/module/components/Swiper/SwiperItem.js +2 -0
- package/lib/module/components/Switch.js +7 -5
- package/lib/module/components/Text.js +10 -3
- package/lib/module/components/TextField.js +50 -12
- package/lib/module/components/ToggleButton.js +5 -0
- package/lib/module/components/Touchable.js +1 -0
- package/lib/module/components/useAuthState.js +4 -0
- package/lib/module/constants.js +1 -2
- package/lib/module/hooks.js +2 -4
- package/lib/module/index.js +2 -5
- package/lib/module/interfaces/Icon.js +1 -2
- package/lib/module/mappings/AudioPlayer.js +33 -3
- package/lib/module/mappings/Button.js +3 -6
- package/lib/module/mappings/Card.js +2 -3
- package/lib/module/mappings/CardBlock.js +3 -6
- package/lib/module/mappings/CardContainer.js +5 -5
- package/lib/module/mappings/CardContainerRating.js +2 -4
- package/lib/module/mappings/DatePicker.js +23 -8
- package/lib/module/mappings/Fetch.js +1 -0
- package/lib/module/mappings/FieldSearchBarFull.js +1 -2
- package/lib/module/mappings/Icon.js +1 -2
- package/lib/module/mappings/NumberInput.js +2 -4
- package/lib/module/mappings/Picker.js +2 -4
- package/lib/module/mappings/RowHeadlineImageIcon.js +6 -12
- package/lib/module/mappings/StarRating.js +1 -1
- package/lib/module/mappings/Stepper.js +2 -2
- package/lib/module/mappings/Text.js +3 -5
- package/lib/module/mappings/TextArea.js +16 -6
- package/lib/module/mappings/TextField.js +20 -11
- package/lib/module/mappings/TextInput.js +16 -6
- package/lib/module/styles/DarkTheme.js +2 -4
- package/lib/module/styles/DefaultTheme.js +13 -26
- package/lib/module/styles/fonts.js +1 -2
- package/lib/module/styles/overlay.js +10 -4
- package/lib/module/styles/shadow.js +6 -0
- package/lib/module/utilities.js +8 -5
- package/lib/typescript/src/Provider.d.ts +1 -0
- package/lib/typescript/src/Provider.d.ts.map +1 -0
- package/lib/typescript/src/components/Accordion/AccordionGroup.d.ts +1 -0
- package/lib/typescript/src/components/Accordion/AccordionGroup.d.ts.map +1 -0
- package/lib/typescript/src/components/Accordion/AccordionItem.d.ts +1 -0
- package/lib/typescript/src/components/Accordion/AccordionItem.d.ts.map +1 -0
- package/lib/typescript/src/components/Accordion/index.d.ts +1 -0
- package/lib/typescript/src/components/Accordion/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ActionSheet/ActionSheet.d.ts +1 -0
- package/lib/typescript/src/components/ActionSheet/ActionSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.d.ts +1 -0
- package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.d.ts.map +1 -0
- package/lib/typescript/src/components/ActionSheet/ActionSheetItem.d.ts +1 -0
- package/lib/typescript/src/components/ActionSheet/ActionSheetItem.d.ts.map +1 -0
- package/lib/typescript/src/components/ActionSheet/index.d.ts +1 -0
- package/lib/typescript/src/components/ActionSheet/index.d.ts.map +1 -0
- package/lib/typescript/src/components/AnimatedCircularProgress.d.ts +1 -0
- package/lib/typescript/src/components/AnimatedCircularProgress.d.ts.map +1 -0
- package/lib/typescript/src/components/AspectRatio.d.ts +1 -0
- package/lib/typescript/src/components/AspectRatio.d.ts.map +1 -0
- package/lib/typescript/src/components/AvatarEdit.d.ts +1 -0
- package/lib/typescript/src/components/AvatarEdit.d.ts.map +1 -0
- package/lib/typescript/src/components/Banner.d.ts +1 -0
- package/lib/typescript/src/components/Banner.d.ts.map +1 -0
- package/lib/typescript/src/components/Button.d.ts +1 -0
- package/lib/typescript/src/components/Button.d.ts.map +1 -0
- package/lib/typescript/src/components/Card.d.ts +1 -0
- package/lib/typescript/src/components/Card.d.ts.map +1 -0
- package/lib/typescript/src/components/CardBlock.d.ts +1 -0
- package/lib/typescript/src/components/CardBlock.d.ts.map +1 -0
- package/lib/typescript/src/components/CardContainer.d.ts +1 -0
- package/lib/typescript/src/components/CardContainer.d.ts.map +1 -0
- package/lib/typescript/src/components/CardContainerRating.d.ts +1 -0
- package/lib/typescript/src/components/CardContainerRating.d.ts.map +1 -0
- package/lib/typescript/src/components/CardContainerShortImage.d.ts +1 -0
- package/lib/typescript/src/components/CardContainerShortImage.d.ts.map +1 -0
- package/lib/typescript/src/components/CardInline.d.ts +1 -0
- package/lib/typescript/src/components/CardInline.d.ts.map +1 -0
- package/lib/typescript/src/components/Carousel.d.ts +1 -0
- package/lib/typescript/src/components/Carousel.d.ts.map +1 -0
- package/lib/typescript/src/components/Checkbox/Checkbox.d.ts +1 -0
- package/lib/typescript/src/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/lib/typescript/src/components/Checkbox/CheckboxGroup.d.ts +1 -0
- package/lib/typescript/src/components/Checkbox/CheckboxGroup.d.ts.map +1 -0
- package/lib/typescript/src/components/Checkbox/CheckboxGroupRow.d.ts +1 -0
- package/lib/typescript/src/components/Checkbox/CheckboxGroupRow.d.ts.map +1 -0
- package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts +1 -0
- package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts.map +1 -0
- package/lib/typescript/src/components/Checkbox/context.d.ts +1 -0
- package/lib/typescript/src/components/Checkbox/context.d.ts.map +1 -0
- package/lib/typescript/src/components/Checkbox/index.d.ts +1 -0
- package/lib/typescript/src/components/Checkbox/index.d.ts.map +1 -0
- package/lib/typescript/src/components/CircleImage.d.ts +1 -0
- package/lib/typescript/src/components/CircleImage.d.ts.map +1 -0
- package/lib/typescript/src/components/CircularProgress.d.ts +1 -0
- package/lib/typescript/src/components/CircularProgress.d.ts.map +1 -0
- package/lib/typescript/src/components/Config.d.ts +1 -0
- package/lib/typescript/src/components/Config.d.ts.map +1 -0
- package/lib/typescript/src/components/Container.d.ts +1 -0
- package/lib/typescript/src/components/Container.d.ts.map +1 -0
- package/lib/typescript/src/components/DatePicker/DatePicker.d.ts +5 -0
- package/lib/typescript/src/components/DatePicker/DatePicker.d.ts.map +1 -0
- package/lib/typescript/src/components/DatePicker/{DatePickerComponent.web.d.ts → DatePickerComponent.__web.d.ts} +1 -0
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.__web.d.ts.map +1 -0
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.d.ts +1 -0
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/DatePicker/DatePickerComponentType.d.ts +2 -0
- package/lib/typescript/src/components/DatePicker/DatePickerComponentType.d.ts.map +1 -0
- package/lib/typescript/src/components/DeprecatedButton.d.ts +1 -0
- package/lib/typescript/src/components/DeprecatedButton.d.ts.map +1 -0
- package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts +1 -0
- package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts.map +1 -0
- package/lib/typescript/src/components/DeprecatedFAB.d.ts +1 -0
- package/lib/typescript/src/components/DeprecatedFAB.d.ts.map +1 -0
- package/lib/typescript/src/components/Divider.d.ts +1 -0
- package/lib/typescript/src/components/Divider.d.ts.map +1 -0
- package/lib/typescript/src/components/Elevation.d.ts +1 -0
- package/lib/typescript/src/components/Elevation.d.ts.map +1 -0
- package/lib/typescript/src/components/FAB.d.ts +1 -0
- package/lib/typescript/src/components/FAB.d.ts.map +1 -0
- package/lib/typescript/src/components/FieldSearchBarFull.d.ts +1 -0
- package/lib/typescript/src/components/FieldSearchBarFull.d.ts.map +1 -0
- package/lib/typescript/src/components/FormRow.d.ts +1 -0
- package/lib/typescript/src/components/FormRow.d.ts.map +1 -0
- package/lib/typescript/src/components/Header.d.ts +1 -0
- package/lib/typescript/src/components/Header.d.ts.map +1 -0
- package/lib/typescript/src/components/HeaderLarge.d.ts +1 -0
- package/lib/typescript/src/components/HeaderLarge.d.ts.map +1 -0
- package/lib/typescript/src/components/HeaderMedium.d.ts +1 -0
- package/lib/typescript/src/components/HeaderMedium.d.ts.map +1 -0
- package/lib/typescript/src/components/HeaderOverline.d.ts +1 -0
- package/lib/typescript/src/components/HeaderOverline.d.ts.map +1 -0
- package/lib/typescript/src/components/IconButton.d.ts +1 -0
- package/lib/typescript/src/components/IconButton.d.ts.map +1 -0
- package/lib/typescript/src/components/Image.d.ts +1 -0
- package/lib/typescript/src/components/Image.d.ts.map +1 -0
- package/lib/typescript/src/components/Justification.d.ts +1 -0
- package/lib/typescript/src/components/Justification.d.ts.map +1 -0
- package/lib/typescript/src/components/Layout.d.ts +1 -0
- package/lib/typescript/src/components/Layout.d.ts.map +1 -0
- package/lib/typescript/src/components/NumberInput.d.ts +1 -0
- package/lib/typescript/src/components/NumberInput.d.ts.map +1 -0
- package/lib/typescript/src/components/Picker/Picker.d.ts +1 -0
- package/lib/typescript/src/components/Picker/Picker.d.ts.map +1 -0
- package/lib/typescript/src/components/Picker/PickerComponent.android.d.ts +1 -0
- package/lib/typescript/src/components/Picker/PickerComponent.android.d.ts.map +1 -0
- package/lib/typescript/src/components/Picker/PickerComponent.ios.d.ts +1 -0
- package/lib/typescript/src/components/Picker/PickerComponent.ios.d.ts.map +1 -0
- package/lib/typescript/src/components/Picker/PickerComponent.web.d.ts +1 -0
- package/lib/typescript/src/components/Picker/PickerComponent.web.d.ts.map +1 -0
- package/lib/typescript/src/components/Picker/PickerTypes.d.ts +1 -0
- package/lib/typescript/src/components/Picker/PickerTypes.d.ts.map +1 -0
- package/lib/typescript/src/components/Portal/Portal.d.ts +1 -0
- package/lib/typescript/src/components/Portal/Portal.d.ts.map +1 -0
- package/lib/typescript/src/components/Portal/PortalConsumer.d.ts +1 -0
- package/lib/typescript/src/components/Portal/PortalConsumer.d.ts.map +1 -0
- package/lib/typescript/src/components/Portal/PortalHost.d.ts +1 -0
- package/lib/typescript/src/components/Portal/PortalHost.d.ts.map +1 -0
- package/lib/typescript/src/components/Portal/PortalManager.d.ts +1 -0
- package/lib/typescript/src/components/Portal/PortalManager.d.ts.map +1 -0
- package/lib/typescript/src/components/ProgressBar.d.ts +1 -0
- package/lib/typescript/src/components/ProgressBar.d.ts.map +1 -0
- package/lib/typescript/src/components/ProgressCircle.d.ts +1 -0
- package/lib/typescript/src/components/ProgressCircle.d.ts.map +1 -0
- package/lib/typescript/src/components/ProgressIndicator.d.ts +1 -0
- package/lib/typescript/src/components/ProgressIndicator.d.ts.map +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButton.d.ts +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButton.d.ts.map +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButtonFieldGroup.d.ts +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButtonFieldGroup.d.ts.map +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButtonGroup.d.ts +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButtonGroup.d.ts.map +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts.map +1 -0
- package/lib/typescript/src/components/RadioButton/context.d.ts +1 -0
- package/lib/typescript/src/components/RadioButton/context.d.ts.map +1 -0
- package/lib/typescript/src/components/RadioButton/index.d.ts +1 -0
- package/lib/typescript/src/components/RadioButton/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ResizeMode.d.ts +1 -0
- package/lib/typescript/src/components/ResizeMode.d.ts.map +1 -0
- package/lib/typescript/src/components/Row.d.ts +1 -0
- package/lib/typescript/src/components/Row.d.ts.map +1 -0
- package/lib/typescript/src/components/RowBodyIcon.d.ts +1 -0
- package/lib/typescript/src/components/RowBodyIcon.d.ts.map +1 -0
- package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts +1 -0
- package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts.map +1 -0
- package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts +1 -0
- package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts.map +1 -0
- package/lib/typescript/src/components/SVG.d.ts +1 -0
- package/lib/typescript/src/components/SVG.d.ts.map +1 -0
- package/lib/typescript/src/components/ScreenContainer.d.ts +1 -0
- package/lib/typescript/src/components/ScreenContainer.d.ts.map +1 -0
- package/lib/typescript/src/components/Slider.d.ts +1 -0
- package/lib/typescript/src/components/Slider.d.ts.map +1 -0
- package/lib/typescript/src/components/StarRating.d.ts +1 -0
- package/lib/typescript/src/components/StarRating.d.ts.map +1 -0
- package/lib/typescript/src/components/StepIndicator.d.ts +1 -0
- package/lib/typescript/src/components/StepIndicator.d.ts.map +1 -0
- package/lib/typescript/src/components/Stepper.d.ts +2 -2
- package/lib/typescript/src/components/Stepper.d.ts.map +1 -0
- package/lib/typescript/src/components/Surface.d.ts +1 -0
- package/lib/typescript/src/components/Surface.d.ts.map +1 -0
- package/lib/typescript/src/components/Swiper/Swiper.d.ts +1 -0
- package/lib/typescript/src/components/Swiper/Swiper.d.ts.map +1 -0
- package/lib/typescript/src/components/Swiper/SwiperItem.d.ts +1 -0
- package/lib/typescript/src/components/Swiper/SwiperItem.d.ts.map +1 -0
- package/lib/typescript/src/components/Swiper/index.d.ts +1 -0
- package/lib/typescript/src/components/Swiper/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Switch.d.ts +1 -0
- package/lib/typescript/src/components/Switch.d.ts.map +1 -0
- package/lib/typescript/src/components/Text.d.ts +1 -0
- package/lib/typescript/src/components/Text.d.ts.map +1 -0
- package/lib/typescript/src/components/TextField.d.ts +1 -0
- package/lib/typescript/src/components/TextField.d.ts.map +1 -0
- package/lib/typescript/src/components/ToggleButton.d.ts +1 -0
- package/lib/typescript/src/components/ToggleButton.d.ts.map +1 -0
- package/lib/typescript/src/components/Touchable.d.ts +1 -0
- package/lib/typescript/src/components/Touchable.d.ts.map +1 -0
- package/lib/typescript/src/components/Touchable.web.d.ts +1 -0
- package/lib/typescript/src/components/Touchable.web.d.ts.map +1 -0
- package/lib/typescript/src/components/Typography.d.ts +1 -0
- package/lib/typescript/src/components/Typography.d.ts.map +1 -0
- package/lib/typescript/src/components/useAuthState.d.ts +1 -0
- package/lib/typescript/src/components/useAuthState.d.ts.map +1 -0
- package/lib/typescript/src/constants.d.ts +1 -0
- package/lib/typescript/src/constants.d.ts.map +1 -0
- package/lib/typescript/src/hooks.d.ts +1 -0
- package/lib/typescript/src/hooks.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/interfaces/Icon.d.ts +1 -0
- package/lib/typescript/src/interfaces/Icon.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Accordion.d.ts +1 -0
- package/lib/typescript/src/mappings/Accordion.d.ts.map +1 -0
- package/lib/typescript/src/mappings/AccordionItem.d.ts +1 -0
- package/lib/typescript/src/mappings/AccordionItem.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ActionSheet.d.ts +1 -0
- package/lib/typescript/src/mappings/ActionSheet.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ActionSheetCancel.d.ts +1 -0
- package/lib/typescript/src/mappings/ActionSheetCancel.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ActionSheetItem.d.ts +1 -0
- package/lib/typescript/src/mappings/ActionSheetItem.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ActivityIndicator.d.ts +1 -0
- package/lib/typescript/src/mappings/ActivityIndicator.d.ts.map +1 -0
- package/lib/typescript/src/mappings/AudioPlayer.d.ts +63 -1
- package/lib/typescript/src/mappings/AudioPlayer.d.ts.map +1 -0
- package/lib/typescript/src/mappings/AvatarEdit.d.ts +1 -0
- package/lib/typescript/src/mappings/AvatarEdit.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Banner.d.ts +1 -0
- package/lib/typescript/src/mappings/Banner.d.ts.map +1 -0
- package/lib/typescript/src/mappings/BlurView.d.ts +1 -0
- package/lib/typescript/src/mappings/BlurView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Button.d.ts +1 -0
- package/lib/typescript/src/mappings/Button.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Card.d.ts +1 -0
- package/lib/typescript/src/mappings/Card.d.ts.map +1 -0
- package/lib/typescript/src/mappings/CardBlock.d.ts +1 -0
- package/lib/typescript/src/mappings/CardBlock.d.ts.map +1 -0
- package/lib/typescript/src/mappings/CardContainer.d.ts +1 -0
- package/lib/typescript/src/mappings/CardContainer.d.ts.map +1 -0
- package/lib/typescript/src/mappings/CardContainerRating.d.ts +1 -0
- package/lib/typescript/src/mappings/CardContainerRating.d.ts.map +1 -0
- package/lib/typescript/src/mappings/CardContainerShortImage.d.ts +1 -0
- package/lib/typescript/src/mappings/CardContainerShortImage.d.ts.map +1 -0
- package/lib/typescript/src/mappings/CardInline.d.ts +1 -0
- package/lib/typescript/src/mappings/CardInline.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Carousel.d.ts +1 -0
- package/lib/typescript/src/mappings/Carousel.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Checkbox.d.ts +1 -0
- package/lib/typescript/src/mappings/Checkbox.d.ts.map +1 -0
- package/lib/typescript/src/mappings/CheckboxGroup.d.ts +1 -0
- package/lib/typescript/src/mappings/CheckboxGroup.d.ts.map +1 -0
- package/lib/typescript/src/mappings/CheckboxRow.d.ts +1 -0
- package/lib/typescript/src/mappings/CheckboxRow.d.ts.map +1 -0
- package/lib/typescript/src/mappings/CircleImage.d.ts +1 -0
- package/lib/typescript/src/mappings/CircleImage.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Container.d.ts +1 -0
- package/lib/typescript/src/mappings/Container.d.ts.map +1 -0
- package/lib/typescript/src/mappings/CustomCode.d.ts +1 -0
- package/lib/typescript/src/mappings/CustomCode.d.ts.map +1 -0
- package/lib/typescript/src/mappings/DatePicker.d.ts +43 -0
- package/lib/typescript/src/mappings/DatePicker.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Divider.d.ts +1 -0
- package/lib/typescript/src/mappings/Divider.d.ts.map +1 -0
- package/lib/typescript/src/mappings/FAB.d.ts +1 -0
- package/lib/typescript/src/mappings/FAB.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Fetch.d.ts +1 -0
- package/lib/typescript/src/mappings/Fetch.d.ts.map +1 -0
- package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts +1 -0
- package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts.map +1 -0
- package/lib/typescript/src/mappings/FlashList.d.ts +1 -0
- package/lib/typescript/src/mappings/FlashList.d.ts.map +1 -0
- package/lib/typescript/src/mappings/FlatList.d.ts +1 -0
- package/lib/typescript/src/mappings/FlatList.d.ts.map +1 -0
- package/lib/typescript/src/mappings/HeaderLarge.d.ts +1 -0
- package/lib/typescript/src/mappings/HeaderLarge.d.ts.map +1 -0
- package/lib/typescript/src/mappings/HeaderMedium.d.ts +1 -0
- package/lib/typescript/src/mappings/HeaderMedium.d.ts.map +1 -0
- package/lib/typescript/src/mappings/HeaderOverline.d.ts +1 -0
- package/lib/typescript/src/mappings/HeaderOverline.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Icon.d.ts +1 -0
- package/lib/typescript/src/mappings/Icon.d.ts.map +1 -0
- package/lib/typescript/src/mappings/IconButton.d.ts +1 -0
- package/lib/typescript/src/mappings/IconButton.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Image.d.ts +1 -0
- package/lib/typescript/src/mappings/Image.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ImageBackground.d.ts +1 -0
- package/lib/typescript/src/mappings/ImageBackground.d.ts.map +1 -0
- package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts +1 -0
- package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts +1 -0
- package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Layout.d.ts +1 -0
- package/lib/typescript/src/mappings/Layout.d.ts.map +1 -0
- package/lib/typescript/src/mappings/LinearGradient.d.ts +1 -0
- package/lib/typescript/src/mappings/LinearGradient.d.ts.map +1 -0
- package/lib/typescript/src/mappings/MapCallout.d.ts +1 -0
- package/lib/typescript/src/mappings/MapCallout.d.ts.map +1 -0
- package/lib/typescript/src/mappings/MapMarker.d.ts +1 -0
- package/lib/typescript/src/mappings/MapMarker.d.ts.map +1 -0
- package/lib/typescript/src/mappings/MapView.d.ts +1 -0
- package/lib/typescript/src/mappings/MapView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Modal.d.ts +1 -0
- package/lib/typescript/src/mappings/Modal.d.ts.map +1 -0
- package/lib/typescript/src/mappings/NumberInput.d.ts +1 -0
- package/lib/typescript/src/mappings/NumberInput.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Picker.d.ts +1 -0
- package/lib/typescript/src/mappings/Picker.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ProgressBar.d.ts +1 -0
- package/lib/typescript/src/mappings/ProgressBar.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ProgressCircle.d.ts +1 -0
- package/lib/typescript/src/mappings/ProgressCircle.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ProgressIndicator.d.ts +1 -0
- package/lib/typescript/src/mappings/ProgressIndicator.d.ts.map +1 -0
- package/lib/typescript/src/mappings/RadioButton.d.ts +1 -0
- package/lib/typescript/src/mappings/RadioButton.d.ts.map +1 -0
- package/lib/typescript/src/mappings/RadioButtonGroup.d.ts +1 -0
- package/lib/typescript/src/mappings/RadioButtonGroup.d.ts.map +1 -0
- package/lib/typescript/src/mappings/RadioButtonRow.d.ts +1 -0
- package/lib/typescript/src/mappings/RadioButtonRow.d.ts.map +1 -0
- package/lib/typescript/src/mappings/RowBodyIcon.d.ts +1 -0
- package/lib/typescript/src/mappings/RowBodyIcon.d.ts.map +1 -0
- package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts +1 -0
- package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts.map +1 -0
- package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts +1 -0
- package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts.map +1 -0
- package/lib/typescript/src/mappings/SVG.d.ts +1 -0
- package/lib/typescript/src/mappings/SVG.d.ts.map +1 -0
- package/lib/typescript/src/mappings/SafeAreaView.d.ts +1 -0
- package/lib/typescript/src/mappings/SafeAreaView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ScrollView.d.ts +1 -0
- package/lib/typescript/src/mappings/ScrollView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Slider.d.ts +1 -0
- package/lib/typescript/src/mappings/Slider.d.ts.map +1 -0
- package/lib/typescript/src/mappings/StarRating.d.ts +1 -0
- package/lib/typescript/src/mappings/StarRating.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Stepper.d.ts +1 -0
- package/lib/typescript/src/mappings/Stepper.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Surface.d.ts +1 -0
- package/lib/typescript/src/mappings/Surface.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Swiper.d.ts +1 -0
- package/lib/typescript/src/mappings/Swiper.d.ts.map +1 -0
- package/lib/typescript/src/mappings/SwiperItem.d.ts +1 -0
- package/lib/typescript/src/mappings/SwiperItem.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Switch.d.ts +1 -0
- package/lib/typescript/src/mappings/Switch.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Text.d.ts +1 -0
- package/lib/typescript/src/mappings/Text.d.ts.map +1 -0
- package/lib/typescript/src/mappings/TextArea.d.ts +22 -1
- package/lib/typescript/src/mappings/TextArea.d.ts.map +1 -0
- package/lib/typescript/src/mappings/TextField.d.ts +23 -2
- package/lib/typescript/src/mappings/TextField.d.ts.map +1 -0
- package/lib/typescript/src/mappings/TextInput.d.ts +22 -1
- package/lib/typescript/src/mappings/TextInput.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ToggleButton.d.ts +1 -0
- package/lib/typescript/src/mappings/ToggleButton.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Touchable.d.ts +1 -0
- package/lib/typescript/src/mappings/Touchable.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Video.d.ts +1 -0
- package/lib/typescript/src/mappings/Video.d.ts.map +1 -0
- package/lib/typescript/src/mappings/View.d.ts +1 -0
- package/lib/typescript/src/mappings/View.d.ts.map +1 -0
- package/lib/typescript/src/mappings/WebView.d.ts +1 -0
- package/lib/typescript/src/mappings/WebView.d.ts.map +1 -0
- package/lib/typescript/src/styles/DarkTheme.d.ts +1 -0
- package/lib/typescript/src/styles/DarkTheme.d.ts.map +1 -0
- package/lib/typescript/src/styles/DefaultTheme.d.ts +1 -0
- package/lib/typescript/src/styles/DefaultTheme.d.ts.map +1 -0
- package/lib/typescript/src/styles/fonts.d.ts +1 -0
- package/lib/typescript/src/styles/fonts.d.ts.map +1 -0
- package/lib/typescript/src/styles/overlay.d.ts +1 -0
- package/lib/typescript/src/styles/overlay.d.ts.map +1 -0
- package/lib/typescript/src/styles/shadow.d.ts +1 -0
- package/lib/typescript/src/styles/shadow.d.ts.map +1 -0
- package/lib/typescript/src/theming.d.ts +1 -0
- package/lib/typescript/src/theming.d.ts.map +1 -0
- package/lib/typescript/src/utilities.d.ts +4 -3
- package/lib/typescript/src/utilities.d.ts.map +1 -0
- package/package.json +15 -5
- package/src/components/DatePicker/DatePicker.js +19 -11
- package/src/components/DatePicker/DatePicker.tsx +28 -11
- package/src/components/DatePicker/{DatePickerComponent.web.js → DatePickerComponent.__web.js} +2 -2
- package/src/components/DatePicker/{DatePickerComponent.web.tsx → DatePickerComponent.__web.tsx} +3 -0
- package/src/components/DatePicker/DatePickerComponent.js +2 -2
- package/src/components/DatePicker/DatePickerComponent.tsx +2 -0
- package/src/components/DatePicker/DatePickerComponentType.ts +1 -0
- package/src/components/Picker/Picker.js +1 -1
- package/src/components/Picker/Picker.tsx +2 -2
- package/src/components/Stepper.js +5 -3
- package/src/components/Stepper.tsx +5 -5
- package/src/index.js +0 -1
- package/src/index.tsx +0 -9
- package/src/mappings/AudioPlayer.js +39 -2
- package/src/mappings/AudioPlayer.ts +41 -1
- package/src/mappings/DatePicker.js +28 -4
- package/src/mappings/DatePicker.ts +30 -3
- package/src/mappings/Stepper.js +5 -2
- package/src/mappings/Stepper.ts +5 -1
- package/src/mappings/TextArea.js +15 -4
- package/src/mappings/TextArea.ts +15 -3
- package/src/mappings/TextField.js +14 -4
- package/src/mappings/TextField.ts +14 -4
- package/src/mappings/TextInput.js +15 -4
- package/src/mappings/TextInput.ts +15 -3
- package/src/utilities.js +2 -5
- package/src/utilities.ts +2 -13
- package/lib/commonjs/components/Table/Table.js +0 -28
- package/lib/commonjs/components/Table/TableCell.js +0 -42
- package/lib/commonjs/components/Table/TableHeader.js +0 -32
- package/lib/commonjs/components/Table/TablePaginator.js +0 -12
- package/lib/commonjs/components/Table/TableRow.js +0 -38
- package/lib/commonjs/components/Table/TableTitle.js +0 -53
- package/lib/commonjs/components/Table/index.js +0 -48
- package/lib/commonjs/mappings/Table.js +0 -100
- package/lib/module/components/Table/Table.js +0 -20
- package/lib/module/components/Table/TableCell.js +0 -34
- package/lib/module/components/Table/TableHeader.js +0 -24
- package/lib/module/components/Table/TablePaginator.js +0 -4
- package/lib/module/components/Table/TableRow.js +0 -30
- package/lib/module/components/Table/TableTitle.js +0 -45
- package/lib/module/components/Table/index.js +0 -6
- package/lib/module/mappings/Table.js +0 -93
- package/lib/typescript/src/components/Table/Table.d.ts +0 -8
- package/lib/typescript/src/components/Table/TableCell.d.ts +0 -10
- package/lib/typescript/src/components/Table/TableHeader.d.ts +0 -12
- package/lib/typescript/src/components/Table/TablePaginator.d.ts +0 -3
- package/lib/typescript/src/components/Table/TableRow.d.ts +0 -12
- package/lib/typescript/src/components/Table/TableTitle.d.ts +0 -12
- package/lib/typescript/src/components/Table/index.d.ts +0 -6
- package/lib/typescript/src/mappings/Table.d.ts +0 -148
- package/src/components/Table/Table.js +0 -10
- package/src/components/Table/Table.tsx +0 -22
- package/src/components/Table/TableCell.js +0 -21
- package/src/components/Table/TableCell.tsx +0 -44
- package/src/components/Table/TableHeader.js +0 -11
- package/src/components/Table/TableHeader.tsx +0 -28
- package/src/components/Table/TablePaginator.js +0 -5
- package/src/components/Table/TablePaginator.tsx +0 -10
- package/src/components/Table/TableRow.js +0 -16
- package/src/components/Table/TableRow.tsx +0 -31
- package/src/components/Table/TableTitle.js +0 -28
- package/src/components/Table/TableTitle.tsx +0 -58
- package/src/components/Table/index.js +0 -6
- package/src/components/Table/index.tsx +0 -6
- package/src/mappings/Table.js +0 -136
- package/src/mappings/Table.ts +0 -144
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { View, Text, StyleSheet } from "react-native";
|
|
4
|
-
import { extractStyles } from "../../utilities";
|
|
5
|
-
const TableCell = _ref => {
|
|
6
|
-
let {
|
|
7
|
-
children,
|
|
8
|
-
style,
|
|
9
|
-
numeric,
|
|
10
|
-
value,
|
|
11
|
-
...rest
|
|
12
|
-
} = _ref;
|
|
13
|
-
const {
|
|
14
|
-
textStyles,
|
|
15
|
-
viewStyles
|
|
16
|
-
} = extractStyles(style);
|
|
17
|
-
return /*#__PURE__*/React.createElement(View, _extends({}, rest, {
|
|
18
|
-
style: [styles.wrapper, numeric && styles.right, viewStyles]
|
|
19
|
-
}), /*#__PURE__*/React.createElement(Text, {
|
|
20
|
-
numberOfLines: 1,
|
|
21
|
-
style: textStyles
|
|
22
|
-
}, children, value));
|
|
23
|
-
};
|
|
24
|
-
const styles = StyleSheet.create({
|
|
25
|
-
wrapper: {
|
|
26
|
-
flex: 1,
|
|
27
|
-
display: "flex",
|
|
28
|
-
flexDirection: "row"
|
|
29
|
-
},
|
|
30
|
-
right: {
|
|
31
|
-
justifyContent: "flex-end"
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
export default TableCell;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { View, StyleSheet } from "react-native";
|
|
4
|
-
import { withTheme } from "../../theming";
|
|
5
|
-
const TableHeader = _ref => {
|
|
6
|
-
let {
|
|
7
|
-
children,
|
|
8
|
-
style,
|
|
9
|
-
theme,
|
|
10
|
-
...rest
|
|
11
|
-
} = _ref;
|
|
12
|
-
return /*#__PURE__*/React.createElement(View, _extends({}, rest, {
|
|
13
|
-
style: [styles.wrapper, {
|
|
14
|
-
borderBottomColor: theme.colors.medium
|
|
15
|
-
}, style]
|
|
16
|
-
}), children);
|
|
17
|
-
};
|
|
18
|
-
const styles = StyleSheet.create({
|
|
19
|
-
wrapper: {
|
|
20
|
-
display: "flex",
|
|
21
|
-
flexDirection: "row"
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
export default withTheme(TableHeader);
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { View, StyleSheet } from "react-native";
|
|
4
|
-
import { withTheme } from "../../theming";
|
|
5
|
-
const TableRow = _ref => {
|
|
6
|
-
let {
|
|
7
|
-
children,
|
|
8
|
-
style,
|
|
9
|
-
theme,
|
|
10
|
-
...rest
|
|
11
|
-
} = _ref;
|
|
12
|
-
return /*#__PURE__*/React.createElement(View, _extends({}, rest, {
|
|
13
|
-
style: [styles.container, {
|
|
14
|
-
borderBottomColor: theme.colors.light
|
|
15
|
-
}, style]
|
|
16
|
-
}), /*#__PURE__*/React.createElement(View, {
|
|
17
|
-
style: styles.content
|
|
18
|
-
}, children));
|
|
19
|
-
};
|
|
20
|
-
const styles = StyleSheet.create({
|
|
21
|
-
container: {
|
|
22
|
-
display: "flex",
|
|
23
|
-
flexDirection: "row"
|
|
24
|
-
},
|
|
25
|
-
content: {
|
|
26
|
-
flex: 1,
|
|
27
|
-
flexDirection: "row"
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
export default withTheme(TableRow);
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { View, Text, StyleSheet } from "react-native";
|
|
4
|
-
import { extractStyles } from "../../utilities";
|
|
5
|
-
const TableTitle = _ref => {
|
|
6
|
-
let {
|
|
7
|
-
children,
|
|
8
|
-
style,
|
|
9
|
-
numeric = false,
|
|
10
|
-
isAscending = false,
|
|
11
|
-
numberOfLines = 1,
|
|
12
|
-
title,
|
|
13
|
-
...rest
|
|
14
|
-
} = _ref;
|
|
15
|
-
const {
|
|
16
|
-
textStyles,
|
|
17
|
-
viewStyles
|
|
18
|
-
} = extractStyles(style);
|
|
19
|
-
return /*#__PURE__*/React.createElement(View, _extends({}, rest, {
|
|
20
|
-
style: [styles.wrapper, numeric && styles.right, viewStyles]
|
|
21
|
-
}), /*#__PURE__*/React.createElement(Text, {
|
|
22
|
-
style: [isAscending ? styles.sorted : {
|
|
23
|
-
color: "gray"
|
|
24
|
-
}, textStyles],
|
|
25
|
-
numberOfLines: numberOfLines
|
|
26
|
-
}, children, title));
|
|
27
|
-
};
|
|
28
|
-
const styles = StyleSheet.create({
|
|
29
|
-
wrapper: {
|
|
30
|
-
flex: 1,
|
|
31
|
-
display: "flex",
|
|
32
|
-
flexDirection: "row"
|
|
33
|
-
},
|
|
34
|
-
right: {
|
|
35
|
-
justifyContent: "flex-end"
|
|
36
|
-
},
|
|
37
|
-
sorted: {
|
|
38
|
-
// marginLeft: 8,
|
|
39
|
-
},
|
|
40
|
-
icon: {
|
|
41
|
-
height: 24,
|
|
42
|
-
justifyContent: "center"
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
export default TableTitle;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { default as Table } from "./Table";
|
|
2
|
-
export { default as TableHeader } from "./TableHeader";
|
|
3
|
-
export { default as TablePaginator } from "./TablePaginator";
|
|
4
|
-
export { default as TableRow } from "./TableRow";
|
|
5
|
-
export { default as TableCell } from "./TableCell";
|
|
6
|
-
export { default as TableTitle } from "./TableTitle";
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, GROUPS, createBoolProp, createTextProp, createNumberProp, StylesPanelSections } from "@draftbit/types";
|
|
2
|
-
export const SEED_DATA = [{
|
|
3
|
-
name: "Table",
|
|
4
|
-
tag: "Table",
|
|
5
|
-
category: COMPONENT_TYPES.container,
|
|
6
|
-
stylesPanelSections: [StylesPanelSections.Background, StylesPanelSections.Borders, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Effects],
|
|
7
|
-
layout: {
|
|
8
|
-
width: "100%"
|
|
9
|
-
},
|
|
10
|
-
props: {}
|
|
11
|
-
}, {
|
|
12
|
-
name: "Table Row",
|
|
13
|
-
tag: "TableRow",
|
|
14
|
-
category: COMPONENT_TYPES.container,
|
|
15
|
-
stylesPanelSections: [StylesPanelSections.Background, StylesPanelSections.Borders, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Effects],
|
|
16
|
-
layout: {
|
|
17
|
-
paddingLeft: 16,
|
|
18
|
-
paddingRight: 16,
|
|
19
|
-
borderBottomWidth: 1,
|
|
20
|
-
borderStyle: "solid"
|
|
21
|
-
},
|
|
22
|
-
props: {}
|
|
23
|
-
}, {
|
|
24
|
-
name: "Table Cell",
|
|
25
|
-
tag: "TableCell",
|
|
26
|
-
category: COMPONENT_TYPES.container,
|
|
27
|
-
layout: {
|
|
28
|
-
paddingTop: 16,
|
|
29
|
-
paddingBottom: 16,
|
|
30
|
-
paddingLeft: 8,
|
|
31
|
-
paddingRight: 8
|
|
32
|
-
},
|
|
33
|
-
stylesPanelSections: [StylesPanelSections.Typography, StylesPanelSections.Background, StylesPanelSections.Borders, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Effects],
|
|
34
|
-
props: {
|
|
35
|
-
numeric: createBoolProp({
|
|
36
|
-
label: "Is Numeric Cell?",
|
|
37
|
-
description: "Does the cell contain a numeric value?",
|
|
38
|
-
group: GROUPS.data
|
|
39
|
-
}),
|
|
40
|
-
value: createTextProp({
|
|
41
|
-
label: "Cell Value",
|
|
42
|
-
description: "Table Cell Value",
|
|
43
|
-
group: GROUPS.data
|
|
44
|
-
})
|
|
45
|
-
}
|
|
46
|
-
}, {
|
|
47
|
-
name: "Table Header",
|
|
48
|
-
tag: "TableHeader",
|
|
49
|
-
category: COMPONENT_TYPES.container,
|
|
50
|
-
stylesPanelSections: [StylesPanelSections.Background, StylesPanelSections.Borders, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Effects],
|
|
51
|
-
layout: {
|
|
52
|
-
paddingLeft: 16,
|
|
53
|
-
paddingRight: 16,
|
|
54
|
-
borderBottomWidth: 1,
|
|
55
|
-
borderStyle: "solid",
|
|
56
|
-
backgroundColor: "#EFEFEF"
|
|
57
|
-
},
|
|
58
|
-
props: {}
|
|
59
|
-
}, {
|
|
60
|
-
name: "Table Title",
|
|
61
|
-
tag: "TableTitle",
|
|
62
|
-
category: COMPONENT_TYPES.container,
|
|
63
|
-
stylesPanelSections: [StylesPanelSections.Typography, StylesPanelSections.Background, StylesPanelSections.Borders, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Effects],
|
|
64
|
-
layout: {
|
|
65
|
-
fontSize: 14,
|
|
66
|
-
paddingTop: 16,
|
|
67
|
-
paddingBottom: 16,
|
|
68
|
-
paddingLeft: 8,
|
|
69
|
-
paddingRight: 8
|
|
70
|
-
},
|
|
71
|
-
props: {
|
|
72
|
-
numeric: createBoolProp({
|
|
73
|
-
label: "Is Numeric Cell?",
|
|
74
|
-
description: "Does the cell contain a numeric value?",
|
|
75
|
-
group: GROUPS.data
|
|
76
|
-
}),
|
|
77
|
-
value: createTextProp({
|
|
78
|
-
label: "Cell Value",
|
|
79
|
-
description: "Table Cell Value",
|
|
80
|
-
group: GROUPS.data
|
|
81
|
-
}),
|
|
82
|
-
isAscending: createBoolProp({
|
|
83
|
-
label: "Is Ascending?",
|
|
84
|
-
description: "Does the cell contain a numeric value?",
|
|
85
|
-
group: GROUPS.data
|
|
86
|
-
}),
|
|
87
|
-
numberOfLines: createNumberProp({
|
|
88
|
-
label: "Number of Lines",
|
|
89
|
-
description: "Number of Lines",
|
|
90
|
-
group: GROUPS.basic
|
|
91
|
-
})
|
|
92
|
-
}
|
|
93
|
-
}];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { StyleProp, ViewStyle } from "react-native";
|
|
3
|
-
export interface TableProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
style?: StyleProp<ViewStyle>;
|
|
6
|
-
}
|
|
7
|
-
declare const Table: ({ children, style, ...rest }: TableProps) => JSX.Element;
|
|
8
|
-
export default Table;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { StyleProp, ViewStyle } from "react-native";
|
|
3
|
-
export interface TableCellProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
numeric?: boolean;
|
|
6
|
-
style?: StyleProp<ViewStyle>;
|
|
7
|
-
value: string;
|
|
8
|
-
}
|
|
9
|
-
declare const TableCell: ({ children, style, numeric, value, ...rest }: TableCellProps) => JSX.Element;
|
|
10
|
-
export default TableCell;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { StyleProp, ViewStyle } from "react-native";
|
|
3
|
-
import { Theme } from "../../styles/DefaultTheme";
|
|
4
|
-
export interface TableHeaderProps {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
style?: StyleProp<ViewStyle>;
|
|
7
|
-
theme: Theme;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<TableHeaderProps, "theme"> & {
|
|
10
|
-
theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
|
|
11
|
-
}> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<TableHeaderProps> & (({ children, style, theme, ...rest }: TableHeaderProps) => JSX.Element), {}>;
|
|
12
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { StyleProp, ViewStyle } from "react-native";
|
|
3
|
-
import { Theme } from "../../styles/DefaultTheme";
|
|
4
|
-
export interface TableRowProps {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
style?: StyleProp<ViewStyle>;
|
|
7
|
-
theme: Theme;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<TableRowProps, "theme"> & {
|
|
10
|
-
theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
|
|
11
|
-
}> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<TableRowProps> & (({ children, style, theme, ...rest }: TableRowProps) => JSX.Element), {}>;
|
|
12
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { StyleProp, ViewStyle } from "react-native";
|
|
3
|
-
export interface TableCellProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
numeric?: boolean;
|
|
6
|
-
isAscending: boolean;
|
|
7
|
-
numberOfLines?: number;
|
|
8
|
-
title?: string;
|
|
9
|
-
style?: StyleProp<ViewStyle>;
|
|
10
|
-
}
|
|
11
|
-
declare const TableTitle: ({ children, style, numeric, isAscending, numberOfLines, title, ...rest }: TableCellProps) => JSX.Element;
|
|
12
|
-
export default TableTitle;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { default as Table } from "./Table";
|
|
2
|
-
export { default as TableHeader } from "./TableHeader";
|
|
3
|
-
export { default as TablePaginator } from "./TablePaginator";
|
|
4
|
-
export { default as TableRow } from "./TableRow";
|
|
5
|
-
export { default as TableCell } from "./TableCell";
|
|
6
|
-
export { default as TableTitle } from "./TableTitle";
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
export declare const SEED_DATA: ({
|
|
2
|
-
name: string;
|
|
3
|
-
tag: string;
|
|
4
|
-
category: string;
|
|
5
|
-
stylesPanelSections: string[];
|
|
6
|
-
layout: {
|
|
7
|
-
width: string;
|
|
8
|
-
paddingLeft?: undefined;
|
|
9
|
-
paddingRight?: undefined;
|
|
10
|
-
borderBottomWidth?: undefined;
|
|
11
|
-
borderStyle?: undefined;
|
|
12
|
-
paddingTop?: undefined;
|
|
13
|
-
paddingBottom?: undefined;
|
|
14
|
-
backgroundColor?: undefined;
|
|
15
|
-
fontSize?: undefined;
|
|
16
|
-
};
|
|
17
|
-
props: {
|
|
18
|
-
numeric?: undefined;
|
|
19
|
-
value?: undefined;
|
|
20
|
-
isAscending?: undefined;
|
|
21
|
-
numberOfLines?: undefined;
|
|
22
|
-
};
|
|
23
|
-
} | {
|
|
24
|
-
name: string;
|
|
25
|
-
tag: string;
|
|
26
|
-
category: string;
|
|
27
|
-
stylesPanelSections: string[];
|
|
28
|
-
layout: {
|
|
29
|
-
paddingLeft: number;
|
|
30
|
-
paddingRight: number;
|
|
31
|
-
borderBottomWidth: number;
|
|
32
|
-
borderStyle: string;
|
|
33
|
-
width?: undefined;
|
|
34
|
-
paddingTop?: undefined;
|
|
35
|
-
paddingBottom?: undefined;
|
|
36
|
-
backgroundColor?: undefined;
|
|
37
|
-
fontSize?: undefined;
|
|
38
|
-
};
|
|
39
|
-
props: {
|
|
40
|
-
numeric?: undefined;
|
|
41
|
-
value?: undefined;
|
|
42
|
-
isAscending?: undefined;
|
|
43
|
-
numberOfLines?: undefined;
|
|
44
|
-
};
|
|
45
|
-
} | {
|
|
46
|
-
name: string;
|
|
47
|
-
tag: string;
|
|
48
|
-
category: string;
|
|
49
|
-
layout: {
|
|
50
|
-
paddingTop: number;
|
|
51
|
-
paddingBottom: number;
|
|
52
|
-
paddingLeft: number;
|
|
53
|
-
paddingRight: number;
|
|
54
|
-
width?: undefined;
|
|
55
|
-
borderBottomWidth?: undefined;
|
|
56
|
-
borderStyle?: undefined;
|
|
57
|
-
backgroundColor?: undefined;
|
|
58
|
-
fontSize?: undefined;
|
|
59
|
-
};
|
|
60
|
-
stylesPanelSections: string[];
|
|
61
|
-
props: {
|
|
62
|
-
numeric: {
|
|
63
|
-
label: string;
|
|
64
|
-
description: string;
|
|
65
|
-
formType: string;
|
|
66
|
-
propType: string;
|
|
67
|
-
defaultValue: boolean;
|
|
68
|
-
editable: boolean;
|
|
69
|
-
required: boolean;
|
|
70
|
-
group: string;
|
|
71
|
-
};
|
|
72
|
-
value: any;
|
|
73
|
-
isAscending?: undefined;
|
|
74
|
-
numberOfLines?: undefined;
|
|
75
|
-
};
|
|
76
|
-
} | {
|
|
77
|
-
name: string;
|
|
78
|
-
tag: string;
|
|
79
|
-
category: string;
|
|
80
|
-
stylesPanelSections: string[];
|
|
81
|
-
layout: {
|
|
82
|
-
paddingLeft: number;
|
|
83
|
-
paddingRight: number;
|
|
84
|
-
borderBottomWidth: number;
|
|
85
|
-
borderStyle: string;
|
|
86
|
-
backgroundColor: string;
|
|
87
|
-
width?: undefined;
|
|
88
|
-
paddingTop?: undefined;
|
|
89
|
-
paddingBottom?: undefined;
|
|
90
|
-
fontSize?: undefined;
|
|
91
|
-
};
|
|
92
|
-
props: {
|
|
93
|
-
numeric?: undefined;
|
|
94
|
-
value?: undefined;
|
|
95
|
-
isAscending?: undefined;
|
|
96
|
-
numberOfLines?: undefined;
|
|
97
|
-
};
|
|
98
|
-
} | {
|
|
99
|
-
name: string;
|
|
100
|
-
tag: string;
|
|
101
|
-
category: string;
|
|
102
|
-
stylesPanelSections: string[];
|
|
103
|
-
layout: {
|
|
104
|
-
fontSize: number;
|
|
105
|
-
paddingTop: number;
|
|
106
|
-
paddingBottom: number;
|
|
107
|
-
paddingLeft: number;
|
|
108
|
-
paddingRight: number;
|
|
109
|
-
width?: undefined;
|
|
110
|
-
borderBottomWidth?: undefined;
|
|
111
|
-
borderStyle?: undefined;
|
|
112
|
-
backgroundColor?: undefined;
|
|
113
|
-
};
|
|
114
|
-
props: {
|
|
115
|
-
numeric: {
|
|
116
|
-
label: string;
|
|
117
|
-
description: string;
|
|
118
|
-
formType: string;
|
|
119
|
-
propType: string;
|
|
120
|
-
defaultValue: boolean;
|
|
121
|
-
editable: boolean;
|
|
122
|
-
required: boolean;
|
|
123
|
-
group: string;
|
|
124
|
-
};
|
|
125
|
-
value: any;
|
|
126
|
-
isAscending: {
|
|
127
|
-
label: string;
|
|
128
|
-
description: string;
|
|
129
|
-
formType: string;
|
|
130
|
-
propType: string;
|
|
131
|
-
defaultValue: boolean;
|
|
132
|
-
editable: boolean;
|
|
133
|
-
required: boolean;
|
|
134
|
-
group: string;
|
|
135
|
-
};
|
|
136
|
-
numberOfLines: {
|
|
137
|
-
label: string;
|
|
138
|
-
description: string;
|
|
139
|
-
formType: string;
|
|
140
|
-
propType: string;
|
|
141
|
-
group: string;
|
|
142
|
-
defaultValue: null;
|
|
143
|
-
editable: boolean;
|
|
144
|
-
required: boolean;
|
|
145
|
-
step: number;
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
})[];
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { View, StyleSheet } from "react-native";
|
|
3
|
-
const Table = ({ children, style, ...rest }) => (React.createElement(View, { ...rest, style: [styles.wrapper, style] }, children));
|
|
4
|
-
const styles = StyleSheet.create({
|
|
5
|
-
wrapper: {
|
|
6
|
-
display: "flex",
|
|
7
|
-
flexDirection: "column",
|
|
8
|
-
},
|
|
9
|
-
});
|
|
10
|
-
export default Table;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { View, StyleProp, ViewStyle, StyleSheet } from "react-native";
|
|
3
|
-
|
|
4
|
-
export interface TableProps {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
style?: StyleProp<ViewStyle>;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
const Table = ({ children, style, ...rest }: TableProps) => (
|
|
10
|
-
<View {...rest} style={[styles.wrapper, style]}>
|
|
11
|
-
{children}
|
|
12
|
-
</View>
|
|
13
|
-
);
|
|
14
|
-
|
|
15
|
-
const styles = StyleSheet.create({
|
|
16
|
-
wrapper: {
|
|
17
|
-
display: "flex",
|
|
18
|
-
flexDirection: "column",
|
|
19
|
-
},
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
export default Table;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { View, Text, StyleSheet } from "react-native";
|
|
3
|
-
import { extractStyles } from "../../utilities";
|
|
4
|
-
const TableCell = ({ children, style, numeric, value, ...rest }) => {
|
|
5
|
-
const { textStyles, viewStyles } = extractStyles(style);
|
|
6
|
-
return (React.createElement(View, { ...rest, style: [styles.wrapper, numeric && styles.right, viewStyles] },
|
|
7
|
-
React.createElement(Text, { numberOfLines: 1, style: textStyles },
|
|
8
|
-
children,
|
|
9
|
-
value)));
|
|
10
|
-
};
|
|
11
|
-
const styles = StyleSheet.create({
|
|
12
|
-
wrapper: {
|
|
13
|
-
flex: 1,
|
|
14
|
-
display: "flex",
|
|
15
|
-
flexDirection: "row",
|
|
16
|
-
},
|
|
17
|
-
right: {
|
|
18
|
-
justifyContent: "flex-end",
|
|
19
|
-
},
|
|
20
|
-
});
|
|
21
|
-
export default TableCell;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { View, Text, StyleProp, ViewStyle, StyleSheet } from "react-native";
|
|
3
|
-
import { extractStyles } from "../../utilities";
|
|
4
|
-
|
|
5
|
-
export interface TableCellProps {
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
numeric?: boolean;
|
|
8
|
-
style?: StyleProp<ViewStyle>;
|
|
9
|
-
value: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
const TableCell = ({
|
|
13
|
-
children,
|
|
14
|
-
style,
|
|
15
|
-
numeric,
|
|
16
|
-
value,
|
|
17
|
-
...rest
|
|
18
|
-
}: TableCellProps) => {
|
|
19
|
-
const { textStyles, viewStyles } = extractStyles(style);
|
|
20
|
-
return (
|
|
21
|
-
<View
|
|
22
|
-
{...rest}
|
|
23
|
-
style={[styles.wrapper, numeric && styles.right, viewStyles]}
|
|
24
|
-
>
|
|
25
|
-
<Text numberOfLines={1} style={textStyles}>
|
|
26
|
-
{children}
|
|
27
|
-
{value}
|
|
28
|
-
</Text>
|
|
29
|
-
</View>
|
|
30
|
-
);
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
const styles = StyleSheet.create({
|
|
34
|
-
wrapper: {
|
|
35
|
-
flex: 1,
|
|
36
|
-
display: "flex",
|
|
37
|
-
flexDirection: "row",
|
|
38
|
-
},
|
|
39
|
-
right: {
|
|
40
|
-
justifyContent: "flex-end",
|
|
41
|
-
},
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
export default TableCell;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { View, StyleSheet } from "react-native";
|
|
3
|
-
import { withTheme } from "../../theming";
|
|
4
|
-
const TableHeader = ({ children, style, theme, ...rest }) => (React.createElement(View, { ...rest, style: [styles.wrapper, { borderBottomColor: theme.colors.medium }, style] }, children));
|
|
5
|
-
const styles = StyleSheet.create({
|
|
6
|
-
wrapper: {
|
|
7
|
-
display: "flex",
|
|
8
|
-
flexDirection: "row",
|
|
9
|
-
},
|
|
10
|
-
});
|
|
11
|
-
export default withTheme(TableHeader);
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { View, StyleProp, ViewStyle, StyleSheet } from "react-native";
|
|
3
|
-
import { Theme } from "../../styles/DefaultTheme";
|
|
4
|
-
import { withTheme } from "../../theming";
|
|
5
|
-
|
|
6
|
-
export interface TableHeaderProps {
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
style?: StyleProp<ViewStyle>;
|
|
9
|
-
theme: Theme;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
const TableHeader = ({ children, style, theme, ...rest }: TableHeaderProps) => (
|
|
13
|
-
<View
|
|
14
|
-
{...rest}
|
|
15
|
-
style={[styles.wrapper, { borderBottomColor: theme.colors.medium }, style]}
|
|
16
|
-
>
|
|
17
|
-
{children}
|
|
18
|
-
</View>
|
|
19
|
-
);
|
|
20
|
-
|
|
21
|
-
const styles = StyleSheet.create({
|
|
22
|
-
wrapper: {
|
|
23
|
-
display: "flex",
|
|
24
|
-
flexDirection: "row",
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
export default withTheme(TableHeader);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { View, StyleSheet } from "react-native";
|
|
3
|
-
import { withTheme } from "../../theming";
|
|
4
|
-
const TableRow = ({ children, style, theme, ...rest }) => (React.createElement(View, { ...rest, style: [styles.container, { borderBottomColor: theme.colors.light }, style] },
|
|
5
|
-
React.createElement(View, { style: styles.content }, children)));
|
|
6
|
-
const styles = StyleSheet.create({
|
|
7
|
-
container: {
|
|
8
|
-
display: "flex",
|
|
9
|
-
flexDirection: "row",
|
|
10
|
-
},
|
|
11
|
-
content: {
|
|
12
|
-
flex: 1,
|
|
13
|
-
flexDirection: "row",
|
|
14
|
-
},
|
|
15
|
-
});
|
|
16
|
-
export default withTheme(TableRow);
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { View, StyleProp, ViewStyle, StyleSheet } from "react-native";
|
|
3
|
-
import { Theme } from "../../styles/DefaultTheme";
|
|
4
|
-
import { withTheme } from "../../theming";
|
|
5
|
-
export interface TableRowProps {
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
style?: StyleProp<ViewStyle>;
|
|
8
|
-
theme: Theme;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
const TableRow = ({ children, style, theme, ...rest }: TableRowProps) => (
|
|
12
|
-
<View
|
|
13
|
-
{...rest}
|
|
14
|
-
style={[styles.container, { borderBottomColor: theme.colors.light }, style]}
|
|
15
|
-
>
|
|
16
|
-
<View style={styles.content}>{children}</View>
|
|
17
|
-
</View>
|
|
18
|
-
);
|
|
19
|
-
|
|
20
|
-
const styles = StyleSheet.create({
|
|
21
|
-
container: {
|
|
22
|
-
display: "flex",
|
|
23
|
-
flexDirection: "row",
|
|
24
|
-
},
|
|
25
|
-
content: {
|
|
26
|
-
flex: 1,
|
|
27
|
-
flexDirection: "row",
|
|
28
|
-
},
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
export default withTheme(TableRow);
|