@antscorp/ama-ui 0.0.28 → 0.0.30

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/dist/index.d.ts CHANGED
@@ -11,6 +11,17 @@ import { ButtonProps as ButtonProps_2 } from 'antd-mobile';
11
11
  import { CapsuleTabs as CapsuleTabs_2 } from 'antd-mobile';
12
12
  import { CapsuleTabsProps as CapsuleTabsProps_2 } from 'antd-mobile';
13
13
  import { CardProps as CardProps_2 } from 'antd-mobile';
14
+ import { Cascader as Cascader_2 } from 'antd-mobile';
15
+ import { CascaderOption } from 'antd-mobile/es/components/cascader';
16
+ import { CascaderProps as CascaderProps_2 } from 'antd-mobile';
17
+ import { CascaderView as CascaderView_2 } from 'antd-mobile';
18
+ import { CascaderViewProps as CascaderViewProps_2 } from 'antd-mobile';
19
+ import { Checkbox as Checkbox_2 } from 'antd-mobile';
20
+ import { CheckboxProps as CheckboxProps_2 } from 'antd-mobile';
21
+ import { CheckboxRef as CheckboxRef_2 } from 'antd-mobile';
22
+ import { CheckList as CheckList_2 } from 'antd-mobile';
23
+ import { CheckListProps as CheckListProps_2 } from 'antd-mobile';
24
+ import { ChipItem } from 'antd-mobile/es/components/footer';
14
25
  import { Collapse as Collapse_2 } from 'antd-mobile';
15
26
  import { CollapseProps as CollapseProps_2 } from 'antd-mobile';
16
27
  import { ConfigProviderProps as ConfigProviderProps_2 } from 'antd-mobile';
@@ -21,6 +32,9 @@ import { DotLoadingProps as DotLoadingProps_2 } from 'antd-mobile';
21
32
  import { EllipsisProps as EllipsisProps_2 } from 'antd-mobile';
22
33
  import { ErrorBlockProps as ErrorBlockProps_2 } from 'antd-mobile';
23
34
  import { FloatingPanelProps as FloatingPanelProps_2 } from 'antd-mobile';
35
+ import { FooterProps as FooterProps_2 } from 'antd-mobile';
36
+ import { Form as Form_2 } from 'antd-mobile';
37
+ import { FormProps as FormProps_2 } from 'antd-mobile';
24
38
  import { ForwardRefExoticComponent } from 'react';
25
39
  import { Grid as Grid_2 } from 'antd-mobile';
26
40
  import { GridProps as GridProps_2 } from 'antd-mobile';
@@ -32,8 +46,11 @@ import { IndexBarProps as IndexBarProps_2 } from 'antd-mobile';
32
46
  import { IndexBarRef as IndexBarRef_2 } from 'antd-mobile';
33
47
  import { InfiniteScrollProps as InfiniteScrollProps_2 } from 'antd-mobile';
34
48
  import { InputProps as InputProps_2 } from 'antd-mobile';
49
+ import { InputRef } from 'antd-mobile';
50
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
35
51
  import { JumboTabs as JumboTabs_2 } from 'antd-mobile';
36
52
  import { JumboTabsProps as JumboTabsProps_2 } from 'antd-mobile';
53
+ import { LinkItem } from 'antd-mobile/es/components/footer';
37
54
  import { List as List_2 } from 'antd-mobile';
38
55
  import { ListProps as ListProps_2 } from 'antd-mobile';
39
56
  import { NavBarProps as NavBarProps_2 } from 'antd-mobile';
@@ -41,25 +58,37 @@ import { PageIndicatorProps as PageIndicatorProps_2 } from 'antd-mobile';
41
58
  import { PickerProps as PickerProps_2 } from 'antd-mobile';
42
59
  import { PullStatus } from 'antd-mobile/es/components/pull-to-refresh';
43
60
  import { PullToRefreshProps as PullToRefreshProps_2 } from 'antd-mobile';
