@momo-kits/foundation 0.154.2-beta.4 → 0.155.1-beta.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/Application/BottomSheet.tsx +15 -10
- package/Application/BottomTab/BottomTabBar.tsx +7 -2
- package/Application/BottomTab/CustomBottomTabItem.tsx +8 -1
- package/Application/Components/HeaderAnimated.tsx +2 -12
- package/Application/Components/HeaderBackground.tsx +7 -3
- package/Application/Components/HeaderExtendHeader.tsx +6 -12
- package/Application/Components/HeaderRight.tsx +0 -9
- package/Application/Components/HeaderTitle.tsx +13 -17
- package/Application/Components/NavigationButton.tsx +0 -9
- package/Application/Components/SearchHeader.tsx +9 -4
- package/Application/Localize.ts +2 -2
- package/Application/StackScreen.tsx +2 -11
- package/Application/index.ts +0 -2
- package/Badge/Badge.tsx +9 -2
- package/Badge/BadgeDot.tsx +15 -5
- package/Badge/BadgeRibbon.tsx +10 -2
- package/Badge/styles.ts +1 -0
- package/Button/index.tsx +7 -8
- package/Button/styles.ts +2 -0
- package/CheckBox/index.tsx +13 -2
- package/CheckBox/styles.ts +5 -4
- package/Icon/index.tsx +15 -2
- package/IconButton/index.tsx +9 -2
- package/IconButton/styles.ts +3 -2
- package/Image/index.tsx +12 -2
- package/Image/styles.ts +3 -1
- package/Input/Input.tsx +15 -2
- package/Input/InputDropDown.tsx +13 -2
- package/Input/InputMoney.tsx +15 -2
- package/Input/InputOTP.tsx +20 -3
- package/Input/InputPhoneNumber.tsx +15 -2
- package/Input/InputSearch.tsx +15 -2
- package/Input/InputTextArea.tsx +12 -10
- package/Input/styles.ts +1 -0
- package/Layout/Card.tsx +5 -1
- package/Layout/Item.tsx +5 -1
- package/Layout/Section.tsx +5 -1
- package/Layout/styles.ts +3 -2
- package/Pagination/PaginationDot.tsx +8 -2
- package/Pagination/PaginationNumber.tsx +13 -6
- package/Pagination/PaginationScroll.tsx +11 -2
- package/Pagination/PaginationWhiteDot.tsx +14 -7
- package/Pagination/styles.ts +4 -3
- package/Popup/PopupNotify.tsx +4 -1
- package/Popup/PopupPromotion.tsx +8 -2
- package/Radio/index.tsx +9 -1
- package/Radio/styles.ts +5 -4
- package/Switch/index.tsx +6 -2
- package/Switch/styles.ts +3 -1
- package/Tag/index.tsx +28 -16
- package/Title/index.tsx +10 -2
- package/Title/styles.ts +4 -3
- package/package.json +1 -1
- package/Application/TooltipPortal.tsx +0 -125
- package/Tag/styles.ts +0 -25
package/Tag/styles.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import {StyleSheet} from 'react-native';
|
|
2
|
-
import {Radius, Spacing} from '../Consts';
|
|
3
|
-
import {scaleSize} from '../Text';
|
|
4
|
-
|
|
5
|
-
export default StyleSheet.create({
|
|
6
|
-
container: {
|
|
7
|
-
paddingHorizontal: Spacing.S,
|
|
8
|
-
borderRadius: Radius.S,
|
|
9
|
-
flexDirection: 'row',
|
|
10
|
-
height: scaleSize(24),
|
|
11
|
-
alignItems: 'center',
|
|
12
|
-
justifyContent: 'center',
|
|
13
|
-
},
|
|
14
|
-
mediumContainer: {
|
|
15
|
-
paddingHorizontal: Spacing.S,
|
|
16
|
-
borderRadius: Radius.S,
|
|
17
|
-
height: scaleSize(18),
|
|
18
|
-
alignItems: 'center',
|
|
19
|
-
flexDirection: 'row',
|
|
20
|
-
justifyContent: 'center',
|
|
21
|
-
},
|
|
22
|
-
icon: {
|
|
23
|
-
marginRight: Spacing.XS,
|
|
24
|
-
},
|
|
25
|
-
});
|