@urbicon-ui/design-content 6.3.6 → 6.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,6 +22,10 @@ Renders an accessible nav with structured items and customizable separators.
|
|
|
22
22
|
</Breadcrumb>
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
```svelte
|
|
26
|
+
<Breadcrumb items={deepTrail} maxItems={4} />
|
|
27
|
+
```
|
|
28
|
+
|
|
25
29
|
### Variants
|
|
26
30
|
- size: lg, md, sm (default: md)
|
|
27
31
|
|
|
@@ -33,6 +37,10 @@ Renders an accessible nav with structured items and customizable separators.
|
|
|
33
37
|
| ...HTMLAttributes<HTMLElement> | `HTMLAttributes` | no | | HTML attributes (excluding: 'children') |
|
|
34
38
|
| aria-label | `string` | no | 'Breadcrumb' | Accessible label for the nav element |
|
|
35
39
|
| class | `string` | no | | Additional CSS classes to apply to the Breadcrumb component |
|
|
40
|
+
| expandLabel | `string` | no | 'Show all breadcrumb items' | Accessible label for the "…" button that expands a collapsed trail. |
|
|
41
|
+
| itemsAfterCollapse | `number` | no | 1 | Trailing items kept visible when collapsed; the current page is always included. |
|
|
42
|
+
| itemsBeforeCollapse | `number` | no | 1 | Leading items kept visible when collapsed. |
|
|
43
|
+
| maxItems | `number` | no | | Collapse the trail when it has more than this many items: the middle items fold into a single "…" button that expands the full trail on click. The first `itemsBeforeCollapse` and last `itemsAfterCollapse` items stay visible (the current page is always kept). Omit to never collapse. |
|
|
36
44
|
| preset | `string` | no | | Apply a named preset registered via `<BlocksProvider presets={{ Breadcrumb: {...} }}>`. Prefer this over `class` overrides when the requested look falls outside the semantic intent palette — presets keep hover/active/dark-mode logic coherent and make the custom look reusable across the project. |
|
|
37
45
|
| separator | `Snippet` | no | | Custom separator snippet (default: "/") |
|
|
38
46
|
| size | `'sm' | 'md' | 'lg'` | no | 'md' | Size variant that controls dimensions and spacing of the Breadcrumb |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
---
|
|
3
3
|
|
|
4
4
|
## SegmentGroup
|
|
5
|
-
|
|
5
|
+
Segment control with an animated sliding indicator for single selection; collapses to a vertical radio-style stack when its row can't fit the available width.
|
|
6
6
|
Compact mode/view switcher with smooth animation.
|
|
7
7
|
|
|
8
8
|
**Import:** `import { SegmentGroup } from '@urbicon-ui/blocks';`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generated": "2026-06-
|
|
2
|
+
"generated": "2026-06-24T19:44:23.437Z",
|
|
3
3
|
"version": "0.2.38",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
@@ -524,10 +524,10 @@
|
|
|
524
524
|
"...BreadcrumbVariants",
|
|
525
525
|
"aria-label",
|
|
526
526
|
"class",
|
|
527
|
-
"
|
|
528
|
-
"
|
|
529
|
-
"
|
|
530
|
-
"
|
|
527
|
+
"expandLabel",
|
|
528
|
+
"itemsAfterCollapse",
|
|
529
|
+
"itemsBeforeCollapse",
|
|
530
|
+
"maxItems"
|
|
531
531
|
],
|
|
532
532
|
"keyPropTypes": {
|
|
533
533
|
"items": "BreadcrumbItem[]",
|
|
@@ -3082,7 +3082,7 @@
|
|
|
3082
3082
|
"slug": "segment-group",
|
|
3083
3083
|
"package": "@urbicon-ui/blocks",
|
|
3084
3084
|
"group": "primitives",
|
|
3085
|
-
"description": "
|
|
3085
|
+
"description": "Segment control with an animated sliding indicator for single selection; collapses to a vertical radio-style stack when its row can't fit the available width.\nCompact mode/view switcher with smooth animation.",
|
|
3086
3086
|
"tags": [
|
|
3087
3087
|
"navigation"
|
|
3088
3088
|
],
|
package/content/meta.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@urbicon-ui/design-content",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.7",
|
|
4
4
|
"description": "Version-pinned bundle of Urbicon UI design knowledge — component catalog, per-component llm.txt, design-system principles + patterns, guide template and icon metadata — plus a package-relative locator. Consumed by the remote MCP server and the urbicon CLI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|