[package]
name = "leptos-shadcn-registry"
description = "Feature-based component registry for shadcn/ui Leptos components"
homepage = "https://shadcn-ui.rustforweb.org/components/registry.html"

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
version.workspace = true

[dependencies]
leptos.workspace = true

[features]
# Enable all components (default)
all = [
    "alert",
    "badge",
    "button",
    "card",
    "checkbox",
    "combobox",
    "dialog",
    "form",
    "input",
    "label",
    "pagination",
    "radio-group",
    "select",
    "separator",
    "skeleton",
    "switch",
    "table",
    "tabs",
    "textarea",
    "tooltip",
    "utils",
]

# Essential components only
essential = [
    "button",
    "input",
    "label",
    "card",
    "separator",
]

# Form components
forms = [
    "input",
    "label",
    "checkbox",
    "radio-group",
    "select",
    "textarea",
    "form",
]

# Layout components
layout = [
    "card",
    "separator",
    "skeleton",
    "tabs",
]

# Interactive components
interactive = [
    "button",
    "checkbox",
    "radio-group",
    "select",
    "switch",
    "tabs",
]

# Data display components
data = [
    "table",
    "pagination",
    "badge",
]

# Feedback components
feedback = [
    "alert",
    "dialog",
    "tooltip",
]

# Individual component features
alert = []
badge = []
button = []
card = []
checkbox = []
combobox = []
dialog = []
form = []
input = []
label = []
pagination = []
radio-group = []
select = []
separator = []
skeleton = []
switch = []
table = []
tabs = []
textarea = []
tooltip = []
utils = []

[dev-dependencies]
leptos = { workspace = true, features = ["csr"] }
