Giter Club home page Giter Club logo

dile-components's Introduction

Dile Components

๐Ÿ”– This is the initial approach to the "dile-components" catalog. We are developing a new iteration to reorganize the "dile" custom elements more effectively. The latest version of this component catalog can be found in this repository: https://github.com/Polydile/Components.

See the docs and demos in the dile-components website

We have a new webiste with our components catalog docs and demos!! ๐ŸŽ‰

https://dile-components.polydile.com/

What is dile-components

Dile components is a collection of Custom Elements created and maintained by @EscuelaIT's students and instructors.

This components are created to solve common purpouses in websites and web applications. Each compoment has many of CSS custom properties to adapt the component look & feel to your neeeds.

Components

Component / Mixin Package name Short description npm version
dile-app-drawer @dile/dile-app-drawer Animated app menu npm version
dile-avatar @dile/dile-avatar Configurable user avatar npm version
dile-breadcrumbs @dile/dile breadcrumbs Create custom breadcrumbs npm version
dile-button @dile/dile-button Customizable button npm version
dile-button-icon @dile/dile-button-icon Customizable button with an icon npm version
dile-card @dile/dile-card Card element npm version
dile-checkbox @dile/dile-checkbox Checkbox element npm version
DileCloseDocumentClickMixin @dile/dile-close-document-click-mixin Mixin to close elements when user clicks outside themselves npm version
closeIcon @dile/dile-close-icon-template Close icon lit-html template npm version
DileCloseOnEscPressed @dile/dile-close-on-esc-pressed-mixin Mixin to close element when esc key is pressed npm version
dile-confirm @dile/dile-confirm Modal confirm/cancel actions npm version
dile-countdown-time @dile/dile-countdown-time Countdown hours, minutes and seconds to a date-time npm version
dile-datepicker @dile/dile-datepicker Input element to introduce a date with a calendar npm version
dile-calendar @dile/dile-datepicker Accesible calendar with styles
dile-date-without-calendar @dile/dile-date-without-calendar Input element to introduce a date npm version
DileFormMixin @dile/dile-form-mixin Introduces some functionality to forms npm version
dile-graph @dile/dile-graph Wrapper of Chart.js npm version
dile-hamburger @dile/dile-hamburger Animated hamburger menu icon npm version
dile-html-transform @dile/dile-html-transform Apply breaklines and links on text npm version
dile-icon @dile/dile-icon Show an icon you should provide npm version
dile-info-box @dile/dile-info-box Styled box for information purposes, with close functionality npm version
dile-input @dile/dile-input Customizable input element npm version
dile-input-integer @dile/dile-input Customizable input element to integer values
dile-input-money @dile/dile-input Customizable input element to money values (two decimals)
dile-input-percentage @dile/dile-input Customizable input element to percentage values
dile-input-search @dile/dile-input-search Customizable text search element npm version
dile-input-number-mask @dile/dile-input-number-mask Customized mask to input elements npm version
dile-menu-hamburger @dile/dile-menu-hamburger Complete app menu npm version
dile-menu-overlay @dile/dile-menu-overlay Menu interface on floating layer npm version
dile-message @dile/dile-message Display a message with a close icon npm version
dile-modal @dile/dile-modal Customizable modal box interface npm version
dile-nav @dile/dile-nav Nav var npm version
dile-network @dile/dile-network Network status helper npm version
dile-order-switch @dile/dile-order-switch Change order interface npm version
DileOverlayMixin @dile/dile-overlay-mixin Mixin to create overlay elements easily npm version
dile-pages @dile/dile-pages Display one content or other npm version
dile-password @dile/dile-password Customizable input password element npm version
dile-progress-bar @dile/dile-progress-bar Customizable progress bar component npm version
dile-radio @dile/dile-radio-group One radio button
dile-radio-group @dile/dile-radio-group Group of radio buttons npm version
dile-rating @dile/dile-rating Star rating interface npm version
dile-rating-scale-question @dile/dile-rating-scale-question Semantic-differential rating-scale questions npm version
DileSelectorMixin @dile/dile-selector-mixin Mixin to select one item from a list npm version
dile-select @dile/dile-select Select native element with more functionality npm version
dile-select-ajax @dile/dile-select Select element that loads its values using ajax
dile-selector @dile/dile-selector Generic selector interface npm version
dile-selector-item @dile/dile-selector Generic selector item
dile-slide-show @dile/dile-slide-show Collapsable content with animation npm version
DileSlideDownMixin @dile/dile-slide-down-mixin Mixin to create slidedown/slideup effects npm version
dile-smooth-scroll @dile/dile-smooth-scroll Create smooth scrolls easily npm version
DileSmoothScrollMixin @dile/dile-smooth-scroll Methods to scroll the entire document
DileSmoothScrollElementMixin @dile/dile-smooth-scroll Scroll on elements own scrolling section
dile-social-icon @dile/dile-social-icon SVG icons of many social networks npm version
dile-spinner @dile/dile-spinner CSS spinner loader npm version
dile-spinner-modal @dile/dile-spinner CSS spinner loader in a overlay
dile-spinner-horizontal @dile/dile-spinner CSS spinner with horizontal bars animation
dile-tabs @dile/dile-tabs Tabs interface npm version
dile-tab @dile/dile-tabs One tab
dile-textarea @dile/dile-textarea Customizable textarea element npm version
dile-toast @dile/dile-toast Toast feedback messages npm version
dile-toast-persistent @dile/dile-toast Display a toast with message for a undefined time npm version
dile-tooltip @dile/dile-tooltip Create tooltip elements npm version
icons @dile/icons Some utility svg icons to use in dile-components npm version

Usage

1.- Install any of the web components

npm install @dile/dile-input

2.- Import the component

Into your HTML page

<script src="./node_modules/@dile/dile-input/dile-input.js" type="module"></script>

... or into your module script

import '@dile/dile-input/dile-input';

3.- Use the component

<dile-input
  name="name"
  label="Name"
  value="John"
></dile-input>

4.- Read the component documentation for more information about component properties, CSS custom properties, API methods and custom events.

Each component documentation is on the related package folder. For example, the <dile-input> documentation is located on the file: packages/dile-input/README.md.

5.- Serve your proyect

There are many development servers to help you in this area. Our recomendation is to use web-dev-server.

6.- Enjoy!

Develop

This is a monorepository managed by Lerna.

To develop web components or run the demos allocated on the demo folder, you need to use Lerna to solve the common dependencies installed on the monorepo.

1.- Clone this repository

2.- Run npm install to install the dependencies

3.- Run npm run start to launch the demos

When a new component is published in its own package, in order to use the component in the demos or docs is necesary to run 'npm install'. With this command the package will be available in the npm workspace managed by Lerna v7+.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.