@praxisui/tabs 10.0.0-rc.5 → 10.0.0-rc.50
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 +4 -0
- package/ai/component-registry.json +585 -49
- package/fesm2022/praxisui-tabs.mjs +823 -187
- package/package.json +5 -5
- package/src/lib/praxis-tabs-config-editor.json-api.md +12 -1
- package/src/lib/praxis-tabs.json-api.md +25 -1
- package/types/praxisui-tabs.d.ts +50 -5
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.
|