shineout 1.8.0-rc.7 → 1.8.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/css/Checkbox/index.d.ts +1 -1
- package/css/Spin/index.d.ts +3 -1
- package/css/Table/index.d.ts +10 -0
- package/css/index.d.ts +1 -1
- package/css/index.js +1 -1
- package/dist/shineout.js +1 -1
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/es/Checkbox/index.d.ts +1 -1
- package/es/Spin/index.d.ts +3 -1
- package/es/Table/index.d.ts +10 -0
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/lib/Checkbox/index.d.ts +1 -1
- package/lib/Spin/index.d.ts +3 -1
- package/lib/Table/index.d.ts +10 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/css/Checkbox/index.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ export interface CheckboxProps<T> extends StandardProps, FormItemStandardProps<T
|
|
|
47
47
|
|
|
48
48
|
// attention: checkbox group value is array
|
|
49
49
|
|
|
50
|
-
export interface CheckboxGroupProps<Data, T> extends ListItemStandardProps<Data, T> {
|
|
50
|
+
export interface CheckboxGroupProps<Data, T> extends ListItemStandardProps<Data, T>, Omit<FormItemStandardProps<T[]>, 'placeholder'> {
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
53
|
* The data item
|
package/css/Spin/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import { ReactNode } from 'react'
|
|
3
|
+
import { StandardProps } from '../@types/common'
|
|
4
|
+
|
|
3
5
|
|
|
4
6
|
type SpinName = 'default' |
|
|
5
7
|
'chasing-dots' |
|
|
@@ -19,7 +21,7 @@ declare class Spin extends React.Component<SpinProps, {}> {
|
|
|
19
21
|
render(): JSX.Element;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
|
-
export interface SpinProps {
|
|
24
|
+
export interface SpinProps extends StandardProps{
|
|
23
25
|
|
|
24
26
|
/**
|
|
25
27
|
* color
|
package/css/Table/index.d.ts
CHANGED
|
@@ -532,6 +532,16 @@ export interface TableProps<Value, TRD> extends StandardProps, ListItemStandardP
|
|
|
532
532
|
* default: false
|
|
533
533
|
*/
|
|
534
534
|
hideHeader?: boolean
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* make all columns scalable
|
|
538
|
+
*
|
|
539
|
+
* 使所有列可伸缩
|
|
540
|
+
*
|
|
541
|
+
* default: false
|
|
542
|
+
*/
|
|
543
|
+
columnResizable?: boolean
|
|
544
|
+
|
|
535
545
|
}
|
|
536
546
|
|
|
537
547
|
declare class Table<Value = any, TRD = TableRowData> extends React.Component<TableProps<Value, TRD>, {}> {
|
package/css/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import './styles/normalize.less'
|
|
3
3
|
import * as utils from './utils'
|
|
4
4
|
|
|
5
|
-
export default { utils, version: '1.8.0
|
|
5
|
+
export default { utils, version: '1.8.0' }
|
|
6
6
|
export { utils }
|
|
7
7
|
export { setLocale } from './locale'
|
|
8
8
|
export { color, style } from './utils/expose'
|
package/css/index.js
CHANGED
package/dist/shineout.js
CHANGED
|
@@ -60231,7 +60231,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
60231
60231
|
|
|
60232
60232
|
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
60233
60233
|
utils: _utils__WEBPACK_IMPORTED_MODULE_0__,
|
|
60234
|
-
version: '1.8.0
|
|
60234
|
+
version: '1.8.0'
|
|
60235
60235
|
});
|
|
60236
60236
|
|
|
60237
60237
|
|