@compa11y/web 0.1.0 → 0.1.3

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 (37) hide show
  1. package/README.md +608 -0
  2. package/dist/compa11y.iife.js +1126 -27
  3. package/dist/compa11y.js +3671 -716
  4. package/dist/components/button.d.ts +31 -0
  5. package/dist/components/checkbox.d.ts +159 -0
  6. package/dist/components/combobox.d.ts +2 -3
  7. package/dist/components/dialog.d.ts +2 -3
  8. package/dist/components/dialog.test.d.ts +0 -1
  9. package/dist/components/input.d.ts +40 -0
  10. package/dist/components/listbox.d.ts +85 -0
  11. package/dist/components/menu.d.ts +2 -3
  12. package/dist/components/menu.test.d.ts +0 -1
  13. package/dist/components/radio-group.d.ts +86 -0
  14. package/dist/components/select.d.ts +46 -0
  15. package/dist/components/switch.d.ts +2 -3
  16. package/dist/components/tabs.d.ts +2 -3
  17. package/dist/components/tabs.test.d.ts +0 -1
  18. package/dist/components/textarea.d.ts +40 -0
  19. package/dist/index.d.ts +8 -2
  20. package/dist/utils/base-element.d.ts +1 -2
  21. package/dist/utils/styles.d.ts +44 -1
  22. package/package.json +39 -3
  23. package/dist/compa11y.iife.js.map +0 -1
  24. package/dist/compa11y.js.map +0 -1
  25. package/dist/compa11y.umd.cjs +0 -533
  26. package/dist/compa11y.umd.cjs.map +0 -1
  27. package/dist/components/combobox.d.ts.map +0 -1
  28. package/dist/components/dialog.d.ts.map +0 -1
  29. package/dist/components/dialog.test.d.ts.map +0 -1
  30. package/dist/components/menu.d.ts.map +0 -1
  31. package/dist/components/menu.test.d.ts.map +0 -1
  32. package/dist/components/switch.d.ts.map +0 -1
  33. package/dist/components/tabs.d.ts.map +0 -1
  34. package/dist/components/tabs.test.d.ts.map +0 -1
  35. package/dist/index.d.ts.map +0 -1
  36. package/dist/utils/base-element.d.ts.map +0 -1
  37. package/dist/utils/styles.d.ts.map +0 -1
