1.1.7 • Published 12 months ago

mi-proyecto-ramon-comp v1.1.7

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

Custom Component for react

<custom-button> <custom-input> <search-bar> is a HTML custom elements for the purpose of ...

$ npm i mi-proyecto-ramon-comp

Installing as a direct, dev or peer dependency is up to the user installing the package. If you are unsure as to what type of dependency you should use, consider reading this stack overflow answer.

Any update to the Auro Design Tokens will be immediately reflected with browsers that support CSS custom properties, legacy browsers will require updated components with pre-generated fallback properties.

Define dependency in project component

Defining the components dependency within each component that is using the <custom-button> <custom-input> <search-bar> components.

import 'mi-proyecto-ramon-comp/src/custom-input';
import 'mi-proyecto-ramon-comp/src/custom-button';
import 'mi-proyecto-ramon-comp/src/search-bar';

Reference component in HTML

<custom-button buttonType="primary-small" title="small"></custom-button>

<custom-input placeholder="Speak now" type="text" buttonType="primary"
  >&#128269;</custom-input
>
<search-bar>&#128269;</search-bar>

Install bundled assets from CDN

This is a package that provides a input elements and button that could be reuse in a react js project

NOTE: Be sure to replace @latest in the URL with the version of the asset you want. @latest is NOT aware of any MAJOR releases, use at your own risk.

API Code Examples

Default auro-datetime

<custom-button buttonType="primary-small" title="small"></custom-button>

<custom-input placeholder="Speak now" type="text" buttonType="primary"
  >&#128269;</custom-input
>
<search-bar>&#128269;</search-bar>
<custom-input
  placeholder="Custom Styles border"
  type="text"
  buttonType="primary"
  label="This is the label"
  >&#128269;</custom-input
>

Start development environment

Once the project has been cloned to your local resource and you have installed all the dependencies you will need to open two different bash sessions. One is for the polymer server, the second is to run the build.

// bash run LitElements Project
$ polymer serve

// bash build
$ npm run serve

Open localhost:8081

Demo deployment

To deploy a demo version of the component for review, run npm run build to create a ./build directory that can be pushed to any static server.

1.1.7

12 months ago

1.1.6

12 months ago

1.1.5

12 months ago

1.1.4

12 months ago

1.1.3

12 months ago

1.1.2

12 months ago

1.1.1

12 months ago

1.1.0

12 months ago

1.0.9

12 months ago

1.0.8

12 months ago

1.0.7

12 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago