@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.
Files changed (42) hide show
  1. package/dist/action-group/action-group.component.js +3 -1
  2. package/dist/badge/badge-group.component.js +3 -1
  3. package/dist/code-input/index.js +1 -0
  4. package/dist/index.js.map +1 -1
  5. package/dist/llms/components/quantic-action-group.md +4 -1
  6. package/dist/llms/components/quantic-badge-group.md +4 -1
  7. package/dist/llms/components/quantic-code-input.md +3 -0
  8. package/dist/llms/components/quantic-number-input.md +3 -0
  9. package/dist/llms/components/quantic-option-card.md +4 -0
  10. package/dist/llms/components/quantic-splitter-group.md +3 -0
  11. package/dist/llms/components/quantic-tab-button.md +5 -1
  12. package/dist/llms/components/quantic-tabs.md +4 -0
  13. package/dist/llms/components/quantic-tag-group.md +4 -1
  14. package/dist/llms/components/quantic-text-input.md +3 -0
  15. package/dist/llms/components/quantic-textarea.md +3 -0
  16. package/dist/llms/setup.md +1 -1
  17. package/dist/llms.txt +1 -1
  18. package/dist/meta/index.js.map +1 -1
  19. package/dist/meta/part-parity.test.d.ts +1 -0
  20. package/dist/meta/part-parity.test.js +68 -0
  21. package/dist/meta/serialize.d.ts +6 -2
  22. package/dist/meta/serialize.js +2 -0
  23. package/dist/meta/serialize.test.js +7 -0
  24. package/dist/meta.json +83 -5
  25. package/dist/number-input/index.js +1 -0
  26. package/dist/option-card/option-card.component.js +4 -0
  27. package/dist/quantic-components.js +30 -5
  28. package/dist/quantic-components.js.map +1 -1
  29. package/dist/quantic-components.min.js +11 -11
  30. package/dist/quantic-components.min.js.map +1 -1
  31. package/dist/register.js.map +1 -1
  32. package/dist/shared/meta.types.d.ts +4 -0
  33. package/dist/splitter/splitter-group.component.js +3 -0
  34. package/dist/tabs/button.component.js +6 -2
  35. package/dist/tabs/tabs.component.js +4 -0
  36. package/dist/tag/tag-group.component.js +3 -1
  37. package/dist/text-input/index.js +1 -0
  38. package/dist/textarea/index.js +1 -0
  39. package/dist/types/meta/part-parity.test.d.ts +1 -0
  40. package/dist/types/meta/serialize.d.ts +6 -2
  41. package/dist/types/shared/meta.types.d.ts +4 -0
  42. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  ### quantic-action-group
2
2
 
3
- 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. Layout: ::part(group), for a column or a different alignment. Use quantic-button-bar when the buttons should read as one joined control.
3
+ 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.
4
4
 
5
5
  **Props:**
6
6
  - `ariaLabel` `string`: Accessible name for the group.
@@ -8,6 +8,9 @@ A row of related actions sharing one accessible name and a consistent gap. Takes
8
8
  **Slots:**
9
9
  - *(default)*: quantic-button elements, or a quantic-dropdown-menu or quantic-popover triggered by one.
10
10
 
11
+ **Parts:**
12
+ - `::part(group)`: The flex container, for a column layout or a different alignment.
13
+
11
14
  **Accessibility:**
12
15
  - Handled for you: role=group with one accessible name across the row
13
16
  - You must supply: an ariaLabel naming the group
@@ -1,6 +1,6 @@
1
1
  ### quantic-badge-group
2
2
 
3
- 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. Layout: ::part(group), for a column or a different alignment. Use quantic-tag-group for tags.
3
+ 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.
4
4
 
5
5
  **Props:**
6
6
  - `ariaLabel` `string`: Accessible name for the group.
@@ -8,6 +8,9 @@ A run of quantic-badge or quantic-status-badge sharing one accessible name and a
8
8
  **Slots:**
9
9
  - *(default)*: quantic-badge or quantic-status-badge elements.
10
10
 
11
+ **Parts:**
12
+ - `::part(group)`: The flex container, for a column layout or a different alignment.
13
+
11
14
  **Accessibility:**
12
15
  - Handled for you: group semantics
13
16
  - You must supply: an ariaLabel naming the set
@@ -22,6 +22,9 @@ Form-associated multi-line code/text editor with monospace font and optional lin
22
22
  **Events:**
23
23
  - `value-changed` → `{ value: string }`: Fired whenever the value changes, from user input or a programmatic update. Not fired on initial render.
24
24
 
25
+ **Parts:**
26
+ - `::part(textarea)`: The native textarea element.
27
+
25
28
  **Accessibility:**
26
29
  - Handled for you: form association
27
30
  - Handled for you: keyboard handling for indentation and newlines
@@ -23,6 +23,9 @@ Numeric input field with optional min/max/step constraints. Form-associated. Wra
23
23
  **Slots:**
24
24
  - `prefix`: Leading content (e.g. icon or unit symbol).
25
25
 
26
+ **Parts:**
27
+ - `::part(input)`: The native input element.
28
+
26
29
  **Accessibility:**
27
30
  - Handled for you: form association
28
31
  - Handled for you: arrow keys step the value
@@ -20,6 +20,10 @@ Selectable card used for single or multi-select choice UI. Behaves like a radio
20
20
  - `icon`: Optional leading icon.
21
21
  - `description`: Optional secondary description below the label.