@@ -0,0 +1,31 @@
1
+ import { Compa11yElement } from '../utils/base-element';
2
+
3
+ export declare class A11yButton extends Compa11yElement {
4
+ private _buttonEl;
5
+ static get observedAttributes(): string[];
6
+ get disabled(): boolean;
7
+ set disabled(v: boolean);
8
+ get discoverable(): boolean;
9
+ set discoverable(v: boolean);
10
+ get loading(): boolean;
11
+ set loading(v: boolean);
12
+ get variant(): string;
13
+ set variant(v: string);
14
+ get size(): string;
15
+ set size(v: string);
16
+ protected setupAccessibility(): void;
17
+ protected render(): void;
18
+ protected setupEventListeners(): void;
19
+ protected cleanupEventListeners(): void;
20
+ protected onAttributeChange(name: string, _oldValue: string | null, newValue: string | null): void;
21
+ private handleClick;
22
+ private updateDisabledState;
23
+ private updateLoadingState;
24
+ /** Focus the button element */
25
+ focus(): void;
26
+ /** Blur the button element */
27
+ blur(): void;
28
+ /** Programmatically click the button */
29
+ click(): void;
30
+ }
31
+ export default A11yButton;
@@ -0,0 +1,159 @@
1
+ import { Compa11yElement } from '../utils/base-element';
2
+
3
+ export declare class A11yCheckbox extends Compa11yElement {
4
+ private _checked;
5
+ private _indeterminate;
6
+ private _input;
7
+ static get observedAttributes(): string[];
8
+ /**
9
+ * Get/set the checked state
10
+ */
11
+ get checked(): boolean;
12
+ set checked(value: boolean);
13
+ /**
14
+ * Get/set the indeterminate state
15
+ */
16
+ get indeterminate(): boolean;
17
+ set indeterminate(value: boolean);
18
+ /**
19
+ * Get/set the disabled state
20
+ */
21
+ get disabled(): boolean;
22
+ set disabled(value: boolean);
23
+ /**
24
+ * Get/set the value
25
+ */
26
+ get value(): string;
27
+ set value(v: string);
28
+ /**
29
+ * Get/set the visible label
30
+ */
31
+ get label(): string;
32
+ set label(value: string);
33
+ /**
34
+ * Get/set the hint text
35
+ */
36
+ get hint(): string;
37
+ set hint(value: string);
38
+ /**
39
+ * Get/set the error message
40
+ */
41
+ get error(): string;
42
+ set error(value: string);
43
+ /**
44
+ * Get/set the size variant
45
+ */
46
+ get size(): 'sm' | 'md' | 'lg';
47
+ set size(value: 'sm' | 'md' | 'lg');
48
+ /**
49
+ * Get/set required state
50
+ */
51
+ get required(): boolean;
52
+ set required(value: boolean);
53
+ protected setupAccessibility(): void;
54
+ protected render(): void;
55
+ protected setupEventListeners(): void;
56
+ protected cleanupEventListeners(): void;
57
+ protected onAttributeChange(name: string, _oldValue: string | null, newValue: string | null): void;
58
+ /**
59
+ * Handle change event from native input
60
+ */
61
+ private handleChange;
62
+ /**
63
+ * Update visual state of indicator
64
+ */
65
+ private updateVisualState;
66
+ /**
67
+ * Update disabled state
68
+ */
69
+ private updateDisabledState;
70
+ /**
71
+ * Update size class
72
+ */
73
+ private updateSizeClass;
74
+ /**
75
+ * Toggle the checkbox programmatically
76
+ */
77
+ toggle(): void;
78
+ /**
79
+ * Set checked state programmatically
80
+ */
81
+ setChecked(checked: boolean): void;
82
+ }
83
+ /**
84
+ * compa11y Checkbox Group Web Component
85
+ *
86
+ * Groups related checkboxes with a fieldset/legend for accessibility.
87
+ *
88
+ * @example
89
+ * ```html
90
+ * <a11y-checkbox-group legend="Select toppings" error="Pick at least 2">
91
+ * <a11y-checkbox value="cheese" label="Cheese"></a11y-checkbox>
92
+ * <a11y-checkbox value="peppers" label="Peppers"></a11y-checkbox>
93
+ * <a11y-checkbox value="olives" label="Olives"></a11y-checkbox>
94
+ * </a11y-checkbox-group>
95
+ * ```
96
+ *
97
+ * @fires change - Emitted when any checkbox in the group changes, detail: { value: string[] }
98
+ *
99
+ * @attr {string} legend - Group label displayed as fieldset legend
100
+ * @attr {string} error - Group-level error message
101
+ * @attr {boolean} disabled - Disable all checkboxes in the group
102
+ * @attr {string} orientation - Layout: 'vertical' | 'horizontal' (default: 'vertical')
103
+ *
104
+ * @cssprop --compa11y-checkbox-group-gap - Gap between checkboxes
105
+ * @cssprop --compa11y-checkbox-group-legend-weight - Legend font weight
106
+ * @cssprop --compa11y-checkbox-group-legend-color - Legend text color
107
+ * @cssprop --compa11y-checkbox-group-error-color - Error text color
108
+ */
109
+ export declare class A11yCheckboxGroup extends Compa11yElement {
110
+ private _value;
111
+ static get observedAttributes(): string[];
112
+ /**
113
+ * Get/set the selected values as an array
114
+ */
115
+ get value(): string[];
116
+ set value(val: string[]);
117
+ /**
118
+ * Get/set the disabled state
119
+ */
120
+ get disabled(): boolean;
121
+ set disabled(value: boolean);
122
+ /**
123
+ * Get/set the legend text
124
+ */
125
+ get legend(): string;
126
+ set legend(value: string);
127
+ /**
128
+ * Get/set the error message
129
+ */
130
+ get error(): string;
131
+ set error(value: string);
132
+ /**
133
+ * Get/set the orientation
134
+ */
135
+ get orientation(): 'vertical' | 'horizontal';
136
+ set orientation(value: 'vertical' | 'horizontal');
137
+ protected setupAccessibility(): void;
138
+ protected render(): void;
139
+ protected setupEventListeners(): void;
140
+ protected cleanupEventListeners(): void;
141
+ protected onAttributeChange(name: string, _oldValue: string | null, _newValue: string | null): void;
142
+ /**
143
+ * Handle change events from child checkboxes
144
+ */
145
+ private handleChildChange;
146
+ /**
147
+ * Initialize value array from currently checked children
148
+ */
149
+ private initValueFromChildren;
150
+ /**
151
+ * Sync checkbox checked states from value array
152
+ */
153
+ private syncCheckboxStates;
154
+ /**
155
+ * Sync disabled state to children
156
+ */
157
+ private syncDisabledState;
158
+ }
159
+ export default A11yCheckbox;
@@ -1,6 +1,6 @@
1
- import { A11yKitElement } from '../utils/base-element';
1
+ import { Compa11yElement } from '../utils/base-element';
2
2
 
