Giter Club home page Giter Club logo

draft-ui's People

Contributors

anthonyshew avatar gregorgabric avatar henrikvtcodes avatar ihiutch avatar

Stargazers

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

Watchers

 avatar  avatar

draft-ui's Issues

docs: Add button links back to React Aria primitives on each of the component examples

React Aria actually does something pretty clever that I think we can do too: https://react-spectrum.adobe.com/react-aria/SearchField.html#composed-components

Because many of their components are composed from more primitive components, I think it would be interesting to do something similar. The goal would be to link back to the React Aria docs, but as Im typing this it also interesting to think about doing something similar to their docs with the Draft UI docs. Where something like the Search Component links back to the Button, Label, and Input components. πŸ€”

Site Navigation focus gets cut off when focused

There seems to be a small visual bug when site navigation links are focused:

See screenshot for example:
CleanShot 2023-12-30 at 16 48 57

If we apply pl-3 (we apply pr-3 to each <LinkList /> already) then the focused state would no longer be cut off.
CleanShot 2023-12-30 at 16 55 01

Any thoughts? Happy to make a fix for this if we think it makes sense πŸ‘

Breadcrumbs have duplicate role=link

Breadcrumb items wrap <Link /> but the examples are passing <a> as a child so what ends up happening is you actually get nested anchor tags which I don't think is what's intended.

CleanShot 2024-01-05 at 22 28 40

Happy to raise a PR to fix this if you agree that this is a bug.

docs: Add DateField and DateInput to docs

These were skipped because I wasn't comfortable with how I grouped the Date components imports. However, the DatePickers depend on these components and they're not currently documented.

ComboBox dropdown background gets cut off by viewport

Hi πŸ‘‹πŸ»

Saw this component library in a Tweet on my timeline and took a quick look as always great to see new projects pop up. Looks great so far, keep up the great work! πŸ™ŒπŸ»

Found a small visual bug with ComboBox where the background only extends to the height of the viewport and therefore if the viewport height is tiny the items in the ComboBox extend beyond the background, which looks a bit πŸ’©.

Did my best to highlight the bug in the screenshot below.

image

This is in Chrome v112 on macOS, just in case it's browser or platform specific.

Hope this helps πŸ˜ƒ

RFC: Make Draft UI themeable

My biggest concern here is that I don't like the idea of having to use CSS variables or theme config to manage a theme. This feels like an unnecessary overhead that I found to be fairly complicated when trying to customize these components beyond changing a few colors. My original intention was to make it easy to get started building accessible interfaces and an additional step of configuring a theme or having to rip it out altogether seems like it would hurt more than help.

Then again, maybe being able to customize just enough makes Draft UI more appealing to use in the first place and/or easier to manage with a CLI installation tool.

I'd be curious to see what folks think.

License?

Hi there,

I just found your project, and it looks great, but what is the license on the project?

Cheers,
Erik

Add CLI (or use sly)

A CLI for "installing" things would be nice. And could be relatively easy by using Sly CLI by @jacobparis. That comes with the benefit of sharing the maintenance burden as well.

Thoughts on a collaboration here?

docs: Truncate long code examples

Right now, full length code examples have a min height so they're scrollable. I think they may look a bit nicer if they're truncated/hidden by default and toggled to open taller or full-height. Similar to the shadcn/ui manual installation examples.

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.