New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@frontkom/section-row

Package Overview
Dependencies
Maintainers
10
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontkom/section-row

A collection of blocks that compose together to create flexible sections.

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
10
Created
Source

Section Row

A collection of blocks that compose together to create flexible sections. The structure of the blocks are as follows:

  • Section Row
    • Row Inner One Column
      • Section Cell
    • Row Inner Two Columns
      • Section Cell
      • Section Cell
    • Row Inner Gallery
      • Section Cell
      • Section Cell
      • Section Cell

Section Row Block

Section row is the root block where we can add on or more of the following blocks in any order.

  • Row Inner One Column
  • Row Inner Two Columns
  • Row Inner Gallery

Settings

  • Html element [div, section]
  • Width
  • Height
  • Behind page header
  • Background image
  • Background image position
  • Background image size
  • Background color
  • Background color opacity
  • Top and bottom padding
  • Top and bottom margin
  • Vertical align content [top, center, bottom]
  • Skip link

Row Inner One Column Block

Row inner one column can be put inside Section Row, and has a Row Cell child block.

Settings

  • Widht
  • Top and bottom margin [xsmall, small, medium, large, xlarge, xxlarge]

Row Inner Two Column Block

Row inner two columns can be put inside Section Row, and has two Row Cell child blocks.

Settings

  • Widht
  • Split [One to One, One to Two, Two to One, One to Three, Three to One, One to Four, Four to One]
  • Column gap [xsmall, small, medium, large, xlarge, xxlarge]
  • Invert
  • Top and bottom margin [xsmall, small, medium, large, xlarge, xxlarge]

Row inner gallery columns can be put inside Section Row, and has two or more Row Cell child blocks.

Settings

  • Widht
  • Columns 1-10
  • Gallery items 2-40
  • Column gap [xsmall, small, medium, large, xlarge, xxlarge]
  • Row gap [xsmall, small, medium, large, xlarge, xxlarge]
  • Tob and bottom margin [xsmall, small, medium, large, xlarge, xxlarge]

Row cell

Row cell is child block of any Row Inner block, and any block can be put inside it.

Settings

  • Max width
  • Align self [None, Auto, Center, Flex-start, Flex-end, Baseline]
  • Justify self [None, Auto, Center, Flex-start, Flex-end, Baseline]
  • Align items [None, Auto, Center, Flex-start, Flex-end, Baseline]
  • Justify content [None, Auto, Center, Flex-start, Flex-end, Baseline, Space-between, Space-around, Space-evenly]

Intallation

This project was bootstrapped with Create Cloud Block.

Below you will find some information on how to run scripts.

npm start

  • Use to compile and run the block in development mode.
  • Live reload is not supported currently.

npm run build

  • Use to build production code for your block inside build folder.

npm run deploy

  • Use to publish the block to NPM
  • It will become available in Gutenberg Cloud in a few minutes

Keywords

gutenberg

FAQs

Package last updated on 13 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts