Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cenadros committed Apr 18, 2024
1 parent 0712e87 commit 8d1b38c
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions ui-src/lib/types/layout/layoutAttributes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@ import { GridCell } from '@ui/lib/types/layout/gridCell';
import { GridTrack } from '@ui/lib/types/layout/gridTrack';
import { Uuid } from '@ui/lib/types/utils/uuid';

type JustifyAlignContent =
| 'start'
| 'center'
| 'end'
| 'space-between'
| 'space-around'
| 'space-evenly'
| 'stretch';

type JustifyAlignItems = 'start' | 'end' | 'center' | 'stretch';

export type LayoutAttributes = {
layout?: 'flex' | 'grid';
layoutFlexDir?:
Expand All @@ -24,24 +35,10 @@ export type LayoutAttributes = {
p3?: number;
p4?: number;
};
layoutJustifyContent?:
| 'start'
| 'center'
| 'end'
| 'space-between'
| 'space-around'
| 'space-evenly'
| 'stretch';
layoutJustifyItems?: 'start' | 'end' | 'center' | 'stretch';
layoutAlignContent?:
| 'start'
| 'center'
| 'end'
| 'space-between'
| 'space-around'
| 'space-evenly'
| 'stretch';
layoutAlignItems?: 'start' | 'end' | 'center' | 'stretch';
layoutJustifyContent?: JustifyAlignContent;
layoutJustifyItems?: JustifyAlignItems;
layoutAlignContent?: JustifyAlignContent;
layoutAlignItems?: JustifyAlignItems;
layoutGridDir?: 'row' | 'column';
layoutGridRows?: GridTrack[];
layoutGridColumns?: GridTrack[];
Expand Down

0 comments on commit 8d1b38c

Please sign in to comment.