@nutui/nutui-react-taro 1.3.13 → 1.3.14-beta.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 +19 -2
- package/README.md +54 -43
- package/dist/esm/Collapse.js +2 -2
- package/dist/esm/CollapseItem.js +2 -2
- package/dist/esm/FormItem.js +5 -4
- package/dist/esm/Grid.js +3 -2
- package/dist/esm/GridItem.js +3 -2
- package/dist/esm/NoticeBar.js +2 -2
- package/dist/esm/TrendArrow/style/index.js +1 -1
- package/dist/esm/{collapse.taro-13cde270.js → collapse.taro-af58206c.js} +1 -1
- package/dist/esm/{collapseitem-75843a5e.js → collapseitem-ce1849d2.js} +9 -5
- package/dist/esm/{formitem-9f11e314.js → formitem.taro-fef76bf1.js} +1 -102
- package/dist/esm/{grid.taro-d244170c.js → grid.taro-1f03be03.js} +9 -3
- package/dist/esm/grid.taro.context-39636af9.js +6 -0
- package/dist/esm/{griditem.taro-f7ee189b.js → griditem.taro-1452609c.js} +19 -1
- package/dist/esm/{noticebar.taro-4915fed3.js → noticebar.taro-43c18dc9.js} +7 -4
- package/dist/esm/nutui-react.es.js +7 -7
- package/dist/esm/types/src/packages/formitem/formitem.taro.d.ts +30 -0
- package/dist/esm/types/src/packages/formitem/index.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/grid/grid.context.d.ts +6 -0
- package/dist/esm/types/src/packages/grid/grid.d.ts +3 -1
- package/dist/esm/types/src/packages/grid/grid.taro.context.d.ts +6 -0
- package/dist/esm/types/src/packages/grid/grid.taro.d.ts +3 -1
- package/dist/esm/types/src/utils/render.d.ts +8 -1
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/nutui.react.es.js +551 -1804
- package/dist/nutui.react.umd.js +543 -1796
- package/dist/packages/noticebar/noticebar.scss +0 -1
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/font/config.json +5 -1
- package/dist/styles/font/demo_index.html +118 -26
- package/dist/styles/font/iconfont.css +23 -7
- package/dist/styles/font/iconfont.js +6 -6
- package/dist/styles/font/iconfont.json +35 -7
- package/dist/styles/font/iconfont.ttf +0 -0
- package/dist/styles/font/iconfont.woff +0 -0
- package/dist/styles/font/iconfont.woff2 +0 -0
- package/dist/types/index.d.ts +16 -15
- package/dist/types/nutui.taro.react.build.ts +1 -1
- package/package.json +1 -1
|
@@ -5,6 +5,41 @@
|
|
|
5
5
|
"css_prefix_text": "nut-icon-",
|
|
6
6
|
"description": "nutui 3.0字体管理",
|
|
7
7
|
"glyphs": [
|
|
8
|
+
{
|
|
9
|
+
"icon_id": "257405",
|
|
10
|
+
"name": "close_fill",
|
|
11
|
+
"font_class": "mask-close",
|
|
12
|
+
"unicode": "e6cd",
|
|
13
|
+
"unicode_decimal": 59085
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"icon_id": "24330526",
|
|
17
|
+
"name": "常用_返回",
|
|
18
|
+
"font_class": "rect-left",
|
|
19
|
+
"unicode": "e6c9",
|
|
20
|
+
"unicode_decimal": 59081
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"icon_id": "24330528",
|
|
24
|
+
"name": "常用_收起",
|
|
25
|
+
"font_class": "rect-up",
|
|
26
|
+
"unicode": "e6ca",
|
|
27
|
+
"unicode_decimal": 59082
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"icon_id": "24330529",
|
|
31
|
+
"name": "常用_更多",
|
|
32
|
+
"font_class": "rect-right",
|
|
33
|
+
"unicode": "e6cb",
|
|
34
|
+
"unicode_decimal": 59083
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"icon_id": "24330530",
|
|
38
|
+
"name": "常用_展开",
|
|
39
|
+
"font_class": "rect-down",
|
|
40
|
+
"unicode": "e6cc",
|
|
41
|
+
"unicode_decimal": 59084
|
|
42
|
+
},
|
|
8
43
|
{
|
|
9
44
|
"icon_id": "4175511",
|
|
10
45
|
"name": "下箭头",
|
|
@@ -418,13 +453,6 @@
|
|
|
418
453
|
"unicode": "e69b",
|
|
419
454
|
"unicode_decimal": 59035
|
|
420
455
|
},
|
|
421
|
-
{
|
|
422
|
-
"icon_id": "18193248",
|
|
423
|
-
"name": "mask-close",
|
|
424
|
-
"font_class": "mask-close",
|
|
425
|
-
"unicode": "e69a",
|
|
426
|
-
"unicode_decimal": 59034
|
|
427
|
-
},
|
|
428
456
|
{
|
|
429
457
|
"icon_id": "18193089",
|
|
430
458
|
"name": "circle-close",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/types/index.d.ts
CHANGED
|
@@ -309,7 +309,14 @@ interface DividerProps {
|
|
|
309
309
|
declare const Divider: FunctionComponent<Partial<DividerProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
310
310
|
|
|
311
311
|
declare type GridDirection$1 = 'horizontal' | 'vertical';
|
|
312
|
-
interface
|
|
312
|
+
interface GridItemProps extends BasicComponent {
|
|
313
|
+
text: string | ReactNode;
|
|
314
|
+
icon: string | ReactNode;
|
|
315
|
+
iconSize?: string | number;
|
|
316
|
+
iconColor?: string;
|
|
317
|
+
parentIconSize?: string | number;
|
|
318
|
+
parentIconColor?: string;
|
|
319
|
+
index: number;
|
|
313
320
|
columnNum: string | number;
|
|
314
321
|
border: boolean;
|
|
315
322
|
gutter: string | number;
|
|
@@ -317,22 +324,11 @@ interface GridProps {
|
|
|
317
324
|
square: boolean;
|
|
318
325
|
reverse: boolean;
|
|
319
326
|
direction: GridDirection$1;
|
|
320
|
-
className?: string;
|
|
321
|
-
iconSize?: string | number;
|
|
322
|
-
iconColor?: string;
|
|
323
|
-
style?: CSSProperties;
|
|
324
327
|
}
|
|
325
|
-
declare const
|
|
328
|
+
declare const GridItem: FunctionComponent<Partial<GridItemProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
326
329
|
|
|
327
330
|
declare type GridDirection = 'horizontal' | 'vertical';
|
|
328
|
-
interface
|
|
329
|
-
text: string | ReactNode;
|
|
330
|
-
icon: string | ReactNode;
|
|
331
|
-
iconSize?: string | number;
|
|
332
|
-
iconColor?: string;
|
|
333
|
-
parentIconSize?: string | number;
|
|
334
|
-
parentIconColor?: string;
|
|
335
|
-
index: number;
|
|
331
|
+
interface GridProps {
|
|
336
332
|
columnNum: string | number;
|
|
337
333
|
border: boolean;
|
|
338
334
|
gutter: string | number;
|
|
@@ -340,8 +336,13 @@ interface GridItemProps extends BasicComponent {
|
|
|
340
336
|
square: boolean;
|
|
341
337
|
reverse: boolean;
|
|
342
338
|
direction: GridDirection;
|
|
339
|
+
className?: string;
|
|
340
|
+
iconSize?: string | number;
|
|
341
|
+
iconColor?: string;
|
|
342
|
+
style?: CSSProperties;
|
|
343
|
+
onClick: (item: GridItemProps, index: number) => void;
|
|
343
344
|
}
|
|
344
|
-
declare const
|
|
345
|
+
declare const Grid: FunctionComponent<Partial<GridProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
345
346
|
|
|
346
347
|
interface StickyProps {
|
|
347
348
|
}
|
|
@@ -140,7 +140,7 @@ export type { CascaderProps } from '@/packages/cascader/cascader.taro';
|
|
|
140
140
|
export type { SearchBarProps } from '@/packages/searchbar/searchbar.taro';
|
|
141
141
|
export type { NumberKeyboardProps } from '@/packages/numberkeyboard/numberkeyboard.taro';
|
|
142
142
|
export type { FormProps } from '@/packages/form/form.taro';
|
|
143
|
-
export type { FormItemProps } from '@/packages/formitem/formitem';
|
|
143
|
+
export type { FormItemProps } from '@/packages/formitem/formitem.taro';
|
|
144
144
|
export type { ActionSheetProps } from '@/packages/actionsheet/actionsheet.taro';
|
|
145
145
|
export type { BackTopProps } from '@/packages/backtop/backtop.taro';
|
|
146
146
|
export type { DragProps } from '@/packages/drag/drag.taro';
|