generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from FelipeSimoes/feature-virtual-transforms
[ready] Feature virtual transforms
- Loading branch information
Showing
23 changed files
with
787 additions
and
904 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,215 @@ | ||
export default function config() { | ||
return { | ||
inline: { | ||
component: 'InlineEditGridComponent', | ||
inputs: [], | ||
}, | ||
attributes: { | ||
grid: { | ||
'template-rows': { | ||
type: 'text', | ||
label: 'Row', | ||
helpText: 'The row number.', | ||
value: '1fr', | ||
}, | ||
'template-columns': { | ||
type: 'text', | ||
label: 'Columns', | ||
helpText: 'The column number.', | ||
value: '1fr 1fr', | ||
}, | ||
gap: { | ||
type: 'text', | ||
label: 'Gap', | ||
helpText: 'The gap between the grid items.', | ||
value: '20px', | ||
}, | ||
}, | ||
data: { | ||
level: { | ||
type: 'text', | ||
label: 'Level', | ||
helpText: 'The level of the grid.', | ||
value: '1', | ||
}, | ||
height: { | ||
type: 'text', | ||
label: 'Height', | ||
helpText: 'The height of the grid.', | ||
value: '100%', | ||
}, | ||
width: { | ||
type: 'text', | ||
label: 'Width', | ||
helpText: 'The width of the grid.', | ||
value: '100%', | ||
}, | ||
reverse: { | ||
type: 'select', | ||
options: [ | ||
{ | ||
label: 'Default', | ||
value: 'default', | ||
}, | ||
{ | ||
label: 'True', | ||
value: 'true', | ||
}, | ||
{ | ||
label: 'Alternate', | ||
value: 'alternate', | ||
}, | ||
], | ||
label: 'Reverse', | ||
helpText: 'Reverse the order of the grid items.', | ||
}, | ||
columns: { | ||
type: 'text', | ||
label: 'Columns', | ||
helpText: 'Number of columns in the grid.', | ||
value: 'auto', | ||
}, | ||
rows: { | ||
type: 'text', | ||
label: 'Rows', | ||
helpText: 'Number of rows in the grid.', | ||
value: 'auto', | ||
}, | ||
'auto-columns': { | ||
type: 'text', | ||
label: 'Auto Columns', | ||
helpText: 'The width of the columns.', | ||
value: 'auto', | ||
}, | ||
'auto-rows': { | ||
type: 'text', | ||
label: 'Auto Rows', | ||
helpText: 'The height of the rows.', | ||
value: 'auto', | ||
}, | ||
areas: { | ||
type: 'text', | ||
label: 'Areas', | ||
helpText: 'The grid areas.', | ||
value: '', | ||
}, | ||
'justify-items': { | ||
type: 'select', | ||
options: [ | ||
{ | ||
label: 'Start', | ||
value: 'start', | ||
}, | ||
{ | ||
label: 'End', | ||
value: 'end', | ||
}, | ||
{ | ||
label: 'Center', | ||
value: 'center', | ||
}, | ||
{ | ||
label: 'Stretch', | ||
value: 'stretch', | ||
}, | ||
], | ||
label: 'Justify Items', | ||
helpText: 'The alignment of the items along the inline (row) axis.', | ||
}, | ||
'align-items': { | ||
type: 'select', | ||
options: [ | ||
{ | ||
label: 'Start', | ||
value: 'start', | ||
}, | ||
{ | ||
label: 'End', | ||
value: 'end', | ||
}, | ||
{ | ||
label: 'Center', | ||
value: 'center', | ||
}, | ||
{ | ||
label: 'Stretch', | ||
value: 'stretch', | ||
}, | ||
], | ||
label: 'Align Items', | ||
helpText: 'The alignment of the items along the block (column) axis.', | ||
}, | ||
'justify-content': { | ||
type: 'select', | ||
options: [ | ||
{ | ||
label: 'Start', | ||
value: 'start', | ||
}, | ||
{ | ||
label: 'End', | ||
value: 'end', | ||
}, | ||
{ | ||
label: 'Center', | ||
value: 'center', | ||
}, | ||
{ | ||
label: 'Stretch', | ||
value: 'stretch', | ||
}, | ||
{ | ||
label: 'Space Around', | ||
value: 'space-around', | ||
}, | ||
{ | ||
label: 'Space Between', | ||
value: 'space-between', | ||
}, | ||
{ | ||
label: 'Space Evenly', | ||
value: 'space-evenly', | ||
}, | ||
], | ||
label: 'Justify Content', | ||
helpText: 'The alignment of the grid along the inline (row) axis.', | ||
}, | ||
'align-content': { | ||
type: 'select', | ||
options: [ | ||
{ | ||
label: 'Start', | ||
value: 'start', | ||
}, | ||
{ | ||
label: 'End', | ||
value: 'end', | ||
}, | ||
{ | ||
label: 'Center', | ||
value: 'center', | ||
}, | ||
{ | ||
label: 'Stretch', | ||
value: 'stretch', | ||
}, | ||
{ | ||
label: 'Space Around', | ||
value: 'space-around', | ||
}, | ||
{ | ||
label: 'Space Between', | ||
value: 'space-between', | ||
}, | ||
{ | ||
label: 'Space Evenly', | ||
value: 'space-evenly', | ||
}, | ||
], | ||
label: 'Align Content', | ||
helpText: 'The alignment of the grid along the block (column) axis.', | ||
}, | ||
}, | ||
}, | ||
}; | ||
} |
Oops, something went wrong.