dcp-design-react 1.10.19 → 1.11.1
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/lib/form/src/form.d.ts +2 -1
- package/lib/form/src/types.d.ts +5 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/lang/en.js +5 -5
- package/lib/locale/lang/zh-cn.js +5 -5
- package/lib/pivot-grid/style/grid-layout.less +234 -234
- package/lib/pivot-grid/style/main.less +43 -43
- package/lib/pivot-grid/style/top-bar.less +105 -105
- package/lib/style/index.css +45 -2
- package/lib/style/index.min.css +1 -1
- package/lib/table/src/body/DraggableTr.d.ts +26 -0
- package/lib/table/src/body/dragUtils.d.ts +43 -0
- package/lib/table/src/body/useDragSort.d.ts +27 -0
- package/lib/table/src/context/index.d.ts +1 -0
- package/lib/table/src/table/props.d.ts +2 -1
- package/lib/table/src/table/types.d.ts +3 -0
- package/lib/table/style/body.less +103 -77
- package/lib/table/style/index.less +31 -30
- package/lib/table/style/pivot-grid.less +19 -0
- package/package.json +1 -1
package/lib/form/src/form.d.ts
CHANGED
|
@@ -30,7 +30,8 @@ declare class QmForm extends Component<IProps, IState> {
|
|
|
30
30
|
layout: import("prop-types").Requireable<string>;
|
|
31
31
|
size: (props: any, propName: any, componentName: any) => void;
|
|
32
32
|
cols: import("prop-types").Requireable<number>;
|
|
33
|
-
|
|
33
|
+
className: import("prop-types").Requireable<string>;
|
|
34
|
+
style: import("prop-types").Requireable<object>;
|
|
34
35
|
compactMode: import("prop-types").Requireable<boolean>;
|
|
35
36
|
labelWidth: import("prop-types").Requireable<NonNullable<string | number | null | undefined>>;
|
|
36
37
|
labelAlign: import("prop-types").Requireable<string>;
|
package/lib/form/src/types.d.ts
CHANGED
|
@@ -295,7 +295,10 @@ export type IFormProps = {
|
|
|
295
295
|
layout?: IFormLayout;
|
|
296
296
|
size?: ComponentSize;
|
|
297
297
|
cols?: number;
|
|
298
|
+
/** @deprecated use `className` instead, and it will be deprecated in the next major version */
|
|
298
299
|
customClass?: string;
|
|
300
|
+
className?: string;
|
|
301
|
+
style?: CSSProperties;
|
|
299
302
|
compactMode?: boolean;
|
|
300
303
|
labelWidth?: number | string;
|
|
301
304
|
labelAlign?: ILabelAlign;
|
|
@@ -331,7 +334,8 @@ export declare const propTypes: {
|
|
|
331
334
|
layout: PropTypes.Requireable<string>;
|
|
332
335
|
size: (props: any, propName: any, componentName: any) => void;
|
|
333
336
|
cols: PropTypes.Requireable<number>;
|
|
334
|
-
|
|
337
|
+
className: PropTypes.Requireable<string>;
|
|
338
|
+
style: PropTypes.Requireable<object>;
|
|
335
339
|
compactMode: PropTypes.Requireable<boolean>;
|
|
336
340
|
labelWidth: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
337
341
|
labelAlign: PropTypes.Requireable<string>;
|