plain-design 1.0.0-beta.123 → 1.0.0-beta.125

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.123",
3
+ "version": "1.0.0-beta.125",
4
4
  "description": "",
5
5
  "main": "dist/plain-design.min.js",
6
6
  "module": "dist/plain-design.commonjs.min.js",
@@ -19,7 +19,7 @@
19
19
  "author": "",
20
20
  "license": "ISC",
21
21
  "peerDependencies": {
22
- "@peryl/react-compose": "0.0.202",
22
+ "@peryl/react-compose": "0.0.221",
23
23
  "exceljs": "^4.2.1",
24
24
  "file-saver": "^2.0.5",
25
25
  "react": "^18.0.1",
@@ -40,7 +40,7 @@
40
40
  "react-transition-group": "4.4.5"
41
41
  },
42
42
  "devDependencies": {
43
- "@peryl/react-compose": "0.0.219",
43
+ "@peryl/react-compose": "0.0.221",
44
44
  "@babel/plugin-proposal-optional-chaining": "7.21.0",
45
45
  "@babel/plugin-transform-class-properties": "7.23.3",
46
46
  "@babel/preset-env": "7.23.7",
@@ -14,6 +14,14 @@ $resize-width: 12px;
14
14
  }
15
15
 
16
16
  & > .#{componentName(layout-section)} {
17
+
18
+ &.layout-section-fixed-inner {
19
+ .layout-section-inner {
20
+ position: absolute;
21
+ inset: 0;
22
+ }
23
+ }
24
+
17
25
  &.layout-section-position-center {
18
26
  flex: 1;
19
27
  position: relative;
@@ -9,7 +9,8 @@ export const LayoutSection = designComponent({
9
9
  props: {
10
10
  position: { type: String as PropType<typeof eLayoutSectionPosition.TYPE>, default: eLayoutSectionPosition.center },
11
11
  modelValue: { type: Number },
12
- collapse: { type: Boolean }
12
+ collapse: { type: Boolean },
13
+ fixedInner: { type: Boolean },
13
14
  },
14
15
  emits: {
15
16
  onUpdateModelValue: (val?: number) => true,
@@ -32,6 +33,7 @@ export const LayoutSection = designComponent({
32
33
  {
33
34
  'layout-section-fixed': !!model.value,
34
35
  'layout-section-collapse': collapseModel.value,
36
+ 'layout-section-fixed-inner': props.fixedInner,
35
37
  }
36
38
  ]);
37
39
 
@@ -58,6 +58,7 @@ export {Tab} from './components/Tab';
58
58
  export {Tag} from './components/Tag';
59
59
  export {Tree} from './components/Tree';
60
60
  export type {iTreeDragChangeData} from './components/TreeCore/createTreeProps';
61
+ export {eTreeDropType} from './components/TreeCore/createTreeDraggier';
61
62
  export {TreeNodeWithMenu} from './components/TreeNodeWithMenu';
62
63
  export {ColorPicker} from './components/ColorPicker';
63
64
  export {TimePicker} from './components/TimePicker';