61
+ import { Radio as Radio_2 } from 'antd-mobile';
62
+ import { RadioProps as RadioProps_2 } from 'antd-mobile';
63
+ import { RateProps as RateProps_2 } from 'antd-mobile';
44
64
  import { RefAttributes } from 'react';
45
65
  import { SafeAreaProps as SafeAreaProps_2 } from 'antd-mobile';
66
+ import { SearchBarProps as SearchBarProps_2 } from 'antd-mobile';
67
+ import { SearchBarRef as SearchBarRef_2 } from 'antd-mobile';
46
68
  import { SegmentedProps as SegmentedProps_2 } from 'antd-mobile';
69
+ import { SelectorOption } from 'antd-mobile';
70
+ import { SelectorProps } from 'antd-mobile';
47
71
  import { SideBar as SideBar_2 } from 'antd-mobile';
48
72
  import { SideBarProps as SideBarProps_2 } from 'antd-mobile';
73
+ import { SliderProps as SliderProps_2 } from 'antd-mobile';
49
74
  import { SpaceProps as SpaceProps_2 } from 'antd-mobile';
50
75
  import { SpinLoadingProps as SpinLoadingProps_2 } from 'antd-mobile';
76
+ import { StepperProps as StepperProps_2 } from 'antd-mobile';
51
77
  import { Steps as Steps_2 } from 'antd-mobile';
52
78
  import { StepsProps as StepsProps_2 } from 'antd-mobile';
53
79
  import { Swiper as Swiper_2 } from 'antd-mobile';
54
80
  import { SwiperProps as SwiperProps_2 } from 'antd-mobile';
81
+ import { SwitchProps as SwitchProps_2 } from 'antd-mobile';
55
82
  import { TabBar as TabBar_2 } from 'antd-mobile';
56
83
  import { TabBarProps as TabBarProps_2 } from 'antd-mobile';
57
84
  import { Tabs as Tabs_2 } from 'antd-mobile';
58
85
  import { TabsProps as TabsProps_2 } from 'antd-mobile';
59
86
  import { TagProps as TagProps_2 } from 'antd-mobile';
87
+ import { TextAreaProps as TextAreaProps_2 } from 'antd-mobile';
60
88
  import { Toast } from 'antd-mobile';
61
89
  import { ToastHandler } from 'antd-mobile/es/components/toast';
62
90
  import { ToastShowProps } from 'antd-mobile';
91
+ import { WaterMarkProps as WaterMarkProps_2 } from 'antd-mobile';
63
92
 
64
93
  export { Action }
65
94
 
