Skip to content

Commit

Permalink
AUI: Added layout wrap support (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
bheston authored Jan 13, 2025
1 parent 19c5b97 commit c57e54f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "AUI: Added layout wrap support",
"packageName": "@adaptive-web/adaptive-ui",
"email": "[email protected]",
"dependentChangeType": "patch"
}
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 c57e54f

Please sign in to comment.