0.0.12 • Published 8 months ago

@armco/layout v0.0.12

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

Grid Layout Component

Overview

The Grid Layout Component is a layout creator that allows users to design and manage a grid-based layout. It consists of a primary grid with four cells, three of which are sub-grids. These sub-grids provide tools for managing rows and columns, as well as the main grid being created.


Primary Grid

The primary grid is a 4-cell grid arranged as follows:

Empty (Top-Left)Column Tools Grid
Row Tools GridMain Grid

Cell Details

1. Top-Left Cell

  • This cell is empty and does nothing.

2. Top-Right Cell (Column Tools Grid)

  • This cell contains the Column Tools Grid, which is a sub-grid with 1 x n columns.
  • It represents tools for managing columns in the Main Grid.

3. Bottom-Left Cell (Row Tools Grid)

  • This cell contains the Row Tools Grid, which is a sub-grid with m x 1 rows.
  • It represents tools for managing rows in the Main Grid.

4. Bottom-Right Cell (Main Grid)

  • This cell contains the Main Grid, which is the grid being created and managed using the row and column tools.

Purpose

  • The Column Tools Grid and Row Tools Grid provide controls for adding, deleting, or modifying rows and columns in the Main Grid.
  • The Main Grid is the primary focus of the layout creator, and its structure is influenced by the tools in the other grids.

How It Works

  1. Column Tools Grid:

    • Allows users to manage columns in the Main Grid.
    • Users can add, delete, or modify columns using the tools provided.
  2. Row Tools Grid:

    • Allows users to manage rows in the Main Grid.
    • Users can add, delete, or modify rows using the tools provided.
  3. Main Grid:

    • The grid being created and managed.
    • Its layout is dynamically updated based on the actions performed in the Row Tools Grid and Column Tools Grid.

Notes

  • The Top-Left Cell is reserved for future use or customization.
  • The layout is designed to ensure seamless interaction between the tools and the main grid.

This documentation provides a clear understanding of the structure and purpose of the Grid Layout Component. Feel free to extend or modify it as needed!

0.0.10

8 months ago

0.0.11

8 months ago

0.0.12

8 months ago

0.0.9

8 months ago

0.0.8

8 months ago

0.0.7

8 months ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago