Giter Club home page Giter Club logo

ui3's Introduction

benjamincanac Nuxter profile

ui3's People

Contributors

aditio-eka avatar antfu avatar atinux avatar benjamincanac avatar connerblanton avatar danielroe avatar darkghosthunter avatar eduayme avatar farnabaz avatar graup avatar haythamasalama avatar ineshbose avatar jduartea avatar johnpuaoi avatar kejunmao avatar larbish avatar maxsteinwand avatar mcastagnetti avatar moshetanzer avatar muhammadm1998 avatar mwohlan avatar noook avatar renovate[bot] avatar romhml avatar sandros94 avatar silver343 avatar sma11x avatar smarroufin avatar tomsmith27 avatar yingchenit 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

Watchers

 avatar  avatar  avatar  avatar  avatar

ui3's Issues

Normalize `Switch` and `Checkbox` v-model bindings

Description

Radix UI uses v-model:checked for Switch and Checkbox components as opposed to modelValue in v2. Currently, the switch component uses checked like radix, and the checkbox component uses modelValue like in the previous version.

We should commit to one behaviour to avoid confusion. I personally find using modelValue simpler.

[Animations] Move in Tailwind CSS theme

As of right now, the animations are defined inside the <style> block of each component, it would be better to define them inside the @theme when plugins are ready.

Dynamic slots through `item.slot` are not typed

When using the Accordion, Breadcrumb, DropdownMenu, NavigationMenu or Tabs component, the slots from items/links should be displayed in the autocomplete.

This is the issue:

type SlotProps<T> = (props: { item: T, index: number }) => any

export type Slots<T> = {
  default: SlotProps<T>
} & {
  [key in T['slot'] as string]?: SlotProps<T>
}

[NavigationMenu/DropdownMenu/ContextMenu] Handle `select` event

Description

There is currently an issue that prevents from defining types with an interface: vuejs/core#8457

interface NavigationMenuEmits<T extends NavigationMenuLink> extends NavigationMenuRootEmits {
  select: [event: Event, link: T]
}

const emits = defineEmits<NavigationMenuEmits<T>>()
<NavigationMenuLink @select="emits('select', $event, link)">

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.