Skip to content

Commit

Permalink
AUI: Added layout wrap support
Browse files Browse the repository at this point in the history
  • Loading branch information
bheston committed Jan 11, 2025
1 parent 7c16c24 commit 11a44bd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/adaptive-ui/docs/api-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,7 @@ export const StyleProperty: {
readonly layoutDirection: "layoutDirection";
readonly layoutMainAxisAlignItems: "layoutMainAxisAlignItems";
readonly layoutCrossAxisAlignItems: "layoutCrossAxisAlignItems";
readonly layoutWrap: "layoutWrap";
readonly opacity: "opacity";
readonly cursor: "cursor";
readonly outlineColor: "outlineColor";
Expand Down
2 changes: 2 additions & 0 deletions packages/adaptive-ui/src/core/modules/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ export const stylePropertyToCssProperty = (usage: StyleProperty): string => {
return "justify-content";
case StyleProperty.layoutCrossAxisAlignItems:
return "align-items";
case StyleProperty.layoutWrap:
return "flex-wrap";
case StyleProperty.opacity:
return "opacity";
case StyleProperty.cursor:
Expand Down
1 change: 1 addition & 0 deletions packages/adaptive-ui/src/core/modules/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ export const StyleProperty = {
layoutDirection: "layoutDirection",
layoutMainAxisAlignItems: "layoutMainAxisAlignItems",
layoutCrossAxisAlignItems: "layoutCrossAxisAlignItems",
layoutWrap: "layoutWrap",
opacity: "opacity",
cursor: "cursor",
outlineColor: "outlineColor",
Expand Down

0 comments on commit 11a44bd

Please sign in to comment.