[package]
edition = "2021"
name = "shadow-design"
version = "0.5.0"
authors = [
"ShadowfenixRaD",
"Christian Torbidone <killerbossoriginal@gmail.com>",
]
build = "build.rs"
include = [
"src/**/*",
"scss/**/*",
"tests/**/*",
"build.rs",
"README.md",
"CHANGELOG.md",
"Cargo.toml",
"LICENSE*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Modular, high-performance UI component library for Dioxus 0.7 applications"
readme = "README.md"
keywords = [
"dioxus",
"ui",
"components",
"wasm",
"web",
]
categories = [
"gui",
"wasm",
"web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://source.shadowfenix.net/development/shadow-design"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
accordion = ["icon"]
activity-feed = ["activity_feed"]
activity_feed = [
"avatar",
"icon",
"textarea",
"button",
]
affix = ["icon"]
alert = [
"icon",
"close_button",
]
alert-dialog = ["alert_dialog"]
alert_dialog = [
"icon",
"button",
"modal",
]
all = [
"button",
"card",
"input",
"select",
"textarea",
"checkbox",
"badge",
"navbar",
"modal",
"alert",
"theme",
"icon",
"typography",
"notification",
"tabs",
"switch",
"tooltip",
"drawer",
"dropdown",
"animation",
"avatar",
"chat",
"progress",
"attachment_card",
"contact_card",
"segmented_control",
"divider",
"tree",
"skeleton",
"number_input",
"radio",
"slider",
"rating",
"pin_input",
"color_picker",
"chip",
"accordion",
"spoiler",
"list",
"timeline",
"table",
"scroll_area",
"breadcrumbs",
"pagination",
"nav_link",
"bottom_navigation",
"stepper",
"menubar",
"app_shell",
"grid",
"group",
"stack",
"layout_primitives",
"aspect_ratio",
"center",
"popover",
"hover_card",
"context_menu",
"alert_dialog",
"coachmark",
"speed_dial",
"affix",
"burger",
"close_button",
"copy_button",
"indicator",
"highlight",
"loading_overlay",
"fieldset",
"marquee_selection",
"keytip",
"form",
"hooks",
"command_palette",
"date_picker",
"dropzone",
"resizable",
"carousel",
"virtual_list",
"code_highlight",
"charts",
"rich_text",
"document_card",
"masonry",
"media_card",
"navigation_menu",
"overflow_set",
"transfer_list",
"facepile",
"activity_feed",
]
animation = []
app-shell = ["app_shell"]
app_shell = []
aspect-ratio = ["aspect_ratio"]
aspect_ratio = []
attachment-card = ["attachment_card"]
attachment_card = [
"card",
"icon",
"progress",
"button",
"avatar",
]
avatar = ["icon"]
badge = []
bottom-navigation = ["bottom_navigation"]
bottom_navigation = [
"icon",
"badge",
]
breadcrumbs = ["icon"]
burger = []
button = ["icon"]
card = ["progress"]
carousel = ["icon"]
center = []
chart-area = ["chart_area"]
chart-bar = ["chart_bar"]
chart-core = ["chart_core"]
chart-gauge = ["chart_gauge"]
chart-heatmap = ["chart_heatmap"]
chart-line = ["chart_line"]
chart-pie = ["chart_pie"]
chart-primitives = ["chart_primitives"]
chart-radar = ["chart_radar"]
chart-scatter = ["chart_scatter"]
chart-sparkline = ["chart_sparkline"]
chart_area = ["chart_primitives"]
chart_bar = ["chart_primitives"]
chart_core = []
chart_gauge = ["chart_primitives"]
chart_heatmap = ["chart_primitives"]
chart_line = ["chart_primitives"]
chart_pie = ["chart_primitives"]
chart_primitives = ["chart_core"]
chart_radar = ["chart_primitives"]
chart_scatter = ["chart_primitives"]
chart_sparkline = ["chart_primitives"]
charts = [
"chart_primitives",
"chart_area",
"chart_bar",
"chart_line",
"chart_pie",
"chart_radar",
"chart_scatter",
"chart_sparkline",
"chart_gauge",
"chart_heatmap",
]
chat = ["icon"]
checkbox = ["icon"]
chip = ["icon"]
close-button = ["close_button"]
close_button = ["icon"]
coachmark = [
"icon",
"button",
]
code-highlight = ["code_highlight"]
code_highlight = [
"icon",
"copy_button",
]
color-picker = ["color_picker"]
color_picker = [
"icon",
"close_button",
]
command-palette = ["command_palette"]
command_palette = [
"icon",
"typography",
]
contact-card = ["contact_card"]
contact_card = [
"card",
"avatar",
]
context-menu = ["context_menu"]
context_menu = ["icon"]
copy-button = ["copy_button"]
copy_button = ["icon"]
date-picker = ["date_picker"]
date_picker = [
"icon",
"button",
]
default = ["all"]
divider = []
document-card = ["document_card"]
document_card = [
"avatar",
"icon",
]
drawer = [
"icon",
"close_button",
]
dropdown = ["icon"]
dropzone = [
"icon",
"dep:serde_json",
]
face-pile = ["facepile"]
facepile = [
"avatar",
"icon",
"popover",
"dropdown",
]
fieldset = []
form = []
grid = []
group = []
highlight = []
hooks = ["dep:serde_json"]
hover-card = ["hover_card"]
hover_card = ["progress"]
icon = []
indicator = []
input = [
"icon",
"close_button",
]
keytip = []
layout-primitives = ["layout_primitives"]
layout_primitives = [
"group",
"stack",
]
list = []
loading-overlay = ["loading_overlay"]
loading_overlay = ["icon"]
marquee-selection = ["marquee_selection"]
marquee_selection = ["dep:serde_json"]
masonry = ["icon"]
media-card = ["media_card"]
media_card = [
"card",
"aspect_ratio",
"icon",
]
menubar = ["icon"]
modal = [
"icon",
"close_button",
]
nav-link = ["nav_link"]
nav_link = [
"icon",
"badge",
]
navbar = [
"icon",
"burger",
]
navigation-menu = ["navigation_menu"]
navigation_menu = ["icon"]
notification = ["icon"]
number-input = ["number_input"]
number_input = [
"icon",
"close_button",
]
overflow-set = ["overflow_set"]
overflow_set = [
"icon",
"dropdown",
]
pagination = ["icon"]
pin-input = ["pin_input"]
pin_input = []
popover = []
progress = []
radio = ["icon"]
rating = ["icon"]
resizable = ["icon"]
rich-text = ["rich_text"]
rich-text-editor = ["rich_text"]
rich_text = ["icon"]
scroll-area = ["scroll_area"]
scroll_area = []
segmented-control = ["segmented_control"]
segmented_control = ["icon"]
select = ["icon"]
serde = [
"dep:serde",
"dep:serde_json",
]
skeleton = []
slider = ["tooltip"]
speed-dial = ["speed_dial"]
speed_dial = ["icon"]
spoiler = [
"button",
"icon",
]
stack = ["group"]
stepper = ["icon"]
switch = []
table = [
"icon",
"pagination",
"loading_overlay",
]
tabs = ["icon"]
textarea = [
"icon",
"close_button",
]
theme = []
timeline = []
tooltip = []
transfer-list = ["transfer_list"]
transfer_list = [
"icon",
"checkbox",
]
tree = ["icon"]
typography = []
virtual-list = ["virtual_list"]
virtual_list = []
[lib]
name = "shadow_design"
path = "src/lib.rs"
[[test]]
name = "accordion_tests"
path = "tests/accordion_tests.rs"
[[test]]
name = "compat_the_mind_tests"
path = "tests/compat_the_mind_tests.rs"
[[test]]
name = "complex_tooling_tests"
path = "tests/complex_tooling_tests.rs"
[[test]]
name = "floating_overlays_tests"
path = "tests/floating_overlays_tests.rs"
[[test]]
name = "list_tests"
path = "tests/list_tests.rs"
[[test]]
name = "micro_interactions_tests"
path = "tests/micro_interactions_tests.rs"
[[test]]
name = "reactive_hooks_tests"
path = "tests/reactive_hooks_tests.rs"
[[test]]
name = "spoiler_tests"
path = "tests/spoiler_tests.rs"
[[test]]
name = "table_tests"
path = "tests/table_tests.rs"
[[test]]
name = "timeline_tests"
path = "tests/timeline_tests.rs"
[dependencies.dioxus]
version = "0.7.1"
features = ["lib"]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1.0"
optional = true
[dev-dependencies.serde_json]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = [
"time",
"rt",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-timers]
version = "0.4"
features = ["futures"]
[lints.clippy]
must_use_candidate = "warn"
return_self_not_must_use = "warn"