JSPM

  • Created
  • Published
  • Downloads 148
  • Score
    100M100P100Q66859F
  • License ISC

Utility Display component for Nitro UI.

Package Exports

  • @nitro-ui/utility-display

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nitro-ui/utility-display) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Nitro UI: Utility Display

Utility Display component for Nitro UI.

Getting Started

Get latest version by installing via NPM @nitro-ui/utility-display:

npm install @nitro-ui/utility-display

Include this stylesheet code into your site:

<div class="u-hidden">u-hidden</div>
<div class="u-inline">u-inline</div>
<div class="u-inline-block">u-inline-block</div>
<div class="u-block">u-block</div>

Responsive breakpoint
Example:
u-block@desktop
u-inline-block@tablet-desktop
u-hidden@mobile-tablet
u-hidden@tablet
u-hidden@mobile

Usage:

Example with <div> tag:

<div class="u-inline-block">u-inline-block</div>

<div class="u-block  u-hidden@mobile">This div will hidden on mobile</div>

Development

To extends, develop or contribute to this component, you're required to fork our main repository and made a pull request.

Development Requirements

Development tools required for this component are:

Ruby and SASS are optional if you're fully using node-sass from npm for development.

Development Setup

Run:

npm install

Compile

Run:

grunt

TODO

Nothing todo for now.


CHANGELOG

All notable changes to this project will be documented in this file. For now, let's keep TODO and CHANGELOG in README file. Keeping things simple.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.0.0-beta] - 2019-07-18

Added

  • Initial setup