@duyluonganduin/acl-web-components 0.0.44 → 0.0.48

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/react.d.ts CHANGED
@@ -57,6 +57,76 @@ declare class AnduinButton extends LitElement {
57
57
  render(): TemplateResult<1>;
58
58
  }
59
59
 
60
+ /**
61
+ * A single-month calendar grid with month/year pickers and full keyboard
62
+ * navigation.
63
+ *
64
+ * Used on its own for day selection, and composed by `anduin-date-range` — the
65
+ * range picker drives `range-start` / `range-end` to paint the range across two
66
+ * calendars.
67
+ *
68
+ * All date attributes take an ISO date string (`YYYY-MM-DD`). `value` doubles as
69
+ * the selected day and the month the calendar opens on.
70
+ *
71
+ * @example
72
+ * <anduin-calendar value="2026-07-15" min-date="2026-01-01"></anduin-calendar>
73
+ */
74
+ declare class AnduinCalendar extends LitElement {
75
+ static styles: CSSResult;
76
+ /** Selected day, ISO `YYYY-MM-DD`. Also the month the calendar opens on. */
77
+ value: string;
78
+ /** Earliest selectable day, ISO `YYYY-MM-DD`. */
79
+ minDate: string;
80
+ /** Latest selectable day, ISO `YYYY-MM-DD`. */
81
+ maxDate: string;
82
+ /** First day of a painted range, ISO `YYYY-MM-DD`. Set by `anduin-date-range`. */
83
+ rangeStart: string;
84
+ /** Last day of a painted range, ISO `YYYY-MM-DD`. Set by `anduin-date-range`. */
85
+ rangeEnd: string;
86
+ /**
87
+ * Suppress the single-day selected marker so only the range markers express
88
+ * selection. Set by `anduin-date-range` on its panels, where `value` is just
89
+ * the month anchor and highlighting it would read as a stray selected day.
90
+ */
91
+ rangeMode: boolean;
92
+ /** Displayed month, 0-based. Tracks `value` until the user navigates. */
93
+ private _viewMonth;
94
+ private _viewYear;
95
+ /** Roving-tabindex target for keyboard navigation, ISO `YYYY-MM-DD`. */
96
+ private _focus;
97
+ private _openSelect;
98
+ /** Set once `value` has seeded the view, so later edits don't yank the month
99
+ * back while the user is browsing. */
100
+ private _viewSeeded;
101
+ /** Set when a keyboard action moved focus, so we refocus after re-render. */
102
+ private _pendingFocus;
103
+ connectedCallback(): void;
104
+ disconnectedCallback(): void;
105
+ willUpdate(changed: Map<PropertyKey, unknown>): void;
106
+ updated(): void;
107
+ private _onOutsideClick;
108
+ private get _min();
109
+ private get _max();
110
+ private _isDisabled;
111
+ /** Clamp into [min, max] so keyboard navigation can't escape the range. */
112
+ private _clamp;
113
+ private _shiftMonth;
114
+ /** Move the roving focus, pulling the displayed month along with it. */
115
+ private _moveFocus;
116
+ private _onGridKeyDown;
117
+ private _pick;
118
+ private _emitHover;
119
+ /** The day that owns `tabindex="0"` when nothing has been focused yet. */
120
+ private _defaultFocusDate;
121
+ /** Years offered in the year picker — bounded by min/max when set, otherwise
122
+ * a ±10-year window around the displayed year. */
123
+ private get _yearOptions();
124
+ private _selectMonth;
125
+ private _selectYear;
126
+ private _renderSelect;
127
+ render(): TemplateResult<1>;
128
+ }
129
+
60
130
  declare class AnduinCallout extends LitElement {
61
131
  static styles: CSSResult;
62
132
  variant: string;
@@ -76,6 +146,238 @@ declare class AnduinCheckbox extends LitElement {
76
146
  render(): TemplateResult<1>;
77
147
  }
78
148
 
149
+ /**
150
+ * A formatted date input. Displays a pattern such as `MM/dd/yyyy` and lets users
151
+ * type digits into each segment; clicking a segment highlights it, and focus
152
+ * auto-advances once a segment is filled.
153
+ *
154
+ * Typing is committed per segment: when no valid completion remains (typing `5`
155
+ * into a month, since `50`–`59` all exceed `12`) the digit is zero-padded and
156
+ * focus moves on. Arrow keys step a segment's value, wrapping at its bounds.
157
+ *
158
+ * `anduin-date-input:change` fires once every segment is filled; `event.detail`
159
+ * is the formatted string.
160
+ *
161
+ * @example
162
+ * <anduin-date-input format="MM/dd/yyyy" value="03/15/2026"></anduin-date-input>
163
+ */
164
+ declare class AnduinDateInput extends LitElement {
165
+ static shadowRootOptions: ShadowRootInit;
166
+ static styles: CSSResult;
167
+ /** Pattern to display and type into, e.g. `MM/dd/yyyy`, `yyyy-MM-dd`, `dd.MM.yyyy`. */
168
+ format: string;
169
+ /** Current value, formatted to match `format`. Empty until every segment is filled. */
170
+ value: string;
171
+ size: DateInputSize;
172
+ disabled: boolean;
173
+ readonly: boolean;
174
+ /** `valid` | `invalid` | `warning` | `loading`. */
175
+ status: string;
176
+ startIcon: string;
177
+ /** Earliest allowed date, ISO `YYYY-MM-DD`. Completed dates below it are clamped up. */
178
+ minDate: string;
179
+ /** Latest allowed date, ISO `YYYY-MM-DD`. Completed dates above it are clamped down. */
180
+ maxDate: string;
181
+ /** Matches `anduin-field-label`'s `for` so clicking the label focuses this input. */
182
+ inputid: string;
183
+ /** Committed digits per segment, index-aligned with `_segments`. */
184
+ private _digits;
185
+ /** Index of the segment being typed into. */
186
+ private _active;
187
+ /** Digits typed into the active segment but not yet committed. */
188
+ private _buffer;
189
+ private _inputEl;
190
+ /** Selection we want after the next render, so re-renders don't drop the highlight. */
191
+ private _pendingSelection;
192
+ private _tokens;
193
+ private _segments;
194
+ connectedCallback(): void;
195
+ disconnectedCallback(): void;
196
+ private _onFieldLabelClick;
197
+ willUpdate(changed: Map<PropertyKey, unknown>): void;
198
+ updated(): void;
199
+ /** Parse an incoming formatted string by reading each segment's slice. */
200
+ private _adoptValue;
201
+ /** The rendered string: committed digits, the in-progress buffer, or placeholders. */
202
+ private _display;
203
+ /** The formatted value, or `''` while any segment is still empty. */
204
+ private _composeValue;
205
+ private _setDigits;
206
+ private _indexOfType;
207
+ /**
208
+ * Clamp a completed date into [minDate, maxDate]. Only applies when the format
209
+ * carries a full date — a partial format like `MM/dd` has no year to compare.
210
+ */
211
+ private _clampToBounds;
212
+ private _focusSegment;
213
+ /** Which segment contains (or is nearest to) a caret offset. */
214
+ private _segmentAt;
215
+ /**
216
+ * Snap the caret to whole-segment selection. Handled synchronously: by `mouseup`
217
+ * the browser has already placed the caret, and deferring (rAF/timeout) would
218
+ * leave a bare caret visible for a frame — or never run at all in a background
219
+ * tab, where rAF is throttled.
220
+ */
221
+ private _onSelectionIntent;
222
+ /** Write digits into a segment, clamped to its valid range and zero-padded. */
223
+ private _writeSegment;
224
+ /** Commit any half-typed digits so they aren't stranded on blur or navigation. */
225
+ private _flushBuffer;
226
+ private _commitBuffer;
227
+ private _typeDigit;
228
+ private _step;
229
+ private _clearSegment;
230
+ private _onKeyDown;
231
+ render(): TemplateResult<1>;
232
+ }
233
+
234
+ /**
235
+ * A formatted date input paired with a calendar popover.
236
+ *
237
+ * Clicking the input opens the calendar; typing a date into the input moves the
238
+ * calendar to match; picking a day closes the popover and fills the input.
239
+ * `disabled` and `readonly` both prevent the popover from opening.
240
+ *
241
+ * Slot content into `actions` to add buttons below the calendar — the consumer
242
+ * owns that container's layout entirely.
243
+ *
244
+ * @example
245
+ * <anduin-date-picker format="MM/dd/yyyy" value="03/15/2026"></anduin-date-picker>
246
+ */
247
+ declare class AnduinDatePicker extends LitElement {
248
+ static styles: CSSResult;
249
+ /** Pattern for the input, e.g. `MM/dd/yyyy`. `value` must match it. */
250
+ format: string;
251
+ /** Current value, formatted to match `format`. */
252
+ value: string;
253
+ size: DateInputSize;
254
+ disabled: boolean;
255
+ readonly: boolean;
256
+ /** `valid` | `invalid` | `warning` | `loading`. */
257
+ status: string;
258
+ startIcon: string;
259
+ /** Earliest selectable date, ISO `YYYY-MM-DD`. */
260
+ minDate: string;
261
+ /** Latest selectable date, ISO `YYYY-MM-DD`. */
262
+ maxDate: string;
263
+ /** Where the calendar opens relative to the input. */
264
+ placement: DatePickerPlacement;
265
+ /** Matches `anduin-field-label`'s `for` so clicking the label focuses the input. */
266
+ inputid: string;
267
+ /** Mirrors the popover's own state — the popover owns opening and closing. */
268
+ private _open;
269
+ private _inputEl;
270
+ private _popoverEl;
271
+ connectedCallback(): void;
272
+ disconnectedCallback(): void;
273
+ private _onPopoverOpenChange;
274
+ private _closePopover;
275
+ /** The current value as a `Date`, or `null` while it is incomplete. */
276
+ private get _date();
277
+ /** ISO form of the value, for driving the calendar. */
278
+ private get _isoValue();
279
+ private _emit;
280
+ /** Typing a complete date in the input moves the calendar to match. */
281
+ private _onInputChange;
282
+ /** Picking a day fills the input and dismisses the popover. */
283
+ private _onCalendarChange;
284
+ private _onKeyDown;
285
+ /**
286
+ * Swallow the trigger click when the field is locked, so it never reaches the
287
+ * popover's own toggle handler.
288
+ */
289
+ private _onTriggerClick;
290
+ render(): TemplateResult<1>;
291
+ }
292
+
293
+ /**
294
+ * Two side-by-side calendars for picking a date range.
295
+ *
296
+ * Selection is a two-click flow: the first click sets the start and clears any
297
+ * previous end, the second sets the end (swapping if it falls before the start).
298
+ * A third click begins a new selection. `anduin-date-range:change` fires only
299
+ * once a range is complete, and `start-date` / `end-date` reflect the last
300
+ * complete range.
301
+ *
302
+ * Use `anduin-date-range-default` for the standard side-by-side layout, or place
303
+ * `anduin-date-range-start` and `anduin-date-range-end` yourself for full
304
+ * control over what sits between them.
305
+ *
306
+ * @example
307
+ * <anduin-date-range start-date="2026-07-10" end-date="2026-07-20">
308
+ * <anduin-date-range-default></anduin-date-range-default>
309
+ * </anduin-date-range>
310
+ */
311
+ declare class AnduinDateRange extends LitElement {
312
+ static styles: CSSResult;
313
+ /** First day of the selected range, ISO `YYYY-MM-DD`. */
314
+ startDate: string;
315
+ /** Last day of the selected range, ISO `YYYY-MM-DD`. */
316
+ endDate: string;
317
+ /** Earliest selectable day, ISO `YYYY-MM-DD`. Forwarded to both calendars. */
318
+ minDate: string;
319
+ /** Latest selectable day, ISO `YYYY-MM-DD`. Forwarded to both calendars. */
320
+ maxDate: string;
321
+ /** First click of an in-progress selection, ISO `YYYY-MM-DD`. */
322
+ private _anchor;
323
+ /** Hovered day while a selection is in progress, for the range preview. */
324
+ private _hover;
325
+ private _panels;
326
+ /** Last `value` we pushed per panel. Mirrors Lit's "only write on change" so a
327
+ * calendar the user has navigated isn't yanked back to our derived month. */
328
+ private _pushedValue;
329
+ connectedCallback(): void;
330
+ disconnectedCallback(): void;
331
+ updated(): void;
332
+ /** Called by each panel once it has rendered its calendar. */
333
+ registerPanel(role: DateRangePanelRole, panel: AnduinDateRangePanel): void;
334
+ unregisterPanel(panel: AnduinDateRangePanel): void;
335
+ /** Push the derived range state down onto each registered panel's calendar. */
336
+ private _sync;
337
+ /** Which month each panel opens on: the start date on the left, the month
338
+ * after it on the right. Falls back to today when there's no range yet. */
339
+ private _panelValue;
340
+ /** The range the calendars should paint — the live preview while selecting,
341
+ * otherwise the committed range. */
342
+ private _displayedRange;
343
+ private _sorted;
344
+ private _onCalendarChange;
345
+ private _onCalendarHover;
346
+ render(): TemplateResult<1>;
347
+ }
348
+
349
+ /** The standard side-by-side layout: start calendar, 16px gap, end calendar. */
350
+ declare class AnduinDateRangeDefault extends LitElement {
351
+ static styles: CSSResult;
352
+ render(): TemplateResult<1>;
353
+ }
354
+
355
+ /** The right-hand calendar of a date range. */
356
+ declare class AnduinDateRangeEnd extends AnduinDateRangePanel {
357
+ protected readonly panelRole: "end";
358
+ }
359
+
360
+ /**
361
+ * Base class for the two calendar panels. Renders one `anduin-calendar` and
362
+ * registers with the enclosing `anduin-date-range`, which then drives it.
363
+ */
364
+ declare abstract class AnduinDateRangePanel extends LitElement {
365
+ static styles: CSSResult;
366
+ protected abstract readonly panelRole: DateRangePanelRole;
367
+ private _host;
368
+ /** The calendar this panel owns. Read by `anduin-date-range`. */
369
+ get calendar(): AnduinCalendar | null;
370
+ firstUpdated(): void;
371
+ disconnectedCallback(): void;
372
+ private _findRangeHost;
373
+ render(): TemplateResult<1>;
374
+ }
375
+
376
+ /** The left-hand calendar of a date range. */
377
+ declare class AnduinDateRangeStart extends AnduinDateRangePanel {
378
+ protected readonly panelRole: "start";
379
+ }
380
+
79
381
  declare class AnduinDivider extends LitElement {
80
382
  static styles: CSSResult;
81
383
  direction: string;
@@ -507,6 +809,136 @@ declare class AnduinResizablePanelGroup extends LitElement {
507
809
  render(): TemplateResult<1>;
508
810
  }
509
811
 
812
+ /**
813
+ * anduin-sidebar — a vertical navigation region for an application's primary
814
+ * sections. It organises navigable entries into labelled groups, highlights the
815
+ * active entry, and supports both button-style and link-style items.
816
+ *
817
+ * Compose a sidebar from these building blocks:
818
+ * - anduin-sidebar the navigation container
819
+ * - anduin-sidebar-header/footer sticky top / bottom regions (optional divider)
820
+ * - anduin-sidebar-content scrolling region that owns the sidebar's padding
821
+ * - anduin-sidebar-group a section pairing a label with a menu
822
+ * - anduin-sidebar-group-label the heading for a group
823
+ * - anduin-sidebar-menu a vertical list of items
824
+ * - anduin-sidebar-menu-item a single navigable entry
825
+ * - anduin-sidebar-action a control shown on the right of a label/item
826
+ * - anduin-sidebar-badge a count/status badge shown on the right
827
+ * - anduin-sidebar-separator a divider between sections
828
+ *
829
+ * @example
830
+ * <anduin-sidebar aria-label="Fund navigation">
831
+ * <anduin-sidebar-content>
832
+ * <anduin-sidebar-group>
833
+ * <anduin-sidebar-group-label>Fund administration</anduin-sidebar-group-label>
834
+ * <anduin-sidebar-menu>
835
+ * <anduin-sidebar-menu-item start-icon="dashboard" selected>Overview</anduin-sidebar-menu-item>
836
+ * <anduin-sidebar-menu-item start-icon="userInvestor">Investors</anduin-sidebar-menu-item>
837
+ * </anduin-sidebar-menu>
838
+ * </anduin-sidebar-group>
839
+ * </anduin-sidebar-content>
840
+ * </anduin-sidebar>
841
+ */
842
+ declare class AnduinSidebar extends LitElement {
843
+ static styles: CSSResult;
844
+ connectedCallback(): void;
845
+ render(): TemplateResult<1>;
846
+ }
847
+
848
+ /**
849
+ * A small action control shown on the right of a group label or menu item.
850
+ * Prop-less container: slot in any control (typically an anduin-button). It is
851
+ * pushed to the right of the row, and activating it never triggers the menu
852
+ * item's own click or navigation.
853
+ */
854
+ declare class AnduinSidebarAction extends LitElement {
855
+ static styles: CSSResult;
856
+ connectedCallback(): void;
857
+ render(): TemplateResult<1>;
858
+ }
859
+
860
+ /**
861
+ * A count or status badge shown on the right of a group label or menu item.
862
+ * Hosts a standard anduin-badge-count (or anduin-badge). Unlike an action, a
863
+ * badge is informational: clicking it does not swallow the item's click.
864
+ */
865
+ declare class AnduinSidebarBadge extends LitElement {
866
+ static styles: CSSResult;
867
+ connectedCallback(): void;
868
+ render(): TemplateResult<1>;
869
+ }
870
+
871
+ /**
872
+ * The container that holds the groups. It owns the sidebar's padding and, when
873
+ * the sidebar has a bounded height, scrolls between an optional header/footer.
874
+ */
875
+ declare class AnduinSidebarContent extends LitElement {
876
+ static styles: CSSResult;
877
+ render(): TemplateResult<1>;
878
+ }
879
+
880
+ /** A sticky region pinned to the bottom of the sidebar, below the scrolling content. */
881
+ declare class AnduinSidebarFooter extends LitElement {
882
+ static styles: CSSResult;
883
+ /** Draw a separating border toward the content. */
884
+ divider: boolean;
885
+ render(): TemplateResult<1>;
886
+ }
887
+
888
+ /** A section that pairs a group label with a menu of related entries. */
889
+ declare class AnduinSidebarGroup extends LitElement {
890
+ static styles: CSSResult;
891
+ render(): TemplateResult<1>;
892
+ }
893
+
894
+ /** The heading for a group. Accepts a slotted badge or action on the right. */
895
+ declare class AnduinSidebarGroupLabel extends LitElement {
896
+ static styles: CSSResult;
897
+ render(): TemplateResult<1>;
898
+ }
899
+
900
+ /** A sticky region pinned to the top of the sidebar, above the scrolling content. */
901
+ declare class AnduinSidebarHeader extends LitElement {
902
+ static styles: CSSResult;
903
+ /** Draw a separating border toward the content. */
904
+ divider: boolean;
905
+ render(): TemplateResult<1>;
906
+ }
907
+
908
+ /** A vertical list of menu items. */
909
+ declare class AnduinSidebarMenu extends LitElement {
910
+ static styles: CSSResult;
911
+ render(): TemplateResult<1>;
912
+ }
913
+
914
+ /**
915
+ * A single navigable entry. Renders a native <button> by default, or an <a>
916
+ * when `href` is set. Accepts a leading icon (`start-icon`), a slotted
917
+ * `anduin-sidebar-badge`, and a slotted `anduin-sidebar-action`.
918
+ */
919
+ declare class AnduinSidebarMenuItem extends LitElement {
920
+ static styles: CSSResult;
921
+ /** anduin-icon name shown before the label. */
922
+ startIcon: string;
923
+ /** Highlights the entry as the active one. Bind to your route/selection state. */
924
+ selected: boolean;
925
+ /** Mute the entry and prevent interaction. */
926
+ disabled: boolean;
927
+ /** Renders an <a> instead of a <button> when provided. */
928
+ href: string;
929
+ /** Open the link in a new tab (target="_blank" with rel="noreferrer noopener"). */
930
+ openNewTab: boolean;
931
+ private onClick;
932
+ render(): TemplateResult<1>;
933
+ }
934
+
935
+ /** A divider between unrelated sections. */
936
+ declare class AnduinSidebarSeparator extends LitElement {
937
+ static styles: CSSResult;
938
+ connectedCallback(): void;
939
+ render(): TemplateResult<1>;
940
+ }
941
+
510
942
  declare class AnduinSkeleton extends LitElement {
511
943
  static styles: CSSResult;
512
944
  effect: string;
@@ -858,6 +1290,13 @@ declare type ButtonSize = 'tiny' | 'extraSmall' | 'small' | 'medium' | 'large' |
858
1290
 
859
1291
  declare type ButtonVariant = 'gray0' | 'gray9' | 'primary' | 'danger' | 'success' | 'warning' | 'purple';
860
1292
 
1293
+ export declare const Calendar: ReactWebComponent<AnduinCalendar, {
1294
+ onValueChange: string;
1295
+ }>;
1296
+
1297
+ /** Fired when a day is picked. `event.detail` is the ISO date string (`YYYY-MM-DD`). */
1298
+ export declare const CALENDAR_CHANGE = "anduin-calendar:change";
1299
+
861
1300
  export declare const Callout: ReactWebComponent<AnduinCallout, {}>;
862
1301
 
863
1302
  export declare const Checkbox: ReactWebComponent<AnduinCheckbox, {
@@ -866,6 +1305,42 @@ onChange: string;
866
1305
 
867
1306
  export declare const CHECKBOX_CHANGE = "anduin-checkbox:change";
868
1307
 
1308
+ /** Fired when every segment is filled. `event.detail` is the formatted date string. */
1309
+ export declare const DATE_INPUT_CHANGE = "anduin-date-input:change";
1310
+
1311
+ /** Fired when a date is completed by typing or picked from the calendar. `event.detail` is the formatted string. */
1312
+ export declare const DATE_PICKER_CHANGE = "anduin-date-picker:change";
1313
+
1314
+ /**
1315
+ * Fired when the user completes a range selection (both ends picked).
1316
+ * `event.detail` is `{ startDate, endDate }`, both ISO `YYYY-MM-DD`.
1317
+ */
1318
+ export declare const DATE_RANGE_CHANGE = "anduin-date-range:change";
1319
+
1320
+ export declare const DateInput: ReactWebComponent<AnduinDateInput, {
1321
+ onValueChange: string;
1322
+ }>;
1323
+
1324
+ declare type DateInputSize = 'small' | 'default' | 'large';
1325
+
1326
+ export declare const DatePicker: ReactWebComponent<AnduinDatePicker, {
1327
+ onValueChange: string;
1328
+ }>;
1329
+
1330
+ declare type DatePickerPlacement = 'bottom-start' | 'bottom-end' | 'bottom' | 'top-start' | 'top-end' | 'top';
1331
+
1332
+ export declare const DateRange: ReactWebComponent<AnduinDateRange, {
1333
+ onChange: string;
1334
+ }>;
1335
+
1336
+ export declare const DateRangeDefault: ReactWebComponent<AnduinDateRangeDefault, {}>;
1337
+
1338
+ export declare const DateRangeEnd: ReactWebComponent<AnduinDateRangeEnd, {}>;
1339
+
1340
+ declare type DateRangePanelRole = 'start' | 'end';
1341
+
1342
+ export declare const DateRangeStart: ReactWebComponent<AnduinDateRangeStart, {}>;
1343
+
869
1344
  export declare const Divider: ReactWebComponent<AnduinDivider, {}>;
870
1345
 
871
1346
  export declare const Dot: ReactWebComponent<AnduinDot, {}>;
@@ -978,7 +1453,12 @@ export declare const PaginationFirstPage: ReactWebComponent<AnduinPaginationFirs
978
1453
 
979
1454
  export declare const PaginationLastPage: ReactWebComponent<AnduinPaginationLastPage, {}>;
980
1455
 
981
- export declare const Popover: ReactWebComponent<AnduinPopover, {}>;
1456
+ export declare const Popover: ReactWebComponent<AnduinPopover, {
1457
+ onOpenChange: string;
1458
+ }>;
1459
+
1460
+ /** Fired whenever `open` changes, including self-initiated toggles and outside clicks. `event.detail` is the new state. */
1461
+ export declare const POPOVER_OPEN_CHANGE = "anduin-popover:open-change";
982
1462
 
983
1463
  export declare const PopoverClose: ReactWebComponent<AnduinPopoverClose, {}>;
984
1464
 
@@ -1011,6 +1491,42 @@ export declare const RESIZE_EVENT = "anduin-resizable:resize";
1011
1491
 
1012
1492
  declare type ResizeOrientation = 'horizontal' | 'vertical';
1013
1493
 
1494
+ export declare const Sidebar: ReactWebComponent<AnduinSidebar, {}>;
1495
+
1496
+ /**
1497
+ * Fired when a (non-disabled) sidebar menu item is activated by click or
1498
+ * keyboard. `detail` is the activated `anduin-sidebar-menu-item` element.
1499
+ *
1500
+ * Menu items are native buttons (or links when `href` is set), so a native
1501
+ * `click` also bubbles — this event exists as a convenience so consumers can
1502
+ * bind a single `onSelect` handler (and it maps to the React wrapper's
1503
+ * `onSelect` prop). Activating a control slotted into an `anduin-sidebar-action`
1504
+ * never triggers it, because the action sits outside the item's button/link.
1505
+ */
1506
+ export declare const SIDEBAR_SELECT = "anduin-sidebar:select";
1507
+
1508
+ export declare const SidebarAction: ReactWebComponent<AnduinSidebarAction, {}>;
1509
+
1510
+ export declare const SidebarBadge: ReactWebComponent<AnduinSidebarBadge, {}>;
1511
+
1512
+ export declare const SidebarContent: ReactWebComponent<AnduinSidebarContent, {}>;
1513
+
1514
+ export declare const SidebarFooter: ReactWebComponent<AnduinSidebarFooter, {}>;
1515
+
1516
+ export declare const SidebarGroup: ReactWebComponent<AnduinSidebarGroup, {}>;
1517
+
1518
+ export declare const SidebarGroupLabel: ReactWebComponent<AnduinSidebarGroupLabel, {}>;
1519
+
1520
+ export declare const SidebarHeader: ReactWebComponent<AnduinSidebarHeader, {}>;
1521
+
1522
+ export declare const SidebarMenu: ReactWebComponent<AnduinSidebarMenu, {}>;
1523
+
1524
+ export declare const SidebarMenuItem: ReactWebComponent<AnduinSidebarMenuItem, {
1525
+ onSelect: string;
1526
+ }>;
1527
+
1528
+ export declare const SidebarSeparator: ReactWebComponent<AnduinSidebarSeparator, {}>;
1529
+
1014
1530
  export declare const Skeleton: ReactWebComponent<AnduinSkeleton, {}>;
1015
1531
 
1016
1532
  export declare const SparkleSpinner: ReactWebComponent<AnduinSparkleSpinner, {}>;