@ctrliq/quantic-components 1.88.0 → 1.89.0
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/dist/action-group/action-group.component.js +3 -1
- package/dist/badge/badge-group.component.js +3 -1
- package/dist/code-input/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/llms/components/quantic-action-group.md +4 -1
- package/dist/llms/components/quantic-badge-group.md +4 -1
- package/dist/llms/components/quantic-code-input.md +3 -0
- package/dist/llms/components/quantic-number-input.md +3 -0
- package/dist/llms/components/quantic-option-card.md +4 -0
- package/dist/llms/components/quantic-splitter-group.md +3 -0
- package/dist/llms/components/quantic-tab-button.md +5 -1
- package/dist/llms/components/quantic-tabs.md +4 -0
- package/dist/llms/components/quantic-tag-group.md +4 -1
- package/dist/llms/components/quantic-text-input.md +3 -0
- package/dist/llms/components/quantic-textarea.md +3 -0
- package/dist/llms/setup.md +1 -1
- package/dist/llms.txt +1 -1
- package/dist/meta/index.js.map +1 -1
- package/dist/meta/part-parity.test.d.ts +1 -0
- package/dist/meta/part-parity.test.js +68 -0
- package/dist/meta/serialize.d.ts +6 -2
- package/dist/meta/serialize.js +2 -0
- package/dist/meta/serialize.test.js +7 -0
- package/dist/meta.json +83 -5
- package/dist/number-input/index.js +1 -0
- package/dist/option-card/option-card.component.js +4 -0
- package/dist/quantic-components.js +30 -5
- package/dist/quantic-components.js.map +1 -1
- package/dist/quantic-components.min.js +11 -11
- package/dist/quantic-components.min.js.map +1 -1
- package/dist/register.js.map +1 -1
- package/dist/shared/meta.types.d.ts +4 -0
- package/dist/splitter/splitter-group.component.js +3 -0
- package/dist/tabs/button.component.js +6 -2
- package/dist/tabs/tabs.component.js +4 -0
- package/dist/tag/tag-group.component.js +3 -1
- package/dist/text-input/index.js +1 -0
- package/dist/textarea/index.js +1 -0
- package/dist/types/meta/part-parity.test.d.ts +1 -0
- package/dist/types/meta/serialize.d.ts +6 -2
- package/dist/types/shared/meta.types.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1080,7 +1080,7 @@ const{I:gt}=de,vt=e=>e,wt=()=>document.createComment(""),mt=(e,t,i)=>{const n=e.
|
|
|
1080
1080
|
<div class="group" part="group" role="group" aria-label=${this.ariaLabel??"Badges"}>
|
|
1081
1081
|
<slot></slot>
|
|
1082
1082
|
</div>
|
|
1083
|
-
`}},e.BadgeGroup.meta={tag:"quantic-badge-group",description:"A run of quantic-badge or quantic-status-badge sharing one accessible name and a consistent gap. Wraps across lines, and each badge keeps its own size. Gap: --quantic-component-badge-group-gap.
|
|
1083
|
+
`}},e.BadgeGroup.meta={tag:"quantic-badge-group",description:"A run of quantic-badge or quantic-status-badge sharing one accessible name and a consistent gap. Wraps across lines, and each badge keeps its own size. Gap: --quantic-component-badge-group-gap. Use quantic-tag-group for tags.",category:"display",accessibility:{providedByComponent:["group semantics"],requiredFromConsumer:["an ariaLabel naming the set"]},slots:{"":{description:"quantic-badge or quantic-status-badge elements."}},parts:{group:{description:"The flex container, for a column layout or a different alignment."}},relatedTo:["quantic-badge","quantic-tag-group","quantic-status-badge"]},e.BadgeGroup.styles=d`
|
|
1084
1084
|
:host {
|
|
1085
1085
|
display: block;
|
|
1086
1086
|
}
|
|
@@ -1213,7 +1213,7 @@ const{I:gt}=de,vt=e=>e,wt=()=>document.createComment(""),mt=(e,t,i)=>{const n=e.
|
|
|
1213
1213
|
<div class="group" part="group" role="group" aria-label=${this.ariaLabel??"Actions"}>
|
|
1214
1214
|
<slot></slot>
|
|
1215
1215
|
</div>
|
|
1216
|
-
`}},e.ActionGroup.meta={tag:"quantic-action-group",description:"A row of related actions sharing one accessible name and a consistent gap. Takes quantic-button, and quantic-dropdown-menu or quantic-popover when the trigger is a button. Wraps when the row runs out of width. Gap: --quantic-component-action-group-gap.
|
|
1216
|
+
`}},e.ActionGroup.meta={tag:"quantic-action-group",description:"A row of related actions sharing one accessible name and a consistent gap. Takes quantic-button, and quantic-dropdown-menu or quantic-popover when the trigger is a button. Wraps when the row runs out of width. Gap: --quantic-component-action-group-gap. Use quantic-button-bar when the buttons should read as one joined control.",category:"action",avoidWhen:[{when:"the buttons are segments of a single control",useInstead:"quantic-button-bar"}],accessibility:{providedByComponent:["role=group with one accessible name across the row"],requiredFromConsumer:["an ariaLabel naming the group"]},slots:{"":{description:"quantic-button elements, or a quantic-dropdown-menu or quantic-popover triggered by one."}},parts:{group:{description:"The flex container, for a column layout or a different alignment."}},relatedTo:["quantic-button","quantic-button-bar","quantic-dialog-actions","quantic-dropdown-menu","quantic-popover"]},e.ActionGroup.styles=d`
|
|
1217
1217
|
:host {
|
|
1218
1218
|
display: block;
|
|
1219
1219
|
}
|
|
@@ -2248,7 +2248,7 @@ function dn({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
2248
2248
|
@scroll=${this.handleScroll}
|
|
2249
2249
|
></textarea>
|
|
2250
2250
|
</div>
|
|
2251
|
-
`}},e.CodeInput.meta={tag:"quantic-code-input",description:"Form-associated multi-line code/text editor with monospace font and optional line-number gutter. Use for structured text input such as scripts, queries, or configuration snippets.",category:"form",accessibility:{providedByComponent:["form association","keyboard handling for indentation and newlines"],requiredFromConsumer:["a visible label, by wrapping in quantic-field, or the ariaLabel prop"]},relatedTo:["quantic-field","quantic-text-input"]},e.CodeInput.formAssociated=!0,e.CodeInput.styles=d`
|
|
2251
|
+
`}},e.CodeInput.meta={tag:"quantic-code-input",description:"Form-associated multi-line code/text editor with monospace font and optional line-number gutter. Use for structured text input such as scripts, queries, or configuration snippets.",category:"form",accessibility:{providedByComponent:["form association","keyboard handling for indentation and newlines"],requiredFromConsumer:["a visible label, by wrapping in quantic-field, or the ariaLabel prop"]},parts:{textarea:{description:"The native textarea element."}},relatedTo:["quantic-field","quantic-text-input"]},e.CodeInput.formAssociated=!0,e.CodeInput.styles=d`
|
|
2252
2252
|
:host {
|
|
2253
2253
|
display: inline-block;
|
|
2254
2254
|
width: 100%;
|
|
@@ -3910,7 +3910,7 @@ const xo="important",Lo=" !"+xo,fo=Ne(class extends We{constructor(e){if(super(e
|
|
|
3910
3910
|
></quantic-icon-lucide-circle-alert>`:""}
|
|
3911
3911
|
${this.invalid?"":W`<slot name="suffix"></slot>`}
|
|
3912
3912
|
</div>
|
|
3913
|
-
`}},e.TextInput.meta={tag:"quantic-text-input",description:'Single-line text field with native form association. Wrap in quantic-field to add a visible label, hint text, and validation messaging. Use type="password" or type="email" to get browser-native input behaviour.',category:"form",avoidWhen:[{when:"the value is numeric with a min, max or step",useInstead:"quantic-number-input"},{when:"the value is multi-line prose",useInstead:"quantic-textarea"}],accessibility:{providedByComponent:["form association","native input semantics and keyboard behaviour"],requiredFromConsumer:["a visible label, by wrapping in quantic-field, or the ariaLabel prop"]},slots:{prefix:{description:"Leading content (e.g. icon or currency symbol)."},suffix:{description:"Trailing content (e.g. icon or unit label)."}},relatedTo:["quantic-field","quantic-number-input","quantic-select"]},e.TextInput.formAssociated=!0,e.TextInput.styles=d`
|
|
3913
|
+
`}},e.TextInput.meta={tag:"quantic-text-input",description:'Single-line text field with native form association. Wrap in quantic-field to add a visible label, hint text, and validation messaging. Use type="password" or type="email" to get browser-native input behaviour.',category:"form",avoidWhen:[{when:"the value is numeric with a min, max or step",useInstead:"quantic-number-input"},{when:"the value is multi-line prose",useInstead:"quantic-textarea"}],accessibility:{providedByComponent:["form association","native input semantics and keyboard behaviour"],requiredFromConsumer:["a visible label, by wrapping in quantic-field, or the ariaLabel prop"]},slots:{prefix:{description:"Leading content (e.g. icon or currency symbol)."},suffix:{description:"Trailing content (e.g. icon or unit label)."}},parts:{input:{description:"The native input element."}},relatedTo:["quantic-field","quantic-number-input","quantic-select"]},e.TextInput.formAssociated=!0,e.TextInput.styles=d`
|
|
3914
3914
|
:host {
|
|
3915
3915
|
display: inline-block;
|
|
3916
3916
|
width: 100%;
|
|
@@ -36805,7 +36805,7 @@ const xo="important",Lo=" !"+xo,fo=Ne(class extends We{constructor(e){if(super(e
|
|
|
36805
36805
|
</button>
|
|
36806
36806
|
</div>
|
|
36807
36807
|
</div>
|
|
36808
|
-
`}},e.NumberInput.meta={tag:"quantic-number-input",description:"Numeric input field with optional min/max/step constraints. Form-associated. Wrap in quantic-field to add a label and validation messaging.",category:"form",accessibility:{providedByComponent:["form association","arrow keys step the value","min, max and step enforced"],requiredFromConsumer:["a visible label, by wrapping in quantic-field, or the ariaLabel prop"]},slots:{prefix:{description:"Leading content (e.g. icon or unit symbol)."}},relatedTo:["quantic-field","quantic-text-input"]},e.NumberInput.formAssociated=!0,e.NumberInput.styles=d`
|
|
36808
|
+
`}},e.NumberInput.meta={tag:"quantic-number-input",description:"Numeric input field with optional min/max/step constraints. Form-associated. Wrap in quantic-field to add a label and validation messaging.",category:"form",accessibility:{providedByComponent:["form association","arrow keys step the value","min, max and step enforced"],requiredFromConsumer:["a visible label, by wrapping in quantic-field, or the ariaLabel prop"]},slots:{prefix:{description:"Leading content (e.g. icon or unit symbol)."}},parts:{input:{description:"The native input element."}},relatedTo:["quantic-field","quantic-text-input"]},e.NumberInput.formAssociated=!0,e.NumberInput.styles=d`
|
|
36809
36809
|
:host {
|
|
36810
36810
|
display: inline-block;
|
|
36811
36811
|
width: 100%;
|
|
@@ -38087,7 +38087,7 @@ const xo="important",Lo=" !"+xo,fo=Ne(class extends We{constructor(e){if(super(e
|
|
|
38087
38087
|
</div>
|
|
38088
38088
|
<slot name="description" class="description"></slot>
|
|
38089
38089
|
</label>
|
|
38090
|
-
`}},e.OptionCard.meta={tag:"quantic-option-card",description:"Selectable card used for single or multi-select choice UI. Behaves like a radio or checkbox but displayed as a card. Use inside quantic-option-card-group to manage selection logic.",category:"form",subComponentOf:"quantic-option-card-group",slots:{"":{description:"Main label content of the card."},icon:{description:"Optional leading icon."},description:{description:"Optional secondary description below the label."}},relatedTo:["quantic-option-card-group","quantic-field"]},e.OptionCard.formAssociated=!0,e.OptionCard.styles=d`
|
|
38090
|
+
`}},e.OptionCard.meta={tag:"quantic-option-card",description:"Selectable card used for single or multi-select choice UI. Behaves like a radio or checkbox but displayed as a card. Use inside quantic-option-card-group to manage selection logic.",category:"form",subComponentOf:"quantic-option-card-group",slots:{"":{description:"Main label content of the card."},icon:{description:"Optional leading icon."},description:{description:"Optional secondary description below the label."}},parts:{label:{description:"The wrapping label element."},indicator:{description:"The checkbox or radio visual."}},relatedTo:["quantic-option-card-group","quantic-field"]},e.OptionCard.formAssociated=!0,e.OptionCard.styles=d`
|
|
38091
38091
|
:host {
|
|
38092
38092
|
display: block;
|
|
38093
38093
|
width: 100%;
|
|
@@ -38992,7 +38992,7 @@ const xo="important",Lo=" !"+xo,fo=Ne(class extends We{constructor(e){if(super(e
|
|
|
38992
38992
|
@keydown=${e=>this.handleDividerKeyDown(e,i)}
|
|
38993
38993
|
></div>`:J}<slot name="pane-${i}"></slot>`})}
|
|
38994
38994
|
</div>
|
|
38995
|
-
`}},e.SplitterGroup.meta={tag:"quantic-splitter-group",description:"Resizable panel container — renders two or more panes separated by draggable dividers. Collapses to a stacked layout below the collapse-below breakpoint.",category:"layout",accessibility:{providedByComponent:["separator roles","keyboard resize","roving tabindex across the handles"],requiredFromConsumer:["an accessible name for each pane"]},slots:{"":{description:"Two or more quantic-splitter-pane elements."}}},e.SplitterGroup.styles=d`
|
|
38995
|
+
`}},e.SplitterGroup.meta={tag:"quantic-splitter-group",description:"Resizable panel container — renders two or more panes separated by draggable dividers. Collapses to a stacked layout below the collapse-below breakpoint.",category:"layout",accessibility:{providedByComponent:["separator roles","keyboard resize","roving tabindex across the handles"],requiredFromConsumer:["an accessible name for each pane"]},slots:{"":{description:"Two or more quantic-splitter-pane elements."}},parts:{divider:{description:"The draggable handle between two panes."}}},e.SplitterGroup.styles=d`
|
|
38996
38996
|
:host {
|
|
38997
38997
|
display: block;
|
|
38998
38998
|
width: 100%;
|
|
@@ -39371,7 +39371,7 @@ const xo="important",Lo=" !"+xo,fo=Ne(class extends We{constructor(e){if(super(e
|
|
|
39371
39371
|
</div>
|
|
39372
39372
|
<div class="panels" part="panels"><slot name=${Vs}></slot></div>
|
|
39373
39373
|
</div>
|
|
39374
|
-
`}},e.Tabs.meta={tag:"quantic-tabs",description:"Tab container managing quantic-tab-button triggers and quantic-tab-panel content areas. Place quantic-tab-button and quantic-tab-panel as direct children. Emits tab-selected when the active tab changes.",category:"navigation",accessibility:{providedByComponent:["tab roles","aria-selected","roving tabindex across the tab list"],requiredFromConsumer:["one quantic-tab-panel per quantic-tab-button"]},slots:{"":{description:"quantic-tab-button and quantic-tab-panel elements as direct children."}}},e.Tabs.styles=[d`
|
|
39374
|
+
`}},e.Tabs.meta={tag:"quantic-tabs",description:"Tab container managing quantic-tab-button triggers and quantic-tab-panel content areas. Place quantic-tab-button and quantic-tab-panel as direct children. Emits tab-selected when the active tab changes.",category:"navigation",accessibility:{providedByComponent:["tab roles","aria-selected","roving tabindex across the tab list"],requiredFromConsumer:["one quantic-tab-panel per quantic-tab-button"]},slots:{"":{description:"quantic-tab-button and quantic-tab-panel elements as direct children."}},parts:{nav:{description:"The tablist container wrapping the tab buttons."},panels:{description:"The container wrapping the tab panels."}}},e.Tabs.styles=[d`
|
|
39375
39375
|
:host {
|
|
39376
39376
|
display: block;
|
|
39377
39377
|
--quantic-component-tabs-gap: var(--quantic-spacing-8);
|
|
@@ -39478,7 +39478,7 @@ const xo="important",Lo=" !"+xo,fo=Ne(class extends We{constructor(e){if(super(e
|
|
|
39478
39478
|
<slot></slot>
|
|
39479
39479
|
<span class="indicator" part="indicator" aria-hidden="true"></span>
|
|
39480
39480
|
</button>
|
|
39481
|
-
`}},e.TabButton.meta={tag:"quantic-tab-button",description:"Individual tab trigger button within quantic-tabs. Set index to match the corresponding quantic-tab-panel. Size and orientation are inherited via context from the parent quantic-tabs. Reflects a selected attribute while active. Restyle the mark with
|
|
39481
|
+
`}},e.TabButton.meta={tag:"quantic-tab-button",description:"Individual tab trigger button within quantic-tabs. Set index to match the corresponding quantic-tab-panel. Size and orientation are inherited via context from the parent quantic-tabs. Reflects a selected attribute while active. Restyle the mark with --quantic-component-tab-indicator-* / --quantic-component-tab-active-bg.",category:"navigation",subComponentOf:"quantic-tabs",slots:{icon:{description:"Icon element, displayed before the label and scaled to the tab size."},"":{description:"Tab label text or custom content."}},parts:{button:{description:"The native button element."},indicator:{description:"The active-tab mark."}},relatedTo:["quantic-tabs","quantic-tab-panel"]},e.TabButton.styles=d`
|
|
39482
39482
|
:host {
|
|
39483
39483
|
display: block;
|
|
39484
39484
|
}
|
|
@@ -39884,7 +39884,7 @@ const xo="important",Lo=" !"+xo,fo=Ne(class extends We{constructor(e){if(super(e
|
|
|
39884
39884
|
<div class="group" part="group" role="group" aria-label=${this.ariaLabel??"Tags"}>
|
|
39885
39885
|
<slot></slot>
|
|
39886
39886
|
</div>
|
|
39887
|
-
`}},e.TagGroup.meta={tag:"quantic-tag-group",description:"A run of quantic-tag, quantic-status-tag or quantic-count-tag sharing one accessible name and a consistent gap. Wraps across lines, and each tag keeps its own size. Gap: --quantic-component-tag-group-gap.
|
|
39887
|
+
`}},e.TagGroup.meta={tag:"quantic-tag-group",description:"A run of quantic-tag, quantic-status-tag or quantic-count-tag sharing one accessible name and a consistent gap. Wraps across lines, and each tag keeps its own size. Gap: --quantic-component-tag-group-gap. Use quantic-badge-group for badges.",category:"display",accessibility:{providedByComponent:["group semantics","roving tabindex across the tags"],requiredFromConsumer:["an ariaLabel naming the set"]},slots:{"":{description:"quantic-tag, quantic-status-tag or quantic-count-tag elements."}},parts:{group:{description:"The flex container, for a column layout or a different alignment."}},relatedTo:["quantic-tag","quantic-badge-group","quantic-status-tag","quantic-count-tag"]},e.TagGroup.styles=d`
|
|
39888
39888
|
:host {
|
|
39889
39889
|
display: block;
|
|
39890
39890
|
}
|
|
@@ -39929,7 +39929,7 @@ const xo="important",Lo=" !"+xo,fo=Ne(class extends We{constructor(e){if(super(e
|
|
|
39929
39929
|
class="error-icon"
|
|
39930
39930
|
></quantic-icon-lucide-circle-alert>`:""}
|
|
39931
39931
|
</div>
|
|
39932
|
-
`}},e.Textarea.meta={tag:"quantic-textarea",description:"Multi-line text field with native form association. Wrap in quantic-field to add a visible label, hint text, and validation messaging.",category:"form",avoidWhen:[{when:"the value is code or structured text needing a line gutter",useInstead:"quantic-code-input"}],accessibility:{providedByComponent:["form association","native textarea semantics"],requiredFromConsumer:["a visible label, by wrapping in quantic-field, or the ariaLabel prop"]},relatedTo:["quantic-field","quantic-text-input"]},e.Textarea.formAssociated=!0,e.Textarea.styles=d`
|
|
39932
|
+
`}},e.Textarea.meta={tag:"quantic-textarea",description:"Multi-line text field with native form association. Wrap in quantic-field to add a visible label, hint text, and validation messaging.",category:"form",avoidWhen:[{when:"the value is code or structured text needing a line gutter",useInstead:"quantic-code-input"}],accessibility:{providedByComponent:["form association","native textarea semantics"],requiredFromConsumer:["a visible label, by wrapping in quantic-field, or the ariaLabel prop"]},parts:{input:{description:"The native textarea element."}},relatedTo:["quantic-field","quantic-text-input"]},e.Textarea.formAssociated=!0,e.Textarea.styles=d`
|
|
39933
39933
|
:host {
|
|
39934
39934
|
display: inline-block;
|
|
39935
39935
|
width: 100%;
|