plain-design 1.0.0-beta.117 → 1.0.0-beta.118

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plain-design",
3
- "version": "1.0.0-beta.117",
3
+ "version": "1.0.0-beta.118",
4
4
  "description": "",
5
5
  "main": "dist/plain-design.min.js",
6
6
  "module": "dist/plain-design.commonjs.min.js",
@@ -4,7 +4,8 @@ import './layout.scss';
4
4
  export const Layout = designComponent({
5
5
  name: 'layout',
6
6
  props: {
7
- vertical: { type: Boolean }
7
+ vertical: { type: Boolean },
8
+ fullHeight: { type: Boolean },
8
9
  },
9
10
  provideRefer: true,
10
11
  slots: ['default'],
@@ -14,6 +15,7 @@ export const Layout = designComponent({
14
15
  getComponentCls('layout'),
15
16
  {
16
17
  'layout-vertical': props.vertical,
18
+ 'layout-full-height': props.fullHeight,
17
19
  }
18
20
  ]);
19
21
 
@@ -9,6 +9,10 @@ $resize-width: 12px;
9
9
  flex-direction: column;
10
10
  }
11
11
 
12
+ &.layout-full-height {
13
+ height: 100%;
14
+ }
15
+
12
16
  & > .#{componentName(layout-section)} {
13
17
  &.layout-section-position-center {
14
18
  flex: 1;
@@ -57,6 +57,7 @@ export {TabGroup} from './components/TabGroup';
57
57
  export {Tab} from './components/Tab';
58
58
  export {Tag} from './components/Tag';
59
59
  export {Tree} from './components/Tree';
60
+ export type {iTreeDragChangeData} from './components/TreeCore/createTreeProps';
60
61
  export {TreeNodeWithMenu} from './components/TreeNodeWithMenu';
61
62
  export {ColorPicker} from './components/ColorPicker';
62
63
  export {TimePicker} from './components/TimePicker';