@praxisui/tabs 10.0.0-rc.5 → 10.0.0-rc.51

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.
package/README.md CHANGED
@@ -140,6 +140,10 @@ Use stable ids for tabs and nav links. When `tabsId` is provided, the component
140
140
 
141
141
  When a tab or navigation link contains multiple `widgets`, the runtime renders them as sibling surfaces in a density-aware vertical stack. The default rhythm is 12 px for `compact`, 16 px for `comfortable`, and 24 px for `spacious`, preventing adjacent tables, forms, lists, or related-resource outlets from visually merging. This is container chrome only; it does not change widget inputs, events, identity, or composition bindings.
142
142
 
143
+ ## Visual Variants And Styling
144
+
145
+ `appearance.variant` supports `'underline'` (default), `'pill'` (capsule track without underline indicator), and `'segmented'` across both `group` and `nav` modes. Individual items in `tabs[]` and `nav.links[]` also support `tone?: 'default' | 'primary' | 'accent' | 'outlined'` (and `labelClass`) for item-level visual emphasis. Instance-level `appearance.tokens` (including `track-background-color`, `track-border-color`, `active-tab-background-color`, `active-tab-outline-color`, and `pill-radius`) and sanitized `appearance.customCss` are mounted in a dedicated `<style data-praxis-tabs-runtime-style>` element scoped by `.praxis-tabs-root[data-tabs-id="<scope>"]`.
146
+
143
147
  ## Runtime Authoring
144
148
 
145
149
  With `enableCustomization`, the component can open quick setup or the full `PraxisTabsConfigEditor` through Settings Panel. The editor round-trips through `TabsAuthoringDocument`, applies only runtime-backed fields and emits `configChange` so the host can persist canonical page or manifest changes.