npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@mym-tech/cornellius-ui

v0.0.52

Published

MYM's Frontend Components library.

Downloads

11

Readme

Cornellius UI

About The Project

mym

JSX in Vue, is something innovative, since the framework took its first steps, Vue does not stop impressing us with its improvements. For Vue2 using JSX was a big step, it helped with the commission of two worlds and created the gap for possible improvements. In Vue 3 it was decided to use JSX to decrease the complexity of the logic in some components, so that the use is not necessary extra configurations or third party libraries, everything is ready to use.

The only problem with this is that there are not so many libraries that are adapted to the use of jsx in components that are responsive or mobile first. What a headache, we can use jsx but not quite complete in a project.

For those coming from React wanting to get into Vue 3 without losing their way of writing, JSX is great but it is limited only to the logic, if you want to build your components then you must create them from scratch.

This library is dedicated to the good implementation of mobile-first (responsive), ready to use, and easy to edit/customize JSX components.

Built With

This library uses the following tools

Getting Started

Installation

  • npm
    npm install @mym-tech/cornellius-ui@latest 
  • yarn
    yarn add @mym-tech/cornellius-ui@latest 

Usage

In a project with Vue 3 and JSX, import components you use and use them in your component return.

import CorInput from '@mym-tech/cornellius-ui';

const componentX = () => {
    return (
        <>
          <CorInput
               placeholder={'Aa'}
               onSubmit={()=>{'do something'}}
               value={0}
          />
        </>
    )
}

Roadmap

  • [x] Add initial config
  • [ ] Wave 1 first components
    • [x] Basics Inputs
    • [x] Layout systems
    • [x] Basics Cards
    • [x] Modals
  • [ ] Wave 2
    • [ ] Complex Inputs
    • [x] Lazy load
    • [ ] Infinite Scroll
  • [ ] Wave 3
    • [ ] Popups & dialogs
    • [ ] Toaster & banner
  • [ ] Wave 4
    • [ ] Navigation, Menu & tab-bar
    • [ ] Collapse
  • [ ] Wave 5
    • [ ] Empty states handlers

See open issues for a full list of proposed features (and known issues).

Contributing

Branch naming convention

You branch should have a name that reflects its purpose.

It should always start by the type of work you'll do (feat, chore, build, fix, docs, refacto), followed by a slash (/) and a very quick summary of the subject in [kebab case][1].

Example: feat/add-user-company.

Local Testing

To locally test this package, you can simply use npm link.

There is two ways of doing that:

cd cornellius-ui/
npm link
cd my-vue-project/
npm link @mym-tech/cornellius-ui

or you can simply do

cd my-vue-project/
npm link ../path/to/cornellius-ui

Now you can start using cornellius-ui in your local Vue 3 project and when you modify your local cornellius-ui repository and run the build command, it will automatically update in your local Vue project.

Publish

To publish a new version in the npm registry, you will need to increment the package version in the package.json file and run the npm publish command.

npm publish --registry https://registry.npmjs.org  

Now you should be able to install the new version in your Vue 3 project by using the following command:

npm i @mym-tech/cornellius-ui@latest

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgments

Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!