@draftbit/core 50.1.2 → 50.1.3-13d35c.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 -1
- package/lib/commonjs/components/AccordionGroup.js +1 -1
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
- package/lib/commonjs/components/Button.js +1 -1
- package/lib/commonjs/components/Checkbox/Checkbox.js +1 -1
- package/lib/commonjs/components/Checkbox/CheckboxRow.js +1 -1
- package/lib/commonjs/components/DatePicker/DatePicker.js +1 -1
- package/lib/commonjs/components/DatePicker/DatePickerComponent.web.js +1 -1
- package/lib/commonjs/components/DeckSwiper/DeckSwiperCard.js +1 -1
- package/lib/commonjs/components/Divider.js +1 -1
- package/lib/commonjs/components/Elevation.js +1 -1
- package/lib/commonjs/components/IconButton.js +1 -1
- package/lib/commonjs/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.js +1 -1
- package/lib/commonjs/components/MediaPlayer/AudioPlayer/index.js +1 -1
- package/lib/commonjs/components/Picker/NativePicker.js +1 -1
- package/lib/commonjs/components/Picker/dropdown/DropDownModalPicker.js +1 -1
- package/lib/commonjs/components/Picker/dropdown/DropDownPicker.js +1 -1
- package/lib/commonjs/components/Picker/dropdown/MultiSelectPicker.js +1 -1
- package/lib/commonjs/components/Picker/index.js +1 -1
- package/lib/commonjs/components/PinInput/PinInput.js +1 -1
- package/lib/commonjs/components/PinInput/PinInputText.js +1 -1
- package/lib/commonjs/components/Portal/Portal.js +1 -1
- package/lib/commonjs/components/Progress/CircularProgress/CircularProgress.js +1 -1
- package/lib/commonjs/components/Progress/CircularProgress/index.js +1 -1
- package/lib/commonjs/components/Progress/LinearProgress/LinearProgress.js +1 -1
- package/lib/commonjs/components/Progress/LinearProgress/index.js +1 -1
- package/lib/commonjs/components/ProgressIndicator.js +1 -1
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js +1 -1
- package/lib/commonjs/components/Row.js +1 -1
- package/lib/commonjs/components/ScreenContainer.js +1 -1
- package/lib/commonjs/components/SectionList/SectionHeader.js +1 -1
- package/lib/commonjs/components/Slider.js +1 -1
- package/lib/commonjs/components/StarRating.js +1 -1
- package/lib/commonjs/components/Stepper.js +1 -1
- package/lib/commonjs/components/Surface.js +1 -1
- package/lib/commonjs/components/SwipeableItem/SwipeableItem.js +1 -1
- package/lib/commonjs/components/Swiper/Swiper.js +1 -1
- package/lib/commonjs/components/Switch.js +1 -1
- package/lib/commonjs/components/TabView/TabView.js +1 -1
- package/lib/commonjs/components/Table/Table.js +1 -1
- package/lib/commonjs/components/Table/TableRow.js +1 -1
- package/lib/commonjs/components/Text.js +1 -1
- package/lib/commonjs/components/TextField.js +1 -1
- package/lib/commonjs/components/TextInput.js +1 -1
- package/lib/commonjs/components/Typography.js +1 -1
- package/lib/commonjs/deprecated-components/AccordionItem.js +1 -1
- package/lib/commonjs/deprecated-components/AvatarEdit.js +1 -1
- package/lib/commonjs/deprecated-components/Banner.js +1 -1
- package/lib/commonjs/deprecated-components/Card.js +1 -1
- package/lib/commonjs/deprecated-components/Container.js +1 -1
- package/lib/commonjs/deprecated-components/DeprecatedButton.js +1 -1
- package/lib/commonjs/deprecated-components/DeprecatedCardWrapper.js +1 -1
- package/lib/commonjs/deprecated-components/DeprecatedFAB.js +1 -1
- package/lib/commonjs/deprecated-components/FAB.js +1 -1
- package/lib/commonjs/deprecated-components/FieldSearchBarFull.js +1 -1
- package/lib/commonjs/deprecated-components/ProgressCircle.js +1 -1
- package/lib/commonjs/deprecated-components/RadioButtonFieldGroup.js +1 -1
- package/lib/commonjs/deprecated-components/RowBodyIcon.js +1 -1
- package/lib/commonjs/deprecated-components/RowHeadlineImageCaption.js +1 -1
- package/lib/commonjs/deprecated-components/RowHeadlineImageIcon.js +1 -1
- package/lib/commonjs/deprecated-components/ToggleButton.js +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/typescript/src/Provider.d.ts +7 -5
- package/lib/typescript/src/Provider.js +4 -4
- package/lib/typescript/src/Provider.js.map +1 -1
- package/lib/typescript/src/components/AccordionGroup.d.ts +3 -5
- package/lib/typescript/src/components/AccordionGroup.js +3 -3
- package/lib/typescript/src/components/AccordionGroup.js.map +1 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts +3 -5
- package/lib/typescript/src/components/BottomSheet/BottomSheet.js +4 -4
- package/lib/typescript/src/components/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/typescript/src/components/Button.js +8 -6
- package/lib/typescript/src/components/Button.js.map +1 -1
- package/lib/typescript/src/components/Checkbox/Checkbox.js +3 -3
- package/lib/typescript/src/components/Checkbox/Checkbox.js.map +1 -1
- package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts +4 -2
- package/lib/typescript/src/components/Checkbox/CheckboxRow.js +4 -3
- package/lib/typescript/src/components/Checkbox/CheckboxRow.js.map +1 -1
- package/lib/typescript/src/components/DatePicker/DatePicker.d.ts +3 -5
- package/lib/typescript/src/components/DatePicker/DatePicker.js +24 -23
- package/lib/typescript/src/components/DatePicker/DatePicker.js.map +1 -1
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.d.ts +4 -12654
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.js +8 -6
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.js.map +1 -1
- package/lib/typescript/src/components/DatePicker/DatePickerComponentType.d.ts +2 -2
- package/lib/typescript/src/components/DeckSwiper/DeckSwiperCard.d.ts +3 -5
- package/lib/typescript/src/components/DeckSwiper/DeckSwiperCard.js +3 -3
- package/lib/typescript/src/components/DeckSwiper/DeckSwiperCard.js.map +1 -1
- package/lib/typescript/src/components/Divider.d.ts +3 -5
- package/lib/typescript/src/components/Divider.js +2 -2
- package/lib/typescript/src/components/Divider.js.map +1 -1
- package/lib/typescript/src/components/Elevation.d.ts +3 -5
- package/lib/typescript/src/components/Elevation.js +3 -4
- package/lib/typescript/src/components/Elevation.js.map +1 -1
- package/lib/typescript/src/components/FormRow.d.ts +1 -2
- package/lib/typescript/src/components/FormRow.js.map +1 -1
- package/lib/typescript/src/components/IconButton.d.ts +3 -5
- package/lib/typescript/src/components/IconButton.js +2 -2
- package/lib/typescript/src/components/IconButton.js.map +1 -1
- package/lib/typescript/src/components/MediaPlayer/AudioPlayer/AudioPlayerCommon.d.ts +0 -2
- package/lib/typescript/src/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.d.ts +5 -4
- package/lib/typescript/src/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.js +10 -13
- package/lib/typescript/src/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.js.map +1 -1
- package/lib/typescript/src/components/MediaPlayer/AudioPlayer/index.d.ts +2 -4
- package/lib/typescript/src/components/MediaPlayer/AudioPlayer/index.js +1 -3
- package/lib/typescript/src/components/MediaPlayer/AudioPlayer/index.js.map +1 -1
- package/lib/typescript/src/components/Picker/NativePicker.d.ts +1 -3
- package/lib/typescript/src/components/Picker/NativePicker.js +5 -2
- package/lib/typescript/src/components/Picker/NativePicker.js.map +1 -1
- package/lib/typescript/src/components/Picker/PickerCommon.d.ts +2 -2
- package/lib/typescript/src/components/Picker/dropdown/DropDownModalPicker.d.ts +1 -3
- package/lib/typescript/src/components/Picker/dropdown/DropDownModalPicker.js +2 -2
- package/lib/typescript/src/components/Picker/dropdown/DropDownModalPicker.js.map +1 -1
- package/lib/typescript/src/components/Picker/dropdown/DropDownPicker.d.ts +1 -3
- package/lib/typescript/src/components/Picker/dropdown/DropDownPicker.js +2 -2
- package/lib/typescript/src/components/Picker/dropdown/DropDownPicker.js.map +1 -1
- package/lib/typescript/src/components/Picker/dropdown/MultiSelectPicker.d.ts +1 -3
- package/lib/typescript/src/components/Picker/dropdown/MultiSelectPicker.js +1 -1
- package/lib/typescript/src/components/Picker/dropdown/MultiSelectPicker.js.map +1 -1
- package/lib/typescript/src/components/Picker/index.d.ts +1 -3
- package/lib/typescript/src/components/Picker/index.js +1 -1
- package/lib/typescript/src/components/Picker/index.js.map +1 -1
- package/lib/typescript/src/components/PinInput/PinInput.d.ts +3 -5
- package/lib/typescript/src/components/PinInput/PinInput.js +4 -4
- package/lib/typescript/src/components/PinInput/PinInput.js.map +1 -1
- package/lib/typescript/src/components/PinInput/PinInputText.d.ts +3 -5
- package/lib/typescript/src/components/PinInput/PinInputText.js +2 -2
- package/lib/typescript/src/components/PinInput/PinInputText.js.map +1 -1
- package/lib/typescript/src/components/Portal/Portal.d.ts +1 -9
- package/lib/typescript/src/components/Portal/Portal.js +3 -5
- package/lib/typescript/src/components/Portal/Portal.js.map +1 -1
- package/lib/typescript/src/components/Progress/CircularProgress/CircularProgress.js +1 -1
- package/lib/typescript/src/components/Progress/CircularProgress/CircularProgress.js.map +1 -1
- package/lib/typescript/src/components/Progress/CircularProgress/index.d.ts +1 -3
- package/lib/typescript/src/components/Progress/CircularProgress/index.js +1 -1
- package/lib/typescript/src/components/Progress/CircularProgress/index.js.map +1 -1
- package/lib/typescript/src/components/Progress/LinearProgress/LinearProgress.js +1 -1
- package/lib/typescript/src/components/Progress/LinearProgress/LinearProgress.js.map +1 -1
- package/lib/typescript/src/components/Progress/LinearProgress/index.d.ts +1 -3
- package/lib/typescript/src/components/Progress/LinearProgress/index.js +1 -1
- package/lib/typescript/src/components/Progress/LinearProgress/index.js.map +1 -1
- package/lib/typescript/src/components/Progress/ProgressCommon.d.ts +2 -2
- package/lib/typescript/src/components/ProgressIndicator.d.ts +10 -13
- package/lib/typescript/src/components/ProgressIndicator.js +1 -1
- package/lib/typescript/src/components/ProgressIndicator.js.map +1 -1
- package/lib/typescript/src/components/RadioButton/RadioButtonGroup.d.ts +2 -2
- package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts +4 -2
- package/lib/typescript/src/components/RadioButton/RadioButtonRow.js +4 -3
- package/lib/typescript/src/components/RadioButton/RadioButtonRow.js.map +1 -1
- package/lib/typescript/src/components/Row.d.ts +3 -5
- package/lib/typescript/src/components/Row.js +1 -1
- package/lib/typescript/src/components/Row.js.map +1 -1
- package/lib/typescript/src/components/ScreenContainer.d.ts +3 -6
- package/lib/typescript/src/components/ScreenContainer.js +2 -2
- package/lib/typescript/src/components/ScreenContainer.js.map +1 -1
- package/lib/typescript/src/components/SectionList/SectionHeader.d.ts +3 -5
- package/lib/typescript/src/components/SectionList/SectionHeader.js +3 -3
- package/lib/typescript/src/components/SectionList/SectionHeader.js.map +1 -1
- package/lib/typescript/src/components/Slider.d.ts +3 -6
- package/lib/typescript/src/components/Slider.js +6 -6
- package/lib/typescript/src/components/Slider.js.map +1 -1
- package/lib/typescript/src/components/StarRating.d.ts +3 -5
- package/lib/typescript/src/components/StarRating.js +1 -1
- package/lib/typescript/src/components/StarRating.js.map +1 -1
- package/lib/typescript/src/components/Stepper.d.ts +3 -5
- package/lib/typescript/src/components/Stepper.js +3 -2
- package/lib/typescript/src/components/Stepper.js.map +1 -1
- package/lib/typescript/src/components/Surface.d.ts +3 -5
- package/lib/typescript/src/components/Surface.js +3 -10
- package/lib/typescript/src/components/Surface.js.map +1 -1
- package/lib/typescript/src/components/SwipeableItem/SwipeableItem.d.ts +3 -5
- package/lib/typescript/src/components/SwipeableItem/SwipeableItem.js +10 -5
- package/lib/typescript/src/components/SwipeableItem/SwipeableItem.js.map +1 -1
- package/lib/typescript/src/components/Swiper/Swiper.d.ts +4 -2
- package/lib/typescript/src/components/Swiper/Swiper.js +3 -2
- package/lib/typescript/src/components/Swiper/Swiper.js.map +1 -1
- package/lib/typescript/src/components/Switch.d.ts +7 -24
- package/lib/typescript/src/components/Switch.js +3 -4
- package/lib/typescript/src/components/Switch.js.map +1 -1
- package/lib/typescript/src/components/TabView/TabView.d.ts +3 -5
- package/lib/typescript/src/components/TabView/TabView.js +4 -4
- package/lib/typescript/src/components/TabView/TabView.js.map +1 -1
- package/lib/typescript/src/components/Table/Table.d.ts +3 -5
- package/lib/typescript/src/components/Table/Table.js +2 -2
- package/lib/typescript/src/components/Table/Table.js.map +1 -1
- package/lib/typescript/src/components/Table/TableRow.d.ts +3 -5
- package/lib/typescript/src/components/Table/TableRow.js +4 -2
- package/lib/typescript/src/components/Table/TableRow.js.map +1 -1
- package/lib/typescript/src/components/Text.d.ts +3 -9
- package/lib/typescript/src/components/Text.js +2 -2
- package/lib/typescript/src/components/Text.js.map +1 -1
- package/lib/typescript/src/components/TextField.d.ts +4 -41
- package/lib/typescript/src/components/TextField.js +22 -20
- package/lib/typescript/src/components/TextField.js.map +1 -1
- package/lib/typescript/src/components/TextInput.js +3 -0
- package/lib/typescript/src/components/TextInput.js.map +1 -1
- package/lib/typescript/src/components/Typography.d.ts +5 -11
- package/lib/typescript/src/components/Typography.js +4 -4
- package/lib/typescript/src/components/Typography.js.map +1 -1
- package/lib/typescript/src/deprecated-components/AccordionItem.d.ts +3 -5
- package/lib/typescript/src/deprecated-components/AccordionItem.js +2 -2
- package/lib/typescript/src/deprecated-components/AccordionItem.js.map +1 -1
- package/lib/typescript/src/deprecated-components/AvatarEdit.d.ts +3 -5
- package/lib/typescript/src/deprecated-components/AvatarEdit.js +4 -4
- package/lib/typescript/src/deprecated-components/AvatarEdit.js.map +1 -1
- package/lib/typescript/src/deprecated-components/Banner.d.ts +3 -5
- package/lib/typescript/src/deprecated-components/Banner.js +4 -5
- package/lib/typescript/src/deprecated-components/Banner.js.map +1 -1
- package/lib/typescript/src/deprecated-components/Card.d.ts +6 -18
- package/lib/typescript/src/deprecated-components/Card.js +3 -3
- package/lib/typescript/src/deprecated-components/Card.js.map +1 -1
- package/lib/typescript/src/deprecated-components/CheckboxGroup.d.ts +2 -2
- package/lib/typescript/src/deprecated-components/Container.d.ts +3 -5
- package/lib/typescript/src/deprecated-components/Container.js +1 -1
- package/lib/typescript/src/deprecated-components/Container.js.map +1 -1
- package/lib/typescript/src/deprecated-components/DeprecatedButton.d.ts +3 -5
- package/lib/typescript/src/deprecated-components/DeprecatedButton.js +8 -8
- package/lib/typescript/src/deprecated-components/DeprecatedButton.js.map +1 -1
- package/lib/typescript/src/deprecated-components/DeprecatedCardWrapper.d.ts +3 -5
- package/lib/typescript/src/deprecated-components/DeprecatedCardWrapper.js +1 -1
- package/lib/typescript/src/deprecated-components/DeprecatedCardWrapper.js.map +1 -1
- package/lib/typescript/src/deprecated-components/DeprecatedFAB.d.ts +3 -5
- package/lib/typescript/src/deprecated-components/DeprecatedFAB.js +8 -8
- package/lib/typescript/src/deprecated-components/DeprecatedFAB.js.map +1 -1
- package/lib/typescript/src/deprecated-components/FAB.d.ts +3 -8
- package/lib/typescript/src/deprecated-components/FAB.js +2 -2
- package/lib/typescript/src/deprecated-components/FAB.js.map +1 -1
- package/lib/typescript/src/deprecated-components/FieldSearchBarFull.d.ts +3 -5
- package/lib/typescript/src/deprecated-components/FieldSearchBarFull.js +4 -4
- package/lib/typescript/src/deprecated-components/FieldSearchBarFull.js.map +1 -1
- package/lib/typescript/src/deprecated-components/ProgressCircle.d.ts +5 -8
- package/lib/typescript/src/deprecated-components/ProgressCircle.js +3 -3
- package/lib/typescript/src/deprecated-components/ProgressCircle.js.map +1 -1
- package/lib/typescript/src/deprecated-components/RadioButtonFieldGroup.d.ts +1 -3
- package/lib/typescript/src/deprecated-components/RadioButtonFieldGroup.js +1 -1
- package/lib/typescript/src/deprecated-components/RadioButtonFieldGroup.js.map +1 -1
- package/lib/typescript/src/deprecated-components/RowBodyIcon.d.ts +3 -5
- package/lib/typescript/src/deprecated-components/RowBodyIcon.js +2 -2
- package/lib/typescript/src/deprecated-components/RowBodyIcon.js.map +1 -1
- package/lib/typescript/src/deprecated-components/RowHeadlineImageCaption.d.ts +3 -5
- package/lib/typescript/src/deprecated-components/RowHeadlineImageCaption.js +3 -3
- package/lib/typescript/src/deprecated-components/RowHeadlineImageCaption.js.map +1 -1
- package/lib/typescript/src/deprecated-components/RowHeadlineImageIcon.d.ts +3 -5
- package/lib/typescript/src/deprecated-components/RowHeadlineImageIcon.js +3 -3
- package/lib/typescript/src/deprecated-components/RowHeadlineImageIcon.js.map +1 -1
- package/lib/typescript/src/deprecated-components/ToggleButton.d.ts +6 -9
- package/lib/typescript/src/deprecated-components/ToggleButton.js +5 -5
- package/lib/typescript/src/deprecated-components/ToggleButton.js.map +1 -1
- package/lib/typescript/src/index.d.ts +0 -2
- package/lib/typescript/src/index.js +0 -2
- package/lib/typescript/src/index.js.map +1 -1
- package/lib/typescript/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/Provider.js +4 -4
- package/src/Provider.js.map +1 -1
- package/src/Provider.tsx +15 -12
- package/src/components/AccordionGroup.js +3 -3
- package/src/components/AccordionGroup.js.map +1 -1
- package/src/components/AccordionGroup.tsx +5 -5
- package/src/components/BottomSheet/BottomSheet.js +4 -4
- package/src/components/BottomSheet/BottomSheet.js.map +1 -1
- package/src/components/BottomSheet/BottomSheet.tsx +7 -7
- package/src/components/Button.js +8 -6
- package/src/components/Button.js.map +1 -1
- package/src/components/Button.tsx +10 -10
- package/src/components/Checkbox/Checkbox.js +3 -3
- package/src/components/Checkbox/Checkbox.js.map +1 -1
- package/src/components/Checkbox/Checkbox.tsx +3 -3
- package/src/components/Checkbox/CheckboxRow.js +4 -3
- package/src/components/Checkbox/CheckboxRow.js.map +1 -1
- package/src/components/Checkbox/CheckboxRow.tsx +9 -2
- package/src/components/DatePicker/DatePicker.js +24 -23
- package/src/components/DatePicker/DatePicker.js.map +1 -1
- package/src/components/DatePicker/DatePicker.tsx +25 -24
- package/src/components/DatePicker/DatePickerComponent.web.js +8 -6
- package/src/components/DatePicker/DatePickerComponent.web.js.map +1 -1
- package/src/components/DatePicker/DatePickerComponent.web.tsx +15 -8
- package/src/components/DatePicker/DatePickerComponentType.ts +2 -3
- package/src/components/DeckSwiper/DeckSwiperCard.js +3 -3
- package/src/components/DeckSwiper/DeckSwiperCard.js.map +1 -1
- package/src/components/DeckSwiper/DeckSwiperCard.tsx +5 -5
- package/src/components/Divider.js +2 -2
- package/src/components/Divider.js.map +1 -1
- package/src/components/Divider.tsx +4 -4
- package/src/components/Elevation.js +3 -4
- package/src/components/Elevation.js.map +1 -1
- package/src/components/Elevation.tsx +5 -6
- package/src/components/FormRow.js.map +1 -1
- package/src/components/FormRow.tsx +1 -2
- package/src/components/IconButton.js +2 -2
- package/src/components/IconButton.js.map +1 -1
- package/src/components/IconButton.tsx +4 -4
- package/src/components/MediaPlayer/AudioPlayer/AudioPlayerCommon.ts +0 -2
- package/src/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.js +10 -13
- package/src/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.js.map +1 -1
- package/src/components/MediaPlayer/AudioPlayer/AudioPlayerWithInterface.tsx +19 -19
- package/src/components/MediaPlayer/AudioPlayer/index.js +1 -3
- package/src/components/MediaPlayer/AudioPlayer/index.js.map +1 -1
- package/src/components/MediaPlayer/AudioPlayer/index.tsx +1 -3
- package/src/components/Picker/NativePicker.js +5 -2
- package/src/components/Picker/NativePicker.js.map +1 -1
- package/src/components/Picker/NativePicker.tsx +5 -2
- package/src/components/Picker/PickerCommon.ts +2 -2
- package/src/components/Picker/dropdown/DropDownModalPicker.js +2 -2
- package/src/components/Picker/dropdown/DropDownModalPicker.js.map +1 -1
- package/src/components/Picker/dropdown/DropDownModalPicker.tsx +5 -5
- package/src/components/Picker/dropdown/DropDownPicker.js +2 -2
- package/src/components/Picker/dropdown/DropDownPicker.js.map +1 -1
- package/src/components/Picker/dropdown/DropDownPicker.tsx +5 -5
- package/src/components/Picker/dropdown/MultiSelectPicker.js +1 -1
- package/src/components/Picker/dropdown/MultiSelectPicker.js.map +1 -1
- package/src/components/Picker/dropdown/MultiSelectPicker.tsx +1 -1
- package/src/components/Picker/index.js +1 -1
- package/src/components/Picker/index.js.map +1 -1
- package/src/components/Picker/index.tsx +1 -1
- package/src/components/PinInput/PinInput.js +4 -4
- package/src/components/PinInput/PinInput.js.map +1 -1
- package/src/components/PinInput/PinInput.tsx +6 -6
- package/src/components/PinInput/PinInputText.js +2 -2
- package/src/components/PinInput/PinInputText.js.map +1 -1
- package/src/components/PinInput/PinInputText.tsx +4 -4
- package/src/components/Portal/Portal.js +3 -5
- package/src/components/Portal/Portal.js.map +1 -1
- package/src/components/Portal/Portal.tsx +3 -10
- package/src/components/Progress/CircularProgress/CircularProgress.js +1 -1
- package/src/components/Progress/CircularProgress/CircularProgress.js.map +1 -1
- package/src/components/Progress/CircularProgress/CircularProgress.tsx +2 -2
- package/src/components/Progress/CircularProgress/index.js +1 -1
- package/src/components/Progress/CircularProgress/index.js.map +1 -1
- package/src/components/Progress/CircularProgress/index.tsx +1 -1
- 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 +2 -2
- package/src/components/Progress/LinearProgress/index.js +1 -1
- package/src/components/Progress/LinearProgress/index.js.map +1 -1
- package/src/components/Progress/LinearProgress/index.tsx +1 -1
- package/src/components/Progress/ProgressCommon.ts +2 -2
- package/src/components/ProgressIndicator.js +1 -1
- package/src/components/ProgressIndicator.js.map +1 -1
- package/src/components/ProgressIndicator.tsx +10 -11
- package/src/components/RadioButton/RadioButtonGroup.tsx +2 -2
- package/src/components/RadioButton/RadioButtonRow.js +4 -3
- package/src/components/RadioButton/RadioButtonRow.js.map +1 -1
- package/src/components/RadioButton/RadioButtonRow.tsx +9 -2
- package/src/components/Row.js +1 -1
- package/src/components/Row.js.map +1 -1
- package/src/components/Row.tsx +3 -3
- package/src/components/ScreenContainer.js +2 -2
- package/src/components/ScreenContainer.js.map +1 -1
- package/src/components/ScreenContainer.tsx +4 -4
- package/src/components/SectionList/SectionHeader.js +3 -3
- package/src/components/SectionList/SectionHeader.js.map +1 -1
- package/src/components/SectionList/SectionHeader.tsx +5 -5
- package/src/components/Slider.js +6 -6
- package/src/components/Slider.js.map +1 -1
- package/src/components/Slider.tsx +8 -8
- package/src/components/StarRating.js +1 -1
- package/src/components/StarRating.js.map +1 -1
- package/src/components/StarRating.tsx +3 -3
- package/src/components/Stepper.js +3 -2
- package/src/components/Stepper.js.map +1 -1
- package/src/components/Stepper.tsx +5 -4
- package/src/components/Surface.js +3 -10
- package/src/components/Surface.js.map +1 -1
- package/src/components/Surface.tsx +5 -12
- package/src/components/SwipeableItem/SwipeableItem.js +10 -5
- package/src/components/SwipeableItem/SwipeableItem.js.map +1 -1
- package/src/components/SwipeableItem/SwipeableItem.tsx +13 -7
- package/src/components/Swiper/Swiper.js +3 -2
- package/src/components/Swiper/Swiper.js.map +1 -1
- package/src/components/Swiper/Swiper.tsx +6 -3
- package/src/components/Switch.js +3 -4
- package/src/components/Switch.js.map +1 -1
- package/src/components/Switch.tsx +7 -7
- package/src/components/TabView/TabView.js +4 -4
- package/src/components/TabView/TabView.js.map +1 -1
- package/src/components/TabView/TabView.tsx +7 -7
- package/src/components/Table/Table.js +2 -2
- package/src/components/Table/Table.js.map +1 -1
- package/src/components/Table/Table.tsx +4 -4
- package/src/components/Table/TableRow.js +4 -2
- package/src/components/Table/TableRow.js.map +1 -1
- package/src/components/Table/TableRow.tsx +6 -4
- package/src/components/Text.js +2 -2
- package/src/components/Text.js.map +1 -1
- package/src/components/Text.tsx +4 -4
- package/src/components/TextField.js +22 -20
- package/src/components/TextField.js.map +1 -1
- package/src/components/TextField.tsx +26 -23
- package/src/components/TextInput.js +3 -0
- package/src/components/TextInput.js.map +1 -1
- package/src/components/TextInput.tsx +3 -0
- package/src/components/Typography.js +4 -4
- package/src/components/Typography.js.map +1 -1
- package/src/components/Typography.tsx +6 -6
- package/src/deprecated-components/AccordionItem.js +2 -2
- package/src/deprecated-components/AccordionItem.js.map +1 -1
- package/src/deprecated-components/AccordionItem.tsx +4 -4
- package/src/deprecated-components/AvatarEdit.js +4 -4
- package/src/deprecated-components/AvatarEdit.js.map +1 -1
- package/src/deprecated-components/AvatarEdit.tsx +6 -6
- package/src/deprecated-components/Banner.js +4 -5
- package/src/deprecated-components/Banner.js.map +1 -1
- package/src/deprecated-components/Banner.tsx +6 -10
- package/src/deprecated-components/Card.js +3 -3
- package/src/deprecated-components/Card.js.map +1 -1
- package/src/deprecated-components/Card.tsx +10 -6
- package/src/deprecated-components/CheckboxGroup.tsx +2 -2
- package/src/deprecated-components/Container.js +1 -1
- package/src/deprecated-components/Container.js.map +1 -1
- package/src/deprecated-components/Container.tsx +3 -3
- package/src/deprecated-components/DeprecatedButton.js +8 -8
- package/src/deprecated-components/DeprecatedButton.js.map +1 -1
- package/src/deprecated-components/DeprecatedButton.tsx +10 -10
- package/src/deprecated-components/DeprecatedCardWrapper.js +1 -1
- package/src/deprecated-components/DeprecatedCardWrapper.js.map +1 -1
- package/src/deprecated-components/DeprecatedCardWrapper.tsx +3 -3
- package/src/deprecated-components/DeprecatedFAB.js +8 -8
- package/src/deprecated-components/DeprecatedFAB.js.map +1 -1
- package/src/deprecated-components/DeprecatedFAB.tsx +10 -10
- package/src/deprecated-components/FAB.js +2 -2
- package/src/deprecated-components/FAB.js.map +1 -1
- package/src/deprecated-components/FAB.tsx +4 -4
- package/src/deprecated-components/FieldSearchBarFull.js +4 -4
- package/src/deprecated-components/FieldSearchBarFull.js.map +1 -1
- package/src/deprecated-components/FieldSearchBarFull.tsx +6 -6
- package/src/deprecated-components/ProgressCircle.js +3 -3
- package/src/deprecated-components/ProgressCircle.js.map +1 -1
- package/src/deprecated-components/ProgressCircle.tsx +7 -8
- package/src/deprecated-components/RadioButtonFieldGroup.js +1 -1
- package/src/deprecated-components/RadioButtonFieldGroup.js.map +1 -1
- package/src/deprecated-components/RadioButtonFieldGroup.tsx +1 -1
- package/src/deprecated-components/RowBodyIcon.js +2 -2
- package/src/deprecated-components/RowBodyIcon.js.map +1 -1
- package/src/deprecated-components/RowBodyIcon.tsx +6 -6
- package/src/deprecated-components/RowHeadlineImageCaption.js +3 -3
- package/src/deprecated-components/RowHeadlineImageCaption.js.map +1 -1
- package/src/deprecated-components/RowHeadlineImageCaption.tsx +6 -6
- package/src/deprecated-components/RowHeadlineImageIcon.js +3 -3
- package/src/deprecated-components/RowHeadlineImageIcon.js.map +1 -1
- package/src/deprecated-components/RowHeadlineImageIcon.tsx +6 -6
- package/src/deprecated-components/ToggleButton.js +5 -5
- package/src/deprecated-components/ToggleButton.js.map +1 -1
- package/src/deprecated-components/ToggleButton.tsx +12 -11
- package/src/index.js +0 -2
- package/src/index.js.map +1 -1
- package/src/index.tsx +0 -2
- package/lib/commonjs/styles/DarkTheme.js +0 -1
- package/lib/commonjs/styles/DefaultTheme.js +0 -1
- package/lib/commonjs/styles/fonts.js +0 -1
- package/lib/commonjs/styles/overlay.js +0 -1
- package/lib/commonjs/styles/shadow.js +0 -1
- package/lib/commonjs/theming.js +0 -1
- package/lib/typescript/src/styles/DarkTheme.d.ts +0 -3
- package/lib/typescript/src/styles/DarkTheme.js +0 -27
- package/lib/typescript/src/styles/DarkTheme.js.map +0 -1
- package/lib/typescript/src/styles/DefaultTheme.d.ts +0 -4218
- package/lib/typescript/src/styles/DefaultTheme.js +0 -112
- package/lib/typescript/src/styles/DefaultTheme.js.map +0 -1
- package/lib/typescript/src/styles/fonts.d.ts +0 -5
- package/lib/typescript/src/styles/fonts.js +0 -63
- package/lib/typescript/src/styles/fonts.js.map +0 -1
- package/lib/typescript/src/styles/overlay.d.ts +0 -2
- package/lib/typescript/src/styles/overlay.js +0 -61
- package/lib/typescript/src/styles/overlay.js.map +0 -1
- package/lib/typescript/src/styles/shadow.d.ts +0 -23
- package/lib/typescript/src/styles/shadow.js +0 -52
- package/lib/typescript/src/styles/shadow.js.map +0 -1
- package/lib/typescript/src/theming.d.ts +0 -8
- package/lib/typescript/src/theming.js +0 -4
- package/lib/typescript/src/theming.js.map +0 -1
- package/src/styles/DarkTheme.js +0 -27
- package/src/styles/DarkTheme.js.map +0 -1
- package/src/styles/DarkTheme.tsx +0 -30
- package/src/styles/DefaultTheme.js +0 -112
- package/src/styles/DefaultTheme.js.map +0 -1
- package/src/styles/DefaultTheme.tsx +0 -114
- package/src/styles/fonts.js +0 -63
- package/src/styles/fonts.js.map +0 -1
- package/src/styles/fonts.tsx +0 -67
- package/src/styles/overlay.js +0 -61
- package/src/styles/overlay.js.map +0 -1
- package/src/styles/overlay.tsx +0 -69
- package/src/styles/shadow.js +0 -52
- package/src/styles/shadow.js.map +0 -1
- package/src/styles/shadow.tsx +0 -55
- package/src/theming.js +0 -4
- package/src/theming.js.map +0 -1
- package/src/theming.tsx +0 -6
|
@@ -13,9 +13,9 @@ import color from "color";
|
|
|
13
13
|
import Config from "../components/Config";
|
|
14
14
|
import Text from "../components/Text";
|
|
15
15
|
import Elevation from "../components/Elevation";
|
|
16
|
-
import { withTheme } from "
|
|
16
|
+
import { withTheme } from "@draftbit/theme";
|
|
17
17
|
|
|
18
|
-
import type {
|
|
18
|
+
import type { ReadTheme } from "@draftbit/theme";
|
|
19
19
|
import type { IconSlot } from "../interfaces/Icon";
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -63,7 +63,7 @@ type Props = {
|
|
|
63
63
|
label?: string;
|
|
64
64
|
onPress: () => void;
|
|
65
65
|
elevation?: number;
|
|
66
|
-
theme:
|
|
66
|
+
theme: ReadTheme;
|
|
67
67
|
style?: StyleProp<ViewStyle>;
|
|
68
68
|
} & PressableProps &
|
|
69
69
|
IconSlot;
|
|
@@ -82,25 +82,25 @@ const FAB: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
82
82
|
onPress,
|
|
83
83
|
elevation = 0,
|
|
84
84
|
style,
|
|
85
|
-
theme: { colors,
|
|
85
|
+
theme: { colors, typography },
|
|
86
86
|
...rest
|
|
87
87
|
}) => {
|
|
88
88
|
let backgroundColor, borderColor, textColor, borderWidth;
|
|
89
|
-
const buttonColor = colorOverride || colors.primary;
|
|
89
|
+
const buttonColor = colorOverride || colors.branding.primary;
|
|
90
90
|
|
|
91
91
|
if (type === "standard" || type === "extended" || type === "fixed") {
|
|
92
92
|
backgroundColor = buttonColor;
|
|
93
93
|
|
|
94
94
|
if (disabled) {
|
|
95
|
-
textColor = color(colors.
|
|
95
|
+
textColor = color(colors.background.brand).alpha(0.5).rgb().string();
|
|
96
96
|
} else {
|
|
97
|
-
textColor = colors.
|
|
97
|
+
textColor = colors.background.brand;
|
|
98
98
|
}
|
|
99
99
|
} else {
|
|
100
100
|
backgroundColor = "transparent";
|
|
101
101
|
|
|
102
102
|
if (disabled) {
|
|
103
|
-
textColor = color(buttonColor).alpha(
|
|
103
|
+
textColor = color(buttonColor).alpha(0.5).rgb().string();
|
|
104
104
|
} else {
|
|
105
105
|
textColor = buttonColor;
|
|
106
106
|
}
|
|
@@ -108,7 +108,7 @@ const FAB: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
108
108
|
|
|
109
109
|
if (type === "outline") {
|
|
110
110
|
if (disabled) {
|
|
111
|
-
borderColor = color(buttonColor).alpha(
|
|
111
|
+
borderColor = color(buttonColor).alpha(0.5).rgb().string();
|
|
112
112
|
} else {
|
|
113
113
|
borderColor = buttonColor;
|
|
114
114
|
}
|
|
@@ -122,7 +122,7 @@ const FAB: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
122
122
|
backgroundColor,
|
|
123
123
|
borderColor,
|
|
124
124
|
borderWidth,
|
|
125
|
-
borderRadius:
|
|
125
|
+
borderRadius: 8,
|
|
126
126
|
alignItems: "center",
|
|
127
127
|
justifyContent: "center",
|
|
128
128
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { View, StyleSheet, Pressable, ActivityIndicator, Platform, } from "react-native";
|
|
3
|
-
import { withTheme } from "
|
|
3
|
+
import { withTheme } from "@draftbit/theme";
|
|
4
4
|
/**
|
|
5
5
|
* @deprecated DEPRECATED
|
|
6
6
|
*/
|
|
7
7
|
const FAB = ({ onPress, disabled, loading, iconName = "MaterialIcons/add", style, theme, iconColor, bgColor, size = 50, Icon, ...props }) => {
|
|
8
|
-
const backgroundColor = bgColor || theme.colors.primary;
|
|
8
|
+
const backgroundColor = bgColor || theme.colors.branding.primary;
|
|
9
9
|
const color = iconColor || "#FFF";
|
|
10
10
|
return (React.createElement(View, { style: [
|
|
11
11
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FAB.js","sourceRoot":"","sources":["FAB.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,IAAI,EACJ,UAAU,EACV,SAAS,EACT,iBAAiB,EAIjB,QAAQ,GACT,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"FAB.js","sourceRoot":"","sources":["FAB.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,IAAI,EACJ,UAAU,EACV,SAAS,EACT,iBAAiB,EAIjB,QAAQ,GACT,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAiB5C;;GAEG;AACH,MAAM,GAAG,GAA6C,CAAC,EACrD,OAAO,EACP,QAAQ,EACR,OAAO,EACP,QAAQ,GAAG,mBAAmB,EAC9B,KAAK,EACL,KAAK,EACL,SAAS,EACT,OAAO,EACP,IAAI,GAAG,EAAE,EACT,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,eAAe,GAAG,OAAO,IAAI,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC;IACjE,MAAM,KAAK,GAAG,SAAS,IAAI,MAAM,CAAC;IAElC,OAAO,CACL,oBAAC,IAAI,IACH,KAAK,EAAE;YACL;gBACE,KAAK,EAAE,IAAI;gBACX,MAAM,EAAE,IAAI;gBACZ,YAAY,EAAE,IAAI,GAAG,CAAC;gBACtB,QAAQ,EAAE,QAAQ;aACnB;YACD,KAAK;SACN;QAED,oBAAC,SAAS,IACR,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,OAAO,IAAI,QAAQ,EAC7B,cAAc,EAAE;gBACd,KAA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9
|
PressableProps,
|
|
10
10
|
Platform,
|
|
11
11
|
} from "react-native";
|
|
12
|
-
import { withTheme } from "
|
|
13
|
-
import type {
|
|
12
|
+
import { withTheme } from "@draftbit/theme";
|
|
13
|
+
import type { ReadTheme } from "@draftbit/theme";
|
|
14
14
|
import type { IconSlot } from "../interfaces/Icon";
|
|
15
15
|
|
|
16
16
|
type Props = {
|
|
@@ -21,7 +21,7 @@ type Props = {
|
|
|
21
21
|
iconColor?: string;
|
|
22
22
|
iconName?: string;
|
|
23
23
|
onPress: () => void;
|
|
24
|
-
theme:
|
|
24
|
+
theme: ReadTheme;
|
|
25
25
|
style?: StyleProp<ViewStyle>;
|
|
26
26
|
} & PressableProps &
|
|
27
27
|
IconSlot;
|
|
@@ -42,7 +42,7 @@ const FAB: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
42
42
|
Icon,
|
|
43
43
|
...props
|
|
44
44
|
}) => {
|
|
45
|
-
const backgroundColor = bgColor || theme.colors.primary;
|
|
45
|
+
const backgroundColor = bgColor || theme.colors.branding.primary;
|
|
46
46
|
const color = iconColor || "#FFF";
|
|
47
47
|
|
|
48
48
|
return (
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { View, TextInput, StyleSheet, } from "react-native";
|
|
3
|
-
import { withTheme } from "
|
|
3
|
+
import { withTheme } from "@draftbit/theme";
|
|
4
4
|
import Config from "../components/Config";
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated DEPRECATED
|
|
@@ -38,11 +38,11 @@ const FieldSearchBarFull = ({ showIcon, Icon, icon = "search", placeholder = "",
|
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
return (React.createElement(View, { style: [styles.container, style] },
|
|
41
|
-
showIcon && (React.createElement(Icon, { name: icon, size: Config.fieldSearchBarFullIconSize, color: focused ? colors.primary : colors.
|
|
41
|
+
showIcon && (React.createElement(Icon, { name: icon, size: Config.fieldSearchBarFullIconSize, color: focused ? colors.branding.primary : colors.foreground.brand })),
|
|
42
42
|
React.createElement(View, { style: { marginLeft: showIcon ? 12 : 0, flex: 1 } },
|
|
43
|
-
React.createElement(TextInput, { clearButtonMode: "while-editing", placeholder: placeholder, value: internalValue, onBlur: onBlur, onFocus: onFocus, onChangeText: handleChangeText, onSubmitEditing: onSubmit, placeholderTextColor: colors.
|
|
43
|
+
React.createElement(TextInput, { clearButtonMode: "while-editing", placeholder: placeholder, value: internalValue, onBlur: onBlur, onFocus: onFocus, onChangeText: handleChangeText, onSubmitEditing: onSubmit, placeholderTextColor: colors.foreground.brand, style: [
|
|
44
44
|
{
|
|
45
|
-
color: colors.medium,
|
|
45
|
+
color: colors.text.medium,
|
|
46
46
|
},
|
|
47
47
|
typeStyles,
|
|
48
48
|
] }))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldSearchBarFull.js","sourceRoot":"","sources":["FieldSearchBarFull.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,IAAI,EACJ,SAAS,EACT,UAAU,GAKX,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"FieldSearchBarFull.js","sourceRoot":"","sources":["FieldSearchBarFull.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,IAAI,EACJ,SAAS,EACT,UAAU,GAKX,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAc1C;;GAEG;AACH,MAAM,kBAAkB,GAA6C,CAAC,EACpE,QAAQ,EACR,IAAI,EACJ,IAAI,GAAG,QAAQ,EACf,WAAW,GAAG,EAAE,EAChB,KAAK,EACL,KAAK,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,EAC7B,QAAQ,EAAE,cAA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|
10
10
|
} from "react-native";
|
|
11
|
-
import { withTheme } from "
|
|
12
|
-
import type {
|
|
11
|
+
import { withTheme } from "@draftbit/theme";
|
|
12
|
+
import type { ReadTheme } from "@draftbit/theme";
|
|
13
13
|
import type { IconSlot } from "../interfaces/Icon";
|
|
14
14
|
import Config from "../components/Config";
|
|
15
15
|
|
|
@@ -18,7 +18,7 @@ type Props = {
|
|
|
18
18
|
icon?: string;
|
|
19
19
|
placeholder?: string;
|
|
20
20
|
style?: StyleProp<ViewStyle>;
|
|
21
|
-
theme:
|
|
21
|
+
theme: ReadTheme;
|
|
22
22
|
onChange?: (text: string) => void;
|
|
23
23
|
onSubmit?: (e: NativeSyntheticEvent<TextInputSubmitEditingEventData>) => void;
|
|
24
24
|
value?: string;
|
|
@@ -94,7 +94,7 @@ const FieldSearchBarFull: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
94
94
|
<Icon
|
|
95
95
|
name={icon}
|
|
96
96
|
size={Config.fieldSearchBarFullIconSize}
|
|
97
|
-
color={focused ? colors.primary : colors.
|
|
97
|
+
color={focused ? colors.branding.primary : colors.foreground.brand}
|
|
98
98
|
/>
|
|
99
99
|
)}
|
|
100
100
|
<View style={{ marginLeft: showIcon ? 12 : 0, flex: 1 }}>
|
|
@@ -106,10 +106,10 @@ const FieldSearchBarFull: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
106
106
|
onFocus={onFocus}
|
|
107
107
|
onChangeText={handleChangeText}
|
|
108
108
|
onSubmitEditing={onSubmit}
|
|
109
|
-
placeholderTextColor={colors.
|
|
109
|
+
placeholderTextColor={colors.foreground.brand}
|
|
110
110
|
style={[
|
|
111
111
|
{
|
|
112
|
-
color: colors.medium,
|
|
112
|
+
color: colors.text.medium,
|
|
113
113
|
},
|
|
114
114
|
typeStyles,
|
|
115
115
|
]}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Text } from "react-native";
|
|
3
3
|
import AnimatedCircularProgress from "./AnimatedCircularProgress";
|
|
4
|
-
import { withTheme } from "
|
|
4
|
+
import { withTheme } from "@draftbit/theme";
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated DEPRECATED
|
|
7
7
|
*/
|
|
8
8
|
const ProgressCircle = ({ progress = 0.5, style, color = "primary", size = 100, showsText = true, unfilledColor, strokeCap = "butt", textStyle, thickness = 1, theme, }) => {
|
|
9
9
|
const progressNum = Math.round(progress * 100);
|
|
10
|
-
const tintColor = color || theme.colors.primary;
|
|
11
|
-
const backgroundColor = unfilledColor || theme.colors.secondary;
|
|
10
|
+
const tintColor = color || theme.colors.branding.primary;
|
|
11
|
+
const backgroundColor = unfilledColor || theme.colors.branding.secondary;
|
|
12
12
|
return (React.createElement(AnimatedCircularProgress, { size: size, width: thickness, backgroundWidth: thickness, fill: progressNum, tintColor: tintColor, backgroundColor: backgroundColor, rotation: 0, lineCap: strokeCap, style: style }, (fill) => showsText ? (React.createElement(Text, { style: [{ fontSize: size * 0.275, color: tintColor }, textStyle] },
|
|
13
13
|
Math.round(fill),
|
|
14
14
|
"%")) : null));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressCircle.js","sourceRoot":"","sources":["ProgressCircle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAmC,MAAM,cAAc,CAAC;AACrE,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ProgressCircle.js","sourceRoot":"","sources":["ProgressCircle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAmC,MAAM,cAAc,CAAC;AACrE,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAgB5C;;GAEG;AACH,MAAM,cAAc,GAA6C,CAAC,EAChE,QAAQ,GAAG,GAAG,EACd,KAAK,EACL,KAAK,GAAG,SAAS,EACjB,IAAI,GAAG,GAAG,EACV,SAAS,GAAG,IAAI,EAChB,aAAa,EACb,SAAS,GAAG,MAAM,EAClB,SAAS,EACT,SAAS,GAAG,CAAC,EACb,KAAK,GACN,EAAE,EAAE;IACH,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC;IAE/C,MAAM,SAAS,GAAG,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC;IACzD,MAAM,eAAe,GAAG,aAAa,IAAI,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC;IAEzE,OAAO,CACL,oBAAC,wBAAwB,IACvB,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,SAAS,EAChB,eAAe,EAAE,SAAS,EAC1B,IAAI,EAAE,WAAW,EACjB,SAAS,EAAE,SAAS,EACpB,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,CAAC,EACX,OAAO,EAAE,SAAS,EAClB,KAAK,EAAE,KAAK,IAGX,CAAC,IAAI,EAAE,EAAE,CACR,SAAS,CAAC,CAAC,CAAC,CACV,oBAAC,IAAI,IACH,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,GAAG,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,SAAS,CAAC;QAE/D,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;YACZ,CACR,CAAC,CAAC,CAAC,IAAI,CAEe,CAC5B,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC,cAAc,CAAC,CAAC"}
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Text, StyleProp, ViewStyle, TextStyle } from "react-native";
|
|
3
3
|
import AnimatedCircularProgress from "./AnimatedCircularProgress";
|
|
4
|
-
import { withTheme } from "
|
|
5
|
-
import
|
|
6
|
-
import { colorTypes } from "@draftbit/types";
|
|
4
|
+
import { withTheme } from "@draftbit/theme";
|
|
5
|
+
import type { ReadTheme } from "@draftbit/theme";
|
|
7
6
|
|
|
8
7
|
type Props = {
|
|
9
8
|
progress?: number;
|
|
10
9
|
style?: StyleProp<ViewStyle>;
|
|
11
|
-
color?:
|
|
10
|
+
color?: string;
|
|
12
11
|
size?: number;
|
|
13
12
|
showsText?: boolean;
|
|
14
|
-
unfilledColor?:
|
|
13
|
+
unfilledColor?: string;
|
|
15
14
|
strokeCap?: "butt" | "square" | "round" | undefined;
|
|
16
15
|
textStyle?: StyleProp<TextStyle>;
|
|
17
16
|
thickness?: number;
|
|
18
|
-
theme:
|
|
17
|
+
theme: ReadTheme;
|
|
19
18
|
};
|
|
20
19
|
|
|
21
20
|
/**
|
|
@@ -35,8 +34,8 @@ const ProgressCircle: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
35
34
|
}) => {
|
|
36
35
|
const progressNum = Math.round(progress * 100);
|
|
37
36
|
|
|
38
|
-
const tintColor = color || theme.colors.primary;
|
|
39
|
-
const backgroundColor = unfilledColor || theme.colors.secondary;
|
|
37
|
+
const tintColor = color || theme.colors.branding.primary;
|
|
38
|
+
const backgroundColor = unfilledColor || theme.colors.branding.secondary;
|
|
40
39
|
|
|
41
40
|
return (
|
|
42
41
|
<AnimatedCircularProgress
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
3
|
import Text from "../components/Text";
|
|
4
|
-
import { withTheme } from "
|
|
4
|
+
import { withTheme } from "@draftbit/theme";
|
|
5
5
|
import RadioButtonGroup from "../components/RadioButton/RadioButtonGroup";
|
|
6
6
|
/**
|
|
7
7
|
* @deprecated DEPRECATED
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButtonFieldGroup.js","sourceRoot":"","sources":["RadioButtonFieldGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAmC,MAAM,cAAc,CAAC;AACrE,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"RadioButtonFieldGroup.js","sourceRoot":"","sources":["RadioButtonFieldGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAmC,MAAM,cAAc,CAAC;AACrE,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,gBAEN,MAAM,4CAA4C,CAAC;AAQpD;;GAEG;AACH,MAAM,qBAAqB,GAA6C,CAAC,EACvE,KAAK,EACL,QAAQ,EACR,KAAK,EACL,UAAU,EACV,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,oBAAC,IAAI,IAAC,KAAK,EAAE,KAAK;QAChB,oBAAC,IAAI,IACH,KAAK,EAAE;gBACL;oBACE,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,QAAQ;oBAC7C,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,KAAK;iBACxC;gBACD,UAAU;aACX,IAEA,KAAK,CACD;QACP,oBAAC,gBAAgB,IAAC,KAAK,EAAE,KAAK,KAAM,IAAI,IACrC,QAAQ,CACQ,CACd,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC,qBAAqB,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { View, StyleProp, TextStyle, ViewStyle } from "react-native";
|
|
3
3
|
import Text from "../components/Text";
|
|
4
|
-
import { withTheme } from "
|
|
4
|
+
import { withTheme } from "@draftbit/theme";
|
|
5
5
|
import RadioButtonGroup, {
|
|
6
6
|
RadioButtonGroupProps,
|
|
7
7
|
} from "../components/RadioButton/RadioButtonGroup";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { withTheme } from "
|
|
2
|
+
import { withTheme } from "@draftbit/theme";
|
|
3
3
|
import Row from "../components/Row";
|
|
4
4
|
import Config from "../components/Config";
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated DEPRECATED
|
|
7
7
|
*/
|
|
8
8
|
const RowBodyIcon = ({ Icon, title, subtitle, icon, style, theme: { colors, typography }, }) => {
|
|
9
|
-
return (React.createElement(Row, { titleTypeStyle: typography.body1, titleColor: colors.medium, subtitleTypeStyle: typography.subtitle2, subtitleColor: colors.
|
|
9
|
+
return (React.createElement(Row, { titleTypeStyle: typography.body1, titleColor: colors.text.medium, subtitleTypeStyle: typography.subtitle2, subtitleColor: colors.foreground.brand, title: title, subtitle: subtitle, right: () => (React.createElement(Icon, { name: icon, size: Config.rowSingleLineIconSize, color: colors.foreground.brand, style: { marginLeft: 16 } })), style: style }));
|
|
10
10
|
};
|
|
11
11
|
export default withTheme(RowBodyIcon);
|
|
12
12
|
//# sourceMappingURL=RowBodyIcon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RowBodyIcon.js","sourceRoot":"","sources":["RowBodyIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"RowBodyIcon.js","sourceRoot":"","sources":["RowBodyIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAI5C,OAAO,GAAG,MAAM,mBAAmB,CAAC;AACpC,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAW1C;;GAEG;AACH,MAAM,WAAW,GAA6C,CAAC,EAC7D,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,KAAK,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,GAC9B,EAAE,EAAE;IACH,OAAO,CACL,oBAAC,GAAG,IACF,cAAc,EAAE,UAAU,CAAC,KAAK,EAChC,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAC9B,iBAAiB,EAAE,UAAU,CAAC,SAAS,EACvC,aAAa,EAAE,MAAM,CAAC,UAAU,CAAC,KAAK,EACtC,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,GAAG,EAAE,CAAC,CACX,oBAAC,IAAI,IACH,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,MAAM,CAAC,qBAAqB,EAClC,KAAK,EAAE,MAAM,CAAC,UAAU,CAAC,KAAK,EAC9B,KAAK,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,GACzB,CACH,EACD,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC,WAAW,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { withTheme } from "
|
|
3
|
-
import type {
|
|
2
|
+
import { withTheme } from "@draftbit/theme";
|
|
3
|
+
import type { ReadTheme } from "@draftbit/theme";
|
|
4
4
|
import type { IconSlot } from "../interfaces/Icon";
|
|
5
5
|
|
|
6
6
|
import Row from "../components/Row";
|
|
@@ -12,7 +12,7 @@ type Props = {
|
|
|
12
12
|
subtitle?: string;
|
|
13
13
|
icon: string;
|
|
14
14
|
style?: StyleProp<ViewStyle>;
|
|
15
|
-
theme:
|
|
15
|
+
theme: ReadTheme;
|
|
16
16
|
} & IconSlot;
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -29,16 +29,16 @@ const RowBodyIcon: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
29
29
|
return (
|
|
30
30
|
<Row
|
|
31
31
|
titleTypeStyle={typography.body1}
|
|
32
|
-
titleColor={colors.medium}
|
|
32
|
+
titleColor={colors.text.medium}
|
|
33
33
|
subtitleTypeStyle={typography.subtitle2}
|
|
34
|
-
subtitleColor={colors.
|
|
34
|
+
subtitleColor={colors.foreground.brand}
|
|
35
35
|
title={title}
|
|
36
36
|
subtitle={subtitle}
|
|
37
37
|
right={() => (
|
|
38
38
|
<Icon
|
|
39
39
|
name={icon}
|
|
40
40
|
size={Config.rowSingleLineIconSize}
|
|
41
|
-
color={colors.
|
|
41
|
+
color={colors.foreground.brand}
|
|
42
42
|
style={{ marginLeft: 16 }}
|
|
43
43
|
/>
|
|
44
44
|
)}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Text } from "react-native";
|
|
3
|
-
import { withTheme } from "
|
|
3
|
+
import { withTheme } from "@draftbit/theme";
|
|
4
4
|
import Row from "../components/Row";
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated DEPRECATED
|
|
7
7
|
*/
|
|
8
8
|
const RowHeadlineImageCaption = ({ title, subtitle, caption, image, style, theme: { colors, typography }, }) => {
|
|
9
|
-
return (React.createElement(Row, { titleTypeStyle: typography.headline6, titleColor: colors.strong, subtitleTypeStyle: typography.body2, subtitleColor: colors.medium, title: title, subtitle: subtitle, image: image, right: () => (React.createElement(Text, { style: {
|
|
9
|
+
return (React.createElement(Row, { titleTypeStyle: typography.headline6, titleColor: colors.text.strong, subtitleTypeStyle: typography.body2, subtitleColor: colors.text.medium, title: title, subtitle: subtitle, image: image, right: () => (React.createElement(Text, { style: {
|
|
10
10
|
...typography.caption,
|
|
11
|
-
color: colors.strong,
|
|
11
|
+
color: colors.text.strong,
|
|
12
12
|
marginLeft: 16,
|
|
13
13
|
} }, caption)), style: style }));
|
|
14
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RowHeadlineImageCaption.js","sourceRoot":"","sources":["RowHeadlineImageCaption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAA6C,MAAM,cAAc,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"RowHeadlineImageCaption.js","sourceRoot":"","sources":["RowHeadlineImageCaption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAA6C,MAAM,cAAc,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,GAAG,MAAM,mBAAmB,CAAC;AAYpC;;GAEG;AACH,MAAM,uBAAuB,GAA6C,CAAC,EACzE,KAAK,EACL,QAAQ,EACR,OAAO,EACP,KAAK,EACL,KAAK,EACL,KAAK,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,GAC9B,EAAE,EAAE;IACH,OAAO,CACL,oBAAC,GAAG,IACF,cAAc,EAAE,UAAU,CAAC,SAAS,EACpC,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAC9B,iBAAiB,EAAE,UAAU,CAAC,KAAK,EACnC,aAAa,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EACjC,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,GAAG,EAAE,CAAC,CACX,oBAAC,IAAI,IACH,KAAK,EAAE;gBACL,GAAG,UAAU,CAAC,OAAO;gBACrB,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM;gBACzB,UAAU,EAAE,EAAE;aACf,IAEA,OAAO,CACH,CACR,EACD,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC,uBAAuB,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Text, ImageSourcePropType, StyleProp, ViewStyle } from "react-native";
|
|
3
|
-
import { withTheme } from "
|
|
3
|
+
import { withTheme } from "@draftbit/theme";
|
|
4
4
|
import Row from "../components/Row";
|
|
5
|
-
import
|
|
5
|
+
import type { ReadTheme } from "@draftbit/theme";
|
|
6
6
|
|
|
7
7
|
type Props = {
|
|
8
8
|
title?: string;
|
|
@@ -10,7 +10,7 @@ type Props = {
|
|
|
10
10
|
caption?: string;
|
|
11
11
|
image: string | ImageSourcePropType;
|
|
12
12
|
style?: StyleProp<ViewStyle>;
|
|
13
|
-
theme:
|
|
13
|
+
theme: ReadTheme;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -27,9 +27,9 @@ const RowHeadlineImageCaption: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
27
27
|
return (
|
|
28
28
|
<Row
|
|
29
29
|
titleTypeStyle={typography.headline6}
|
|
30
|
-
titleColor={colors.strong}
|
|
30
|
+
titleColor={colors.text.strong}
|
|
31
31
|
subtitleTypeStyle={typography.body2}
|
|
32
|
-
subtitleColor={colors.medium}
|
|
32
|
+
subtitleColor={colors.text.medium}
|
|
33
33
|
title={title}
|
|
34
34
|
subtitle={subtitle}
|
|
35
35
|
image={image}
|
|
@@ -37,7 +37,7 @@ const RowHeadlineImageCaption: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
37
37
|
<Text
|
|
38
38
|
style={{
|
|
39
39
|
...typography.caption,
|
|
40
|
-
color: colors.strong,
|
|
40
|
+
color: colors.text.strong,
|
|
41
41
|
marginLeft: 16,
|
|
42
42
|
}}
|
|
43
43
|
>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { withTheme } from "
|
|
2
|
+
import { withTheme } from "@draftbit/theme";
|
|
3
3
|
import Row from "../components/Row";
|
|
4
4
|
import Config from "../components/Config";
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated DEPRECATED
|
|
7
7
|
*/
|
|
8
8
|
const RowHeadlineImageIcon = ({ Icon, icon, title, image, subtitle, multilineSubtitle = false, style, theme: { colors, typography }, }) => {
|
|
9
|
-
return (React.createElement(Row, { titleTypeStyle: typography.headline6, titleColor: colors.strong, subtitleTypeStyle: typography.body2, subtitleColor: colors.medium, title: title, subtitle: subtitle, multilineSubtitle: multilineSubtitle, image: image, right: () => (React.createElement(Icon, { name: icon, size: multilineSubtitle
|
|
9
|
+
return (React.createElement(Row, { titleTypeStyle: typography.headline6, titleColor: colors.text.strong, subtitleTypeStyle: typography.body2, subtitleColor: colors.text.medium, title: title, subtitle: subtitle, multilineSubtitle: multilineSubtitle, image: image, right: () => (React.createElement(Icon, { name: icon, size: multilineSubtitle
|
|
10
10
|
? Config.rowMultiLineIconSize
|
|
11
|
-
: Config.rowSingleLineIconSize, color: colors.light, style: {
|
|
11
|
+
: Config.rowSingleLineIconSize, color: colors.text.light, style: {
|
|
12
12
|
marginLeft: 16,
|
|
13
13
|
alignSelf: multilineSubtitle ? "flex-start" : "center",
|
|
14
14
|
marginTop: multilineSubtitle ? 4 : 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RowHeadlineImageIcon.js","sourceRoot":"","sources":["RowHeadlineImageIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"RowHeadlineImageIcon.js","sourceRoot":"","sources":["RowHeadlineImageIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAI5C,OAAO,GAAG,MAAM,mBAAmB,CAAC;AACpC,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAa1C;;GAEG;AACH,MAAM,oBAAoB,GAA6C,CAAC,EACtE,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,KAAK,EACL,QAAQ,EACR,iBAAiB,GAAG,KAAK,EACzB,KAAK,EACL,KAAK,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,GAC9B,EAAE,EAAE;IACH,OAAO,CACL,oBAAC,GAAG,IACF,cAAc,EAAE,UAAU,CAAC,SAAS,EACpC,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAC9B,iBAAiB,EAAE,UAAU,CAAC,KAAK,EACnC,aAAa,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EACjC,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,iBAAiB,EAAE,iBAAiB,EACpC,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,GAAG,EAAE,CAAC,CACX,oBAAC,IAAI,IACH,IAAI,EAAE,IAAI,EACV,IAAI,EACF,iBAAiB;gBACf,CAAC,CAAC,MAAM,CAAC,oBAAoB;gBAC7B,CAAC,CAAC,MAAM,CAAC,qBAAqB,EAElC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,EACxB,KAAK,EAAE;gBACL,UAAU,EAAE,EAAE;gBACd,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ;gBACtD,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;aACrC,GACD,CACH,EACD,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC,oBAAoB,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { withTheme } from "
|
|
3
|
-
import type {
|
|
2
|
+
import { withTheme } from "@draftbit/theme";
|
|
3
|
+
import type { ReadTheme } from "@draftbit/theme";
|
|
4
4
|
import type { IconSlot } from "../interfaces/Icon";
|
|
5
5
|
|
|
6
6
|
import Row from "../components/Row";
|
|
@@ -14,7 +14,7 @@ type Props = {
|
|
|
14
14
|
multilineSubtitle?: boolean;
|
|
15
15
|
icon: string;
|
|
16
16
|
style?: StyleProp<ViewStyle>;
|
|
17
|
-
theme:
|
|
17
|
+
theme: ReadTheme;
|
|
18
18
|
} & IconSlot;
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -33,9 +33,9 @@ const RowHeadlineImageIcon: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
33
33
|
return (
|
|
34
34
|
<Row
|
|
35
35
|
titleTypeStyle={typography.headline6}
|
|
36
|
-
titleColor={colors.strong}
|
|
36
|
+
titleColor={colors.text.strong}
|
|
37
37
|
subtitleTypeStyle={typography.body2}
|
|
38
|
-
subtitleColor={colors.medium}
|
|
38
|
+
subtitleColor={colors.text.medium}
|
|
39
39
|
title={title}
|
|
40
40
|
subtitle={subtitle}
|
|
41
41
|
multilineSubtitle={multilineSubtitle}
|
|
@@ -48,7 +48,7 @@ const RowHeadlineImageIcon: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
48
48
|
? Config.rowMultiLineIconSize
|
|
49
49
|
: Config.rowSingleLineIconSize
|
|
50
50
|
}
|
|
51
|
-
color={colors.light}
|
|
51
|
+
color={colors.text.light}
|
|
52
52
|
style={{
|
|
53
53
|
marginLeft: 16,
|
|
54
54
|
alignSelf: multilineSubtitle ? "flex-start" : "center",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { withTheme } from "
|
|
2
|
+
import { withTheme } from "@draftbit/theme";
|
|
3
3
|
import { StyleSheet } from "react-native";
|
|
4
4
|
import IconButton from "../components/IconButton";
|
|
5
5
|
/**
|
|
@@ -21,15 +21,15 @@ const ToggleButton = ({ Icon, icon, toggled = false, onPress = () => { }, defaul
|
|
|
21
21
|
setInternalValue(!internalValue);
|
|
22
22
|
onPress(!internalValue);
|
|
23
23
|
};
|
|
24
|
-
return (React.createElement(IconButton, { Icon: Icon, icon: icon, size: iconSize, color: internalValue ? colors[color] : colors[colorSecondary], onPress: handlePress, disabled: disabled, style: [
|
|
24
|
+
return (React.createElement(IconButton, { Icon: Icon, icon: icon, size: iconSize, color: internalValue ? colors.branding[color] : colors.branding[colorSecondary], onPress: handlePress, disabled: disabled, style: [
|
|
25
25
|
styles.mainContainer,
|
|
26
26
|
{
|
|
27
27
|
width,
|
|
28
28
|
height,
|
|
29
29
|
backgroundColor: internalValue
|
|
30
|
-
? colors[colorSecondary]
|
|
31
|
-
: colors[color],
|
|
32
|
-
borderColor: colors[borderColor],
|
|
30
|
+
? colors.branding[colorSecondary]
|
|
31
|
+
: colors.branding[color],
|
|
32
|
+
borderColor: colors.border[borderColor],
|
|
33
33
|
},
|
|
34
34
|
style,
|
|
35
35
|
], ...rest }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleButton.js","sourceRoot":"","sources":["ToggleButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ToggleButton.js","sourceRoot":"","sources":["ToggleButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAa,UAAU,EAAa,MAAM,cAAc,CAAC;AAChE,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAoBlD;;GAEG;AACH,MAAM,YAAY,GAA6C,CAAC,EAC9D,IAAI,EACJ,IAAI,EACJ,OAAO,GAAG,KAAK,EACf,OAAO,GAAG,GAAG,EAAE,GAAE,CAAC,EAClB,YAAY,EACZ,QAAQ,GAAG,KAAK,EAChB,KAAK,GAAG,SAAS,EACjB,cAAc,GAAG,SAAS,EAC1B,WAAW,GAAG,SAAS,EACvB,QAAQ,GAAG,EAAE,EACb,KAAK,GAAG,EAAE,EACV,MAAM,GAAG,EA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C;aACxC;YACD,KAAK;SACN,KACG,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,aAAa,EAAE;QACb,WAAW,EAAE,CAAC;KACf;CACF,CAAC,CAAC;AAEH,eAAe,SAAS,CAAC,YAAY,CAAC,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { withTheme } from "
|
|
3
|
-
import { colorTypes } from "@draftbit/types";
|
|
2
|
+
import { withTheme } from "@draftbit/theme";
|
|
4
3
|
import { StyleProp, StyleSheet, ViewStyle } from "react-native";
|
|
5
4
|
import IconButton from "../components/IconButton";
|
|
6
|
-
import type {
|
|
5
|
+
import type { ReadTheme } from "@draftbit/theme";
|
|
7
6
|
import type { IconSlot } from "../interfaces/Icon";
|
|
8
7
|
|
|
9
8
|
type Props = {
|
|
@@ -12,14 +11,14 @@ type Props = {
|
|
|
12
11
|
onPress?: (value: boolean) => void;
|
|
13
12
|
defaultValue?: boolean;
|
|
14
13
|
disabled?: boolean;
|
|
15
|
-
color?:
|
|
16
|
-
colorSecondary?:
|
|
17
|
-
borderColor?:
|
|
14
|
+
color?: string;
|
|
15
|
+
colorSecondary?: string;
|
|
16
|
+
borderColor?: string;
|
|
18
17
|
iconSize?: number;
|
|
19
18
|
width?: number;
|
|
20
19
|
height?: number;
|
|
21
20
|
style?: StyleProp<ViewStyle>;
|
|
22
|
-
theme:
|
|
21
|
+
theme: ReadTheme;
|
|
23
22
|
} & IconSlot;
|
|
24
23
|
|
|
25
24
|
/**
|
|
@@ -68,7 +67,9 @@ const ToggleButton: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
68
67
|
Icon={Icon}
|
|
69
68
|
icon={icon}
|
|
70
69
|
size={iconSize}
|
|
71
|
-
color={
|
|
70
|
+
color={
|
|
71
|
+
internalValue ? colors.branding[color] : colors.branding[colorSecondary]
|
|
72
|
+
}
|
|
72
73
|
onPress={handlePress}
|
|
73
74
|
disabled={disabled}
|
|
74
75
|
style={[
|
|
@@ -77,9 +78,9 @@ const ToggleButton: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
77
78
|
width,
|
|
78
79
|
height,
|
|
79
80
|
backgroundColor: internalValue
|
|
80
|
-
? colors[colorSecondary]
|
|
81
|
-
: colors[color],
|
|
82
|
-
borderColor: colors[borderColor],
|
|
81
|
+
? colors.branding[colorSecondary]
|
|
82
|
+
: colors.branding[color],
|
|
83
|
+
borderColor: colors.border[borderColor],
|
|
83
84
|
},
|
|
84
85
|
style,
|
|
85
86
|
]}
|
package/src/index.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export { flattenReactFragments, useDeepCompareEffect, useDeepCompareMemo, } from "./utilities";
|
|
2
2
|
export { injectIcon } from "./interfaces/Icon";
|
|
3
|
-
export { withTheme, ThemeProvider } from "./theming";
|
|
4
3
|
export { default as Provider } from "./Provider";
|
|
5
|
-
export { default as DefaultTheme } from "./styles/DefaultTheme";
|
|
6
4
|
export { Link } from "./components/Text";
|
|
7
5
|
export { Button } from "./components/Button";
|
|
8
6
|
export { Checkbox, CheckboxRow } from "./components/Checkbox";
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,QA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