@ctrliq/quantic-components 1.88.0 → 1.89.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 (48) 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/icon/__generated__/lucide-icon-names.enum.d.ts +321 -107
  5. package/dist/icon/__generated__/lucide-icon-names.enum.js +321 -107
  6. package/dist/icon/index.constants.d.ts +214 -107
  7. package/dist/icons.json +3247 -3242
  8. package/dist/index.js.map +1 -1
  9. package/dist/llms/components/quantic-action-group.md +4 -1
  10. package/dist/llms/components/quantic-badge-group.md +4 -1
  11. package/dist/llms/components/quantic-code-input.md +3 -0
  12. package/dist/llms/components/quantic-number-input.md +3 -0
  13. package/dist/llms/components/quantic-option-card.md +4 -0
  14. package/dist/llms/components/quantic-splitter-group.md +3 -0
  15. package/dist/llms/components/quantic-tab-button.md +5 -1
  16. package/dist/llms/components/quantic-tabs.md +4 -0
  17. package/dist/llms/components/quantic-tag-group.md +4 -1
  18. package/dist/llms/components/quantic-text-input.md +3 -0
  19. package/dist/llms/components/quantic-textarea.md +3 -0
  20. package/dist/llms/setup.md +2 -2
  21. package/dist/llms.txt +2 -2
  22. package/dist/meta/index.js.map +1 -1
  23. package/dist/meta/part-parity.test.d.ts +1 -0
  24. package/dist/meta/part-parity.test.js +68 -0
  25. package/dist/meta/serialize.d.ts +6 -2
  26. package/dist/meta/serialize.js +2 -0
  27. package/dist/meta/serialize.test.js +7 -0
  28. package/dist/meta.json +83 -5
  29. package/dist/number-input/index.js +1 -0
  30. package/dist/option-card/option-card.component.js +4 -0
  31. package/dist/quantic-components.js +351 -112
  32. package/dist/quantic-components.js.map +1 -1
  33. package/dist/quantic-components.min.js +56 -56
  34. package/dist/quantic-components.min.js.map +1 -1
  35. package/dist/register.js.map +1 -1
  36. package/dist/shared/meta.types.d.ts +4 -0
  37. package/dist/splitter/splitter-group.component.js +3 -0
  38. package/dist/tabs/button.component.js +6 -2
  39. package/dist/tabs/tabs.component.js +4 -0
  40. package/dist/tag/tag-group.component.js +3 -1
  41. package/dist/text-input/index.js +1 -0
  42. package/dist/textarea/index.js +1 -0
  43. package/dist/types/icon/__generated__/lucide-icon-names.enum.d.ts +321 -107
  44. package/dist/types/icon/index.constants.d.ts +214 -107
  45. package/dist/types/meta/part-parity.test.d.ts +1 -0
  46. package/dist/types/meta/serialize.d.ts +6 -2
  47. package/dist/types/shared/meta.types.d.ts +4 -0
  48. package/package.json +1 -1
@@ -12,6 +12,9 @@ export interface SlotMeta {
12
12
  required?: boolean;
13
13
  copyRule?: CopyRuleId;
14
14
  }
15
+ export interface PartMeta {
16
+ description: string;
17
+ }
15
18
  export interface EventMeta {
16
19
  description?: string;
17
20
  detail?: string;
@@ -40,6 +43,7 @@ export interface ComponentMeta {
40
43
  props?: Record<string, PropMeta>;
41
44
  slots?: Record<string, SlotMeta>;
42
45
  events?: Record<string, EventMeta>;
46
+ parts?: Record<string, PartMeta>;
43
47
  examples?: string[];
44
48
  relatedTo?: string[];
45
49
  avoidWhen?: {
@@ -284,6 +284,9 @@ SplitterGroup.meta = {
284
284
  requiredFromConsumer: ['an accessible name for each pane'],
285
285
  },
286
286
  slots: { '': { description: 'Two or more quantic-splitter-pane elements.' } },
287
+ parts: {
288
+ divider: { description: 'The draggable handle between two panes.' },
289
+ },
287
290
  };
288
291
  SplitterGroup.styles = css `
289
292
  :host {
@@ -81,8 +81,8 @@ TabButton.meta = {
81
81
  description: 'Individual tab trigger button within quantic-tabs. ' +
82
82
  'Set index to match the corresponding quantic-tab-panel. ' +
83
83
  'Size and orientation are inherited via context from the parent quantic-tabs. ' +
84
- 'Reflects a selected attribute while active. Restyle the mark with ::part(indicator) ' +
85
- 'or --quantic-component-tab-indicator-* / --quantic-component-tab-active-bg.',
84
+ 'Reflects a selected attribute while active. Restyle the mark with ' +
85
+ '--quantic-component-tab-indicator-* / --quantic-component-tab-active-bg.',
86
86
  category: 'navigation',
87
87
  subComponentOf: 'quantic-tabs',
88
88
  slots: {
@@ -93,6 +93,10 @@ TabButton.meta = {
93
93
  description: 'Tab label text or custom content.',
94
94
  },
95
95
  },
96
+ parts: {
97
+ button: { description: 'The native button element.' },
98
+ indicator: { description: 'The active-tab mark.' },
99
+ },
96
100
  relatedTo: ['quantic-tabs', 'quantic-tab-panel'],
97
101
  };
98
102
  TabButton.styles = css `
@@ -128,6 +128,10 @@ Tabs.meta = {
128
128
  description: 'quantic-tab-button and quantic-tab-panel elements as direct children.',
129
129
  },
130
130
  },
131
+ parts: {
132
+ nav: { description: 'The tablist container wrapping the tab buttons.' },
133
+ panels: { description: 'The container wrapping the tab panels.' },
134
+ },
131
135
  };
132
136
  Tabs.styles = [
133
137
  css `
@@ -24,7 +24,6 @@ TagGroup.meta = {
24
24
  tag: 'quantic-tag-group',
25
25
  description: 'A run of quantic-tag, quantic-status-tag or quantic-count-tag sharing one accessible name and a consistent gap. ' +
26
26
  'Wraps across lines, and each tag keeps its own size. Gap: --quantic-component-tag-group-gap. ' +
27
- 'Layout: ::part(group), for a column or a different alignment. ' +
28
27
  'Use quantic-badge-group for badges.',
29
28
  category: 'display',
30
29
  accessibility: {
@@ -39,6 +38,9 @@ TagGroup.meta = {
39
38
  description: 'quantic-tag, quantic-status-tag or quantic-count-tag elements.',
40
39
  },
41
40
  },
41
+ parts: {
42
+ group: { description: 'The flex container, for a column layout or a different alignment.' },
43
+ },
42
44
  relatedTo: [
43
45
  'quantic-tag',
44
46
  'quantic-badge-group',
@@ -178,6 +178,7 @@ TextInput.meta = {
178
178
  prefix: { description: 'Leading content (e.g. icon or currency symbol).' },
179
179
  suffix: { description: 'Trailing content (e.g. icon or unit label).' },
180
180
  },
181
+ parts: { input: { description: 'The native input element.' } },
181
182
  relatedTo: ['quantic-field', 'quantic-number-input', 'quantic-select'],
182
183
  };
183
184
  TextInput.formAssociated = true;
@@ -126,6 +126,7 @@ Textarea.meta = {
126
126
  'a visible label, by wrapping in quantic-field, or the ariaLabel prop',
127
127
  ],
128
128
  },
129
+ parts: { input: { description: 'The native textarea element.' } },
129
130
  relatedTo: ['quantic-field', 'quantic-text-input'],
130
131
  };
131
132
  Textarea.formAssociated = true;