mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-11-02 13:07:46 +00:00
BREAKING CHANGE: Simplified architecture from two themes to one - Deleted registry/new-york/ directory entirely - Flattened Index structure from Index[style][name] to Index[name] - Updated build-registry.mts to only build 'default' style - Updated registry/styles.ts to single style array - Removed style parameter from all registry functions: - getRegistryItem(name) - getRegistryComponent(name) - getBlock(name) - getAllBlocks() - Updated ComponentPreview to be server component (removed useConfig) - Updated BlockDisplay to remove styleName prop - Flattened /view route from /view/[style]/[name] to /view/[name] - Updated blocks page to remove style logic Benefits: - Simpler codebase (no dual theme complexity) - Faster builds (no duplicate component generation) - Clearer architecture (single source of truth) - Fixes build errors from style boundary issues
6 lines
57 B
JSON
6 lines
57 B
JSON
[
|
|
{
|
|
"name": "default",
|
|
"label": "Default"
|
|
}
|
|
] |