@arco-design/mobile-react 2.27.4 → 2.28.0
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/CHANGELOG.md +33 -0
- package/README.en-US.md +2 -2
- package/README.md +2 -2
- package/cjs/_helpers/hooks.d.ts +1 -0
- package/cjs/_helpers/hooks.js +44 -28
- package/cjs/action-sheet/index.d.ts +2 -2
- package/cjs/badge/index.js +2 -1
- package/cjs/badge/style/css/index.css +12 -0
- package/cjs/badge/style/index.less +3 -3
- package/cjs/button/style/css/index.css +4 -0
- package/cjs/button/style/index.less +1 -1
- package/cjs/cell/style/css/index.css +7 -0
- package/cjs/cell/style/index.less +4 -1
- package/cjs/checkbox/style/css/index.css +13 -0
- package/cjs/checkbox/style/index.less +3 -3
- package/cjs/collapse/collapse.js +12 -6
- package/cjs/dialog/index.d.ts +2 -2
- package/cjs/form/style/css/index.css +16 -0
- package/cjs/form/style/index.less +4 -4
- package/cjs/image-preview/index.d.ts +2 -2
- package/cjs/image-preview/index.js +4 -2
- package/cjs/image-preview/style/css/index.css +3 -0
- package/cjs/image-preview/style/index.less +4 -0
- package/cjs/index.d.ts +12 -12
- package/cjs/index.js +46 -46
- package/cjs/load-more/index.d.ts +5 -0
- package/cjs/load-more/index.js +2 -1
- package/cjs/masking/index.d.ts +2 -2
- package/cjs/masking/index.js +4 -2
- package/cjs/notify/index.d.ts +8 -8
- package/cjs/popover/popover.js +10 -2
- package/cjs/popup/index.d.ts +2 -2
- package/cjs/popup-swiper/index.d.ts +2 -2
- package/cjs/radio/style/css/index.css +8 -0
- package/cjs/radio/style/index.less +2 -2
- package/cjs/rate/index.js +5 -3
- package/cjs/rate/style/css/index.css +4 -0
- package/cjs/rate/style/index.less +4 -0
- package/cjs/slider/hooks/index.d.ts +1 -1
- package/cjs/slider/popover.js +6 -2
- package/cjs/stepper/hooks/useButtonClick.js +8 -9
- package/cjs/sticky/index.d.ts +5 -0
- package/cjs/sticky/index.js +20 -7
- package/cjs/style.d.ts +13 -13
- package/cjs/style.js +24 -24
- package/cjs/switch/index.js +7 -2
- package/cjs/switch/style/css/index.css +44 -0
- package/cjs/switch/style/index.less +19 -7
- package/cjs/tabs/demo/style/css/mobile.css +11 -0
- package/cjs/tabs/demo/style/mobile.less +5 -1
- package/cjs/tabs/index.js +14 -5
- package/cjs/tabs/style/css/index.css +32 -7
- package/cjs/tabs/style/index.less +9 -14
- package/cjs/tabs/tab-cell-underline.js +14 -5
- package/cjs/tabs/tab-cell.js +15 -7
- package/cjs/tabs/tab-pane.js +4 -3
- package/cjs/tabs/type.d.ts +1 -0
- package/cjs/toast/index.d.ts +12 -12
- package/cjs/toast/index.js +5 -2
- package/dist/index.js +13914 -13836
- package/dist/index.min.js +4 -4
- package/dist/style.css +3366 -3236
- package/dist/style.min.css +1 -1
- package/esm/_helpers/hooks.d.ts +1 -0
- package/esm/_helpers/hooks.js +43 -29
- package/esm/action-sheet/index.d.ts +2 -2
- package/esm/badge/index.js +2 -1
- package/esm/badge/style/css/index.css +12 -0
- package/esm/badge/style/index.less +3 -3
- package/esm/button/style/css/index.css +4 -0
- package/esm/button/style/index.less +1 -1
- package/esm/cell/style/css/index.css +7 -0
- package/esm/cell/style/index.less +4 -1
- package/esm/checkbox/style/css/index.css +13 -0
- package/esm/checkbox/style/index.less +3 -3
- package/esm/collapse/collapse.js +14 -8
- package/esm/dialog/index.d.ts +2 -2
- package/esm/form/style/css/index.css +16 -0
- package/esm/form/style/index.less +4 -4
- package/esm/image-preview/index.d.ts +2 -2
- package/esm/image-preview/index.js +4 -2
- package/esm/image-preview/style/css/index.css +3 -0
- package/esm/image-preview/style/index.less +4 -0
- package/esm/index.d.ts +12 -12
- package/esm/index.js +12 -12
- package/esm/load-more/index.d.ts +5 -0
- package/esm/load-more/index.js +2 -1
- package/esm/masking/index.d.ts +2 -2
- package/esm/masking/index.js +4 -2
- package/esm/notify/index.d.ts +8 -8
- package/esm/popover/popover.js +10 -2
- package/esm/popup/index.d.ts +2 -2
- package/esm/popup-swiper/index.d.ts +2 -2
- package/esm/radio/style/css/index.css +8 -0
- package/esm/radio/style/index.less +2 -2
- package/esm/rate/index.js +5 -3
- package/esm/rate/style/css/index.css +4 -0
- package/esm/rate/style/index.less +4 -0
- package/esm/slider/hooks/index.d.ts +1 -1
- package/esm/slider/popover.js +7 -3
- package/esm/stepper/hooks/useButtonClick.js +8 -9
- package/esm/sticky/index.d.ts +5 -0
- package/esm/sticky/index.js +20 -7
- package/esm/style.d.ts +13 -13
- package/esm/style.js +13 -13
- package/esm/switch/index.js +9 -4
- package/esm/switch/style/css/index.css +44 -0
- package/esm/switch/style/index.less +19 -7
- package/esm/tabs/demo/style/css/mobile.css +11 -0
- package/esm/tabs/demo/style/mobile.less +5 -1
- package/esm/tabs/index.js +16 -7
- package/esm/tabs/style/css/index.css +32 -7
- package/esm/tabs/style/index.less +9 -14
- package/esm/tabs/tab-cell-underline.js +14 -6
- package/esm/tabs/tab-cell.js +15 -8
- package/esm/tabs/tab-pane.js +4 -3
- package/esm/tabs/type.d.ts +1 -0
- package/esm/toast/index.d.ts +12 -12
- package/esm/toast/index.js +5 -2
- package/package.json +3 -3
- package/umd/_helpers/hooks.d.ts +1 -0
- package/umd/_helpers/hooks.js +44 -28
- package/umd/action-sheet/index.d.ts +2 -2
- package/umd/badge/index.js +2 -1
- package/umd/badge/style/css/index.css +12 -0
- package/umd/badge/style/index.less +3 -3
- package/umd/button/style/css/index.css +4 -0
- package/umd/button/style/index.less +1 -1
- package/umd/cell/style/css/index.css +7 -0
- package/umd/cell/style/index.less +4 -1
- package/umd/checkbox/style/css/index.css +13 -0
- package/umd/checkbox/style/index.less +3 -3
- package/umd/collapse/collapse.js +12 -6
- package/umd/dialog/index.d.ts +2 -2
- package/umd/form/style/css/index.css +16 -0
- package/umd/form/style/index.less +4 -4
- package/umd/image-preview/index.d.ts +2 -2
- package/umd/image-preview/index.js +4 -2
- package/umd/image-preview/style/css/index.css +3 -0
- package/umd/image-preview/style/index.less +4 -0
- package/umd/index.d.ts +12 -12
- package/umd/index.js +28 -28
- package/umd/load-more/index.d.ts +5 -0
- package/umd/load-more/index.js +2 -1
- package/umd/masking/index.d.ts +2 -2
- package/umd/masking/index.js +4 -2
- package/umd/notify/index.d.ts +8 -8
- package/umd/popover/popover.js +10 -2
- package/umd/popup/index.d.ts +2 -2
- package/umd/popup-swiper/index.d.ts +2 -2
- package/umd/radio/style/css/index.css +8 -0
- package/umd/radio/style/index.less +2 -2
- package/umd/rate/index.js +5 -3
- package/umd/rate/style/css/index.css +4 -0
- package/umd/rate/style/index.less +4 -0
- package/umd/slider/hooks/index.d.ts +1 -1
- package/umd/slider/popover.js +6 -2
- package/umd/stepper/hooks/useButtonClick.js +8 -9
- package/umd/sticky/index.d.ts +5 -0
- package/umd/sticky/index.js +20 -7
- package/umd/style.d.ts +13 -13
- package/umd/style.js +2 -2
- package/umd/switch/index.js +7 -2
- package/umd/switch/style/css/index.css +44 -0
- package/umd/switch/style/index.less +19 -7
- package/umd/tabs/demo/style/css/mobile.css +11 -0
- package/umd/tabs/demo/style/mobile.less +5 -1
- package/umd/tabs/index.js +14 -5
- package/umd/tabs/style/css/index.css +32 -7
- package/umd/tabs/style/index.less +9 -14
- package/umd/tabs/tab-cell-underline.js +16 -9
- package/umd/tabs/tab-cell.js +17 -11
- package/umd/tabs/tab-pane.js +4 -3
- package/umd/tabs/type.d.ts +1 -0
- package/umd/toast/index.d.ts +12 -12
- package/umd/toast/index.js +5 -2
package/esm/index.js
CHANGED
@@ -1,34 +1,31 @@
|
|
1
|
-
export { default as
|
1
|
+
export { default as Tabs } from './tabs';
|
2
|
+
export { default as Sticky } from './sticky';
|
3
|
+
export { default as LoadMore } from './load-more';
|
4
|
+
export { default as Cell } from './cell';
|
2
5
|
export { default as ActionSheet } from './action-sheet';
|
3
6
|
export { default as Avatar } from './avatar';
|
4
7
|
export { default as Badge } from './badge';
|
8
|
+
export { default as Button } from './button';
|
5
9
|
export { default as Carousel } from './carousel';
|
6
|
-
export { default as Cell } from './cell';
|
7
10
|
export { default as Checkbox } from './checkbox';
|
8
11
|
export { default as CircleProgress } from './circle-progress';
|
9
12
|
export { default as Collapse } from './collapse';
|
10
13
|
export { default as ContextProvider } from './context-provider';
|
11
14
|
export { default as CountDown } from './count-down';
|
12
15
|
export { default as DatePicker } from './date-picker';
|
13
|
-
export { default as Divider } from './divider';
|
14
16
|
export { default as Dialog } from './dialog';
|
17
|
+
export { default as Divider } from './divider';
|
15
18
|
export { default as Dropdown } from './dropdown';
|
16
19
|
export { default as DropdownMenu } from './dropdown-menu';
|
17
20
|
export { default as Ellipsis } from './ellipsis';
|
18
21
|
export { default as Form } from './form';
|
19
|
-
export { default as Input } from './input';
|
20
|
-
export { default as Textarea } from './textarea';
|
21
|
-
export { default as Radio } from './radio';
|
22
|
-
export { default as Rate } from './rate';
|
23
|
-
export { default as Slider } from './slider';
|
24
22
|
export { default as Grid } from './grid';
|
25
23
|
export { default as Image } from './image';
|
26
|
-
export { default as ShowMonitor } from './show-monitor';
|
27
24
|
export { default as ImagePicker } from './image-picker';
|
28
25
|
export { default as ImagePreview } from './image-preview';
|
29
26
|
export { default as IndexBar } from './index-bar';
|
27
|
+
export { default as Input } from './input';
|
30
28
|
export { default as Keyboard } from './keyboard';
|
31
|
-
export { default as LoadMore } from './load-more';
|
32
29
|
export { default as Loading } from './loading';
|
33
30
|
export { default as Masking } from './masking';
|
34
31
|
export { default as NavBar } from './nav-bar';
|
@@ -43,15 +40,18 @@ export { default as PopupSwiper } from './popup-swiper';
|
|
43
40
|
export { default as Portal } from './portal';
|
44
41
|
export { default as Progress } from './progress';
|
45
42
|
export { default as PullRefresh } from './pull-refresh';
|
43
|
+
export { default as Radio } from './radio';
|
44
|
+
export { default as Rate } from './rate';
|
46
45
|
export { default as SearchBar } from './search-bar';
|
46
|
+
export { default as ShowMonitor } from './show-monitor';
|
47
|
+
export { default as Slider } from './slider';
|
47
48
|
export { default as Stepper } from './stepper';
|
48
49
|
export { default as Steps } from './steps';
|
49
|
-
export { default as Sticky } from './sticky';
|
50
50
|
export { default as SwipeAction } from './swipe-action';
|
51
51
|
export { default as SwipeLoad } from './swipe-load';
|
52
52
|
export { default as Switch } from './switch';
|
53
53
|
export { default as TabBar } from './tab-bar';
|
54
|
-
export { default as Tabs } from './tabs';
|
55
54
|
export { default as Tag } from './tag';
|
55
|
+
export { default as Textarea } from './textarea';
|
56
56
|
export { default as Toast } from './toast';
|
57
57
|
export { default as Transition } from './transition';
|
package/esm/load-more/index.d.ts
CHANGED
@@ -62,6 +62,11 @@ export interface LoadMoreProps {
|
|
62
62
|
* @default () => window
|
63
63
|
*/
|
64
64
|
getScrollContainer?: () => HTMLElement | Window | null;
|
65
|
+
/**
|
66
|
+
* 当多个 loadmore 在同一页面时,通过传入节点的 offsetHeight + offsetTop 代替 scrollHeight
|
67
|
+
* @en When multiple loadmores are on the same page, pass in the offsetHeight + offsetTop of the node instead of scrollHeight
|
68
|
+
*/
|
69
|
+
getOffsetNode?: () => HTMLElement | Window | null;
|
65
70
|
/**
|
66
71
|
* 触发loading的时机,当为click时,点击后将触发getData
|
67
72
|
* @en The timing of triggering loading, when it is click, getData will be triggered after clicking
|
package/esm/load-more/index.js
CHANGED
@@ -25,6 +25,7 @@ var LoadMore = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
25
25
|
defaultStatus = _props$defaultStatus === void 0 ? 'prepare' : _props$defaultStatus,
|
26
26
|
status = props.status,
|
27
27
|
getScrollContainer = props.getScrollContainer,
|
28
|
+
getOffsetNode = props.getOffsetNode,
|
28
29
|
_props$trigger = props.trigger,
|
29
30
|
trigger = _props$trigger === void 0 ? 'scroll' : _props$trigger,
|
30
31
|
_props$threshold = props.threshold,
|
@@ -127,7 +128,7 @@ var LoadMore = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
127
128
|
}, [changeStatus]);
|
128
129
|
|
129
130
|
function checkNeedTrigger(top, ths) {
|
130
|
-
var scrollHeight = getScrollContainerAttribute('scrollHeight', getScrollContainer);
|
131
|
+
var scrollHeight = getOffsetNode ? getScrollContainerAttribute('offsetHeight', getOffsetNode) + getScrollContainerAttribute('offsetTop', getOffsetNode) : getScrollContainerAttribute('scrollHeight', getScrollContainer);
|
131
132
|
var clientHeight = getScrollContainerAttribute('clientHeight', getScrollContainer);
|
132
133
|
return scrollHeight - top - clientHeight <= ths;
|
133
134
|
}
|
package/esm/masking/index.d.ts
CHANGED
@@ -205,11 +205,11 @@ declare const _default: React.ForwardRefExoticComponent<MaskingProps & React.Ref
|
|
205
205
|
* @param {MaskingProps} config Configuration
|
206
206
|
* @returns {{ close: () => void; update: (newConfig: MaskingProps) => void; }}
|
207
207
|
*/
|
208
|
-
open: (config: Pick<import("../context-provider").WithGlobalContext<MaskingProps & React.RefAttributes<MaskingRef>>, "children" | "ref" | "key" | "context" | "className" | "getContainer" | "mountOnEnter" | "unmountOnExit" | "onClose" | "contentAtCenter" | "maskClass" | "maskStyle" | "contentClass" | "contentStyle" | "maskTransitionType" | "contentTransitionType" | "maskTransitionTimeout" | "contentTransitionTimeout" | "maskClosable" | "animatingClosable" | "orientationDirection" | "preventBodyScroll" | "initialBodyOverflow" | "gestureOutOfControl" | "onOpen" | "onMaskClick" | "
|
208
|
+
open: (config: Pick<import("../context-provider").WithGlobalContext<MaskingProps & React.RefAttributes<MaskingRef>>, "children" | "ref" | "key" | "context" | "className" | "getScrollContainer" | "onTouchMove" | "getContainer" | "mountOnEnter" | "unmountOnExit" | "onClose" | "contentAtCenter" | "maskClass" | "maskStyle" | "contentClass" | "contentStyle" | "maskTransitionType" | "contentTransitionType" | "maskTransitionTimeout" | "contentTransitionTimeout" | "maskClosable" | "animatingClosable" | "orientationDirection" | "preventBodyScroll" | "initialBodyOverflow" | "gestureOutOfControl" | "onOpen" | "onMaskClick" | "onPreventTouchMove"> & {
|
209
209
|
key?: string | undefined;
|
210
210
|
}, context?: import("../context-provider").GlobalContextParams | undefined) => {
|
211
211
|
close: () => void;
|
212
|
-
update: (newConfig: Pick<import("../context-provider").WithGlobalContext<MaskingProps & React.RefAttributes<MaskingRef>>, "children" | "ref" | "key" | "context" | "className" | "getContainer" | "mountOnEnter" | "unmountOnExit" | "onClose" | "contentAtCenter" | "maskClass" | "maskStyle" | "contentClass" | "contentStyle" | "maskTransitionType" | "contentTransitionType" | "maskTransitionTimeout" | "contentTransitionTimeout" | "maskClosable" | "animatingClosable" | "orientationDirection" | "preventBodyScroll" | "initialBodyOverflow" | "gestureOutOfControl" | "onOpen" | "onMaskClick" | "
|
212
|
+
update: (newConfig: Pick<import("../context-provider").WithGlobalContext<MaskingProps & React.RefAttributes<MaskingRef>>, "children" | "ref" | "key" | "context" | "className" | "getScrollContainer" | "onTouchMove" | "getContainer" | "mountOnEnter" | "unmountOnExit" | "onClose" | "contentAtCenter" | "maskClass" | "maskStyle" | "contentClass" | "contentStyle" | "maskTransitionType" | "contentTransitionType" | "maskTransitionTimeout" | "contentTransitionTimeout" | "maskClosable" | "animatingClosable" | "orientationDirection" | "preventBodyScroll" | "initialBodyOverflow" | "gestureOutOfControl" | "onOpen" | "onMaskClick" | "onPreventTouchMove"> & {
|
213
213
|
key?: string | undefined;
|
214
214
|
}) => void;
|
215
215
|
};
|
package/esm/masking/index.js
CHANGED
@@ -156,7 +156,8 @@ var Masking = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
156
156
|
timeout: maskTransitionTimeout,
|
157
157
|
type: maskTransitionType,
|
158
158
|
mountOnEnter: mountOnEnter,
|
159
|
-
unmountOnExit: unmountOnExit
|
159
|
+
unmountOnExit: unmountOnExit,
|
160
|
+
nodeRef: maskRef
|
160
161
|
}, /*#__PURE__*/React.createElement("div", {
|
161
162
|
ref: maskRef,
|
162
163
|
className: cls(prefixCls + "-masking-mask", extraClass, maskClass),
|
@@ -167,7 +168,8 @@ var Masking = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
167
168
|
timeout: contentTransitionTimeout,
|
168
169
|
type: contentTransitionType,
|
169
170
|
mountOnEnter: mountOnEnter,
|
170
|
-
unmountOnExit: unmountOnExit
|
171
|
+
unmountOnExit: unmountOnExit,
|
172
|
+
nodeRef: contentRef
|
171
173
|
}, /*#__PURE__*/React.createElement("div", {
|
172
174
|
ref: contentRef,
|
173
175
|
className: cls(prefixCls + "-masking-content", {
|
package/esm/notify/index.d.ts
CHANGED
@@ -51,8 +51,8 @@ declare const _default: React.ForwardRefExoticComponent<NotifyProps & React.RefA
|
|
51
51
|
* @param {string | NotifyProps} config
|
52
52
|
* @returns {{ update: (config: NotifyProps) => void; close: () => void }}
|
53
53
|
*/
|
54
|
-
info: (originConfig: string | Pick<import("../context-provider").WithGlobalContext<NotifyProps & React.RefAttributes<NotifyRef>>, "style" | "content" | "transitionDuration" | "ref" | "key" | "type" | "context" | "
|
55
|
-
update: (newConfig: Pick<import("../context-provider").WithGlobalContext<NotifyProps & React.RefAttributes<NotifyRef>>, "style" | "content" | "transitionDuration" | "ref" | "key" | "type" | "context" | "
|
54
|
+
info: (originConfig: string | Pick<import("../context-provider").WithGlobalContext<NotifyProps & React.RefAttributes<NotifyRef>>, "style" | "content" | "transitionDuration" | "ref" | "key" | "type" | "context" | "duration" | "className" | "getContainer" | "onClose">, context?: import("../context-provider").GlobalContextParams | undefined) => {
|
55
|
+
update: (newConfig: Pick<import("../context-provider").WithGlobalContext<NotifyProps & React.RefAttributes<NotifyRef>>, "style" | "content" | "transitionDuration" | "ref" | "key" | "type" | "context" | "duration" | "className" | "getContainer" | "onClose">) => void;
|
56
56
|
close: () => void;
|
57
57
|
};
|
58
58
|
/**
|
@@ -61,8 +61,8 @@ declare const _default: React.ForwardRefExoticComponent<NotifyProps & React.RefA
|
|
61
61
|
* @param {string | NotifyProps} config
|
62
62
|
* @returns {{ update: (config: NotifyProps) => void; close: () => void }}
|
63
63
|
*/
|
64
|
-
success: (originConfig: string | Pick<import("../context-provider").WithGlobalContext<NotifyProps & React.RefAttributes<NotifyRef>>, "style" | "content" | "transitionDuration" | "ref" | "key" | "type" | "context" | "
|
65
|
-
update: (newConfig: Pick<import("../context-provider").WithGlobalContext<NotifyProps & React.RefAttributes<NotifyRef>>, "style" | "content" | "transitionDuration" | "ref" | "key" | "type" | "context" | "
|
64
|
+
success: (originConfig: string | Pick<import("../context-provider").WithGlobalContext<NotifyProps & React.RefAttributes<NotifyRef>>, "style" | "content" | "transitionDuration" | "ref" | "key" | "type" | "context" | "duration" | "className" | "getContainer" | "onClose">, context?: import("../context-provider").GlobalContextParams | undefined) => {
|
65
|
+
update: (newConfig: Pick<import("../context-provider").WithGlobalContext<NotifyProps & React.RefAttributes<NotifyRef>>, "style" | "content" | "transitionDuration" | "ref" | "key" | "type" | "context" | "duration" | "className" | "getContainer" | "onClose">) => void;
|
66
66
|
close: () => void;
|
67
67
|
};
|
68
68
|
/**
|
@@ -71,8 +71,8 @@ declare const _default: React.ForwardRefExoticComponent<NotifyProps & React.RefA
|
|
71
71
|
* @param {string | NotifyProps} config
|
72
72
|
* @returns {{ update: (config: NotifyProps) => void; close: () => void }}
|
73
73
|
*/
|
74
|
-
error: (originConfig: string | Pick<import("../context-provider").WithGlobalContext<NotifyProps & React.RefAttributes<NotifyRef>>, "style" | "content" | "transitionDuration" | "ref" | "key" | "type" | "context" | "
|
75
|
-
update: (newConfig: Pick<import("../context-provider").WithGlobalContext<NotifyProps & React.RefAttributes<NotifyRef>>, "style" | "content" | "transitionDuration" | "ref" | "key" | "type" | "context" | "
|
74
|
+
error: (originConfig: string | Pick<import("../context-provider").WithGlobalContext<NotifyProps & React.RefAttributes<NotifyRef>>, "style" | "content" | "transitionDuration" | "ref" | "key" | "type" | "context" | "duration" | "className" | "getContainer" | "onClose">, context?: import("../context-provider").GlobalContextParams | undefined) => {
|
75
|
+
update: (newConfig: Pick<import("../context-provider").WithGlobalContext<NotifyProps & React.RefAttributes<NotifyRef>>, "style" | "content" | "transitionDuration" | "ref" | "key" | "type" | "context" | "duration" | "className" | "getContainer" | "onClose">) => void;
|
76
76
|
close: () => void;
|
77
77
|
};
|
78
78
|
/**
|
@@ -81,8 +81,8 @@ declare const _default: React.ForwardRefExoticComponent<NotifyProps & React.RefA
|
|
81
81
|
* @param {string | NotifyProps} config
|
82
82
|
* @returns {{ update: (config: NotifyProps) => void; close: () => void }}
|
83
83
|
*/
|
84
|
-
warn: (originConfig: string | Pick<import("../context-provider").WithGlobalContext<NotifyProps & React.RefAttributes<NotifyRef>>, "style" | "content" | "transitionDuration" | "ref" | "key" | "type" | "context" | "
|
85
|
-
update: (newConfig: Pick<import("../context-provider").WithGlobalContext<NotifyProps & React.RefAttributes<NotifyRef>>, "style" | "content" | "transitionDuration" | "ref" | "key" | "type" | "context" | "
|
84
|
+
warn: (originConfig: string | Pick<import("../context-provider").WithGlobalContext<NotifyProps & React.RefAttributes<NotifyRef>>, "style" | "content" | "transitionDuration" | "ref" | "key" | "type" | "context" | "duration" | "className" | "getContainer" | "onClose">, context?: import("../context-provider").GlobalContextParams | undefined) => {
|
85
|
+
update: (newConfig: Pick<import("../context-provider").WithGlobalContext<NotifyProps & React.RefAttributes<NotifyRef>>, "style" | "content" | "transitionDuration" | "ref" | "key" | "type" | "context" | "duration" | "className" | "getContainer" | "onClose">) => void;
|
86
86
|
close: () => void;
|
87
87
|
};
|
88
88
|
};
|
package/esm/popover/popover.js
CHANGED
@@ -66,6 +66,8 @@ export var Popover = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
66
66
|
var wrapperRef = useRef(null);
|
67
67
|
var childRef = useRef(null);
|
68
68
|
var popoverRef = useRef(null);
|
69
|
+
var transitionNodeRef = useRef(null);
|
70
|
+
var maskRef = useRef(null);
|
69
71
|
|
70
72
|
var _usePosition = usePosition(props, popoverRef, childRef, wrapperRef),
|
71
73
|
direction = _usePosition.direction,
|
@@ -197,7 +199,10 @@ export var Popover = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
197
199
|
className: cls(theme + "-theme", innerPopoverClassName, {
|
198
200
|
bordered: bordered
|
199
201
|
}),
|
200
|
-
ref:
|
202
|
+
ref: function ref(ele) {
|
203
|
+
popoverRef.current = ele;
|
204
|
+
transitionNodeRef.current = ele == null ? void 0 : ele.dom;
|
205
|
+
},
|
201
206
|
direction: direction,
|
202
207
|
minWidth: minWidth,
|
203
208
|
maxWidth: maxWidth,
|
@@ -225,6 +230,7 @@ export var Popover = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
225
230
|
in: visibleState && !isCalcPosition,
|
226
231
|
timeout: transitionTimeout,
|
227
232
|
type: transitionName,
|
233
|
+
nodeRef: transitionNodeRef,
|
228
234
|
mountOnEnter: true,
|
229
235
|
unmountOnExit: true
|
230
236
|
}, renderInnerPopover()));
|
@@ -233,12 +239,14 @@ export var Popover = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
233
239
|
return /*#__PURE__*/React.createElement(React.Fragment, null, showMask && /*#__PURE__*/React.createElement(Portal, null, /*#__PURE__*/React.createElement(Transition, {
|
234
240
|
in: visibleState && !isCalcPosition,
|
235
241
|
timeout: maskTransitionTimeout,
|
242
|
+
nodeRef: maskRef,
|
236
243
|
type: "fade",
|
237
244
|
mountOnEnter: true,
|
238
245
|
unmountOnExit: true
|
239
246
|
}, /*#__PURE__*/React.createElement("div", {
|
240
247
|
className: prefixCls + "-popover-mask",
|
241
|
-
onClick: onClickMask
|
248
|
+
onClick: onClickMask,
|
249
|
+
ref: maskRef
|
242
250
|
}))), /*#__PURE__*/React.createElement("div", {
|
243
251
|
className: cls(prefixCls + "-popover", className, theme + "-theme", mode + "-mode", {
|
244
252
|
bordered: bordered,
|
package/esm/popup/index.d.ts
CHANGED
@@ -66,11 +66,11 @@ declare const _default: React.ForwardRefExoticComponent<PopupProps & React.RefAt
|
|
66
66
|
* @param {PopupProps} config Configuration
|
67
67
|
* @returns {{ close: () => void; update: (newConfig: PopupProps) => void; }}
|
68
68
|
*/
|
69
|
-
open: (config: Pick<import("../context-provider").WithGlobalContext<PopupProps & React.RefAttributes<PopupRef>>, "direction" | "children" | "ref" | "key" | "context" | "className" | "getContainer" | "mountOnEnter" | "unmountOnExit" | "onClose" | "maskClass" | "maskStyle" | "contentClass" | "contentStyle" | "maskTransitionType" | "contentTransitionType" | "maskTransitionTimeout" | "contentTransitionTimeout" | "maskClosable" | "animatingClosable" | "orientationDirection" | "preventBodyScroll" | "initialBodyOverflow" | "gestureOutOfControl" | "onOpen" | "onMaskClick" | "
|
69
|
+
open: (config: Pick<import("../context-provider").WithGlobalContext<PopupProps & React.RefAttributes<PopupRef>>, "direction" | "children" | "ref" | "key" | "context" | "translateZ" | "className" | "getScrollContainer" | "onTouchMove" | "getContainer" | "mountOnEnter" | "unmountOnExit" | "onClose" | "maskClass" | "maskStyle" | "contentClass" | "contentStyle" | "maskTransitionType" | "contentTransitionType" | "maskTransitionTimeout" | "contentTransitionTimeout" | "maskClosable" | "animatingClosable" | "orientationDirection" | "preventBodyScroll" | "initialBodyOverflow" | "gestureOutOfControl" | "onOpen" | "onMaskClick" | "onPreventTouchMove" | "needBottomOffset"> & {
|
70
70
|
key?: string | undefined;
|
71
71
|
}, context?: import("../context-provider").GlobalContextParams | undefined) => {
|
72
72
|
close: () => void;
|
73
|
-
update: (newConfig: Pick<import("../context-provider").WithGlobalContext<PopupProps & React.RefAttributes<PopupRef>>, "direction" | "children" | "ref" | "key" | "context" | "className" | "getContainer" | "mountOnEnter" | "unmountOnExit" | "onClose" | "maskClass" | "maskStyle" | "contentClass" | "contentStyle" | "maskTransitionType" | "contentTransitionType" | "maskTransitionTimeout" | "contentTransitionTimeout" | "maskClosable" | "animatingClosable" | "orientationDirection" | "preventBodyScroll" | "initialBodyOverflow" | "gestureOutOfControl" | "onOpen" | "onMaskClick" | "
|
73
|
+
update: (newConfig: Pick<import("../context-provider").WithGlobalContext<PopupProps & React.RefAttributes<PopupRef>>, "direction" | "children" | "ref" | "key" | "context" | "translateZ" | "className" | "getScrollContainer" | "onTouchMove" | "getContainer" | "mountOnEnter" | "unmountOnExit" | "onClose" | "maskClass" | "maskStyle" | "contentClass" | "contentStyle" | "maskTransitionType" | "contentTransitionType" | "maskTransitionTimeout" | "contentTransitionTimeout" | "maskClosable" | "animatingClosable" | "orientationDirection" | "preventBodyScroll" | "initialBodyOverflow" | "gestureOutOfControl" | "onOpen" | "onMaskClick" | "onPreventTouchMove" | "needBottomOffset"> & {
|
74
74
|
key?: string | undefined;
|
75
75
|
}) => void;
|
76
76
|
};
|
@@ -76,11 +76,11 @@ declare const _default: React.ForwardRefExoticComponent<PopupSwiperProps & React
|
|
76
76
|
* @param {string | PopupSwiperProps} config Configuration
|
77
77
|
* @returns {{ close: () => void; update: (newConfig: PopupSwiperProps) => void; }}
|
78
78
|
*/
|
79
|
-
open: (config: Pick<import("../context-provider").WithGlobalContext<PopupSwiperProps & React.RefAttributes<PopupSwiperRef>>, "direction" | "children" | "ref" | "key" | "context" | "
|
79
|
+
open: (config: Pick<import("../context-provider").WithGlobalContext<PopupSwiperProps & React.RefAttributes<PopupSwiperRef>>, "direction" | "children" | "ref" | "key" | "context" | "translateZ" | "className" | "getScrollContainer" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "getContainer" | "mountOnEnter" | "unmountOnExit" | "onClose" | "maskClass" | "maskStyle" | "contentClass" | "contentStyle" | "maskTransitionType" | "contentTransitionType" | "maskTransitionTimeout" | "contentTransitionTimeout" | "maskClosable" | "animatingClosable" | "orientationDirection" | "preventBodyScroll" | "initialBodyOverflow" | "gestureOutOfControl" | "onOpen" | "onMaskClick" | "onPreventTouchMove" | "needBottomOffset" | "percentToClose" | "distanceToClose" | "speedToClose" | "allowSwipeDirections" | "exitDirection"> & {
|
80
80
|
key?: string | undefined;
|
81
81
|
}, context?: import("../context-provider").GlobalContextParams | undefined) => {
|
82
82
|
close: () => void;
|
83
|
-
update: (newConfig: Pick<import("../context-provider").WithGlobalContext<PopupSwiperProps & React.RefAttributes<PopupSwiperRef>>, "direction" | "children" | "ref" | "key" | "context" | "
|
83
|
+
update: (newConfig: Pick<import("../context-provider").WithGlobalContext<PopupSwiperProps & React.RefAttributes<PopupSwiperRef>>, "direction" | "children" | "ref" | "key" | "context" | "translateZ" | "className" | "getScrollContainer" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "getContainer" | "mountOnEnter" | "unmountOnExit" | "onClose" | "maskClass" | "maskStyle" | "contentClass" | "contentStyle" | "maskTransitionType" | "contentTransitionType" | "maskTransitionTimeout" | "contentTransitionTimeout" | "maskClosable" | "animatingClosable" | "orientationDirection" | "preventBodyScroll" | "initialBodyOverflow" | "gestureOutOfControl" | "onOpen" | "onMaskClick" | "onPreventTouchMove" | "needBottomOffset" | "percentToClose" | "distanceToClose" | "speedToClose" | "allowSwipeDirections" | "exitDirection"> & {
|
84
84
|
key?: string | undefined;
|
85
85
|
}) => void; /**
|
86
86
|
* 内容面板 touchstart 事件,返回true时表示阻止本组件内部处理事件
|
@@ -32,6 +32,10 @@
|
|
32
32
|
.arco-radio .radio-icon + .radio-text {
|
33
33
|
margin-left: 0.16rem ;
|
34
34
|
}
|
35
|
+
[dir="rtl"] .arco-radio .radio-icon + .radio-text {
|
36
|
+
margin-left: initial;
|
37
|
+
margin-right: 0.16rem ;
|
38
|
+
}
|
35
39
|
.arco-radio.disabled .radio-text {
|
36
40
|
opacity: 0.5 ;
|
37
41
|
}
|
@@ -47,3 +51,7 @@
|
|
47
51
|
.arco-radio-group .arco-radio:not(:last-child, .block) {
|
48
52
|
margin-right: 0.48rem ;
|
49
53
|
}
|
54
|
+
[dir="rtl"] .arco-radio-group .arco-radio:not(:last-child, .block) {
|
55
|
+
margin-right: initial;
|
56
|
+
margin-left: 0.48rem ;
|
57
|
+
}
|
@@ -29,7 +29,7 @@
|
|
29
29
|
}
|
30
30
|
|
31
31
|
.radio-icon + .radio-text {
|
32
|
-
.use-var(margin-left, checkbox-icon-margin-right);
|
32
|
+
.use-var-with-rtl(margin-left, checkbox-icon-margin-right);
|
33
33
|
}
|
34
34
|
|
35
35
|
&.disabled .radio-text {
|
@@ -48,6 +48,6 @@
|
|
48
48
|
|
49
49
|
.@{prefix}-radio-group {
|
50
50
|
.@{prefix}-radio:not(:last-child, .block) {
|
51
|
-
.use-var(margin-right, checkbox-group-gutter);
|
51
|
+
.use-var-with-rtl(margin-right, checkbox-group-gutter);
|
52
52
|
}
|
53
53
|
}
|
package/esm/rate/index.js
CHANGED
@@ -133,7 +133,8 @@ var Rate = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
133
133
|
}
|
134
134
|
|
135
135
|
return /*#__PURE__*/React.createElement(ContextLayout, null, function (_ref2) {
|
136
|
-
var prefixCls = _ref2.prefixCls
|
136
|
+
var prefixCls = _ref2.prefixCls,
|
137
|
+
useRtl = _ref2.useRtl;
|
137
138
|
return /*#__PURE__*/React.createElement("div", {
|
138
139
|
role: "slider",
|
139
140
|
"aria-valuemin": 0,
|
@@ -149,6 +150,7 @@ var Rate = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
149
150
|
// 对内的index从1开始,方便计算
|
150
151
|
// @en The index of the pair starts from 1, which is convenient for calculation
|
151
152
|
var index = i + 1;
|
153
|
+
var halfIndex = allowHalf ? index - 0.5 : index;
|
152
154
|
var status = getIconStatus(index);
|
153
155
|
return /*#__PURE__*/React.createElement("div", {
|
154
156
|
key: index,
|
@@ -159,12 +161,12 @@ var Rate = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
159
161
|
}, renderRateIcon(prefixCls + "-rate", status, index), /*#__PURE__*/React.createElement("div", {
|
160
162
|
className: prefixCls + "-rate-icon-click-half left",
|
161
163
|
onClick: function onClick() {
|
162
|
-
return handleStarIndexChange(
|
164
|
+
return handleStarIndexChange(useRtl ? index : halfIndex);
|
163
165
|
}
|
164
166
|
}), /*#__PURE__*/React.createElement("div", {
|
165
167
|
className: prefixCls + "-rate-icon-click-half right",
|
166
168
|
onClick: function onClick() {
|
167
|
-
return handleStarIndexChange(index);
|
169
|
+
return handleStarIndexChange(useRtl ? halfIndex : index);
|
168
170
|
}
|
169
171
|
}));
|
170
172
|
}));
|
@@ -5,7 +5,7 @@ export declare type LinePosition = {
|
|
5
5
|
length: number;
|
6
6
|
start: number;
|
7
7
|
};
|
8
|
-
export declare const SliderContext: React.Context<Required<Pick<SliderProps, "max" | "disabled" | "style" | "size" | "step" | "type" | "className" | "onChange" | "
|
8
|
+
export declare const SliderContext: React.Context<Required<Pick<SliderProps, "max" | "disabled" | "style" | "size" | "step" | "type" | "className" | "onChange" | "onAfterChange" | "min" | "suffixLabel" | "prefixLabel" | "useRange" | "useAnimation" | "showTooltip" | "showMarks" | "useMarkOnly" | "draggableTrackOnly" | "formatTooltip" | "renderThumb">> & Pick<SliderProps, "value" | "defaultValue" | "marks">>;
|
9
9
|
export * from './useSliderIcon';
|
10
10
|
export * from './useSliderInit';
|
11
11
|
export * from './useSliderStyle';
|
package/esm/slider/popover.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import React, { useContext } from 'react';
|
1
|
+
import React, { useContext, useRef } from 'react';
|
2
2
|
import Transition from '../transition';
|
3
3
|
import { GlobalContext } from '../context-provider';
|
4
4
|
export function Popover(_ref) {
|
@@ -10,15 +10,19 @@ export function Popover(_ref) {
|
|
10
10
|
_useContext$prefixCls = _useContext.prefixCls,
|
11
11
|
prefixCls = _useContext$prefixCls === void 0 ? '' : _useContext$prefixCls;
|
12
12
|
|
13
|
+
var domRef = useRef(null);
|
13
14
|
return /*#__PURE__*/React.createElement("div", {
|
14
15
|
className: prefixCls + "-slider-popover-wrapper"
|
15
16
|
}, /*#__PURE__*/React.createElement(Transition, {
|
16
17
|
in: visible,
|
17
18
|
timeout: 300,
|
18
19
|
type: "fade",
|
19
|
-
mountOnEnter: true
|
20
|
+
mountOnEnter: true,
|
21
|
+
unmountOnExit: true,
|
22
|
+
nodeRef: domRef
|
20
23
|
}, /*#__PURE__*/React.createElement("div", {
|
21
|
-
className: prefixCls + "-slider-popover" + (content ? '' : ' no-content')
|
24
|
+
className: prefixCls + "-slider-popover" + (content ? '' : ' no-content'),
|
25
|
+
ref: domRef
|
22
26
|
}, /*#__PURE__*/React.createElement("div", {
|
23
27
|
className: prefixCls + "-slider-popover-content"
|
24
28
|
}, content), /*#__PURE__*/React.createElement("div", {
|
@@ -17,16 +17,15 @@ export default function useButtonClick(params) {
|
|
17
17
|
updateValue = params.updateValue,
|
18
18
|
onAddButtonClick = params.onAddButtonClick,
|
19
19
|
onMinusButtonClick = params.onMinusButtonClick;
|
20
|
+
var minusDisable = actualInputValue <= min || disabled;
|
20
21
|
|
21
|
-
var _useState = useState(
|
22
|
-
return actualInputValue === min || disabled;
|
23
|
-
}),
|
22
|
+
var _useState = useState(minusDisable),
|
24
23
|
minusButtonDisable = _useState[0],
|
25
24
|
setMinusButtonDisable = _useState[1];
|
26
25
|
|
27
|
-
var
|
28
|
-
|
29
|
-
|
26
|
+
var addDisable = actualInputValue >= max || disabled;
|
27
|
+
|
28
|
+
var _useState2 = useState(addDisable),
|
30
29
|
addButtonDisable = _useState2[0],
|
31
30
|
setAddButtonDisable = _useState2[1];
|
32
31
|
|
@@ -57,9 +56,9 @@ export default function useButtonClick(params) {
|
|
57
56
|
|
58
57
|
|
59
58
|
useEffect(function () {
|
60
|
-
setMinusButtonDisable(
|
61
|
-
setAddButtonDisable(
|
62
|
-
}, [
|
59
|
+
setMinusButtonDisable(minusDisable);
|
60
|
+
setAddButtonDisable(addDisable);
|
61
|
+
}, [minusDisable, addDisable]);
|
63
62
|
return {
|
64
63
|
minusButtonDisable: minusButtonDisable,
|
65
64
|
addButtonDisable: addButtonDisable,
|
package/esm/sticky/index.d.ts
CHANGED
@@ -10,6 +10,11 @@ export interface StickyRef {
|
|
10
10
|
* @en In the local scrolling mode, if there is nested scrolling outside the container, this method can be actively called to make the sticky element actively update the fixed position
|
11
11
|
*/
|
12
12
|
recalculatePosition: () => void;
|
13
|
+
/**
|
14
|
+
* 手动更新占位模块的高度
|
15
|
+
* @en Manually update the height of the placeholder
|
16
|
+
*/
|
17
|
+
updatePlaceholderLayout: () => void;
|
13
18
|
}
|
14
19
|
export interface StickyEventPayload {
|
15
20
|
/**
|
package/esm/sticky/index.js
CHANGED
@@ -141,6 +141,22 @@ var Sticky = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
141
141
|
});
|
142
142
|
framePendingRef.current = true;
|
143
143
|
}, [containerEventHandler]);
|
144
|
+
var updatePlaceholderLayoutInner = useCallback(function () {
|
145
|
+
if (placeholderRef.current) {
|
146
|
+
var contentHeight = contentCalculateHeightRef.current; // 当元素吸顶时,默认有一个占位的元素占住该元素的位置,避免布局产生抖动
|
147
|
+
// @en When an element is sticky to the top, a placeholder element occupies the element's position by default to avoid jitter in the layout
|
148
|
+
|
149
|
+
placeholderRef.current.style.height = (isStickyRef.current ? contentHeight : 0) + "px";
|
150
|
+
}
|
151
|
+
}, []);
|
152
|
+
var updatePlaceholderLayout = useCallback(function () {
|
153
|
+
if (contentRef.current) {
|
154
|
+
var contentClientRect = contentRef.current.getBoundingClientRect();
|
155
|
+
contentCalculateHeightRef.current = contentClientRect.height;
|
156
|
+
}
|
157
|
+
|
158
|
+
updatePlaceholderLayoutInner();
|
159
|
+
}, []);
|
144
160
|
useEffect(function () {
|
145
161
|
var containerEle = getActualContainer(getContainer);
|
146
162
|
containerRef.current = containerEle || document.body;
|
@@ -163,18 +179,15 @@ var Sticky = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
163
179
|
};
|
164
180
|
}, [getContainer, getScrollContainer, recalculatePosition]);
|
165
181
|
useEffect(function () {
|
166
|
-
|
167
|
-
// 当元素吸顶时,默认有一个占位的元素占住该元素的位置,避免布局产生抖动
|
168
|
-
// @en When an element is sticky to the top, a placeholder element occupies the element's position by default to avoid jitter in the layout
|
169
|
-
placeholderRef.current.style.height = (isStickyRef.current ? contentCalculateHeightRef.current : 0) + "px";
|
170
|
-
}
|
182
|
+
updatePlaceholderLayoutInner();
|
171
183
|
}, [isSticky, wasSticky]);
|
172
184
|
useImperativeHandle(ref, function () {
|
173
185
|
return {
|
174
186
|
dom: contentRef.current,
|
175
|
-
recalculatePosition: recalculatePosition
|
187
|
+
recalculatePosition: recalculatePosition,
|
188
|
+
updatePlaceholderLayout: updatePlaceholderLayout
|
176
189
|
};
|
177
|
-
}, [recalculatePosition]);
|
190
|
+
}, [recalculatePosition, updatePlaceholderLayout]);
|
178
191
|
var computedStyle = useMemo(function () {
|
179
192
|
return _extends({}, style || {}, stickyStateStyle);
|
180
193
|
}, [stickyStateStyle, style]);
|
package/esm/style.d.ts
CHANGED
@@ -1,35 +1,32 @@
|
|
1
1
|
import '../style/public.less';
|
2
|
-
import './
|
2
|
+
import './tabs/style';
|
3
|
+
import './sticky/style';
|
4
|
+
import './load-more/style';
|
5
|
+
import './cell/style';
|
3
6
|
import './action-sheet/style';
|
4
7
|
import './avatar/style';
|
5
8
|
import './badge/style';
|
9
|
+
import './button/style';
|
6
10
|
import './carousel/style';
|
7
|
-
import './cell/style';
|
8
11
|
import './checkbox/style';
|
9
12
|
import './circle-progress/style';
|
10
13
|
import './collapse/style';
|
11
14
|
import './context-provider/style';
|
12
15
|
import './count-down/style';
|
13
16
|
import './date-picker/style';
|
14
|
-
import './divider/style';
|
15
17
|
import './dialog/style';
|
18
|
+
import './divider/style';
|
16
19
|
import './dropdown/style';
|
17
20
|
import './dropdown-menu/style';
|
18
21
|
import './ellipsis/style';
|
19
22
|
import './form/style';
|
20
|
-
import './input/style';
|
21
|
-
import './textarea/style';
|
22
|
-
import './radio/style';
|
23
|
-
import './image-picker/style';
|
24
|
-
import './rate/style';
|
25
|
-
import './slider/style';
|
26
23
|
import './grid/style';
|
27
24
|
import './image/style';
|
28
|
-
import './
|
25
|
+
import './image-picker/style';
|
29
26
|
import './image-preview/style';
|
30
27
|
import './index-bar/style';
|
28
|
+
import './input/style';
|
31
29
|
import './keyboard/style';
|
32
|
-
import './load-more/style';
|
33
30
|
import './loading/style';
|
34
31
|
import './masking/style';
|
35
32
|
import './nav-bar/style';
|
@@ -44,15 +41,18 @@ import './popup-swiper/style';
|
|
44
41
|
import './portal/style';
|
45
42
|
import './progress/style';
|
46
43
|
import './pull-refresh/style';
|
44
|
+
import './radio/style';
|
45
|
+
import './rate/style';
|
47
46
|
import './search-bar/style';
|
47
|
+
import './show-monitor/style';
|
48
|
+
import './slider/style';
|
48
49
|
import './stepper/style';
|
49
50
|
import './steps/style';
|
50
|
-
import './sticky/style';
|
51
51
|
import './swipe-action/style';
|
52
52
|
import './swipe-load/style';
|
53
53
|
import './switch/style';
|
54
54
|
import './tab-bar/style';
|
55
|
-
import './tabs/style';
|
56
55
|
import './tag/style';
|
56
|
+
import './textarea/style';
|
57
57
|
import './toast/style';
|
58
58
|
import './transition/style';
|