@@ -72,7 +101,7 @@ export declare interface ActionSheetProps extends ActionSheetProps_2 {
72
101
 
73
102
  export { ActionSheetShowHandler }
74
103
 
75
- declare type ActionSheetType = default_2.FC<ActionSheetProps> & {
104
+ declare type ActionSheetType = React.FC<ActionSheetProps> & {
76
105
  show: typeof ActionSheet_2.show;
77
106
  };
78
107
 
@@ -96,6 +125,8 @@ export declare interface BadgeProps extends BadgeProps_2 {
96
125
  optional?: string;
97
126
  }
98
127
 
128
+ declare const BaseCheckbox: ForwardRefExoticComponent<CheckboxProps & RefAttributes<CheckboxRef_2>>;
129
+
99
130
  declare const BaseIndexBar: ForwardRefExoticComponent<IndexBarProps & RefAttributes<IndexBarRef_2>>;
100
131
 
101
132
  export declare const Button: default_2.FC<ButtonProps>;
@@ -121,6 +152,49 @@ export declare interface CardProps extends CardProps_2 {
121
152
  optional?: string;
122
153
  }
123
154
 
155
+ export declare const Cascader: default_2.FC<CascaderProps> & {
156
+ optionSkeleton: typeof Cascader_2.optionSkeleton;
157
+ prompt: typeof Cascader_2.prompt;
158
+ };
159
+
160
+ export { CascaderOption }
161
+
162
+ export declare interface CascaderProps extends CascaderProps_2 {
163
+ /** An optional prop */
164
+ optional?: string;
165
+ }
166
+
167
+ export declare const CascaderView: default_2.FC<CascaderViewProps> & {
168
+ optionSkeleton: typeof CascaderView_2.optionSkeleton;
169
+ };
170
+
171
+ export declare interface CascaderViewProps extends CascaderViewProps_2 {
172
+ /** An optional prop */
173
+ optional?: string;
174
+ }
175
+
176
+ export declare const Checkbox: typeof BaseCheckbox & {
177
+ Group: typeof Checkbox_2.Group;
178
+ };
179
+
180
+ export declare interface CheckboxProps extends CheckboxProps_2 {
181
+ /** An optional prop */
182
+ optional?: string;
183
+ }
184
+
185
+ export declare type CheckboxRef = CheckboxRef_2;
186
+
187
+ export declare const CheckList: default_2.FC<CheckListProps> & {
188
+ Item: typeof CheckList_2.Item;
189
+ };
190
+
191
+ export declare interface CheckListProps extends CheckListProps_2 {
192
+ /** An optional prop */
193
+ optional?: string;
194
+ }
195
+
196
+ export { ChipItem }
197
+
124
198
  export declare const Collapse: default_2.FC<CollapseProps> & {
125
199
  Panel: typeof Collapse_2.Panel;
126
200
  };
@@ -179,6 +253,22 @@ export declare interface FloatingPanelProps extends FloatingPanelProps_2 {
179
253
  optional?: string;
180
254
  }
181
255
 
256
+ export declare const Footer: default_2.FC<FooterProps>;
257
+
258
+ export declare interface FooterProps extends FooterProps_2 {
259
+ /** An optional prop */
260
+ optional?: string;
261
+ }
262
+
263
+ export declare const Form: default_2.FC<FormProps> & {
264
+ Item: typeof Form_2.Item;
265
+ };
266
+
267
+ export declare interface FormProps extends FormProps_2 {
268
+ /** An optional prop */
269
+ optional?: string;
270
+ }
271
+
182
272
  export declare const Grid: default_2.FC<GridProps> & {
183
273
  Item: typeof Grid_2.Item;
184
274
  };
@@ -237,6 +327,8 @@ export declare interface JumboTabsProps extends JumboTabsProps_2 {
237
327
  optional?: boolean;
238
328
  }
239
329
 
330
+ export { LinkItem }
331
+
240
332
  export declare const List: default_2.FC<ListProps> & {
241
333
  Item: typeof List_2.Item;
242
334
  };
@@ -274,6 +366,22 @@ export declare interface PullToRefreshProps extends PullToRefreshProps_2 {
274
366
  optional?: string;
275
367
  }
276
368
 
369
+ export declare const Radio: default_2.FC<RadioProps> & {
370
+ Group: typeof Radio_2.Group;
371
+ };
372
+
373
+ export declare interface RadioProps extends RadioProps_2 {
374
+ /** Optional */
375
+ optional?: boolean;
376
+ }
377
+
378
+ export declare const Rate: default_2.FC<RateProps>;
379
+
380
+ export declare interface RateProps extends RateProps_2 {
381
+ /** An optional prop */
382
+ optional?: string;
383
+ }
384
+
277
385
  export declare const SafeArea: default_2.FC<SafeAreaProps>;
278
386
 
279
387
  export declare interface SafeAreaProps extends SafeAreaProps_2 {
@@ -281,6 +389,15 @@ export declare interface SafeAreaProps extends SafeAreaProps_2 {
281
389
  optional?: string;
282
390
  }
283
391
 
392
+ export declare const SearchBar: ForwardRefExoticComponent<SearchBarProps & RefAttributes<InputRef>>;
393
+
394
+ export declare interface SearchBarProps extends SearchBarProps_2 {
395
+ /** An optional prop */
396
+ optional?: string;
397
+ }
398
+
399
+ export declare type SearchBarRef = SearchBarRef_2;
400
+
284
401
  export declare const Segmented: default_2.FC<SegmentedProps>;
285
402
 
286
403
  export declare interface SegmentedProps extends SegmentedProps_2 {
@@ -288,6 +405,19 @@ export declare interface SegmentedProps extends SegmentedProps_2 {
288
405
  optional?: string;
289
406
  }
290
407
 
408
+ export declare const Selector: <V extends SelectorValue>(props: SelectorProps_2<V>) => JSX_2.Element;
409
+
410
+ export { SelectorOption }
411
+
412
+ export { SelectorProps }
413
+
414
+ declare interface SelectorProps_2<V extends SelectorValue> extends SelectorProps<V> {
415
+ /** An optional prop */
416
+ optional?: string;
417
+ }
418
+
419
+ declare type SelectorValue = string | number;
420
+
291
421
  export declare const SideBar: default_2.FC<SideBarProps> & {
292
422
  Item: typeof SideBar_2.Item;
293
423
  };
@@ -297,6 +427,13 @@ export declare interface SideBarProps extends SideBarProps_2 {
297
427
  optional?: boolean;
298
428
  }
299
429
 
430
+ export declare const Slider: default_2.FC<SliderProps>;
431
+
432
+ export declare interface SliderProps extends SliderProps_2 {
433
+ /** An optional prop */
434
+ optional?: string;
435
+ }
436
+
300
437
  export declare const Space: default_2.FC<SpaceProps>;
301
438
 
302
439
  export declare interface SpaceProps extends SpaceProps_2 {
@@ -311,6 +448,10 @@ export declare interface SpinLoadingProps extends SpinLoadingProps_2 {
311
448
  optional?: string;
312
449
  }
313
450
 
451
+ export declare const Stepper: default_2.FC<StepperProps>;
452
+
453
+ export declare type StepperProps = StepperProps_2 & {};
454
+
314
455
  export declare const Steps: default_2.FC<StepsProps> & {
315
456
  Step: typeof Steps_2.Step;
316
457
  };
@@ -320,13 +461,20 @@ export declare interface StepsProps extends StepsProps_2 {
320
461
  optional?: boolean;
321
462
  }
322
463
 
323
- export declare const Swiper: typeof Swiper_2 & {
464
+ export declare const Swiper: default_2.FC<SwiperProps> & {
324
465
  Item: typeof Swiper_2.Item;
325
466
  };
326
467
 
327
468
  export declare interface SwiperProps extends SwiperProps_2 {
328
469
  }
329
470
 
471
+ export declare const Switch: default_2.FC<SwitchProps>;
472
+
473
+ export declare interface SwitchProps extends SwitchProps_2 {
474
+ /** An optional prop */
475
+ optional?: string;
476
+ }
477
+
330
478
  export declare const TabBar: default_2.FC<TabBarProps> & {
331
479
  Item: typeof TabBar_2.Item;
332
480
  };
@@ -352,6 +500,13 @@ export declare interface TagProps extends TagProps_2 {
352
500
  optional?: string;
353
501
  }
354
502
 
503
+ export declare const TextArea: default_2.FC<TextAreaProps>;
504
+
505
+ export declare interface TextAreaProps extends TextAreaProps_2 {
506
+ /** An optional prop */
507
+ optional?: string;
508
+ }
509
+
355
510
  export declare type ThemeConfig = {
356
511
  token: {
357
512
  colorPrimary: string;
@@ -370,4 +525,11 @@ export declare interface ToastProps extends ToastShowProps {
370
525
  optional?: string;
371
526
  }
372
527
 
528
+ export declare const WaterMark: default_2.FC<WaterMarkProps>;
529
+
530
+ export declare interface WaterMarkProps extends WaterMarkProps_2 {
531
+ /** An optional prop */
532
+ optional?: string;
533
+ }
534
+
373
535
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/ama-ui",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "main": "dist/ama-ui.es.js",
5
5
  "module": "dist/ama-ui.es.js",
6
6
  "types": "dist/index.d.ts",