1.1.0 • Published 4 years ago

@nitro-ui/component-form-float v1.1.0

Weekly downloads
68
License
ISC
Repository
github
Last release
4 years ago

dropdown# Nitro UI: Component > Form Float

Toggle contextual overlays for displaying lists of links and more

Getting Started

Get latest version by installing via NPM @nitro-ui/component-form-float:

npm install @nitro-ui/component-form-float

Dependencies

Form float require Nitro Form Component which already define inside package.json.

Usage

Sample markup for Form float

Input

<div class="c-field-float">
    <input type="text" class="c-input"/>
    <label>Label</label>
    <div class="c-field__message">
        Message here
    </div>
</div>

Disable State

<div class="c-field-float">
    <input type="text" class="c-input" disabled/>
    <label>Label</label>
    <div class="c-field__message">
        Message here
    </div>
</div>

Error State

<div class="c-field-float  c-field--error">
    <input type="text" class="c-input"/>
    <label>Label</label>
    <div class="c-field__message">
        Message here
    </div>
</div>

Select

<div class="c-field-float">
    <select class="c-input">
        <option></option>
        <option value="1">1</option>
        <option value="2">2</option>
        <option value="3">3</option>
    </select>
    <label>Select</label>
    <div class="c-field__message">
        Message here
    </div>
</div>

Input with Button

<div class="c-field-float">
    <div class="c-input-btn  u-padding-ends-none  u-flex  u-flex--items-center  u-bg-white">
        <input type="text" class="c-input"/>
        <label>Label</label>
        <button class="c-btn  c-btn--secondary">Button</button>
    </div>
    <div class="c-field__message">
        Message here
    </div>
</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-10-08

Added

  • Initial setup
  • Fixed CSS style for reorder the First and Last button
1.1.0

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago