Sha256: 53680bcb5ffab3b074b0ed30d81086073fa139643bffe98a49c51c4587f2cc19

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

<div data-controller="ui--date-picker">
  <button data-ui--date-picker-target="toggle"
    class="inline-flex items-center whitespace-nowrap rounded-md text-sm ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 border border-input bg-background hover:bg-accent hover:text-accent-foreground h-10 px-4 py-2 w-[280px] justify-start text-left font-normal text-muted-foreground" type="button">
    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-calendar mr-2 h-4 w-4">
      <path d="M8 2v4"></path>
      <path d="M16 2v4"></path>
      <rect width="18" height="18" x="3" y="4" rx="2"></rect>
      <path d="M3 10h18"></path>
    </svg>
    <span name=<%= name %> data-ui--date-picker-target="input"><%= value %></span>
    <input type="hidden" name=<%=name%> value=<%value%> data-ui--date-picker-target="input">
  </button>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shadcn-ui-0.0.15 app/views/components/ui/_date_picker.html.erb
shadcn-ui-0.0.14 app/views/components/ui/_date_picker.html.erb