msilycanthropy / lycan_ui Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Should this have a way to be server rendered?
Straightforward Radio Buttons
Ofc should gracefully interact with Rails forms
Something that is prerequisite to this is some way of creating a default tailwind.config.js or cog.tailwind.css file.
Something that probably sits behind a default install command, and then we can append/update that file as we install new components.
No time yet, I think that is a bit more complex.
This should leverage the Calendar Component
So for this I don't think we actually want to use the real Progress Element. Because if it's rounded that creates some weirdness. Shadcn/ui uses two divs and then just translates one around to simulate it and keep rounding.
Creates that cool hovercard (probably leverage that component) to put a bunch of navigation links inside of it, or just link to a single link.
Similar to the context menu we potentially want this to interact with Turbo in some way to perform server actions? Might make sense to leave that up to the consumer?
This isn't really much different than the Hovercard other than the way it's triggered I don't think. So they can maybe share code?
A big thing on this is making sure that we have variants and end up with a nice way to do that.
button_to
type helper that let's you use it easily? (probably)It'd be cool if this gracefully interacted with Kaminari, will_paginate, and pagy. Not quite sure exactly how that would look though.
So I think we also want to steal some of the stuff from pagy
here.
The different styles of pagination + the smartness the pagy
js does.
That really makes the complexity of this skyrocket, but will make it a lot more useful for users.
For a first pass, just support pagy
Typical select box. No programmatic filling or search yet.
Some select boxes do this weird thing where they lock the scroll of the page. we shouldn't do that. Let's just make the thing actually scroll with the page.
We probably want some form of a ButtonTo
as well, that would be quite nice.
Something that is prerequisite to this is some way of creating a default tailwind.config.js
or cog.tailwind.css
file.
Something that probably sits behind a default install command, and then we can append/update that file as we install new components.
Renders a label that can be associated with a form control
This and the input should interact gracefully with the Rails formbuilders
This should have a nice animation
Kicking this back because I have some questions on the way I want to implement it.
Namely do I want to use the grid-template-rows
transition by default. Or just have it unanimated and use something like the details
element to handle it semantically.
Could also be unanimated and use the hidden
attribute.
Overall animating them get's a little wacky outside the svelte ecosystem because we don't get the luxury of the Svelte transition ecosystem.
Ultimately I also think this component is not super critical.
This is mostly built already.
Cool little animated switch toggle. I can't remember how I did it for the one I made at work, but it uses some cool box shadow shit to morph between the two states, so if it can do that, that'd be cool.
This should support filtering and sorting with Turbo
Eventually it would be super amazing if we could have a helper that lets you do like table(collection. attributes: [:thing, :thing_2])
that renders a table for you automatically. That has like filtering, sorting, picking columns, paginations, etc.
Simple animated tabs
Minimally styled text area.
Optionally apply character count?
Like a Toaster or something. That could potentially require a backend portion?
Like Drawer but on the side
Should this be accessible if you swipe on mobile? Methinks yes but.. not sure.
This should have some option to hit different server actions per one you pick. Could do with a form and buttons with formaction
? Not to sure how we should handle that.
I see more and more apps having something like this, so it seems like something we should have as well.
input-otp
library probably.Should have some way to be server rendered and interact with Turbo.
Should have some way to be rendered on the client as well probably?
This one is going to be way more complex, might not even be worth it for an MVP.
There are probably some more advanced features we'd want.
Toggles between two states (probably tied to a form field in some way?)
So my issue with this one is I am not entirely clear how we would interact with this on both the stimulus side or on the rails side.
I'd need to see a proposal of how we'd like this implemented.
This should work more like the Sonner
in shadcn/ui, that thing fuckin rocks.
Should this interact with the server in some way? Like some helpers for pushing notifs with turbo streams?
Not sure how styleable the native ones are. Those basically get the job done?
Should ofc gracefully interact with Rails forms.
Should leverage floating UI
Should have the ability to lazy load with turbo frames
fancy HR tag
Skeleton loader. Really really basic.
Should leverage floating UI
button_to
type helper that let's you use it easily? (probably)This might be a duplicate but I see lots of apps with this as well, so that could be something we implement here too
Card requires a bit more design before getting done, and also frankly I don't think fits with the MVP much, since I care more about getting nice functional components out
Biggest thing to consider with this is whether or not we want to allow some kind of search that hits the backend for this? I think for the original version of it.. we probably don't want something that is populated by the server? But might be something nice to consider for later.
Easy to use Menu Bar component for an app. This should leverage the Dropdown component.
I'd assume we'd want the menu to have buttons/dropdowns/etc in it. So we should support all of that.
Your basic tooltip with lots of positioning stuff
Leverage floatingUI
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.