22
22
 
23
+ **Parts:**
24
+ - `::part(label)`: The wrapping label element.
25
+ - `::part(indicator)`: The checkbox or radio visual.
26
+
23
27
  **Examples:**
24
28
 
25
29
  ```html
@@ -11,6 +11,9 @@ Resizable panel container — renders two or more panes separated by draggable d
11
11
  **Slots:**
12
12
  - *(default)*: Two or more quantic-splitter-pane elements.
13
13
 
14
+ **Parts:**
15
+ - `::part(divider)`: The draggable handle between two panes.
16
+
14
17
  **Accessibility:**
15
18
  - Handled for you: separator roles
16
19
  - Handled for you: keyboard resize
@@ -1,6 +1,6 @@
1
1
  ### quantic-tab-button
2
2
 
3
- 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 ::part(indicator) or --quantic-component-tab-indicator-* / --quantic-component-tab-active-bg.
3
+ 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.
4
4
 
5
5
  **Props:**
6
6
  - `defaultSize` `TabsSize`: SSR fallback for size before context propagates from quantic-tabs.
@@ -16,6 +16,10 @@ Individual tab trigger button within quantic-tabs. Set index to match the corres
16
16
  - `icon`: Icon element, displayed before the label and scaled to the tab size.
17
17
  - *(default)*: Tab label text or custom content.
18
18
 
19
+ **Parts:**
20
+ - `::part(button)`: The native button element.
21
+ - `::part(indicator)`: The active-tab mark.
22
+
19
23
  *Related: quantic-tabs, quantic-tab-panel*
20
24
 
21
25
  ---
@@ -15,6 +15,10 @@ Tab container managing quantic-tab-button triggers and quantic-tab-panel content
15
15
  **Slots:**
16
16
  - *(default)*: quantic-tab-button and quantic-tab-panel elements as direct children.
17
17
 
18
+ **Parts:**
19
+ - `::part(nav)`: The tablist container wrapping the tab buttons.
20
+ - `::part(panels)`: The container wrapping the tab panels.
21
+
18
22
  **Accessibility:**
19
23
  - Handled for you: tab roles
20
24
  - Handled for you: aria-selected
@@ -1,6 +1,6 @@
1
1
  ### quantic-tag-group
2
2
 
3
- 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. Layout: ::part(group), for a column or a different alignment. Use quantic-badge-group for badges.
3
+ 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.
4
4
 
5
5
  **Props:**
6
6
  - `ariaLabel` `string`: Accessible name for the group.
@@ -8,6 +8,9 @@ A run of quantic-tag, quantic-status-tag or quantic-count-tag sharing one access
8
8
  **Slots:**
9
9
  - *(default)*: quantic-tag, quantic-status-tag or quantic-count-tag elements.
10
10
 
11
+ **Parts:**
12
+ - `::part(group)`: The flex container, for a column layout or a different alignment.
13
+
11
14
  **Accessibility:**
12
15
  - Handled for you: group semantics
13
16
  - Handled for you: roving tabindex across the tags
@@ -24,6 +24,9 @@ Single-line text field with native form association. Wrap in quantic-field to ad
24
24
  - `prefix`: Leading content (e.g. icon or currency symbol).
25
25
  - `suffix`: Trailing content (e.g. icon or unit label).
26
26
 
27
+ **Parts:**
28
+ - `::part(input)`: The native input element.
29
+
27
30
  **Accessibility:**
28
31
  - Handled for you: form association
29
32
  - Handled for you: native input semantics and keyboard behaviour
@@ -21,6 +21,9 @@ Multi-line text field with native form association. Wrap in quantic-field to add
21
21
  **Events:**
22
22
  - `value-changed` → `{ value: string }`: Fired whenever the value changes, from user input or a programmatic update. Not fired on initial render.
23
23
 
24
+ **Parts:**
25
+ - `::part(input)`: The native textarea element.
26
+
24
27
  **Accessibility:**
25
28
  - Handled for you: form association
26
29
  - Handled for you: native textarea semantics
@@ -30,7 +30,7 @@ pnpm add @ctrliq/quantic-components @ctrliq/quantic-css @ctrliq/quantic-tokens @
30
30
  The guard packages are separate and go in `devDependencies`:
31
31
 
32
32
  ```bash
33
- pnpm add -D @ctrliq/quantic-eslint-config @ctrliq/quantic-stylelint-config @ctrliq/quantic-tsconfig
33
+ pnpm add -D @ctrliq/quantic-eslint-config @ctrliq/quantic-stylelint-config @ctrliq/quantic-prettier-config @ctrliq/quantic-tsconfig prettier
34
34
  ```
35
35
 
36
36
  ## Stylesheets
package/dist/llms.txt CHANGED
@@ -37,7 +37,7 @@ pnpm add @ctrliq/quantic-components @ctrliq/quantic-css @ctrliq/quantic-tokens @
37
37
  The guard packages are separate and go in `devDependencies`:
38
38
 
39
39
  ```bash
40
- pnpm add -D @ctrliq/quantic-eslint-config @ctrliq/quantic-stylelint-config @ctrliq/quantic-tsconfig
40
+ pnpm add -D @ctrliq/quantic-eslint-config @ctrliq/quantic-stylelint-config @ctrliq/quantic-prettier-config @ctrliq/quantic-tsconfig prettier
41
41
  ```
42
42
 
43
43
  ### Stylesheets