@urbicon-ui/design-content 6.1.8 → 6.3.1

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.
Files changed (50) hide show
  1. package/content/blocks/components/calendar/llm.txt +1 -1
  2. package/content/blocks/components/command-palette/llm.txt +1 -4
  3. package/content/blocks/components/composition-bar/llm.txt +1 -4
  4. package/content/blocks/components/empty-state/llm.txt +1 -1
  5. package/content/blocks/components/file-upload/llm.txt +1 -1
  6. package/content/blocks/components/guide/llm.txt +1 -4
  7. package/content/blocks/components/guide-article/llm.txt +1 -4
  8. package/content/blocks/components/guide-beacon/llm.txt +1 -4
  9. package/content/blocks/components/guide-hint/llm.txt +1 -4
  10. package/content/blocks/components/guide-marker/llm.txt +1 -4
  11. package/content/blocks/components/guide-mention/llm.txt +1 -4
  12. package/content/blocks/components/guide-panel/llm.txt +1 -4
  13. package/content/blocks/components/planner/llm.txt +1 -1
  14. package/content/blocks/components/sankey/llm.txt +1 -4
  15. package/content/blocks/components/theme-switcher/llm.txt +5 -6
  16. package/content/blocks/primitives/accordion/llm.txt +2 -5
  17. package/content/blocks/primitives/alert/llm.txt +1 -4
  18. package/content/blocks/primitives/avatar/llm.txt +1 -4
  19. package/content/blocks/primitives/badge/llm.txt +1 -4
  20. package/content/blocks/primitives/breadcrumb/llm.txt +1 -4
  21. package/content/blocks/primitives/button/llm.txt +1 -4
  22. package/content/blocks/primitives/button-group/llm.txt +1 -4
  23. package/content/blocks/primitives/card/llm.txt +1 -4
  24. package/content/blocks/primitives/checkbox/llm.txt +1 -4
  25. package/content/blocks/primitives/collapsible/llm.txt +1 -4
  26. package/content/blocks/primitives/combobox/llm.txt +1 -4
  27. package/content/blocks/primitives/dialog/llm.txt +1 -4
  28. package/content/blocks/primitives/drawer/llm.txt +1 -4
  29. package/content/blocks/primitives/input/llm.txt +1 -4
  30. package/content/blocks/primitives/pagination/llm.txt +1 -4
  31. package/content/blocks/primitives/progress/llm.txt +1 -4
  32. package/content/blocks/primitives/radio-group/llm.txt +1 -4
  33. package/content/blocks/primitives/segment-group/llm.txt +1 -4
  34. package/content/blocks/primitives/select/llm.txt +1 -4
  35. package/content/blocks/primitives/sidebar/llm.txt +1 -4
  36. package/content/blocks/primitives/skeleton/llm.txt +1 -4
  37. package/content/blocks/primitives/slider/llm.txt +1 -4
  38. package/content/blocks/primitives/spinner/llm.txt +1 -4
  39. package/content/blocks/primitives/stepper/llm.txt +1 -4
  40. package/content/blocks/primitives/tab/llm.txt +1 -4
  41. package/content/blocks/primitives/textarea/llm.txt +1 -4
  42. package/content/blocks/primitives/toast/llm.txt +1 -4
  43. package/content/blocks/primitives/toggle/llm.txt +1 -4
  44. package/content/blocks/primitives/toolbar/llm.txt +1 -4
  45. package/content/blocks/primitives/tooltip/llm.txt +1 -4
  46. package/content/component-catalog.json +43 -355
  47. package/content/design-system/principles.md +2 -1
  48. package/content/guides/llms-full-template.md +24 -9
  49. package/content/meta.json +3 -3
  50. package/package.json +1 -1
@@ -570,8 +570,8 @@ Then use across the project:
570
570
 
571
571
  When defining a preset, specify **all interactive states explicitly** (`hover:`, `active:`,
572
572
  and `focus-visible:` where applicable). The preset's `slotClasses.base` is merged *after*
573
- the `tv()` defaults, so conflicting Tailwind utilities are resolved by `tailwind-merge`
574
- (last value wins) — no `!` needed.
573
+ the `tv()` defaults, so conflicting Tailwind utilities are resolved by the built-in bucket
574
+ conflict resolver (last source wins) — no `!` needed.
575
575
 
576
576
  An unknown preset name emits a dev-only console warning, so typos are discoverable.
577
577
 
@@ -592,16 +592,31 @@ apply to *every* instance of a component — e.g. "all Buttons should be rounded
592
592
  </BlocksProvider>
593
593
  ```
594
594
 
595
- `defaults` vs. `presets` — when to use which:
596
- - **`defaults`**: blanket project style applied to every instance (no opt-in required)
595
+ `defaults` vs. `presets` vs. `overrides` — when to use which:
596
+ - **`defaults.slotClasses`**: blanket project style applied to every instance (no opt-in required)
597
597
  - **`presets`**: named alternative look, opt-in via `preset="…"` prop at the call site
598
+ - **`defaults.overrides` / `presets[…].overrides`**: prop-conditional rules targeting only a specific
599
+ variant/intent/state (e.g. only `variant="outlined"`) — what unconditional `slotClasses` cannot express
598
600
 
599
- Merge priority (lowest → highest):
601
+ ```svelte
602
+ <!-- Only outlined badges get a 1px border; the conflict resolver strips the variant's border-2. -->
603
+ <BlocksProvider defaults={{ Badge: { overrides: [{ variant: 'outlined', class: { base: 'border' } }] } }}>
604
+ <slot />
605
+ </BlocksProvider>
606
+ ```
607
+
608
+ Each `overrides` entry is a `compoundVariant`-shaped matcher (`string` = equals, `string[]` = one-of →
609
+ per-slot `class`); it matches active prop *values*, so it works regardless of whether the library
610
+ defines the conflicting class in a `variant` or a `compoundVariant`.
611
+
612
+ Merge priority (lowest → highest), conflict-resolved per Tailwind bucket (a later source wins):
600
613
  1. `tv()` variant styles (library default)
601
- 2. `BlocksProvider defaults.slotClasses` (global baseline)
602
- 3. `BlocksProvider presets[Component][name].slotClasses` (when `preset` prop is set)
603
- 4. Instance `slotClasses` prop
604
- 5. Instance `class` prop
614
+ 2. `defaults.slotClasses` (global baseline)
615
+ 3. `defaults.overrides[match]` (prop-conditional)
616
+ 4. `presets[Component][name].slotClasses` (when `preset` prop is set)
617
+ 5. `presets[Component][name].overrides[match]`
618
+ 6. Instance `slotClasses` prop
619
+ 7. Instance `class` prop
605
620
 
606
621
  ### Level 4: Global Unstyled Mode
607
622
 
package/content/meta.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.1.8",
3
- "builtAt": "2026-06-22T12:20:10.242Z",
4
- "contentHash": "20b83a8bdb37"
2
+ "version": "6.3.1",
3
+ "builtAt": "2026-06-23T14:32:43.841Z",
4
+ "contentHash": "143f34e6e5f9"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@urbicon-ui/design-content",
3
- "version": "6.1.8",
3
+ "version": "6.3.1",
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": {