Merged PR 196: Implement Vertical orientation + Upgrade Heroicons to 2.0

Implémenter l'orientation verticale

Modifier l'effet de append

Implementer RigidBody

Implementer Flex et simplex

Implémenter Push

Implémenter Swap

Implement MinMaxHeight without behaviors

Fix Margin for Height

Implement PositionReference

Fix dimension vertical position inside children

Add orientation change in form

Implement sortChildren

Implement Anchor

Fix warning message on overlapping

Fix minimap when root container is vertical

#7287
#7288
#7289
#7290
#7291
#7292
#7294
#7295
#7296
#7297
#7298
#7299
#7300
#7301
#7302
This commit is contained in:
Eric Nguyen 2022-09-28 16:07:56 +00:00
parent 459e83a0c8
commit 18cbacaca1
45 changed files with 2112 additions and 1063 deletions

View file

@ -1,6 +1,7 @@
import * as React from 'react';
import { XPositionReference } from '../Enums/XPositionReference';
import { PositionReference } from '../Enums/PositionReference';
import { IMargin } from './IMargin';
import { Orientation } from './Orientation';
/**
* Properties of a container
@ -21,6 +22,9 @@ export interface IContainerProperties {
/** Text displayed in the container */
displayedText: string
/** orientation */
orientation: Orientation
/** horizontal offset */
x: number
@ -30,10 +34,14 @@ export interface IContainerProperties {
/** margin */
margin: IMargin
/** width */
width: number
/** height */
height: number
/**
* Minimum width (min=1)
* Allows the container to set isRigidBody to false when it gets squeezed
* by an anchor
*/
minWidth: number
@ -42,11 +50,15 @@ export interface IContainerProperties {
*/
maxWidth: number
/** width */
width: number
/**
* Minimum height (min=1)
*/
minHeight: number
/** height */
height: number
/**
* Maximum height
*/
maxHeight: number
/** true if anchor, false otherwise */
isAnchor: boolean
@ -55,7 +67,7 @@ export interface IContainerProperties {
isFlex: boolean
/** Horizontal alignment, also determines the visual location of x {Left = 0, Center, Right } */
xPositionReference: XPositionReference
positionReference: PositionReference
/** Hide the children in the treeview */
hideChildrenInTreeview: boolean