Giter VIP home page Giter VIP logo

r64components's Introduction

r64components

Project setup

yarn install

Compiles and hot-reloads for development

yarn run serve

Compiles and minifies for production

yarn run build

Run your tests

yarn run test

Lints and fixes files

yarn run lint

Customize configuration

See Configuration Reference.

r64components's People

Contributors

pepeloper avatar dependabot[bot] avatar michalgallovic avatar seddie62 avatar cecicoding avatar

Stargazers

Miguel Manzano García avatar Daniel Vigueras avatar  avatar  avatar michael ntow avatar

Watchers

James Cloos avatar Miguel Manzano García avatar Robert Preston avatar

Forkers

michalgallovic

r64components's Issues

R64Select component doesn't render caret

Select styles are defined on components but it doesn't render properly when using the package

<style>
select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M7 7l3-3 3 3m0 6l-3 3-3-3' stroke='%239fa6b2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.5em 1.5em;
}
</style>

Documentation playground

Provide a playground and extensible documentation with different examples on how to customize the components.

Extend classes with new props based on theme.js configuration file.

Right now we have a primary and secondary variant. We want to have a dynamic number of variants that can be defined trough the configuration theme.

We can have a variant prop that receives the variant name according to the configured theme and render the proper classes.

R64Radio & R64Checkbox components doesn't render properly when checked

Radio styles are defined on component but it doesn't render properly when using the package

<style>
input[type="radio"]:checked {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E");
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: 50%;
}
</style>

Support loading state on buttons

Button component should support a loading state.

Actually we have some kind of legacy support via busy prop. Should be changed to loading.
We should support different loading placeholders as well. So it should have a named slot for that, and by default provide some kind of loader

  • Dev preview in dev.vue file with primary and secondary styles
  • Storybook stories

Scope components by classes

We should add a class to our components and target them in that way.
This will allow a easier customization for the package users

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.