3
- export declare class A11yCombobox extends A11yKitElement {
3
+ export declare class A11yCombobox extends Compa11yElement {
4
4
  private _open;
5
5
  private _highlightedIndex;
6
6
  private _options;
@@ -48,4 +48,3 @@ export declare class A11yCombobox extends A11yKitElement {
48
48
  clear(): void;
49
49
  }
50
50
  export default A11yCombobox;
51
- //# sourceMappingURL=combobox.d.ts.map
@@ -1,6 +1,6 @@
1
- import { A11yKitElement } from '../utils/base-element';
1
+ import { Compa11yElement } from '../utils/base-element';
2
2
 
3
- export declare class A11yDialog extends A11yKitElement {
3
+ export declare class A11yDialog extends Compa11yElement {
4
4
  private _open;
5
5
  private _previouslyFocused;
6
6
  private _triggerElement;
@@ -33,4 +33,3 @@ export declare class A11yDialog extends A11yKitElement {
33
33
  close(): void;
34
34
  }
35
35
  export default A11yDialog;
36
- //# sourceMappingURL=dialog.d.ts.map
@@ -1,2 +1 @@
1
1
 
2
- //# sourceMappingURL=dialog.test.d.ts.map
@@ -0,0 +1,40 @@
1
+ import { Compa11yElement } from '../utils/base-element';
2
+
3
+ export declare class A11yInput extends Compa11yElement {
4
+ private _value;
5
+ private _inputEl;
6
+ private _labelEl;
7
+ private _hintEl;
8
+ private _errorEl;
9
+ static get observedAttributes(): string[];
10
+ get value(): string;
11
+ set value(v: string);
12
+ get disabled(): boolean;
13
+ set disabled(v: boolean);
14
+ get readOnly(): boolean;
15
+ set readOnly(v: boolean);
16
+ get required(): boolean;
17
+ set required(v: boolean);
18
+ get error(): string;
19
+ set error(v: string);
20
+ protected setupAccessibility(): void;
21
+ protected render(): void;
22
+ protected setupEventListeners(): void;
23
+ protected cleanupEventListeners(): void;
24
+ protected onAttributeChange(name: string, _oldValue: string | null, newValue: string | null): void;
25
+ private handleInput;
26
+ private handleChange;
27
+ private handleFocus;
28
+ private handleBlur;
29
+ private updateError;
30
+ private updateHint;
31
+ private updateAriaDescribedBy;
32
+ private updateRequiredIndicator;
33
+ /** Focus the input element */
34
+ focus(): void;
35
+ /** Blur the input element */
36
+ blur(): void;
37
+ /** Select all text in the input */
38
+ select(): void;
39
+ }
40
+ export default A11yInput;
@@ -0,0 +1,85 @@
1
+ import { Compa11yElement } from '../utils/base-element';
2
+
3
+ export declare class A11yOptgroup extends Compa11yElement {
4
+ private _label;
5
+ private _disabled;
6
+ static get observedAttributes(): string[];
7
+ get label(): string;
8
+ set label(v: string);
9
+ get disabled(): boolean;
10
+ set disabled(v: boolean);
11
+ protected setupAccessibility(): void;
12
+ protected render(): void;
13
+ protected setupEventListeners(): void;
14
+ protected cleanupEventListeners(): void;
15
+ private updateLabel;
16
+ attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
17
+ }
18
+ export declare class A11yOption extends Compa11yElement {
19
+ private _value;
20
+ private _disabled;
21
+ private _selected;
22
+ private _discoverable;
23
+ static get observedAttributes(): string[];
24
+ get value(): string;
25
+ set value(v: string);
26
+ get disabled(): boolean;
27
+ set disabled(v: boolean);
28
+ get selected(): boolean;
29
+ set selected(v: boolean);
30
+ get discoverable(): boolean;
31
+ set discoverable(v: boolean);
32
+ /**
33
+ * Whether this option is effectively disabled (own disabled or group disabled)
34
+ */
35
+ get effectivelyDisabled(): boolean;
36
+ protected setupAccessibility(): void;
37
+ protected render(): void;
38
+ protected setupEventListeners(): void;
39
+ protected cleanupEventListeners(): void;
40
+ private handleClick;
41
+ attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
42
+ }
43
+ export declare class A11yListbox extends Compa11yElement {
44
+ private _value;
45
+ private _values;
46
+ private _multiple;
47
+ private _disabled;
48
+ private _discoverable;
49
+ private _orientation;
50
+ private _focusedIndex;
51
+ private _typeAhead;
52
+ static get observedAttributes(): string[];
53
+ get value(): string | string[];
54
+ set value(v: string | string[]);
55
+ get multiple(): boolean;
56
+ set multiple(v: boolean);
57
+ get disabled(): boolean;
58
+ set disabled(v: boolean);
59
+ get discoverable(): boolean;
60
+ set discoverable(v: boolean);
61
+ get orientation(): 'horizontal' | 'vertical';
62
+ set orientation(v: 'horizontal' | 'vertical');
63
+ protected setupAccessibility(): void;
64
+ protected render(): void;
65
+ protected setupEventListeners(): void;
66
+ protected cleanupEventListeners(): void;
67
+ private getAllOptions;
68
+ private getEnabledOptions;
69
+ private getEnabledIndices;
70
+ private syncOptionStates;
71
+ private updateFocusHighlight;
72
+ private findNextEnabled;
73
+ private findFirstEnabled;
74
+ private findLastEnabled;
75
+ private selectOption;
76
+ private selectSingle;
77
+ private toggleOptionSelection;
78
+ private selectRange;
79
+ private toggleSelectAll;
80
+ private rebuildTypeAhead;
81
+ private handleFocus;
82
+ private handleOptionSelect;
83
+ private handleKeyDown;
84
+ attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
85
+ }
@@ -1,6 +1,6 @@
1
- import { A11yKitElement } from '../utils/base-element';
1
+ import { Compa11yElement } from '../utils/base-element';
2
2
 
3
- export declare class A11yMenu extends A11yKitElement {
3
+ export declare class A11yMenu extends Compa11yElement {
4
4
  private _open;
5
5
  private _highlightedIndex;
6
6
  private _menuItems;
@@ -37,4 +37,3 @@ export declare class A11yMenu extends A11yKitElement {
37
37
  toggle(): void;
38
38
  }
39
39
  export default A11yMenu;
40
- //# sourceMappingURL=menu.d.ts.map
@@ -1,2 +1 @@
1
1
 
2
- //# sourceMappingURL=menu.test.d.ts.map
@@ -0,0 +1,86 @@
1
+ import { Compa11yElement } from '../utils/base-element';
2
+
3
+ export declare class A11yRadioGroup extends Compa11yElement {
4
+ private _value;
5
+ private _disabled;
6
+ private _discoverable;
7
+ private _orientation;
8
+ private _required;
9
+ private _name;
10
+ static get observedAttributes(): string[];
11
+ get value(): string;
12
+ set value(v: string);
13
+ get disabled(): boolean;
14
+ set disabled(v: boolean);
15
+ get discoverable(): boolean;
16
+ set discoverable(v: boolean);
17
+ get required(): boolean;
18
+ set required(v: boolean);
19
+ get name(): string;
20
+ set name(v: string);
21
+ get orientation(): 'horizontal' | 'vertical';
22
+ set orientation(v: 'horizontal' | 'vertical');
23
+ protected setupAccessibility(): void;
24
+ protected render(): void;
25
+ protected setupEventListeners(): void;
26
+ protected cleanupEventListeners(): void;
27
+ private getRadios;
28
+ private getEnabledRadios;
29
+ private syncRadioStates;
30
+ selectRadio(value: string): void;
31
+ private handleRadioSelect;
32
+ private handleKeyDown;
33
+ attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
34
+ }
35
+ /**
36
+ * Individual radio option for use within a11y-radio-group.
37
+ *
38
+ * @example
39
+ * ```html
40
+ * <a11y-radio value="option1" label="Option 1"></a11y-radio>
41
+ * <a11y-radio value="option2" label="Option 2" hint="Additional info"></a11y-radio>
42
+ * <a11y-radio value="option3" label="Option 3" disabled></a11y-radio>
43
+ * ```
44
+ *
45
+ * @attr {string} value - Radio value
46
+ * @attr {string} label - Visible label text
47
+ * @attr {string} hint - Helper/description text
48
+ * @attr {boolean} checked - Whether this radio is checked
49
+ * @attr {boolean} disabled - Whether this radio is disabled
50
+ * @attr {boolean} discoverable - Whether disabled radio remains in tab order
51
+ *
52
+ * @cssprop --compa11y-radio-size - Radio circle size
53
+ * @cssprop --compa11y-radio-bg - Background when unchecked
54
+ * @cssprop --compa11y-radio-border - Border when unchecked
55
+ * @cssprop --compa11y-radio-checked-bg - Background when checked
56
+ * @cssprop --compa11y-radio-checked-border - Border when checked
57
+ * @cssprop --compa11y-radio-dot-size - Inner dot size
58
+ * @cssprop --compa11y-radio-dot-color - Inner dot color
59
+ * @cssprop --compa11y-radio-hover-border - Border on hover
60
+ * @cssprop --compa11y-radio-label-color - Label text color
61
+ * @cssprop --compa11y-radio-hint-color - Hint text color
62
+ * @cssprop --compa11y-focus-color - Focus outline color
63
+ */
64
+ export declare class A11yRadio extends Compa11yElement {
65
+ private _value;
66
+ private _checked;
67
+ private _disabled;
68
+ private _discoverable;
69
+ static get observedAttributes(): string[];
70
+ get value(): string;
71
+ set value(v: string);
72
+ get checked(): boolean;
73
+ set checked(v: boolean);
74
+ get disabled(): boolean;
75
+ set disabled(v: boolean);
76
+ get discoverable(): boolean;
77
+ set discoverable(v: boolean | string);
78
+ protected setupAccessibility(): void;
79
+ protected render(): void;
80
+ protected setupEventListeners(): void;
81
+ protected cleanupEventListeners(): void;
82
+ private handleClick;
83
+ private handleKeyDown;
84
+ private updateVisual;
85
+ attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
86
+ }
@@ -0,0 +1,46 @@
1
+ import { Compa11yElement } from '../utils/base-element';
2
+
3
+ export declare class A11ySelect extends Compa11yElement {
4
+ private _open;
5
+ private _highlightedIndex;
6
+ private _options;
7
+ private _selectedValue;
8
+ private _triggerElement;
9
+ private _listboxElement;
10
+ private _typeAhead;
11
+ static get observedAttributes(): string[];
12
+ get open(): boolean;
13
+ set open(value: boolean);
14
+ get value(): string | null;
15
+ set value(val: string | null);
16
+ protected setupAccessibility(): void;
17
+ protected render(): void;
18
+ protected setupEventListeners(): void;
19
+ protected cleanupEventListeners(): void;
20
+ protected onAttributeChange(name: string, _oldValue: string | null, newValue: string | null): void;
21
+ private updateOptions;
22
+ private renderOptions;
23
+ private handleTriggerClick;
24
+ private handleKeyDown;
25
+ private handleBlur;
26
+ private handleListboxMouseDown;
27
+ private handleOptionClick;
28
+ private handleOptionHover;
29
+ private handleOutsideClick;
30
+ private openAndHighlight;
31
+ private selectOption;
32
+ private updateTriggerText;
33
+ private highlightNext;
34
+ private highlightPrevious;
35
+ private findNextEnabled;
36
+ private findFirstEnabled;
37
+ private findLastEnabled;
38
+ private updateHighlight;
39
+ private updateListboxVisibility;
40
+ private updateListboxPosition;
41
+ /** Programmatic open */
42
+ show(): void;
43
+ /** Programmatic close */
44
+ close(): void;
45
+ }
46
+ export default A11ySelect;
@@ -1,6 +1,6 @@
1
- import { A11yKitElement } from '../utils/base-element';
1
+ import { Compa11yElement } from '../utils/base-element';
2
2
 
3
- export declare class A11ySwitch extends A11yKitElement {
3
+ export declare class A11ySwitch extends Compa11yElement {
4
4
  private _checked;
5
5
  private _button;
6
6
  private _label;
@@ -65,4 +65,3 @@ export declare class A11ySwitch extends A11yKitElement {
65
65
  setChecked(checked: boolean): void;
66
66
  }
67
67
  export default A11ySwitch;
68
- //# sourceMappingURL=switch.d.ts.map
@@ -1,6 +1,6 @@
1
- import { A11yKitElement } from '../utils/base-element';
1
+ import { Compa11yElement } from '../utils/base-element';
2
2
 
3
- export declare class A11yTabs extends A11yKitElement {
3
+ export declare class A11yTabs extends Compa11yElement {
4
4
  private _tabs;
5
5
  private _panels;
6
6
  private _selectedIndex;
@@ -32,4 +32,3 @@ export declare class A11yTabs extends A11yKitElement {
32
32
  previous(): void;
33
33
  }
34
34
  export default A11yTabs;
35
- //# sourceMappingURL=tabs.d.ts.map
@@ -1,2 +1 @@
1
1
 
2
- //# sourceMappingURL=tabs.test.d.ts.map
@@ -0,0 +1,40 @@
1
+ import { Compa11yElement } from '../utils/base-element';
2
+
3
+ export declare class A11yTextarea extends Compa11yElement {
4
+ private _value;
5
+ private _textareaEl;
6
+ private _labelEl;
7
+ private _hintEl;
8
+ private _errorEl;
9
+ static get observedAttributes(): string[];
10
+ get value(): string;
11
+ set value(v: string);
12
+ get disabled(): boolean;
13
+ set disabled(v: boolean);
14
+ get readOnly(): boolean;
15
+ set readOnly(v: boolean);
16
+ get required(): boolean;
17
+ set required(v: boolean);
18
+ get error(): string;
19
+ set error(v: string);
20
+ protected setupAccessibility(): void;
21
+ protected render(): void;
22
+ protected setupEventListeners(): void;
23
+ protected cleanupEventListeners(): void;
24
+ protected onAttributeChange(name: string, _oldValue: string | null, newValue: string | null): void;
25
+ private handleInput;
26
+ private handleChange;
27
+ private handleFocus;
28
+ private handleBlur;
29
+ private updateError;
30
+ private updateHint;
31
+ private updateAriaDescribedBy;
32
+ private updateRequiredIndicator;
33
+ /** Focus the textarea element */
34
+ focus(): void;
35
+ /** Blur the textarea element */
36
+ blur(): void;
37
+ /** Select all text in the textarea */
38
+ select(): void;
39
+ }
40
+ export default A11yTextarea;
package/dist/index.d.ts CHANGED
@@ -3,8 +3,14 @@ import { A11yMenu } from './components/menu';
3
3
  import { A11yTabs } from './components/tabs';
4
4
  import { A11yCombobox } from './components/combobox';
5
5
  import { A11ySwitch } from './components/switch';
6
+ import { A11ySelect } from './components/select';
7
+ import { A11yInput } from './components/input';
8
+ import { A11yTextarea } from './components/textarea';
9
+ import { A11yButton } from './components/button';
10
+ import { A11yListbox, A11yOption, A11yOptgroup } from './components/listbox';
11
+ import { A11yCheckbox, A11yCheckboxGroup } from './components/checkbox';
12
+ import { A11yRadioGroup, A11yRadio } from './components/radio-group';
6
13
  import { initAnnouncer, announce, announcePolite, announceAssertive, announceStatus, announceError, initFocusVisible, createFocusTrap, createFocusScope, createRovingTabindex, createKeyboardManager, KeyboardPatterns, createTypeAhead, aria, buildAriaProps, hasAccessibleName, isBrowser, prefersReducedMotion, prefersHighContrast, prefersDarkMode } from '@compa11y/core';
7
14
 
8
- export { A11yDialog, A11yMenu, A11yTabs, A11yCombobox, A11ySwitch };
15
+ export { A11yDialog, A11yMenu, A11yTabs, A11yCombobox, A11ySwitch, A11ySelect, A11yInput, A11yTextarea, A11yButton, A11yListbox, A11yOption, A11yOptgroup, A11yCheckbox, A11yCheckboxGroup, A11yRadioGroup, A11yRadio, };
9
16
  export { initAnnouncer, announce, announcePolite, announceAssertive, announceStatus, announceError, initFocusVisible, createFocusTrap, createFocusScope, createRovingTabindex, createKeyboardManager, KeyboardPatterns, createTypeAhead, aria, buildAriaProps, hasAccessibleName, isBrowser, prefersReducedMotion, prefersHighContrast, prefersDarkMode, };
10
- //# sourceMappingURL=index.d.ts.map
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Base class for compa11y Web Components
3
3
  */
4
- export declare abstract class A11yKitElement extends HTMLElement {
4
+ export declare abstract class Compa11yElement extends HTMLElement {
5
5
  protected _internals: ElementInternals | null;
6
6
  protected _id: string;
7
7
  constructor();
@@ -58,4 +58,3 @@ export declare abstract class A11yKitElement extends HTMLElement {
58
58
  * Helper to define a custom element safely
59
59
  */
60
60
  export declare function defineElement(name: string, constructor: CustomElementConstructor): void;
61
- //# sourceMappingURL=base-element.d.ts.map