react-native-system-ui 1.0.6 → 1.0.7
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/README.md +1 -1
- package/dist/cjs/components/field/Field.js +1 -1
- package/dist/cjs/components/form/Form.js +1 -1
- package/dist/cjs/components/popup/Popup.js +1 -1
- package/dist/cjs/components/toast/Toast.js +1 -1
- package/dist/es/components/field/Field.js +1 -1
- package/dist/es/components/form/Form.js +1 -1
- package/dist/es/components/popup/Popup.js +1 -1
- package/dist/es/components/toast/Toast.js +1 -1
- package/dist/types/components/action-sheet/ActionSheet.d.ts +1 -4
- package/dist/types/components/action-sheet/index.d.ts +1 -4
- package/dist/types/components/action-sheet/tokens.d.ts +1 -4
- package/dist/types/components/action-sheet/types.d.ts +1 -87
- package/dist/types/components/area/Area.d.ts +1 -4
- package/dist/types/components/area/index.d.ts +1 -3
- package/dist/types/components/area/tokens.d.ts +1 -7
- package/dist/types/components/area/types.d.ts +1 -20
- package/dist/types/components/avatar/Avatar.d.ts +1 -7
- package/dist/types/components/avatar/index.d.ts +1 -2
- package/dist/types/components/avatar/tokens.d.ts +1 -4
- package/dist/types/components/avatar/types.d.ts +1 -62
- package/dist/types/components/badge/Badge.d.ts +1 -4
- package/dist/types/components/badge/index.d.ts +1 -3
- package/dist/types/components/badge/tokens.d.ts +1 -2
- package/dist/types/components/badge/types.d.ts +1 -57
- package/dist/types/components/button/Button.d.ts +1 -5
- package/dist/types/components/button/ButtonContext.d.ts +1 -2
- package/dist/types/components/button/ButtonGroup.d.ts +1 -23
- package/dist/types/components/button/index.d.ts +1 -6
- package/dist/types/components/button/tokens.d.ts +1 -2
- package/dist/types/components/button/types.d.ts +1 -109
- package/dist/types/components/calendar/Calendar.d.ts +1 -4
- package/dist/types/components/calendar/index.d.ts +1 -3
- package/dist/types/components/calendar/tokens.d.ts +1 -4
- package/dist/types/components/calendar/types.d.ts +1 -111
- package/dist/types/components/cascader/Cascader.d.ts +1 -4
- package/dist/types/components/cascader/index.d.ts +1 -4
- package/dist/types/components/cascader/tokens.d.ts +1 -4
- package/dist/types/components/cascader/types.d.ts +1 -142
- package/dist/types/components/cascader/useCascaderExtend.d.ts +1 -12
- package/dist/types/components/cell/Cell.d.ts +1 -4
- package/dist/types/components/cell/CellContext.d.ts +1 -7
- package/dist/types/components/cell/CellGroup.d.ts +1 -3
- package/dist/types/components/cell/index.d.ts +1 -8
- package/dist/types/components/cell/tokens.d.ts +1 -4
- package/dist/types/components/cell/types.d.ts +1 -112
- package/dist/types/components/checkbox/Checkbox.d.ts +1 -5
- package/dist/types/components/checkbox/CheckboxContext.d.ts +1 -2
- package/dist/types/components/checkbox/CheckboxGroup.d.ts +1 -22
- package/dist/types/components/checkbox/index.d.ts +1 -7
- package/dist/types/components/checkbox/tokens.d.ts +1 -2
- package/dist/types/components/checkbox/types.d.ts +1 -99
- package/dist/types/components/circle/Circle.d.ts +1 -5
- package/dist/types/components/circle/index.d.ts +1 -3
- package/dist/types/components/circle/tokens.d.ts +1 -4
- package/dist/types/components/circle/types.d.ts +1 -51
- package/dist/types/components/collapse/Collapse.d.ts +1 -43
- package/dist/types/components/collapse/index.d.ts +1 -3
- package/dist/types/components/collapse/tokens.d.ts +1 -4
- package/dist/types/components/collapse/types.d.ts +1 -45
- package/dist/types/components/config-provider/ConfigProvider.d.ts +1 -3
- package/dist/types/components/config-provider/DirectionContext.d.ts +1 -3
- package/dist/types/components/config-provider/LocaleContext.d.ts +1 -3
- package/dist/types/components/config-provider/index.d.ts +1 -6
- package/dist/types/components/config-provider/locale/en-US.d.ts +1 -106
- package/dist/types/components/config-provider/locale/types.d.ts +1 -130
- package/dist/types/components/config-provider/locale/zh-CN.d.ts +1 -106
- package/dist/types/components/config-provider/tokens.d.ts +1 -3
- package/dist/types/components/config-provider/types.d.ts +1 -10
- package/dist/types/components/config-provider/useDirection.d.ts +1 -1
- package/dist/types/components/config-provider/useLocale.d.ts +1 -1
- package/dist/types/components/count-down/CountDown.d.ts +1 -4
- package/dist/types/components/count-down/index.d.ts +1 -4
- package/dist/types/components/count-down/tokens.d.ts +1 -4
- package/dist/types/components/count-down/types.d.ts +1 -29
- package/dist/types/components/datetime-picker/DatetimePicker.d.ts +1 -4
- package/dist/types/components/datetime-picker/index.d.ts +1 -3
- package/dist/types/components/datetime-picker/tokens.d.ts +1 -15
- package/dist/types/components/datetime-picker/types.d.ts +1 -38
- package/dist/types/components/dialog/Dialog.d.ts +1 -4
- package/dist/types/components/dialog/imperative.d.ts +1 -23
- package/dist/types/components/dialog/index.d.ts +1 -5
- package/dist/types/components/dialog/tokens.d.ts +1 -48
- package/dist/types/components/dialog/types.d.ts +1 -70
- package/dist/types/components/divider/Divider.d.ts +1 -3
- package/dist/types/components/divider/index.d.ts +1 -3
- package/dist/types/components/divider/tokens.d.ts +1 -4
- package/dist/types/components/divider/types.d.ts +1 -48
- package/dist/types/components/empty/Empty.d.ts +1 -3
- package/dist/types/components/empty/index.d.ts +1 -3
- package/dist/types/components/empty/tokens.d.ts +1 -4
- package/dist/types/components/empty/types.d.ts +1 -44
- package/dist/types/components/error-boundary/ErrorBoundary.d.ts +1 -6
- package/dist/types/components/error-boundary/index.d.ts +1 -2
- package/dist/types/components/error-boundary/types.d.ts +1 -18
- package/dist/types/components/field/Field.d.ts +1 -4
- package/dist/types/components/field/index.d.ts +1 -7
- package/dist/types/components/field/tokens.d.ts +1 -131
- package/dist/types/components/field/types.d.ts +1 -86
- package/dist/types/components/flex/Flex.d.ts +1 -9
- package/dist/types/components/flex/FlexContext.d.ts +1 -2
- package/dist/types/components/flex/FlexItem.d.ts +1 -3
- package/dist/types/components/flex/index.d.ts +1 -8
- package/dist/types/components/flex/tokens.d.ts +1 -2
- package/dist/types/components/flex/types.d.ts +1 -37
- package/dist/types/components/form/Form.d.ts +1 -26
- package/dist/types/components/form/FormItem.d.ts +1 -5
- package/dist/types/components/form/FormList.d.ts +1 -18
- package/dist/types/components/form/index.d.ts +1 -17
- package/dist/types/components/form/tokens.d.ts +1 -7
- package/dist/types/components/form/types.d.ts +1 -68
- package/dist/types/components/grid/Grid.d.ts +1 -19
- package/dist/types/components/grid/GridContext.d.ts +1 -2
- package/dist/types/components/grid/GridItem.d.ts +1 -3
- package/dist/types/components/grid/index.d.ts +1 -5
- package/dist/types/components/grid/tokens.d.ts +1 -4
- package/dist/types/components/grid/types.d.ts +1 -77
- package/dist/types/components/image/Image.d.ts +1 -5
- package/dist/types/components/image/index.d.ts +1 -4
- package/dist/types/components/image/tokens.d.ts +1 -2
- package/dist/types/components/image/types.d.ts +1 -53
- package/dist/types/components/image-preview/ImagePreview.d.ts +1 -4
- package/dist/types/components/image-preview/imperative.d.ts +1 -5
- package/dist/types/components/image-preview/index.d.ts +1 -6
- package/dist/types/components/image-preview/tokens.d.ts +1 -27
- package/dist/types/components/image-preview/types.d.ts +1 -55
- package/dist/types/components/index.d.ts +1 -213
- package/dist/types/components/input/Input.d.ts +1 -8
- package/dist/types/components/input/index.d.ts +1 -4
- package/dist/types/components/input/tokens.d.ts +1 -2
- package/dist/types/components/input/types.d.ts +1 -42
- package/dist/types/components/loading/Loading.d.ts +1 -3
- package/dist/types/components/loading/index.d.ts +1 -3
- package/dist/types/components/loading/tokens.d.ts +1 -4
- package/dist/types/components/loading/types.d.ts +1 -32
- package/dist/types/components/nav-bar/NavBar.d.ts +1 -4
- package/dist/types/components/nav-bar/index.d.ts +1 -4
- package/dist/types/components/nav-bar/tokens.d.ts +1 -4
- package/dist/types/components/nav-bar/types.d.ts +1 -67
- package/dist/types/components/notice-bar/NoticeBar.d.ts +1 -3
- package/dist/types/components/notice-bar/index.d.ts +1 -3
- package/dist/types/components/notice-bar/tokens.d.ts +1 -24
- package/dist/types/components/notice-bar/types.d.ts +1 -26
- package/dist/types/components/notify/Notify.d.ts +1 -6
- package/dist/types/components/notify/imperative.d.ts +1 -22
- package/dist/types/components/notify/index.d.ts +1 -15
- package/dist/types/components/notify/tokens.d.ts +1 -4
- package/dist/types/components/notify/types.d.ts +1 -64
- package/dist/types/components/number-keyboard/NumberKeyboard.d.ts +1 -4
- package/dist/types/components/number-keyboard/index.d.ts +1 -4
- package/dist/types/components/number-keyboard/tokens.d.ts +1 -42
- package/dist/types/components/number-keyboard/types.d.ts +1 -35
- package/dist/types/components/overlay/Overlay.d.ts +1 -5
- package/dist/types/components/overlay/index.d.ts +1 -5
- package/dist/types/components/overlay/tokens.d.ts +1 -6
- package/dist/types/components/overlay/types.d.ts +1 -13
- package/dist/types/components/password-input/PasswordInput.d.ts +1 -4
- package/dist/types/components/password-input/index.d.ts +1 -2
- package/dist/types/components/password-input/tokens.d.ts +1 -40
- package/dist/types/components/password-input/types.d.ts +1 -35
- package/dist/types/components/picker/Picker.d.ts +1 -32
- package/dist/types/components/picker/index.d.ts +1 -4
- package/dist/types/components/picker/tokens.d.ts +1 -39
- package/dist/types/components/picker/types.d.ts +1 -73
- package/dist/types/components/popup/Popup.d.ts +1 -5
- package/dist/types/components/popup/index.d.ts +1 -4
- package/dist/types/components/popup/tokens.d.ts +1 -48
- package/dist/types/components/popup/types.d.ts +1 -41
- package/dist/types/components/portal/Portal.d.ts +1 -14
- package/dist/types/components/portal/PortalContext.d.ts +1 -7
- package/dist/types/components/portal/PortalHost.d.ts +1 -11
- package/dist/types/components/portal/index.d.ts +1 -3
- package/dist/types/components/portal/tokens.d.ts +1 -3
- package/dist/types/components/portal/types.d.ts +1 -1
- package/dist/types/components/progress/Progress.d.ts +1 -8
- package/dist/types/components/progress/index.d.ts +1 -4
- package/dist/types/components/progress/tokens.d.ts +1 -4
- package/dist/types/components/progress/types.d.ts +1 -51
- package/dist/types/components/radio/Radio.d.ts +1 -3
- package/dist/types/components/radio/RadioContext.d.ts +1 -2
- package/dist/types/components/radio/RadioGroup.d.ts +1 -14
- package/dist/types/components/radio/index.d.ts +1 -7
- package/dist/types/components/radio/tokens.d.ts +1 -2
- package/dist/types/components/radio/types.d.ts +1 -95
- package/dist/types/components/safe-area-view/SafeAreaView.d.ts +1 -10
- package/dist/types/components/safe-area-view/index.d.ts +1 -2
- package/dist/types/components/safe-area-view/tokens.d.ts +1 -3
- package/dist/types/components/safe-area-view/types.d.ts +1 -1
- package/dist/types/components/search/Search.d.ts +1 -4
- package/dist/types/components/search/index.d.ts +1 -4
- package/dist/types/components/search/tokens.d.ts +1 -41
- package/dist/types/components/search/types.d.ts +1 -28
- package/dist/types/components/selector/Selector.d.ts +1 -7
- package/dist/types/components/selector/index.d.ts +1 -4
- package/dist/types/components/selector/tokens.d.ts +1 -2
- package/dist/types/components/selector/types.d.ts +1 -74
- package/dist/types/components/share-sheet/ShareSheet.d.ts +1 -4
- package/dist/types/components/share-sheet/index.d.ts +1 -4
- package/dist/types/components/share-sheet/tokens.d.ts +1 -40
- package/dist/types/components/share-sheet/types.d.ts +1 -26
- package/dist/types/components/sidebar/Sidebar.d.ts +1 -4
- package/dist/types/components/sidebar/SidebarContext.d.ts +1 -7
- package/dist/types/components/sidebar/SidebarItem.d.ts +1 -4
- package/dist/types/components/sidebar/index.d.ts +1 -8
- package/dist/types/components/sidebar/tokens.d.ts +1 -4
- package/dist/types/components/sidebar/types.d.ts +1 -64
- package/dist/types/components/skeleton/Skeleton.d.ts +1 -5
- package/dist/types/components/skeleton/index.d.ts +1 -5
- package/dist/types/components/skeleton/tokens.d.ts +1 -2
- package/dist/types/components/skeleton/types.d.ts +1 -45
- package/dist/types/components/slider/Slider.d.ts +1 -4
- package/dist/types/components/slider/index.d.ts +1 -3
- package/dist/types/components/slider/tokens.d.ts +1 -28
- package/dist/types/components/slider/types.d.ts +1 -38
- package/dist/types/components/space/Space.d.ts +1 -3
- package/dist/types/components/space/index.d.ts +1 -3
- package/dist/types/components/space/tokens.d.ts +1 -3
- package/dist/types/components/space/types.d.ts +1 -39
- package/dist/types/components/stepper/Stepper.d.ts +1 -4
- package/dist/types/components/stepper/index.d.ts +1 -4
- package/dist/types/components/stepper/tokens.d.ts +1 -46
- package/dist/types/components/stepper/types.d.ts +1 -46
- package/dist/types/components/swiper/Swiper.d.ts +1 -9
- package/dist/types/components/swiper/SwiperItem.d.ts +1 -1
- package/dist/types/components/swiper/SwiperPagIndicator.d.ts +1 -36
- package/dist/types/components/swiper/index.d.ts +1 -14
- package/dist/types/components/swiper/tokens.d.ts +1 -11
- package/dist/types/components/swiper/types.d.ts +1 -29
- package/dist/types/components/switch/Switch.d.ts +1 -7
- package/dist/types/components/switch/index.d.ts +1 -4
- package/dist/types/components/switch/tokens.d.ts +1 -2
- package/dist/types/components/switch/types.d.ts +1 -33
- package/dist/types/components/tabbar/Tabbar.d.ts +1 -4
- package/dist/types/components/tabbar/TabbarContext.d.ts +1 -13
- package/dist/types/components/tabbar/TabbarItem.d.ts +1 -4
- package/dist/types/components/tabbar/index.d.ts +1 -9
- package/dist/types/components/tabbar/tokens.d.ts +1 -28
- package/dist/types/components/tabbar/types.d.ts +1 -39
- package/dist/types/components/tabs/Tabs.d.ts +1 -8
- package/dist/types/components/tabs/index.d.ts +1 -10
- package/dist/types/components/tabs/tokens.d.ts +1 -96
- package/dist/types/components/tabs/types.d.ts +1 -64
- package/dist/types/components/tag/Tag.d.ts +1 -3
- package/dist/types/components/tag/index.d.ts +1 -3
- package/dist/types/components/tag/tokens.d.ts +1 -4
- package/dist/types/components/tag/types.d.ts +1 -69
- package/dist/types/components/theme.d.ts +1 -112
- package/dist/types/components/toast/Toast.d.ts +1 -33
- package/dist/types/components/toast/imperative.d.ts +1 -22
- package/dist/types/components/toast/index.d.ts +1 -15
- package/dist/types/components/toast/tokens.d.ts +1 -29
- package/dist/types/components/toast/types.d.ts +1 -1
- package/dist/types/components/typography/Typography.d.ts +1 -11
- package/dist/types/components/typography/index.d.ts +1 -3
- package/dist/types/components/typography/tokens.d.ts +1 -2
- package/dist/types/components/typography/types.d.ts +1 -66
- package/dist/types/components/water-mark/WaterMark.d.ts +1 -4
- package/dist/types/components/water-mark/index.d.ts +1 -5
- package/dist/types/components/water-mark/tokens.d.ts +1 -2
- package/dist/types/components/water-mark/types.d.ts +1 -58
- package/dist/types/design-system/Text.d.ts +1 -3
- package/dist/types/design-system/ThemeContext.d.ts +1 -14
- package/dist/types/design-system/ThemeProvider.d.ts +1 -14
- package/dist/types/design-system/createComponentTokensHook.d.ts +1 -4
- package/dist/types/design-system/index.d.ts +1 -11
- package/dist/types/design-system/mergeTokensOverride.d.ts +1 -2
- package/dist/types/design-system/presets.d.ts +1 -8
- package/dist/types/design-system/tokens.d.ts +1 -74
- package/dist/types/design-system/useTheme.d.ts +1 -1
- package/dist/types/hooks/animation/index.d.ts +1 -3
- package/dist/types/hooks/animation/useAnimatedTransition.d.ts +1 -13
- package/dist/types/hooks/animation/useReducedMotion.d.ts +1 -3
- package/dist/types/hooks/aria/index.d.ts +1 -4
- package/dist/types/hooks/aria/useAriaListBox.d.ts +1 -14
- package/dist/types/hooks/aria/useAriaOverlay.d.ts +1 -14
- package/dist/types/hooks/aria/useAriaPress.d.ts +1 -19
- package/dist/types/hooks/aria/useAriaToggle.d.ts +1 -12
- package/dist/types/hooks/gesture/index.d.ts +1 -1
- package/dist/types/hooks/gesture/useGestureScroll.d.ts +1 -33
- package/dist/types/hooks/index.d.ts +1 -9
- package/dist/types/hooks/overlay/OverlayStackStore.d.ts +1 -39
- package/dist/types/hooks/overlay/index.d.ts +1 -2
- package/dist/types/hooks/overlay/useOverlayStack.d.ts +1 -10
- package/dist/types/hooks/useControllableValue.d.ts +1 -9
- package/dist/types/hooks/useCountDown.d.ts +1 -23
- package/dist/types/hooks/useHairline.d.ts +1 -10
- package/dist/types/hooks/useSafeAreaPadding.d.ts +1 -13
- package/dist/types/index.d.ts +1 -9
- package/dist/types/nativewind.d.ts +1 -4
- package/dist/types/platform/animation.d.ts +1 -9
- package/dist/types/platform/history.d.ts +1 -1
- package/dist/types/platform/index.d.ts +1 -5
- package/dist/types/platform/measure.d.ts +1 -7
- package/dist/types/platform/runtime.d.ts +1 -3
- package/dist/types/platform/scrollLock.d.ts +1 -2
- package/dist/types/types.d.ts +1 -4
- package/dist/types/utils/array.d.ts +1 -1
- package/dist/types/utils/color.d.ts +1 -3
- package/dist/types/utils/compare.d.ts +1 -2
- package/dist/types/utils/createPlatformShadow.d.ts +1 -11
- package/dist/types/utils/date.d.ts +1 -13
- package/dist/types/utils/deepMerge.d.ts +1 -3
- package/dist/types/utils/hairline.d.ts +1 -15
- package/dist/types/utils/index.d.ts +1 -13
- package/dist/types/utils/number.d.ts +1 -11
- package/dist/types/utils/promise.d.ts +1 -1
- package/dist/types/utils/render.d.ts +1 -5
- package/dist/types/utils/rtl.d.ts +1 -5
- package/dist/types/utils/string.d.ts +1 -3
- package/dist/types/utils/validate.d.ts +1 -13
- package/package.json +142 -149
|
@@ -1,77 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { BadgeProps } from '../badge';
|
|
3
|
-
import type { DeepPartial } from '../../types';
|
|
4
|
-
export type GridDirection = 'vertical' | 'horizontal';
|
|
5
|
-
export interface GridTokens {
|
|
6
|
-
defaults: {
|
|
7
|
-
columnNum: number;
|
|
8
|
-
gutter: number;
|
|
9
|
-
border: boolean;
|
|
10
|
-
center: boolean;
|
|
11
|
-
square: boolean;
|
|
12
|
-
direction: GridDirection;
|
|
13
|
-
reverse: boolean;
|
|
14
|
-
clickable: boolean;
|
|
15
|
-
iconSize: number;
|
|
16
|
-
pressedOpacity: number;
|
|
17
|
-
textNumberOfLines: number;
|
|
18
|
-
};
|
|
19
|
-
layout: {
|
|
20
|
-
container: ViewStyle;
|
|
21
|
-
border: ViewStyle;
|
|
22
|
-
borderTop: ViewStyle;
|
|
23
|
-
borderBottom: ViewStyle;
|
|
24
|
-
itemContentBase: ViewStyle;
|
|
25
|
-
itemVertical: ViewStyle;
|
|
26
|
-
itemHorizontal: ViewStyle;
|
|
27
|
-
itemCenter: ViewStyle;
|
|
28
|
-
itemReverseColumn: ViewStyle;
|
|
29
|
-
itemReverseRow: ViewStyle;
|
|
30
|
-
iconWrapper: ViewStyle;
|
|
31
|
-
text: TextStyle;
|
|
32
|
-
itemBorderRight: ViewStyle;
|
|
33
|
-
itemBorderBottom: ViewStyle;
|
|
34
|
-
itemContentSquare: ViewStyle;
|
|
35
|
-
};
|
|
36
|
-
colors: {
|
|
37
|
-
border: string;
|
|
38
|
-
text: string;
|
|
39
|
-
background: string;
|
|
40
|
-
active: string;
|
|
41
|
-
};
|
|
42
|
-
typography: {
|
|
43
|
-
fontSize: number;
|
|
44
|
-
fontFamily: string;
|
|
45
|
-
lineHeight: number;
|
|
46
|
-
fontWeight: NonNullable<TextStyle['fontWeight']>;
|
|
47
|
-
};
|
|
48
|
-
spacing: {
|
|
49
|
-
paddingHorizontal: number;
|
|
50
|
-
paddingVertical: number;
|
|
51
|
-
iconGap: number;
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
export interface GridProps extends ViewProps {
|
|
55
|
-
children?: React.ReactNode;
|
|
56
|
-
columnNum?: number;
|
|
57
|
-
gutter?: number;
|
|
58
|
-
border?: boolean;
|
|
59
|
-
center?: boolean;
|
|
60
|
-
square?: boolean;
|
|
61
|
-
direction?: GridDirection;
|
|
62
|
-
reverse?: boolean;
|
|
63
|
-
clickable?: boolean;
|
|
64
|
-
iconSize?: number;
|
|
65
|
-
iconColor?: string;
|
|
66
|
-
tokensOverride?: DeepPartial<GridTokens>;
|
|
67
|
-
}
|
|
68
|
-
export interface GridItemProps extends PressableProps {
|
|
69
|
-
children?: React.ReactNode;
|
|
70
|
-
text?: React.ReactNode;
|
|
71
|
-
icon?: React.ReactNode | ((size: number, color: string) => React.ReactNode);
|
|
72
|
-
iconColor?: string;
|
|
73
|
-
badge?: BadgeProps;
|
|
74
|
-
dot?: boolean;
|
|
75
|
-
contentStyle?: StyleProp<ViewStyle>;
|
|
76
|
-
textStyle?: StyleProp<TextStyle>;
|
|
77
|
-
}
|
|
1
|
+
import type{PressableProps,StyleProp,TextStyle,ViewProps,ViewStyle}from'react-native';import type{BadgeProps}from'../badge';import type{DeepPartial}from'../../types';export type GridDirection='vertical'|'horizontal';export interface GridTokens{defaults:{columnNum:number;gutter:number;border:boolean;center:boolean;square:boolean;direction:GridDirection;reverse:boolean;clickable:boolean;iconSize:number;pressedOpacity:number;textNumberOfLines:number;};layout:{container:ViewStyle;border:ViewStyle;borderTop:ViewStyle;borderBottom:ViewStyle;itemContentBase:ViewStyle;itemVertical:ViewStyle;itemHorizontal:ViewStyle;itemCenter:ViewStyle;itemReverseColumn:ViewStyle;itemReverseRow:ViewStyle;iconWrapper:ViewStyle;text:TextStyle;itemBorderRight:ViewStyle;itemBorderBottom:ViewStyle;itemContentSquare:ViewStyle;};colors:{border:string;text:string;background:string;active:string;};typography:{fontSize:number;fontFamily:string;lineHeight:number;fontWeight:NonNullable<TextStyle['fontWeight']>;};spacing:{paddingHorizontal:number;paddingVertical:number;iconGap:number;};}export interface GridProps extends ViewProps{children?:React.ReactNode;columnNum?:number;gutter?:number;border?:boolean;center?:boolean;square?:boolean;direction?:GridDirection;reverse?:boolean;clickable?:boolean;iconSize?:number;iconColor?:string;tokensOverride?:DeepPartial<GridTokens>;}export interface GridItemProps extends PressableProps{children?:React.ReactNode;text?:React.ReactNode;icon?:React.ReactNode|((size:number,color:string)=>React.ReactNode);iconColor?:string;badge?:BadgeProps;dot?:boolean;contentStyle?:StyleProp<ViewStyle>;textStyle?:StyleProp<TextStyle>;}
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Image as RNImage } from 'react-native';
|
|
3
|
-
import type { ImageProps } from './types';
|
|
4
|
-
declare const Image: React.NamedExoticComponent<ImageProps & React.RefAttributes<RNImage>>;
|
|
5
|
-
export default Image;
|
|
1
|
+
import React from'react';import{Image as RNImage}from'react-native';import type{ImageProps}from'./types';declare const Image:React.NamedExoticComponent<ImageProps&React.RefAttributes<RNImage>>;export default Image;
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
import Image from
|
|
2
|
-
export type { ImageProps, ImageFit } from './types';
|
|
3
|
-
export { useImageTokens } from './tokens';
|
|
4
|
-
export default Image;
|
|
1
|
+
import Image from'./Image';export type{ImageProps,ImageFit}from'./types';export{useImageTokens}from'./tokens';export default Image;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export declare const useImageTokens: (overrides?: import("../..").DeepPartial<ImageTokens> | undefined) => ImageTokens;
|
|
1
|
+
import type{ImageTokens}from'./types';export declare const useImageTokens:(overrides?:import("../..").DeepPartial<ImageTokens>|undefined)=>ImageTokens;
|
|
@@ -1,53 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { ImageProps as RNImageProps, ImageSourcePropType, ImageStyle, PressableProps, StyleProp, TextStyle, ViewStyle } from 'react-native';
|
|
3
|
-
import type { DeepPartial } from '../../types';
|
|
4
|
-
export type ImageFit = 'cover' | 'contain' | 'fill' | 'none' | 'scale-down';
|
|
5
|
-
export interface ImageTokens {
|
|
6
|
-
defaults: {
|
|
7
|
-
fit: ImageFit;
|
|
8
|
-
showLoading: boolean;
|
|
9
|
-
showError: boolean;
|
|
10
|
-
loadingText: React.ReactNode;
|
|
11
|
-
errorText: React.ReactNode;
|
|
12
|
-
iconSize: number;
|
|
13
|
-
loadingIndicatorBaseSize: number;
|
|
14
|
-
loadingLabelMarginTop: number;
|
|
15
|
-
roundRadius: number;
|
|
16
|
-
};
|
|
17
|
-
layout: {
|
|
18
|
-
container: ViewStyle;
|
|
19
|
-
overlay: ViewStyle;
|
|
20
|
-
label: TextStyle;
|
|
21
|
-
iconContainer: ViewStyle;
|
|
22
|
-
absoluteFill: ImageStyle;
|
|
23
|
-
};
|
|
24
|
-
colors: {
|
|
25
|
-
background: string;
|
|
26
|
-
text: string;
|
|
27
|
-
error: string;
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
export interface ImageProps extends Omit<RNImageProps, 'source' | 'width' | 'height'> {
|
|
31
|
-
src?: string;
|
|
32
|
-
source?: ImageSourcePropType;
|
|
33
|
-
width?: number | string;
|
|
34
|
-
height?: number | string;
|
|
35
|
-
radius?: number;
|
|
36
|
-
round?: boolean;
|
|
37
|
-
fit?: ImageFit;
|
|
38
|
-
showLoading?: boolean;
|
|
39
|
-
showError?: boolean;
|
|
40
|
-
loadingText?: React.ReactNode;
|
|
41
|
-
loadingIcon?: React.ReactNode;
|
|
42
|
-
errorIcon?: React.ReactNode;
|
|
43
|
-
iconSize?: number;
|
|
44
|
-
loadingSize?: 'small' | 'large' | number;
|
|
45
|
-
errorText?: React.ReactNode;
|
|
46
|
-
fallback?: React.ReactNode;
|
|
47
|
-
onPress?: PressableProps['onPress'];
|
|
48
|
-
alt?: string;
|
|
49
|
-
containerStyle?: StyleProp<ViewStyle>;
|
|
50
|
-
children?: React.ReactNode;
|
|
51
|
-
tokensOverride?: DeepPartial<ImageTokens>;
|
|
52
|
-
'aria-label'?: string;
|
|
53
|
-
}
|
|
1
|
+
import type*as React from'react';import type{ImageProps as RNImageProps,ImageSourcePropType,ImageStyle,PressableProps,StyleProp,TextStyle,ViewStyle}from'react-native';import type{DeepPartial}from'../../types';export type ImageFit='cover'|'contain'|'fill'|'none'|'scale-down';export interface ImageTokens{defaults:{fit:ImageFit;showLoading:boolean;showError:boolean;loadingText:React.ReactNode;errorText:React.ReactNode;iconSize:number;loadingIndicatorBaseSize:number;loadingLabelMarginTop:number;roundRadius:number;};layout:{container:ViewStyle;overlay:ViewStyle;label:TextStyle;iconContainer:ViewStyle;absoluteFill:ImageStyle;};colors:{background:string;text:string;error:string;};}export interface ImageProps extends Omit<RNImageProps,'source'|'width'|'height'>{src?:string;source?:ImageSourcePropType;width?:number|string;height?:number|string;radius?:number;round?:boolean;fit?:ImageFit;showLoading?:boolean;showError?:boolean;loadingText?:React.ReactNode;loadingIcon?:React.ReactNode;errorIcon?:React.ReactNode;iconSize?:number;loadingSize?:'small'|'large'|number;errorText?:React.ReactNode;fallback?:React.ReactNode;onPress?:PressableProps['onPress'];alt?:string;containerStyle?:StyleProp<ViewStyle>;children?:React.ReactNode;tokensOverride?:DeepPartial<ImageTokens>;'aria-label'?:string;}
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import type { ImagePreviewProps, ImagePreviewRef } from './types';
|
|
3
|
-
declare const ImagePreview: React.NamedExoticComponent<ImagePreviewProps & React.RefAttributes<ImagePreviewRef>>;
|
|
4
|
-
export default ImagePreview;
|
|
1
|
+
import React from'react';import type{ImagePreviewProps,ImagePreviewRef}from'./types';declare const ImagePreview:React.NamedExoticComponent<ImagePreviewProps&React.RefAttributes<ImagePreviewRef>>;export default ImagePreview;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export declare const ImagePreviewImperative: {
|
|
3
|
-
open: (options?: ImagePreviewOpenOptions) => ImagePreviewDestroy;
|
|
4
|
-
clear: () => void;
|
|
5
|
-
};
|
|
1
|
+
import type{ImagePreviewDestroy,ImagePreviewOpenOptions}from'./types';export declare const ImagePreviewImperative:{open:(options?:ImagePreviewOpenOptions)=>ImagePreviewDestroy;clear:()=>void;};
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
import type React from
|
|
2
|
-
import type { ImagePreviewProps, ImagePreviewRef, ImagePreviewStatic, ImagePreviewOpenOptions, ImagePreviewDestroy, CloseParams as ImagePreviewCloseParams } from './types';
|
|
3
|
-
declare const ImagePreview: React.ForwardRefExoticComponent<ImagePreviewProps & React.RefAttributes<ImagePreviewRef>> & ImagePreviewStatic;
|
|
4
|
-
export default ImagePreview;
|
|
5
|
-
export { ImagePreview };
|
|
6
|
-
export type { ImagePreviewProps, ImagePreviewRef, ImagePreviewOpenOptions, ImagePreviewDestroy, ImagePreviewCloseParams, };
|
|
1
|
+
import type React from'react';import type{ImagePreviewProps,ImagePreviewRef,ImagePreviewStatic,ImagePreviewOpenOptions,ImagePreviewDestroy,CloseParams as ImagePreviewCloseParams}from'./types';declare const ImagePreview:React.ForwardRefExoticComponent<ImagePreviewProps&React.RefAttributes<ImagePreviewRef>>&ImagePreviewStatic;export default ImagePreview;export{ImagePreview};export type{ImagePreviewProps,ImagePreviewRef,ImagePreviewOpenOptions,ImagePreviewDestroy,ImagePreviewCloseParams,};
|
|
@@ -1,27 +1 @@
|
|
|
1
|
-
export interface ImagePreviewTokens
|
|
2
|
-
colors: {
|
|
3
|
-
background: string;
|
|
4
|
-
indexBackground: string;
|
|
5
|
-
indexText: string;
|
|
6
|
-
indicatorActive: string;
|
|
7
|
-
indicatorInactive: string;
|
|
8
|
-
transparent: string;
|
|
9
|
-
};
|
|
10
|
-
spacing: {
|
|
11
|
-
indexTop: number;
|
|
12
|
-
indexPaddingHorizontal: number;
|
|
13
|
-
indexPaddingVertical: number;
|
|
14
|
-
};
|
|
15
|
-
layout: {
|
|
16
|
-
popupPadding: number;
|
|
17
|
-
popupRadius: number;
|
|
18
|
-
};
|
|
19
|
-
radii: {
|
|
20
|
-
indexBadge: number;
|
|
21
|
-
};
|
|
22
|
-
typography: {
|
|
23
|
-
fontFamily: string;
|
|
24
|
-
indexTextSize: number;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
export declare const useImagePreviewTokens: (overrides?: import("../..").DeepPartial<ImagePreviewTokens> | undefined) => ImagePreviewTokens;
|
|
1
|
+
export interface ImagePreviewTokens{colors:{background:string;indexBackground:string;indexText:string;indicatorActive:string;indicatorInactive:string;transparent:string;};spacing:{indexTop:number;indexPaddingHorizontal:number;indexPaddingVertical:number;};layout:{popupPadding:number;popupRadius:number;};radii:{indexBadge:number;};typography:{fontFamily:string;indexTextSize:number;};}export declare const useImagePreviewTokens:(overrides?:import("../..").DeepPartial<ImagePreviewTokens>|undefined)=>ImagePreviewTokens;
|
|
@@ -1,55 +1 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ImageSourcePropType, StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import type { PopupCloseIconPosition } from '../popup';
|
|
4
|
-
import type { DeepPartial } from '../../types';
|
|
5
|
-
import type { ImagePreviewTokens } from './tokens';
|
|
6
|
-
export type ImagePreviewCloseReason = 'overlay' | 'close-icon' | 'content' | 'close';
|
|
7
|
-
export type ImagePreviewImage = ImageSourcePropType | string;
|
|
8
|
-
export interface ImagePreviewProps {
|
|
9
|
-
visible: boolean;
|
|
10
|
-
images?: ImagePreviewImage[];
|
|
11
|
-
startPosition?: number;
|
|
12
|
-
swipeDuration?: number;
|
|
13
|
-
tokensOverride?: DeepPartial<ImagePreviewTokens>;
|
|
14
|
-
lazyRender?: boolean;
|
|
15
|
-
lazyRenderBuffer?: number;
|
|
16
|
-
showIndex?: boolean;
|
|
17
|
-
indexRender?: (ctx: {
|
|
18
|
-
index: number;
|
|
19
|
-
len: number;
|
|
20
|
-
}) => React.ReactNode;
|
|
21
|
-
showIndicators?: boolean;
|
|
22
|
-
closeable?: boolean;
|
|
23
|
-
closeIcon?: React.ReactNode;
|
|
24
|
-
closeIconPosition?: PopupCloseIconPosition;
|
|
25
|
-
overlay?: boolean;
|
|
26
|
-
overlayStyle?: StyleProp<ViewStyle>;
|
|
27
|
-
closeOnBackPress?: boolean;
|
|
28
|
-
closeOnPopstate?: boolean;
|
|
29
|
-
zIndex?: number;
|
|
30
|
-
duration?: number;
|
|
31
|
-
closeOnlyClickCloseIcon?: boolean;
|
|
32
|
-
safeAreaInsetTop?: boolean;
|
|
33
|
-
safeAreaInsetBottom?: boolean;
|
|
34
|
-
onChange?: (index: number) => void;
|
|
35
|
-
onClose?: (params: CloseParams) => void;
|
|
36
|
-
onClosed?: () => void;
|
|
37
|
-
beforeClose?: (context: CloseContext) => boolean | Promise<boolean>;
|
|
38
|
-
}
|
|
39
|
-
export interface CloseParams {
|
|
40
|
-
index: number;
|
|
41
|
-
image?: ImagePreviewImage;
|
|
42
|
-
}
|
|
43
|
-
export interface CloseContext extends CloseParams {
|
|
44
|
-
reason: ImagePreviewCloseReason;
|
|
45
|
-
}
|
|
46
|
-
export type ImagePreviewRef = {
|
|
47
|
-
swipeTo: (index: number, animated?: boolean) => void;
|
|
48
|
-
};
|
|
49
|
-
export type ImagePreviewOpenOptions = Omit<ImagePreviewProps, 'visible'>;
|
|
50
|
-
export type ImagePreviewDestroy = () => void;
|
|
51
|
-
export interface ImagePreviewStatic {
|
|
52
|
-
Host: React.ComponentType<Record<string, unknown>>;
|
|
53
|
-
open: (options: ImagePreviewOpenOptions) => ImagePreviewDestroy;
|
|
54
|
-
clear: () => void;
|
|
55
|
-
}
|
|
1
|
+
import React from'react';import type{ImageSourcePropType,StyleProp,ViewStyle}from'react-native';import type{PopupCloseIconPosition}from'../popup';import type{DeepPartial}from'../../types';import type{ImagePreviewTokens}from'./tokens';export type ImagePreviewCloseReason='overlay'|'close-icon'|'content'|'close';export type ImagePreviewImage=ImageSourcePropType|string;export interface ImagePreviewProps{visible:boolean;images?:ImagePreviewImage[];startPosition?:number;swipeDuration?:number;tokensOverride?:DeepPartial<ImagePreviewTokens>;lazyRender?:boolean;lazyRenderBuffer?:number;showIndex?:boolean;indexRender?:(ctx:{index:number;len:number;})=>React.ReactNode;showIndicators?:boolean;closeable?:boolean;closeIcon?:React.ReactNode;closeIconPosition?:PopupCloseIconPosition;overlay?:boolean;overlayStyle?:StyleProp<ViewStyle>;closeOnBackPress?:boolean;closeOnPopstate?:boolean;zIndex?:number;duration?:number;closeOnlyClickCloseIcon?:boolean;safeAreaInsetTop?:boolean;safeAreaInsetBottom?:boolean;onChange?:(index:number)=>void;onClose?:(params:CloseParams)=>void;onClosed?:()=>void;beforeClose?:(context:CloseContext)=>boolean|Promise<boolean>;}export interface CloseParams{index:number;image?:ImagePreviewImage;}export interface CloseContext extends CloseParams{reason:ImagePreviewCloseReason;}export type ImagePreviewRef={swipeTo:(index:number,animated?:boolean)=>void;};export type ImagePreviewOpenOptions=Omit<ImagePreviewProps,'visible'>;export type ImagePreviewDestroy=()=>void;export interface ImagePreviewStatic{Host:React.ComponentType<Record<string,unknown>>;open:(options:ImagePreviewOpenOptions)=>ImagePreviewDestroy;clear:()=>void;}
|
|
@@ -1,213 +1 @@
|
|
|
1
|
-
export { default as Button } from './button';
|
|
2
|
-
export type { ButtonProps } from './button';
|
|
3
|
-
export type { ButtonTokens } from './button/types';
|
|
4
|
-
export { useButtonTokens } from './button/tokens';
|
|
5
|
-
export { default as Cell } from './cell';
|
|
6
|
-
export type { CellProps } from './cell';
|
|
7
|
-
export type { CellTokens } from './cell/types';
|
|
8
|
-
export { useCellTokens } from './cell/tokens';
|
|
9
|
-
export { CellGroup } from './cell';
|
|
10
|
-
export type { CellGroupProps } from './cell';
|
|
11
|
-
export { default as Flex } from './flex';
|
|
12
|
-
export type { FlexProps } from './flex';
|
|
13
|
-
export type { FlexTokens } from './flex/types';
|
|
14
|
-
export { useFlexTokens } from './flex/tokens';
|
|
15
|
-
export { default as Space } from './space';
|
|
16
|
-
export type { SpaceProps } from './space';
|
|
17
|
-
export type { SpaceTokens } from './space/types';
|
|
18
|
-
export { useSpaceTokens } from './space/tokens';
|
|
19
|
-
export { default as Divider } from './divider';
|
|
20
|
-
export type { DividerProps } from './divider';
|
|
21
|
-
export type { DividerTokens } from './divider/types';
|
|
22
|
-
export { useDividerTokens } from './divider/tokens';
|
|
23
|
-
export { default as Tag } from './tag';
|
|
24
|
-
export type { TagProps } from './tag';
|
|
25
|
-
export type { TagTokens } from './tag/types';
|
|
26
|
-
export { useTagTokens } from './tag/tokens';
|
|
27
|
-
export { Checkbox } from './checkbox';
|
|
28
|
-
export { CheckboxGroup } from './checkbox';
|
|
29
|
-
export type { CheckboxProps, CheckboxGroupProps, CheckboxValue } from './checkbox';
|
|
30
|
-
export type { CheckboxTokens } from './checkbox/types';
|
|
31
|
-
export { useCheckboxTokens } from './checkbox/tokens';
|
|
32
|
-
export { Radio } from './radio';
|
|
33
|
-
export { RadioGroup } from './radio';
|
|
34
|
-
export type { RadioProps, RadioGroupProps } from './radio';
|
|
35
|
-
export type { RadioTokens } from './radio/types';
|
|
36
|
-
export { useRadioTokens } from './radio/tokens';
|
|
37
|
-
export { default as Field } from './field';
|
|
38
|
-
export { FieldGroup } from './field';
|
|
39
|
-
export type { FieldProps } from './field';
|
|
40
|
-
export type { FieldInstance } from './field';
|
|
41
|
-
export type { FieldGroupProps } from './field';
|
|
42
|
-
export type { FieldTokens } from './field/tokens';
|
|
43
|
-
export { useFieldTokens } from './field/tokens';
|
|
44
|
-
export { default as Input } from './input';
|
|
45
|
-
export type { InputProps, InputTextAreaProps, InputInstance, InputTextAreaAutoSize, InputTextAreaAutoSizeConfig, } from './input';
|
|
46
|
-
export type { InputTokens } from './input/types';
|
|
47
|
-
export { useInputTokens } from './input/tokens';
|
|
48
|
-
export { default as Form } from './form';
|
|
49
|
-
export type { FormProps, FormInstance } from './form';
|
|
50
|
-
export { default as Switch } from './switch';
|
|
51
|
-
export type { SwitchProps } from './switch';
|
|
52
|
-
export type { SwitchTokens } from './switch/types';
|
|
53
|
-
export { useSwitchTokens } from './switch/tokens';
|
|
54
|
-
export { default as Badge } from './badge';
|
|
55
|
-
export type { BadgeProps } from './badge';
|
|
56
|
-
export type { BadgeTokens } from './badge/types';
|
|
57
|
-
export { useBadgeTokens } from './badge/tokens';
|
|
58
|
-
export { default as Avatar } from './avatar';
|
|
59
|
-
export type { AvatarProps, AvatarShape, AvatarSize } from './avatar';
|
|
60
|
-
export type { AvatarTokens } from './avatar/types';
|
|
61
|
-
export { useAvatarTokens } from './avatar/tokens';
|
|
62
|
-
export { default as Grid } from './grid';
|
|
63
|
-
export type { GridProps, GridItemProps, GridDirection } from './grid';
|
|
64
|
-
export type { GridTokens } from './grid/types';
|
|
65
|
-
export { useGridTokens } from './grid/tokens';
|
|
66
|
-
export { default as Typography } from './typography';
|
|
67
|
-
export type { TypographyTextProps, TypographyTitleProps, TypographyLinkProps, TypographyType, TypographySize, TypographyTitleLevel, EllipsisConfig, } from './typography';
|
|
68
|
-
export type { TypographyTokens } from './typography/types';
|
|
69
|
-
export { useTypographyTokens } from './typography/tokens';
|
|
70
|
-
export { default as Loading } from './loading';
|
|
71
|
-
export type { LoadingProps } from './loading';
|
|
72
|
-
export type { LoadingTokens } from './loading/types';
|
|
73
|
-
export { useLoadingTokens } from './loading/tokens';
|
|
74
|
-
export { default as Empty } from './empty';
|
|
75
|
-
export type { EmptyProps, EmptyImage } from './empty';
|
|
76
|
-
export type { EmptyTokens } from './empty/types';
|
|
77
|
-
export { useEmptyTokens } from './empty/tokens';
|
|
78
|
-
export { default as Image } from './image';
|
|
79
|
-
export type { ImageProps, ImageFit } from './image';
|
|
80
|
-
export type { ImageTokens } from './image/types';
|
|
81
|
-
export { useImageTokens } from './image';
|
|
82
|
-
export { default as Progress } from './progress';
|
|
83
|
-
export type { ProgressProps } from './progress';
|
|
84
|
-
export type { ProgressTokens } from './progress/types';
|
|
85
|
-
export { useProgressTokens } from './progress/tokens';
|
|
86
|
-
export { default as Circle } from './circle';
|
|
87
|
-
export type { CircleProps, CircleStartPosition, CircleLineCap } from './circle';
|
|
88
|
-
export type { CircleTokens } from './circle/types';
|
|
89
|
-
export { useCircleTokens } from './circle/tokens';
|
|
90
|
-
export { default as NoticeBar } from './notice-bar';
|
|
91
|
-
export type { NoticeBarProps, NoticeBarMode } from './notice-bar';
|
|
92
|
-
export type { NoticeBarTokens } from './notice-bar/tokens';
|
|
93
|
-
export { useNoticeBarTokens } from './notice-bar/tokens';
|
|
94
|
-
export { default as Slider } from './slider';
|
|
95
|
-
export type { SliderProps, SliderValue } from './slider';
|
|
96
|
-
export type { SliderTokens } from './slider/tokens';
|
|
97
|
-
export { useSliderTokens } from './slider/tokens';
|
|
98
|
-
export { default as Stepper } from './stepper';
|
|
99
|
-
export type { StepperProps, StepperTheme, StepperInstance } from './stepper';
|
|
100
|
-
export type { StepperTokens } from './stepper/tokens';
|
|
101
|
-
export { useStepperTokens } from './stepper/tokens';
|
|
102
|
-
export { default as Selector } from './selector';
|
|
103
|
-
export type { SelectorProps, SelectorOption, SelectorValue } from './selector';
|
|
104
|
-
export type { SelectorTokens } from './selector/types';
|
|
105
|
-
export { useSelectorTokens } from './selector/tokens';
|
|
106
|
-
export { default as Search } from './search';
|
|
107
|
-
export type { SearchProps, SearchRef, SearchShape } from './search';
|
|
108
|
-
export type { SearchTokens } from './search/tokens';
|
|
109
|
-
export { useSearchTokens } from './search/tokens';
|
|
110
|
-
export { default as PasswordInput } from './password-input';
|
|
111
|
-
export type { PasswordInputProps, PasswordInputRef } from './password-input';
|
|
112
|
-
export type { PasswordInputTokens } from './password-input/tokens';
|
|
113
|
-
export { default as Picker } from './picker';
|
|
114
|
-
export type { PickerProps, PickerOption, PickerValue, PickerColumn, PickerColumns, PickerColumnWithDefault, } from './picker';
|
|
115
|
-
export type { PickerTokens } from './picker/tokens';
|
|
116
|
-
export { usePickerTokens } from './picker/tokens';
|
|
117
|
-
export { default as NumberKeyboard } from './number-keyboard';
|
|
118
|
-
export type { NumberKeyboardProps, NumberKeyboardTheme } from './number-keyboard';
|
|
119
|
-
export type { NumberKeyboardTokens } from './number-keyboard/tokens';
|
|
120
|
-
export { useNumberKeyboardTokens } from './number-keyboard/tokens';
|
|
121
|
-
export { default as Collapse } from './collapse';
|
|
122
|
-
export type { CollapseProps, CollapsePanelProps, CollapseValue } from './collapse';
|
|
123
|
-
export type { CollapseTokens } from './collapse/types';
|
|
124
|
-
export { useCollapseTokens } from './collapse/tokens';
|
|
125
|
-
export { default as Popup } from './popup';
|
|
126
|
-
export type { PopupProps, PopupPlacement } from './popup';
|
|
127
|
-
export type { PopupTokens } from './popup/tokens';
|
|
128
|
-
export { usePopupTokens } from './popup/tokens';
|
|
129
|
-
export { default as Overlay, OverlayProvider } from './overlay';
|
|
130
|
-
export type { OverlayProps } from './overlay';
|
|
131
|
-
export { default as Dialog } from './dialog';
|
|
132
|
-
export type { DialogProps, DialogTheme, DialogMessageAlign, DialogActionState, DialogBeforeCloseAction, DialogShowOptions, DialogAlertOptions, DialogConfirmOptions, } from './dialog';
|
|
133
|
-
export type { DialogTokens } from './dialog/tokens';
|
|
134
|
-
export { useDialogTokens } from './dialog/tokens';
|
|
135
|
-
export { default as Toast } from './toast';
|
|
136
|
-
export type { ToastProps, ToastPosition } from './toast';
|
|
137
|
-
export type { ToastTokens } from './toast/tokens';
|
|
138
|
-
export { useToastTokens } from './toast/tokens';
|
|
139
|
-
export { default as Notify } from './notify';
|
|
140
|
-
export type { NotifyProps, NotifyType, NotifyPosition } from './notify';
|
|
141
|
-
export type { NotifyTokens } from './notify/types';
|
|
142
|
-
export { useNotifyTokens } from './notify/tokens';
|
|
143
|
-
export { Portal } from './portal';
|
|
144
|
-
export { PortalHost } from './portal';
|
|
145
|
-
export type { PortalProps } from './portal/Portal';
|
|
146
|
-
export { SafeAreaView } from './safe-area-view';
|
|
147
|
-
export type { SafeAreaViewProps } from './safe-area-view';
|
|
148
|
-
export { ConfigProvider } from './config-provider';
|
|
149
|
-
export { useLocale } from './config-provider';
|
|
150
|
-
export { useDirection } from './config-provider';
|
|
151
|
-
export { zhCN } from './config-provider';
|
|
152
|
-
export { enUS } from './config-provider';
|
|
153
|
-
export type { ConfigProviderProps, Direction } from './config-provider';
|
|
154
|
-
export { default as DatetimePicker } from './datetime-picker';
|
|
155
|
-
export type { DatetimePickerProps, DatetimePickerType } from './datetime-picker';
|
|
156
|
-
export { default as Calendar } from './calendar';
|
|
157
|
-
export type { CalendarProps } from './calendar';
|
|
158
|
-
export type { CalendarTokens } from './calendar/types';
|
|
159
|
-
export { useCalendarTokens } from './calendar/tokens';
|
|
160
|
-
export { default as Cascader } from './cascader';
|
|
161
|
-
export type { CascaderProps, CascaderOption, CascaderFieldNames, CascaderValue } from './cascader';
|
|
162
|
-
export type { CascaderTokens } from './cascader/types';
|
|
163
|
-
export { useCascaderTokens } from './cascader/tokens';
|
|
164
|
-
export { default as Tabs } from './tabs';
|
|
165
|
-
export type { TabsProps, TabPaneProps, TabsValue, TabsType, TabsAlign } from './tabs';
|
|
166
|
-
export type { TabsTokens } from './tabs/tokens';
|
|
167
|
-
export { useTabsTokens } from './tabs/tokens';
|
|
168
|
-
export { default as Tabbar } from './tabbar';
|
|
169
|
-
export type { TabbarProps, TabbarItemProps, TabbarValue } from './tabbar';
|
|
170
|
-
export type { TabbarTokens } from './tabbar/tokens';
|
|
171
|
-
export { useTabbarTokens } from './tabbar/tokens';
|
|
172
|
-
export { default as NavBar } from './nav-bar';
|
|
173
|
-
export type { NavBarProps } from './nav-bar';
|
|
174
|
-
export type { NavBarTokens } from './nav-bar/types';
|
|
175
|
-
export { useNavBarTokens } from './nav-bar/tokens';
|
|
176
|
-
export { default as Sidebar } from './sidebar';
|
|
177
|
-
export type { SidebarProps, SidebarItemProps } from './sidebar';
|
|
178
|
-
export type { SidebarTokens } from './sidebar/types';
|
|
179
|
-
export { useSidebarTokens } from './sidebar/tokens';
|
|
180
|
-
export { default as ActionSheet } from './action-sheet';
|
|
181
|
-
export type { ActionSheetProps, ActionSheetAction, ActionSheetCloseAction } from './action-sheet';
|
|
182
|
-
export type { ActionSheetTokens } from './action-sheet/types';
|
|
183
|
-
export { useActionSheetTokens } from './action-sheet/tokens';
|
|
184
|
-
export { default as ShareSheet } from './share-sheet';
|
|
185
|
-
export type { ShareSheetProps, ShareSheetOption, ShareSheetOptions } from './share-sheet';
|
|
186
|
-
export type { ShareSheetTokens } from './share-sheet/tokens';
|
|
187
|
-
export { useShareSheetTokens } from './share-sheet/tokens';
|
|
188
|
-
export { default as Area } from './area';
|
|
189
|
-
export type { AreaProps } from './area';
|
|
190
|
-
export { default as ImagePreview } from './image-preview';
|
|
191
|
-
export type { ImagePreviewProps, ImagePreviewRef, ImagePreviewCloseParams, ImagePreviewOpenOptions, ImagePreviewDestroy, } from './image-preview';
|
|
192
|
-
export type { ImagePreviewTokens } from './image-preview/tokens';
|
|
193
|
-
export { useImagePreviewTokens } from './image-preview/tokens';
|
|
194
|
-
export { default as Swiper } from './swiper';
|
|
195
|
-
export { SwiperItem } from './swiper';
|
|
196
|
-
export { SwiperPagIndicator } from './swiper';
|
|
197
|
-
export type { SwiperProps, SwiperInstance, SwiperItemProps } from './swiper';
|
|
198
|
-
export type { SwiperPagIndicatorProps, SwiperPagIndicatorTokens } from './swiper';
|
|
199
|
-
export { useSwiperPagIndicatorTokens } from './swiper';
|
|
200
|
-
export { default as Skeleton } from './skeleton';
|
|
201
|
-
export type { SkeletonProps, SkeletonAvatarShape } from './skeleton';
|
|
202
|
-
export type { SkeletonTokens } from './skeleton/types';
|
|
203
|
-
export { useSkeletonTokens } from './skeleton';
|
|
204
|
-
export { default as CountDown } from './count-down';
|
|
205
|
-
export type { CountDownProps, CountDownInstance } from './count-down';
|
|
206
|
-
export type { CountDownTokens } from './count-down/types';
|
|
207
|
-
export { useCountDownTokens } from './count-down/tokens';
|
|
208
|
-
export { default as WaterMark } from './water-mark';
|
|
209
|
-
export type { WaterMarkProps } from './water-mark';
|
|
210
|
-
export type { WaterMarkTokens } from './water-mark/types';
|
|
211
|
-
export { useWaterMarkTokens } from './water-mark/tokens';
|
|
212
|
-
export { default as ErrorBoundary } from './error-boundary';
|
|
213
|
-
export type { ErrorBoundaryProps, ErrorBoundaryRef } from './error-boundary';
|
|
1
|
+
export{default as Button}from'./button';export type{ButtonProps}from'./button';export type{ButtonTokens}from'./button/types';export{useButtonTokens}from'./button/tokens';export{default as Cell}from'./cell';export type{CellProps}from'./cell';export type{CellTokens}from'./cell/types';export{useCellTokens}from'./cell/tokens';export{CellGroup}from'./cell';export type{CellGroupProps}from'./cell';export{default as Flex}from'./flex';export type{FlexProps}from'./flex';export type{FlexTokens}from'./flex/types';export{useFlexTokens}from'./flex/tokens';export{default as Space}from'./space';export type{SpaceProps}from'./space';export type{SpaceTokens}from'./space/types';export{useSpaceTokens}from'./space/tokens';export{default as Divider}from'./divider';export type{DividerProps}from'./divider';export type{DividerTokens}from'./divider/types';export{useDividerTokens}from'./divider/tokens';export{default as Tag}from'./tag';export type{TagProps}from'./tag';export type{TagTokens}from'./tag/types';export{useTagTokens}from'./tag/tokens';export{Checkbox}from'./checkbox';export{CheckboxGroup}from'./checkbox';export type{CheckboxProps,CheckboxGroupProps,CheckboxValue}from'./checkbox';export type{CheckboxTokens}from'./checkbox/types';export{useCheckboxTokens}from'./checkbox/tokens';export{Radio}from'./radio';export{RadioGroup}from'./radio';export type{RadioProps,RadioGroupProps}from'./radio';export type{RadioTokens}from'./radio/types';export{useRadioTokens}from'./radio/tokens';export{default as Field}from'./field';export{FieldGroup}from'./field';export type{FieldProps}from'./field';export type{FieldInstance}from'./field';export type{FieldGroupProps}from'./field';export type{FieldTokens}from'./field/tokens';export{useFieldTokens}from'./field/tokens';export{default as Input}from'./input';export type{InputProps,InputTextAreaProps,InputInstance,InputTextAreaAutoSize,InputTextAreaAutoSizeConfig,}from'./input';export type{InputTokens}from'./input/types';export{useInputTokens}from'./input/tokens';export{default as Form}from'./form';export type{FormProps,FormInstance}from'./form';export{default as Switch}from'./switch';export type{SwitchProps}from'./switch';export type{SwitchTokens}from'./switch/types';export{useSwitchTokens}from'./switch/tokens';export{default as Badge}from'./badge';export type{BadgeProps}from'./badge';export type{BadgeTokens}from'./badge/types';export{useBadgeTokens}from'./badge/tokens';export{default as Avatar}from'./avatar';export type{AvatarProps,AvatarShape,AvatarSize}from'./avatar';export type{AvatarTokens}from'./avatar/types';export{useAvatarTokens}from'./avatar/tokens';export{default as Grid}from'./grid';export type{GridProps,GridItemProps,GridDirection}from'./grid';export type{GridTokens}from'./grid/types';export{useGridTokens}from'./grid/tokens';export{default as Typography}from'./typography';export type{TypographyTextProps,TypographyTitleProps,TypographyLinkProps,TypographyType,TypographySize,TypographyTitleLevel,EllipsisConfig,}from'./typography';export type{TypographyTokens}from'./typography/types';export{useTypographyTokens}from'./typography/tokens';export{default as Loading}from'./loading';export type{LoadingProps}from'./loading';export type{LoadingTokens}from'./loading/types';export{useLoadingTokens}from'./loading/tokens';export{default as Empty}from'./empty';export type{EmptyProps,EmptyImage}from'./empty';export type{EmptyTokens}from'./empty/types';export{useEmptyTokens}from'./empty/tokens';export{default as Image}from'./image';export type{ImageProps,ImageFit}from'./image';export type{ImageTokens}from'./image/types';export{useImageTokens}from'./image';export{default as Progress}from'./progress';export type{ProgressProps}from'./progress';export type{ProgressTokens}from'./progress/types';export{useProgressTokens}from'./progress/tokens';export{default as Circle}from'./circle';export type{CircleProps,CircleStartPosition,CircleLineCap}from'./circle';export type{CircleTokens}from'./circle/types';export{useCircleTokens}from'./circle/tokens';export{default as NoticeBar}from'./notice-bar';export type{NoticeBarProps,NoticeBarMode}from'./notice-bar';export type{NoticeBarTokens}from'./notice-bar/tokens';export{useNoticeBarTokens}from'./notice-bar/tokens';export{default as Slider}from'./slider';export type{SliderProps,SliderValue}from'./slider';export type{SliderTokens}from'./slider/tokens';export{useSliderTokens}from'./slider/tokens';export{default as Stepper}from'./stepper';export type{StepperProps,StepperTheme,StepperInstance}from'./stepper';export type{StepperTokens}from'./stepper/tokens';export{useStepperTokens}from'./stepper/tokens';export{default as Selector}from'./selector';export type{SelectorProps,SelectorOption,SelectorValue}from'./selector';export type{SelectorTokens}from'./selector/types';export{useSelectorTokens}from'./selector/tokens';export{default as Search}from'./search';export type{SearchProps,SearchRef,SearchShape}from'./search';export type{SearchTokens}from'./search/tokens';export{useSearchTokens}from'./search/tokens';export{default as PasswordInput}from'./password-input';export type{PasswordInputProps,PasswordInputRef}from'./password-input';export type{PasswordInputTokens}from'./password-input/tokens';export{default as Picker}from'./picker';export type{PickerProps,PickerOption,PickerValue,PickerColumn,PickerColumns,PickerColumnWithDefault,}from'./picker';export type{PickerTokens}from'./picker/tokens';export{usePickerTokens}from'./picker/tokens';export{default as NumberKeyboard}from'./number-keyboard';export type{NumberKeyboardProps,NumberKeyboardTheme}from'./number-keyboard';export type{NumberKeyboardTokens}from'./number-keyboard/tokens';export{useNumberKeyboardTokens}from'./number-keyboard/tokens';export{default as Collapse}from'./collapse';export type{CollapseProps,CollapsePanelProps,CollapseValue}from'./collapse';export type{CollapseTokens}from'./collapse/types';export{useCollapseTokens}from'./collapse/tokens';export{default as Popup}from'./popup';export type{PopupProps,PopupPlacement}from'./popup';export type{PopupTokens}from'./popup/tokens';export{usePopupTokens}from'./popup/tokens';export{default as Overlay,OverlayProvider}from'./overlay';export type{OverlayProps}from'./overlay';export{default as Dialog}from'./dialog';export type{DialogProps,DialogTheme,DialogMessageAlign,DialogActionState,DialogBeforeCloseAction,DialogShowOptions,DialogAlertOptions,DialogConfirmOptions,}from'./dialog';export type{DialogTokens}from'./dialog/tokens';export{useDialogTokens}from'./dialog/tokens';export{default as Toast}from'./toast';export type{ToastProps,ToastPosition}from'./toast';export type{ToastTokens}from'./toast/tokens';export{useToastTokens}from'./toast/tokens';export{default as Notify}from'./notify';export type{NotifyProps,NotifyType,NotifyPosition}from'./notify';export type{NotifyTokens}from'./notify/types';export{useNotifyTokens}from'./notify/tokens';export{Portal}from'./portal';export{PortalHost}from'./portal';export type{PortalProps}from'./portal/Portal';export{SafeAreaView}from'./safe-area-view';export type{SafeAreaViewProps}from'./safe-area-view';export{ConfigProvider}from'./config-provider';export{useLocale}from'./config-provider';export{useDirection}from'./config-provider';export{zhCN}from'./config-provider';export{enUS}from'./config-provider';export type{ConfigProviderProps,Direction}from'./config-provider';export{default as DatetimePicker}from'./datetime-picker';export type{DatetimePickerProps,DatetimePickerType}from'./datetime-picker';export{default as Calendar}from'./calendar';export type{CalendarProps}from'./calendar';export type{CalendarTokens}from'./calendar/types';export{useCalendarTokens}from'./calendar/tokens';export{default as Cascader}from'./cascader';export type{CascaderProps,CascaderOption,CascaderFieldNames,CascaderValue}from'./cascader';export type{CascaderTokens}from'./cascader/types';export{useCascaderTokens}from'./cascader/tokens';export{default as Tabs}from'./tabs';export type{TabsProps,TabPaneProps,TabsValue,TabsType,TabsAlign}from'./tabs';export type{TabsTokens}from'./tabs/tokens';export{useTabsTokens}from'./tabs/tokens';export{default as Tabbar}from'./tabbar';export type{TabbarProps,TabbarItemProps,TabbarValue}from'./tabbar';export type{TabbarTokens}from'./tabbar/tokens';export{useTabbarTokens}from'./tabbar/tokens';export{default as NavBar}from'./nav-bar';export type{NavBarProps}from'./nav-bar';export type{NavBarTokens}from'./nav-bar/types';export{useNavBarTokens}from'./nav-bar/tokens';export{default as Sidebar}from'./sidebar';export type{SidebarProps,SidebarItemProps}from'./sidebar';export type{SidebarTokens}from'./sidebar/types';export{useSidebarTokens}from'./sidebar/tokens';export{default as ActionSheet}from'./action-sheet';export type{ActionSheetProps,ActionSheetAction,ActionSheetCloseAction}from'./action-sheet';export type{ActionSheetTokens}from'./action-sheet/types';export{useActionSheetTokens}from'./action-sheet/tokens';export{default as ShareSheet}from'./share-sheet';export type{ShareSheetProps,ShareSheetOption,ShareSheetOptions}from'./share-sheet';export type{ShareSheetTokens}from'./share-sheet/tokens';export{useShareSheetTokens}from'./share-sheet/tokens';export{default as Area}from'./area';export type{AreaProps}from'./area';export{default as ImagePreview}from'./image-preview';export type{ImagePreviewProps,ImagePreviewRef,ImagePreviewCloseParams,ImagePreviewOpenOptions,ImagePreviewDestroy,}from'./image-preview';export type{ImagePreviewTokens}from'./image-preview/tokens';export{useImagePreviewTokens}from'./image-preview/tokens';export{default as Swiper}from'./swiper';export{SwiperItem}from'./swiper';export{SwiperPagIndicator}from'./swiper';export type{SwiperProps,SwiperInstance,SwiperItemProps}from'./swiper';export type{SwiperPagIndicatorProps,SwiperPagIndicatorTokens}from'./swiper';export{useSwiperPagIndicatorTokens}from'./swiper';export{default as Skeleton}from'./skeleton';export type{SkeletonProps,SkeletonAvatarShape}from'./skeleton';export type{SkeletonTokens}from'./skeleton/types';export{useSkeletonTokens}from'./skeleton';export{default as CountDown}from'./count-down';export type{CountDownProps,CountDownInstance}from'./count-down';export type{CountDownTokens}from'./count-down/types';export{useCountDownTokens}from'./count-down/tokens';export{default as WaterMark}from'./water-mark';export type{WaterMarkProps}from'./water-mark';export type{WaterMarkTokens}from'./water-mark/types';export{useWaterMarkTokens}from'./water-mark/tokens';export{default as ErrorBoundary}from'./error-boundary';export type{ErrorBoundaryProps,ErrorBoundaryRef}from'./error-boundary';
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import type { InputInstance, InputProps, InputTextAreaProps } from './types';
|
|
3
|
-
declare const TextArea: React.NamedExoticComponent<InputTextAreaProps & React.RefAttributes<InputInstance>>;
|
|
4
|
-
declare const Input: React.NamedExoticComponent<InputProps & React.RefAttributes<InputInstance>> & {
|
|
5
|
-
TextArea: React.NamedExoticComponent<InputTextAreaProps & React.RefAttributes<InputInstance>>;
|
|
6
|
-
};
|
|
7
|
-
export default Input;
|
|
8
|
-
export { TextArea };
|
|
1
|
+
import React from'react';import type{InputInstance,InputProps,InputTextAreaProps}from'./types';declare const TextArea:React.NamedExoticComponent<InputTextAreaProps&React.RefAttributes<InputInstance>>;declare const Input:React.NamedExoticComponent<InputProps&React.RefAttributes<InputInstance>>&{TextArea:React.NamedExoticComponent<InputTextAreaProps&React.RefAttributes<InputInstance>>;};export default Input;export{TextArea};
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
import Input from './Input';
|
|
2
|
-
export default Input;
|
|
3
|
-
export { TextArea } from './Input';
|
|
4
|
-
export type { InputProps, InputTextAreaProps, InputInstance, InputTextAreaAutoSize, InputTextAreaAutoSizeConfig, } from './types';
|
|
1
|
+
import Input from'./Input';export default Input;export{TextArea}from'./Input';export type{InputProps,InputTextAreaProps,InputInstance,InputTextAreaAutoSize,InputTextAreaAutoSizeConfig,}from'./types';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
export declare const useInputTokens: (overrides?: import("../..").DeepPartial<InputTokens> | undefined) => InputTokens;
|
|
1
|
+
import type{InputTokens}from'./types';export declare const useInputTokens:(overrides?:import("../..").DeepPartial<InputTokens>|undefined)=>InputTokens;
|
|
@@ -1,42 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { DeepPartial } from '../../types';
|
|
3
|
-
import type { FieldTokens } from '../field/tokens';
|
|
4
|
-
import type { FieldClearTrigger, FieldInputAlign, FieldProps, FieldShowWordLimit } from '../field/types';
|
|
5
|
-
export interface InputTokens {
|
|
6
|
-
defaults: {
|
|
7
|
-
inputAlign: FieldInputAlign;
|
|
8
|
-
clearTrigger: FieldClearTrigger;
|
|
9
|
-
border: boolean;
|
|
10
|
-
};
|
|
11
|
-
spacing: {
|
|
12
|
-
paddingHorizontal: number;
|
|
13
|
-
paddingVertical: number;
|
|
14
|
-
};
|
|
15
|
-
colors: {
|
|
16
|
-
background: string;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export interface InputProps extends Omit<FieldProps, 'tokensOverride'> {
|
|
20
|
-
align?: FieldInputAlign;
|
|
21
|
-
clearTrigger?: FieldClearTrigger;
|
|
22
|
-
onChange?: (value: string) => void;
|
|
23
|
-
showWordLimit?: FieldShowWordLimit;
|
|
24
|
-
style?: StyleProp<ViewStyle>;
|
|
25
|
-
inputStyle?: StyleProp<TextStyle>;
|
|
26
|
-
fieldTokensOverride?: DeepPartial<FieldTokens>;
|
|
27
|
-
tokensOverride?: DeepPartial<InputTokens>;
|
|
28
|
-
}
|
|
29
|
-
export interface InputInstance {
|
|
30
|
-
focus: () => void;
|
|
31
|
-
blur: () => void;
|
|
32
|
-
clear: () => void;
|
|
33
|
-
nativeElement: TextInput | null;
|
|
34
|
-
}
|
|
35
|
-
export interface InputTextAreaAutoSizeConfig {
|
|
36
|
-
minHeight?: number;
|
|
37
|
-
maxHeight?: number;
|
|
38
|
-
}
|
|
39
|
-
export type InputTextAreaAutoSize = boolean | InputTextAreaAutoSizeConfig;
|
|
40
|
-
export interface InputTextAreaProps extends Omit<InputProps, 'type' | 'autoSize' | 'autosize'> {
|
|
41
|
-
autoSize?: InputTextAreaAutoSize;
|
|
42
|
-
}
|
|
1
|
+
import type{StyleProp,TextInput,TextStyle,ViewStyle}from'react-native';import type{DeepPartial}from'../../types';import type{FieldTokens}from'../field/tokens';import type{FieldClearTrigger,FieldInputAlign,FieldProps,FieldShowWordLimit}from'../field/types';export interface InputTokens{defaults:{inputAlign:FieldInputAlign;clearTrigger:FieldClearTrigger;border:boolean;};spacing:{paddingHorizontal:number;paddingVertical:number;};colors:{background:string;};}export interface InputProps extends Omit<FieldProps,'tokensOverride'>{align?:FieldInputAlign;clearTrigger?:FieldClearTrigger;onChange?:(value:string)=>void;showWordLimit?:FieldShowWordLimit;style?:StyleProp<ViewStyle>;inputStyle?:StyleProp<TextStyle>;fieldTokensOverride?:DeepPartial<FieldTokens>;tokensOverride?:DeepPartial<InputTokens>;}export interface InputInstance{focus:()=>void;blur:()=>void;clear:()=>void;nativeElement:TextInput|null;}export interface InputTextAreaAutoSizeConfig{minHeight?:number;maxHeight?:number;}export type InputTextAreaAutoSize=boolean|InputTextAreaAutoSizeConfig;export interface InputTextAreaProps extends Omit<InputProps,'type'|'autoSize'|'autosize'>{autoSize?:InputTextAreaAutoSize;}
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import type { LoadingProps } from './types';
|
|
3
|
-
export declare const Loading: React.NamedExoticComponent<LoadingProps>;
|
|
1
|
+
import React from'react';import type{LoadingProps}from'./types';export declare const Loading:React.NamedExoticComponent<LoadingProps>;
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { LoadingTokens } from './types';
|
|
3
|
-
export declare const createLoadingTokens: (foundations: Foundations) => LoadingTokens;
|
|
4
|
-
export declare const useLoadingTokens: (overrides?: import("../..").DeepPartial<LoadingTokens> | undefined) => LoadingTokens;
|
|
1
|
+
import type{Foundations}from'../../design-system/tokens';import type{LoadingTokens}from'./types';export declare const createLoadingTokens:(foundations:Foundations)=>LoadingTokens;export declare const useLoadingTokens:(overrides?:import("../..").DeepPartial<LoadingTokens>|undefined)=>LoadingTokens;
|