Code Monkey home page Code Monkey logo

js-tailwind's People

Contributors

einazare avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

josiashod

js-tailwind's Issues

JS-Tailwind Scripts

  • Add a script that generates automatically the js-tailwind.js and js-tailwind.min.js files.

Refactor the initTabs function

  • When overriding the deafult classes by calling again the initTabs funtion, another event listener will be added for all the tabs, make this only happen for those overriden tabs
  • Change the active classes object, maybe you will have to change normal classes object as well
    The issue is that, the following code:
  let activeElement = ulElement.querySelector("li > a" + queryActiveClasses);

Has errors if the queryActiveClasses is an array with more than one class:
Example:

queryActiveClasses === [".class-1",".class-2"];
// then
"li > a" + queryActiveClasses === "li > a.class-1,.class-2"
// should be
"li > a" + queryActiveClasses === "li > a.class-1.class-2"

Notice the comma.

Transitions for Collapses

This issue refers to the fact that at the moment, when you open a Collapse component, it is opened quite rapidly, and it would be better to have a smooth transition on it's opening.
Example of nice transitions:

Transitions for Alerts

Right now, when you close an Alert component, it suddenly disappears from the page. We could add a nice fading transition to it, like some of these examples:

Transitions for Tooltips/PopperJS

Right now, the Tooltips appears suddenly when you hover the elements with them. We want to change this behavior and make them appear with some nice transition.
Here are a few examples of what we're looking todo:

Transitions for Dropdowns/PopperJS

Right now, the Dropdowns appears suddenly when you click the elements with them. We want to change this behavior and make them appear with some nice transition.
Here are a few examples of what we're looking todo (they are the same as for the Tooltips, but they should work on click, not on hover):

Transitions for Modals

This issue refers to the fact that at the moment, when you open a Modal component, the transition is sometimes lagging, and we'll need a refactor on this transition, or change it altogether with something a bit better.
Example of nice transitions:

Transitions for Tab Pills

This issue refers to the fact that at the moment, when you change the current opened tab with it's content the old active element will suddenly disappear and the new content will suddenly appear. We want to change this behavior and make some nice animations between the changes of the current active element, and the next one.
Example of nice transitions:

Transitions for Popovers/PopperJS

Right now, the Popovers appears suddenly when you click the elements with them. We want to change this behavior and make them appear with some nice transition.
Here are a few examples of what we're looking todo (they are the same as for the Tooltips, but they should work on click, not on hover):

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.