@urbicon-ui/design-content 6.3.3 → 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
- Inline segment control with animated sliding indicator for single-selection scenarios.
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';`
@@ -31,6 +31,7 @@ Compact mode/view switcher with smooth animation.
31
31
  | ariaLabel | `string` | no | | Accessible label for the segment group. |
32
32
  | children | `Snippet` | no | | Segment items to render. Must be SegmentItem components. |
33
33
  | class | `string` | no | | Extra classes merged onto the root element. |
34
+ | collapseOnOverflow | `boolean` | no | true | When the segments can't fit their available width, collapse the horizontal track to a vertical radio-style stack (all options stay visible) instead of overflowing. Triggered by real measured overflow (ResizeObserver), not a viewport breakpoint, so it only engages when an instance genuinely doesn't fit — a 2-segment switcher that fits stays horizontal. Set `false` to keep the track horizontal (it still won't push the page wider than its parent). |
34
35
  | disabled | `boolean` | no | false | Prevent interaction and dim the control. |
35
36
  | mint | `MintProp` | no | 'none' | Micro-interaction effect applied to each segment item (per-item, not the container). Accepts a preset name, an array of names, or configured mint objects. |
36
37
  | onValueChange | `(value: string) => void` | no | | Fires after the selected value changes. Receives the new value. |
@@ -1,5 +1,5 @@
1
1
  {
2
- "generated": "2026-06-24T07:50:05.631Z",
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
- "preset",
528
- "separator",
529
- "size",
530
- "slotClasses"
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": "Inline segment control with animated sliding indicator for single-selection scenarios.\nCompact mode/view switcher with smooth animation.",
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
  ],
@@ -3134,10 +3134,10 @@
3134
3134
  "ariaLabel",
3135
3135
  "children",
3136
3136
  "class",
3137
+ "collapseOnOverflow",
3137
3138
  "disabled",
3138
3139
  "mint",
3139
- "onValueChange",
3140
- "preset"
3140
+ "onValueChange"
3141
3141
  ],
3142
3142
  "keyPropTypes": {
3143
3143
  "onValueChange": "(value: string) => void",
package/content/meta.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.3.3",
3
- "builtAt": "2026-06-24T07:50:05.652Z",
4
- "contentHash": "180ad3c87448"
2
+ "version": "6.3.7",
3
+ "builtAt": "2026-06-24T19:44:23.466Z",
4
+ "contentHash": "3d320a970af5"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@urbicon-ui/design-content",
3
- "version": "6.3.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": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "typescript": "^6.0.3",
41
- "@types/node": "^25.9.3",
41
+ "@types/node": "^25.9.4",
42
42
  "vitest": "^4.1.9"
43
43
  },
44
44
  "author": "Urbicon UI Team"