@reliability-design/web 1.0.6 → 1.1.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 (60) hide show
  1. package/dist/components/rel-accordion/rel-accordion.ts +4 -0
  2. package/dist/components/rel-alert/rel-alert.ts +83 -13
  3. package/dist/components/rel-avatar/rel-avatar.ts +3 -2
  4. package/dist/components/rel-badge/rel-badge.ts +6 -2
  5. package/dist/components/rel-button/rel-button.ts +64 -8
  6. package/dist/components/rel-calendar/rel-calendar.ts +3 -3
  7. package/dist/components/rel-carousel/rel-carousel.ts +10 -11
  8. package/dist/components/rel-checkbox/rel-checkbox.ts +33 -2
  9. package/dist/components/rel-chip/rel-chip.ts +63 -5
  10. package/dist/components/rel-divider/rel-divider.ts +9 -0
  11. package/dist/components/rel-drawer/rel-drawer-footer.ts +29 -0
  12. package/dist/components/rel-drawer/rel-drawer.ts +17 -26
  13. package/dist/components/rel-menu/rel-menu.ts +53 -21
  14. package/dist/components/rel-menubar/rel-menubar.ts +52 -23
  15. package/dist/components/rel-nav-menu/rel-nav-menu-item.ts +240 -143
  16. package/dist/components/rel-nav-menu/rel-nav-menu.ts +227 -331
  17. package/dist/components/rel-navbar/rel-navbar.ts +13 -0
  18. package/dist/components/rel-pagination/rel-pagination.ts +11 -6
  19. package/dist/components/rel-popover/rel-popover.ts +16 -13
  20. package/dist/components/rel-radio/rel-radio.ts +18 -1
  21. package/dist/components/rel-resizable/rel-resizable-handle.ts +4 -8
  22. package/dist/components/rel-select/rel-select.ts +14 -0
  23. package/dist/components/rel-sheet/rel-sheet.ts +7 -6
  24. package/dist/components/rel-sidebar/rel-sidebar.ts +13 -5
  25. package/dist/components/rel-slider/rel-slider.ts +25 -2
  26. package/dist/components/rel-snackbar/rel-snackbar.ts +46 -16
  27. package/dist/components/rel-stepper/rel-stepper.ts +32 -21
  28. package/dist/components/rel-switch/rel-switch.ts +19 -6
  29. package/dist/components/rel-tab/rel-tab.ts +49 -15
  30. package/dist/components/rel-table/rel-table-body.ts +5 -0
  31. package/dist/components/rel-table/rel-table-caption.ts +6 -1
  32. package/dist/components/rel-table/rel-table-cell.ts +42 -49
  33. package/dist/components/rel-table/rel-table-footer.ts +5 -0
  34. package/dist/components/rel-table/rel-table-head.ts +13 -1
  35. package/dist/components/rel-table/rel-table-header.ts +5 -0
  36. package/dist/components/rel-table/rel-table-row.ts +7 -3
  37. package/dist/components/rel-table/rel-table.ts +8 -2
  38. package/dist/components/rel-textfield/rel-textfield.ts +20 -20
  39. package/dist/components/rel-toast/rel-toast.ts +31 -10
  40. package/dist/components/rel-tooltip/rel-tooltip.ts +123 -80
  41. package/dist/components/rel-topbar/rel-topbar-actions.ts +23 -0
  42. package/dist/components/rel-topbar/rel-topbar-brand.ts +46 -0
  43. package/dist/components/rel-topbar/rel-topbar-dropdown-item.ts +33 -0
  44. package/dist/components/rel-topbar/rel-topbar-dropdown.ts +28 -0
  45. package/dist/components/rel-topbar/rel-topbar-item.ts +315 -0
  46. package/dist/components/rel-topbar/rel-topbar-mobile-panel.ts +23 -0
  47. package/dist/components/rel-topbar/rel-topbar-profile.ts +248 -0
  48. package/dist/components/rel-topbar/rel-topbar-utilities.ts +23 -0
  49. package/dist/components/rel-topbar/rel-topbar.ts +329 -0
  50. package/dist/index.d.mts +278 -289
  51. package/dist/index.d.ts +278 -289
  52. package/dist/index.js +4498 -5727
  53. package/dist/index.js.map +1 -1
  54. package/dist/index.mjs +4535 -5756
  55. package/dist/index.mjs.map +1 -1
  56. package/dist/styles/vars.css +346 -294
  57. package/dist/{vars-ITL2K3KO.css → vars-TBB4BMSD.css} +346 -294
  58. package/package.json +2 -1
  59. package/dist/components/rel-quote-page/README.md +0 -166
  60. package/dist/components/rel-quote-page/rel-quote-page.ts +0 -816
package/dist/index.d.mts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as lit_html from 'lit-html';
2
2
  import * as lit from 'lit';
3
3
  import { LitElement } from 'lit';
4
+ export * from '@reliability-design/icons';
4
5
 
5
6
  declare class RelAccordion extends LitElement {
6
7
  title: string;
@@ -37,6 +38,8 @@ declare class RelAvatar extends LitElement {
37
38
 
38
39
  declare class RelBadge extends LitElement {
39
40
  number: string;
41
+ ariaLabel: string;
42
+ suffix: string;
40
43
  size: "sm" | "md" | "lg";
41
44
  variant: "dot" | "number";
42
45
  static styles: lit.CSSResult;
@@ -60,6 +63,7 @@ declare class RelButton extends LitElement {
60
63
  size: "small" | "medium" | "large";
61
64
  border: "corner-radius" | "small-corner-radius" | "no-corner-radius";
62
65
  disabled: boolean;
66
+ ariaLabel: string | null;
63
67
  static styles: lit.CSSResult;
64
68
  private get classes();
65
69
  private handleClick;
@@ -108,8 +112,7 @@ declare class RelCarousel extends LitElement {
108
112
  showButtons: boolean;
109
113
  showDots: boolean;
110
114
  orientation: "horizontal" | "vertical";
111
- align: "start" | "center" | "end";
112
- slidesPerView: number;
115
+ label: string;
113
116
  gap?: number;
114
117
  disabled: boolean;
115
118
  private slideCount;
@@ -153,60 +156,6 @@ declare class RelCardMedia extends LitElement {
153
156
  render(): lit_html.TemplateResult<1>;
154
157
  }
155
158
 
156
- interface SeriesConfig {
157
- key: string;
158
- label?: string;
159
- colorToken?: string;
160
- }
161
- declare class RelChart extends LitElement {
162
- type: "bar" | "line";
163
- height: number;
164
- xKey: string;
165
- seriesJson: string;
166
- dataJson: string;
167
- showGrid: boolean;
168
- showAxis: boolean;
169
- showLegend: boolean;
170
- stacked: boolean;
171
- formatX: "date" | "string" | "number";
172
- locale: string;
173
- disabled: boolean;
174
- private _data;
175
- private _series;
176
- get data(): Array<Record<string, unknown>>;
177
- set data(value: Array<Record<string, unknown>>);
178
- get series(): SeriesConfig[];
179
- set series(value: SeriesConfig[]);
180
- private chartWidth;
181
- private tooltip;
182
- private container?;
183
- private resizeObserver?;
184
- private prefersReducedMotion;
185
- private resizeTimeout?;
186
- private readonly defaultColors;
187
- static styles: lit.CSSResult;
188
- connectedCallback(): void;
189
- disconnectedCallback(): void;
190
- firstUpdated(): void;
191
- updated(changedProperties: Map<string, any>): void;
192
- private measureWidth;
193
- private getChartData;
194
- private getSeriesConfig;
195
- private getSeriesColor;
196
- private formatXValue;
197
- private calculateScales;
198
- private handleBarHover;
199
- private handlePointHover;
200
- private handleMouseLeave;
201
- private renderGrid;
202
- private renderAxis;
203
- private renderBarChart;
204
- private renderLineChart;
205
- private renderLegend;
206
- private renderTooltip;
207
- render(): lit_html.TemplateResult<1>;
208
- }
209
-
210
159
  type CheckboxState = "default" | "error" | "disabled";
211
160
  type CheckboxStatus = "unchecked" | "checked" | "indeterminate";
212
161
  declare class RelCheckbox extends LitElement {
@@ -214,8 +163,16 @@ declare class RelCheckbox extends LitElement {
214
163
  supportingtext: string;
215
164
  state: CheckboxState;
216
165
  status: CheckboxStatus;
166
+ value: string;
167
+ get checked(): boolean;
168
+ set checked(val: boolean);
169
+ private _onChange;
170
+ private _onTouched;
217
171
  static styles: lit.CSSResult;
218
172
  private toggle;
173
+ registerOnChange(fn: (value: boolean) => void): void;
174
+ registerOnTouched(fn: () => void): void;
175
+ writeValue(checked: boolean): void;
219
176
  render(): lit_html.TemplateResult<1>;
220
177
  }
221
178
 
@@ -301,9 +258,21 @@ declare class RelContainer extends LitElement {
301
258
  declare class RelDivider extends LitElement {
302
259
  orientation: "horizontal" | "vertical";
303
260
  static styles: lit.CSSResult;
261
+ connectedCallback(): void;
262
+ updated(): void;
304
263
  render(): lit_html.TemplateResult<1>;
305
264
  }
306
265
 
266
+ declare class RelDrawerFooter extends LitElement {
267
+ static styles: lit.CSSResult;
268
+ render(): lit_html.TemplateResult<1>;
269
+ }
270
+ declare global {
271
+ interface HTMLElementTagNameMap {
272
+ "rel-drawer-footer": RelDrawerFooter;
273
+ }
274
+ }
275
+
307
276
  type DrawerSide = "bottom" | "left" | "right" | "top";
308
277
  type DrawerCloseReason = "backdrop" | "escape" | "drag" | "programmatic";
309
278
  declare class RelDrawer extends LitElement {
@@ -319,6 +288,8 @@ declare class RelDrawer extends LitElement {
319
288
  maxHeight: string;
320
289
  width: string;
321
290
  disabled: boolean;
291
+ title: string;
292
+ description: string;
322
293
  private isDragging;
323
294
  private dragOffset;
324
295
  private panelElement;
@@ -383,11 +354,21 @@ interface MenuItem {
383
354
  submenu?: MenuItem[];
384
355
  open?: boolean;
385
356
  }
357
+ declare class RelMenuItem extends LitElement {
358
+ label: string;
359
+ value: string;
360
+ disabled: boolean;
361
+ icon: string;
362
+ render(): lit_html.TemplateResult<1>;
363
+ }
386
364
  declare class RelMenu extends LitElement {
387
365
  type: MenuType;
388
366
  items: MenuItem[];
389
367
  private focusedIndex;
368
+ private _menuItems;
390
369
  static styles: lit.CSSResult;
370
+ private _onSlotChange;
371
+ private get _effectiveItems();
391
372
  connectedCallback(): void;
392
373
  disconnectedCallback(): void;
393
374
  private handleDocumentClick;
@@ -454,16 +435,12 @@ declare class RelNavMenu extends LitElement {
454
435
  private discoverItems;
455
436
  private handleSlotChange;
456
437
  private handleOutsideClick;
438
+ private handleNavItemClick;
439
+ private handleNavItemHover;
457
440
  private openPanel;
458
441
  private closePanel;
459
- private positionPanel;
460
- private handleItemClick;
461
- private handleItemMouseEnter;
462
442
  private handleKeyDown;
463
443
  private focusItem;
464
- private hasItemContent;
465
- private renderDropdownPanel;
466
- private getItemContent;
467
444
  render(): lit_html.TemplateResult<1>;
468
445
  }
469
446
 
@@ -473,11 +450,19 @@ declare class RelNavMenuItem extends LitElement {
473
450
  itemId: string;
474
451
  disabled: boolean;
475
452
  icon: string;
476
- private hasContent;
453
+ /** Promoted from @state so rel-nav-menu can read it as a property. */
454
+ hasContent: boolean;
455
+ /** Set by rel-nav-menu to open/close this item's panel. */
456
+ open: boolean;
477
457
  static styles: lit.CSSResult;
478
458
  connectedCallback(): void;
479
459
  firstUpdated(): void;
460
+ updated(changed: Map<string, any>): void;
461
+ private updateHasContent;
480
462
  private handleSlotChange;
463
+ private positionPanel;
464
+ private handleTriggerClick;
465
+ private handleTriggerMouseEnter;
481
466
  get triggerId(): string;
482
467
  get panelId(): string;
483
468
  render(): lit_html.TemplateResult<1>;
@@ -488,13 +473,197 @@ declare class RelNavMenuPanel extends LitElement {
488
473
  render(): lit_html.TemplateResult<1>;
489
474
  }
490
475
 
476
+ /**
477
+ * @deprecated rel-navbar is deprecated and will be removed in a future release.
478
+ * Use rel-topbar and its sub-components instead:
479
+ * rel-topbar, rel-topbar-brand, rel-topbar-actions, rel-topbar-utilities,
480
+ * rel-topbar-item, rel-topbar-dropdown, rel-topbar-dropdown-item
481
+ */
491
482
  declare class RelNavbar extends LitElement {
483
+ constructor();
492
484
  sticky: boolean;
493
485
  device: "desktop" | "tablet" | "mobile";
494
486
  static styles: lit.CSSResult;
495
487
  render(): lit_html.TemplateResult<1>;
496
488
  }
497
489
 
490
+ declare class RelTopbarBrand extends LitElement {
491
+ src: string;
492
+ href: string;
493
+ label: string;
494
+ static styles: lit.CSSResult;
495
+ render(): lit_html.TemplateResult<1>;
496
+ }
497
+ declare global {
498
+ interface HTMLElementTagNameMap {
499
+ "rel-topbar-brand": RelTopbarBrand;
500
+ }
501
+ }
502
+
503
+ declare class RelTopbarActions extends LitElement {
504
+ static styles: lit.CSSResult;
505
+ render(): lit_html.TemplateResult<1>;
506
+ }
507
+ declare global {
508
+ interface HTMLElementTagNameMap {
509
+ "rel-topbar-actions": RelTopbarActions;
510
+ }
511
+ }
512
+
513
+ declare class RelTopbarUtilities extends LitElement {
514
+ static styles: lit.CSSResult;
515
+ render(): lit_html.TemplateResult<1>;
516
+ }
517
+ declare global {
518
+ interface HTMLElementTagNameMap {
519
+ "rel-topbar-utilities": RelTopbarUtilities;
520
+ }
521
+ }
522
+
523
+ declare class RelTopbarMobilePanel extends LitElement {
524
+ static styles: lit.CSSResult;
525
+ render(): lit_html.TemplateResult<1>;
526
+ }
527
+ declare global {
528
+ interface HTMLElementTagNameMap {
529
+ "rel-topbar-mobile-panel": RelTopbarMobilePanel;
530
+ }
531
+ }
532
+
533
+ type TopbarVariant = "customer" | "carrier";
534
+ type TopbarForceLayout = "auto" | "desktop" | "tablet" | "mobile";
535
+ /**
536
+ * `rel-topbar` — Application-level top navigation / header shell.
537
+ *
538
+ * Slots:
539
+ * brand — Logo / wordmark region (left)
540
+ * (default) — Primary nav items (rel-topbar-item elements)
541
+ * actions — CTA / action buttons (customer) or dark-pill area (carrier)
542
+ * utilities — Utility icon buttons (notifications, search, etc.)
543
+ * profile — rel-topbar-profile tile
544
+ * mobile-panel — Collapsed nav panel shown when mobileOpen is true
545
+ *
546
+ * Events:
547
+ * rel-menu-toggle — fired when hamburger is clicked { open: boolean }
548
+ * rel-mobile-open-change — alias of rel-menu-toggle for convenience
549
+ * rel-nav-select — bubbled from child rel-topbar-item { value, label }
550
+ */
551
+ declare class RelTopbar extends LitElement {
552
+ /** Visual variant — affects action/profile region styling */
553
+ variant: TopbarVariant;
554
+ /** Whether the mobile nav panel is currently open */
555
+ mobileOpen: boolean;
556
+ /** Whether to render the hamburger / close toggle button */
557
+ showMenuToggle: boolean;
558
+ /** Reduce height to compact (48 px) mode */
559
+ compact: boolean;
560
+ /** Stick topbar to top of viewport while scrolling */
561
+ sticky: boolean;
562
+ /**
563
+ * Override the responsive layout for demos / storybook.
564
+ * 'auto' respects CSS media queries.
565
+ */
566
+ forceLayout: TopbarForceLayout;
567
+ static styles: lit.CSSResult;
568
+ private onRouterSlotChange;
569
+ private get layoutClass();
570
+ private handleMenuToggle;
571
+ render(): lit_html.TemplateResult<1>;
572
+ }
573
+
574
+ declare class RelTopbarDropdown extends LitElement {
575
+ static styles: lit.CSSResult;
576
+ render(): lit_html.TemplateResult<1>;
577
+ }
578
+ declare global {
579
+ interface HTMLElementTagNameMap {
580
+ "rel-topbar-dropdown": RelTopbarDropdown;
581
+ }
582
+ }
583
+
584
+ declare class RelTopbarDropdownItem extends LitElement {
585
+ label: string;
586
+ href: string;
587
+ static styles: lit.CSSResult;
588
+ render(): lit_html.TemplateResult<1>;
589
+ }
590
+ declare global {
591
+ interface HTMLElementTagNameMap {
592
+ "rel-topbar-dropdown-item": RelTopbarDropdownItem;
593
+ }
594
+ }
595
+
596
+ /**
597
+ * `rel-topbar-item` — A navigation item within rel-topbar.
598
+ *
599
+ * Renders as an `<a>` when `href` is supplied, otherwise a `<button>`.
600
+ *
601
+ * Slots:
602
+ * (default) — Label text / icon (overrides `label` property)
603
+ * prefix — Icon/content before the label
604
+ * suffix — Icon/content after the label (e.g. badge)
605
+ * dropdown — Expandable panel content shown below the item
606
+ *
607
+ * Events:
608
+ * rel-select — fired when a non-disabled, non-expandable item is activated
609
+ * rel-toggle — fired when an expandable item is opened/closed { open: boolean }
610
+ */
611
+ declare class RelTopbarItem extends LitElement {
612
+ /** Accessible label — also shown as text when no default slot content */
613
+ label?: string;
614
+ /** Navigation href — renders an anchor element when set */
615
+ href?: string;
616
+ /** Marks this item as the current/active page */
617
+ active: boolean;
618
+ /** Prevents interaction */
619
+ disabled: boolean;
620
+ /** Shows a chevron and enables dropdown panel */
621
+ expandable: boolean;
622
+ /** Controlled open state of the dropdown panel */
623
+ open: boolean;
624
+ /** Optional string value forwarded in rel-select / rel-toggle events */
625
+ value?: string;
626
+ /** @internal tracks whether dropdown slot has content */
627
+ private _hasDropdown;
628
+ static styles: lit.CSSResult;
629
+ connectedCallback(): void;
630
+ disconnectedCallback(): void;
631
+ private _handleOutsideClick;
632
+ private _handleDocKeydown;
633
+ private _setOpen;
634
+ private _handleTriggerClick;
635
+ private _routeSlots;
636
+ private _handleDropdownSlotChange;
637
+ render(): lit_html.TemplateResult<1>;
638
+ }
639
+
640
+ type TopbarProfileType = "avatar" | "carrier";
641
+ type TopbarRewardTier = "gold" | "silver" | "platinum" | "bronze" | "regular";
642
+ /**
643
+ * `rel-topbar-profile` — Profile / user tile for the topbar right region.
644
+ *
645
+ * type="avatar" Customer avatar with initials circle + optional name/subtitle.
646
+ * type="carrier" Carrier reward tile with reward-tier badge + name/subtitle.
647
+ */
648
+ declare class RelTopbarProfile extends LitElement {
649
+ /** Visual mode */
650
+ type: TopbarProfileType;
651
+ /** One or two initials shown in the avatar circle */
652
+ initials?: string;
653
+ /** Primary display name */
654
+ name?: string;
655
+ /** Secondary line (role, plan, etc.) */
656
+ subtitle?: string;
657
+ /** Reward tier — only meaningful when type="carrier" */
658
+ reward: TopbarRewardTier;
659
+ /** Compact mode — avatar only, no text */
660
+ compact: boolean;
661
+ static styles: lit.CSSResult;
662
+ render(): lit_html.TemplateResult<1>;
663
+ private _renderAvatar;
664
+ private _renderCarrier;
665
+ }
666
+
498
667
  type OtpType = "numeric" | "alphanumeric";
499
668
  declare class RelOtp extends LitElement {
500
669
  value: string;
@@ -566,6 +735,7 @@ declare class RelPagination extends LitElement {
566
735
  private get activePage();
567
736
  private generatePageItems;
568
737
  private handlePageChange;
738
+ private getHref;
569
739
  private handleKeyDown;
570
740
  private renderPrevIcon;
571
741
  private renderNextIcon;
@@ -591,6 +761,7 @@ declare class RelPopover extends LitElement {
591
761
  private contentWrapper;
592
762
  private triggerEl;
593
763
  private returnFocusEl;
764
+ private uniqueId;
594
765
  static styles: lit.CSSResult;
595
766
  connectedCallback(): void;
596
767
  disconnectedCallback(): void;
@@ -611,6 +782,7 @@ declare class RelPopover extends LitElement {
611
782
  private trapFocusLoop;
612
783
  private getFocusable;
613
784
  private updatePosition;
785
+ private onTriggerSlotChange;
614
786
  private applyTriggerAria;
615
787
  render(): lit_html.TemplateResult<1>;
616
788
  }
@@ -641,37 +813,6 @@ declare class RelProgress extends LitElement {
641
813
  render(): lit_html.TemplateResult<1>;
642
814
  }
643
815
 
644
- interface QuoteFormData {
645
- pickupLocation: string;
646
- dropoffLocation: string;
647
- serviceLevel: "standard" | "guaranteed";
648
- originType: "commercial" | "residential";
649
- destinationType: "commercial" | "residential";
650
- loadingRequirements: string;
651
- deliveryRequirements: string;
652
- loadingLimitedAccessType: string;
653
- deliveryLimitedAccessType: string;
654
- pickupDate: string;
655
- isHazmat: boolean;
656
- commodity: string;
657
- commodityDescription: string;
658
- handlingUnits: number;
659
- handlingType: string;
660
- length: number;
661
- width: number;
662
- height: number;
663
- totalWeight: number;
664
- class: string;
665
- insuredValue: number;
666
- nmfcNumber: string;
667
- }
668
- declare class RelQuotePage extends LitElement {
669
- private formData;
670
- static styles: lit.CSSResult;
671
- private updateField;
672
- render(): lit_html.TemplateResult<1>;
673
- }
674
-
675
816
  interface RadioOption {
676
817
  value: string;
677
818
  label: string;
@@ -684,8 +825,15 @@ declare class RelRadio extends LitElement {
684
825
  name: string;
685
826
  selectedValue: string | null;
686
827
  disabled: boolean;
828
+ value: string;
829
+ checked: boolean;
830
+ private _onChange;
831
+ private _onTouched;
687
832
  static styles: lit.CSSResult;
688
833
  private onChange;
834
+ registerOnChange(fn: (value: string) => void): void;
835
+ registerOnTouched(fn: () => void): void;
836
+ writeValue(value: string): void;
689
837
  private renderOption;
690
838
  render(): lit_html.TemplateResult<1>;
691
839
  }
@@ -872,146 +1020,6 @@ declare class RelSheetClose extends LitElement {
872
1020
  render(): lit_html.TemplateResult<1>;
873
1021
  }
874
1022
 
875
- type SidebarVariant = "sidebar" | "floating" | "inset";
876
- type SidebarSide = "left" | "right";
877
- type SidebarCollapsible = "offcanvas" | "icon" | "none";
878
- type SidebarWidth = "sm" | "md" | "lg";
879
- type SidebarChangeReason = "trigger" | "rail" | "overlay" | "escape" | "shortcut" | "api";
880
- declare class RelSidebarProvider extends LitElement {
881
- open?: boolean;
882
- defaultOpen: boolean;
883
- collapsed?: boolean;
884
- defaultCollapsed: boolean;
885
- variant: SidebarVariant;
886
- side: SidebarSide;
887
- collapsible: SidebarCollapsible;
888
- width: SidebarWidth;
889
- persistKey: string;
890
- keyboardShortcut: boolean;
891
- disablePersist: boolean;
892
- disableOverlayClose: boolean;
893
- private internalOpen;
894
- private internalCollapsed;
895
- isMobile: boolean;
896
- private mediaQuery;
897
- private isInitialized;
898
- static styles: lit.CSSResult;
899
- connectedCallback(): void;
900
- disconnectedCallback(): void;
901
- updated(changed: Map<string, unknown>): void;
902
- private isOpenControlled;
903
- private isCollapsedControlled;
904
- get activeOpen(): boolean;
905
- get activeCollapsed(): boolean;
906
- private setupMediaQuery;
907
- private handleMediaChange;
908
- private isOffcanvasMode;
909
- private loadInitialState;
910
- private getPersistedState;
911
- private loadPersistedState;
912
- private persistState;
913
- private handleKeyDown;
914
- setOpen(next: boolean, reason?: SidebarChangeReason): void;
915
- setCollapsed(next: boolean, reason?: SidebarChangeReason): void;
916
- private dispatchChangeEvent;
917
- private notifyStateChange;
918
- render(): lit_html.TemplateResult<1>;
919
- }
920
- declare class RelSidebar extends LitElement {
921
- inset: boolean;
922
- private isOpen;
923
- private isCollapsed;
924
- private isMobile;
925
- private side;
926
- private variant;
927
- private collapsible;
928
- private width;
929
- private containerElement;
930
- private provider;
931
- private triggerElement;
932
- private originalBodyOverflow;
933
- private originalBodyPaddingRight;
934
- static styles: lit.CSSResult;
935
- connectedCallback(): void;
936
- disconnectedCallback(): void;
937
- private findProvider;
938
- private syncState;
939
- private handleStateChange;
940
- private isOffcanvasMode;
941
- private lockScroll;
942
- private unlockScroll;
943
- private setupFocusTrap;
944
- private removeFocusTrap;
945
- private getFocusableElements;
946
- private handleKeydown;
947
- private handleOverlayClick;
948
- private cleanup;
949
- private getWidthValue;
950
- render(): lit_html.TemplateResult<1>;
951
- }
952
- declare class RelSidebarTrigger extends LitElement {
953
- private isOpen;
954
- private isCollapsed;
955
- private provider;
956
- static styles: lit.CSSResult;
957
- connectedCallback(): void;
958
- disconnectedCallback(): void;
959
- private findProvider;
960
- private syncState;
961
- private handleStateChange;
962
- private handleClick;
963
- render(): lit_html.TemplateResult<1>;
964
- }
965
- declare class RelSidebarHeader extends LitElement {
966
- static styles: lit.CSSResult;
967
- render(): lit_html.TemplateResult<1>;
968
- }
969
- declare class RelSidebarContent extends LitElement {
970
- static styles: lit.CSSResult;
971
- render(): lit_html.TemplateResult<1>;
972
- }
973
- declare class RelSidebarFooter extends LitElement {
974
- static styles: lit.CSSResult;
975
- render(): lit_html.TemplateResult<1>;
976
- }
977
- declare class RelSidebarGroup extends LitElement {
978
- static styles: lit.CSSResult;
979
- render(): lit_html.TemplateResult<1>;
980
- }
981
- declare class RelSidebarGroupLabel extends LitElement {
982
- static styles: lit.CSSResult;
983
- render(): lit_html.TemplateResult<1>;
984
- }
985
- declare class RelSidebarGroupContent extends LitElement {
986
- static styles: lit.CSSResult;
987
- render(): lit_html.TemplateResult<1>;
988
- }
989
- declare class RelSidebarMenu extends LitElement {
990
- static styles: lit.CSSResult;
991
- connectedCallback(): void;
992
- disconnectedCallback(): void;
993
- private handleKeyDown;
994
- render(): lit_html.TemplateResult<1>;
995
- }
996
- declare class RelSidebarMenuItem extends LitElement {
997
- static styles: lit.CSSResult;
998
- render(): lit_html.TemplateResult<1>;
999
- }
1000
- declare class RelSidebarMenuButton extends LitElement {
1001
- active: boolean;
1002
- disabled: boolean;
1003
- tooltip: string;
1004
- private isCollapsed;
1005
- private provider;
1006
- static styles: lit.CSSResult;
1007
- connectedCallback(): void;
1008
- disconnectedCallback(): void;
1009
- private findProvider;
1010
- private syncState;
1011
- private handleStateChange;
1012
- render(): lit_html.TemplateResult<1>;
1013
- }
1014
-
1015
1023
  type SliderType = "continuous" | "discrete";
1016
1024
  type TrackStyle = "solid" | "dotted";
1017
1025
  declare class RelSlider extends LitElement {
@@ -1025,6 +1033,8 @@ declare class RelSlider extends LitElement {
1025
1033
  showBubble: boolean;
1026
1034
  value: number;
1027
1035
  private ticks;
1036
+ private _onChange;
1037
+ private _onTouched;
1028
1038
  static styles: lit.CSSResult;
1029
1039
  connectedCallback(): void;
1030
1040
  updated(changedProperties: Map<string, any>): void;
@@ -1033,6 +1043,9 @@ declare class RelSlider extends LitElement {
1033
1043
  private getTickLeftPct;
1034
1044
  private isTickActive;
1035
1045
  private onInput;
1046
+ registerOnChange(fn: (value: number) => void): void;
1047
+ registerOnTouched(fn: () => void): void;
1048
+ writeValue(value: number): void;
1036
1049
  private updateActiveWidth;
1037
1050
  private renderThumbContainer;
1038
1051
  private renderTicks;
@@ -1050,14 +1063,16 @@ declare class RelSnackbar extends LitElement {
1050
1063
  lines: SnackbarLines;
1051
1064
  duration: number;
1052
1065
  type: SnackbarType;
1066
+ show: boolean;
1053
1067
  private visible;
1054
- private timeout;
1068
+ private _dismissTimer;
1055
1069
  static styles: lit.CSSResult;
1056
1070
  connectedCallback(): void;
1071
+ willUpdate(changed: Map<string, unknown>): void;
1057
1072
  updated(changed: Map<string, unknown>): void;
1058
1073
  disconnectedCallback(): void;
1059
1074
  private setAutoDismiss;
1060
- private clearTimeout;
1075
+ private clearDismissTimer;
1061
1076
  private onActionClick;
1062
1077
  private dismiss;
1063
1078
  private getIcon;
@@ -1090,10 +1105,16 @@ declare class RelStepper extends LitElement {
1090
1105
  declare class RelSwitch extends LitElement {
1091
1106
  checked: boolean;
1092
1107
  disabled: boolean;
1108
+ value: string;
1109
+ private _onChange;
1110
+ private _onTouched;
1093
1111
  private isFocused;
1094
1112
  private isPressed;
1095
1113
  static styles: lit.CSSResult;
1096
1114
  private toggle;
1115
+ registerOnChange(fn: (value: boolean) => void): void;
1116
+ registerOnTouched(fn: () => void): void;
1117
+ writeValue(checked: boolean): void;
1097
1118
  private handleFocus;
1098
1119
  private handleBlur;
1099
1120
  private handleMouseDown;
@@ -1106,64 +1127,26 @@ interface TabItem {
1106
1127
  badge?: number;
1107
1128
  disabled?: boolean;
1108
1129
  }
1130
+ declare class RelTabItem extends LitElement {
1131
+ label: string;
1132
+ value: string;
1133
+ badge: number;
1134
+ disabled: boolean;
1135
+ render(): lit_html.TemplateResult<1>;
1136
+ }
1109
1137
  declare class RelTab extends LitElement {
1110
1138
  tabs: TabItem[];
1111
1139
  activeIndex: number;
1140
+ private _tabItems;
1112
1141
  static styles: lit.CSSResult;
1142
+ private _onSlotChange;
1143
+ private get _effectiveTabs();
1113
1144
  private selectTab;
1114
1145
  private onKeyDown;
1115
1146
  render(): lit_html.TemplateResult<1>;
1116
1147
  }
1117
1148
 
1118
- declare class RelTable extends LitElement {
1119
- bordered: boolean;
1120
- compact: boolean;
1121
- static styles: lit.CSSResult;
1122
- render(): lit_html.TemplateResult<1>;
1123
- }
1124
-
1125
- declare class RelTableHeader extends LitElement {
1126
- static styles: lit.CSSResult;
1127
- render(): lit_html.TemplateResult<1>;
1128
- }
1129
-
1130
- declare class RelTableBody extends LitElement {
1131
- static styles: lit.CSSResult;
1132
- render(): lit_html.TemplateResult<1>;
1133
- }
1134
-
1135
- declare class RelTableFooter extends LitElement {
1136
- static styles: lit.CSSResult;
1137
- render(): lit_html.TemplateResult<1>;
1138
- }
1139
-
1140
- declare class RelTableRow extends LitElement {
1141
- selected: boolean;
1142
- static styles: lit.CSSResult;
1143
- render(): lit_html.TemplateResult<1>;
1144
- }
1145
-
1146
- declare class RelTableHead extends LitElement {
1147
- align: "left" | "center" | "right";
1148
- static styles: lit.CSSResult;
1149
- render(): lit_html.TemplateResult<1>;
1150
- }
1151
-
1152
- declare class RelTableCell extends LitElement {
1153
- align: "left" | "center" | "right";
1154
- colspan?: number;
1155
- static styles: lit.CSSResult;
1156
- render(): lit_html.TemplateResult<1>;
1157
- updated(changedProperties: Map<string, any>): void;
1158
- connectedCallback(): void;
1159
- }
1160
-
1161
- declare class RelTableCaption extends LitElement {
1162
- static styles: lit.CSSResult;
1163
- render(): lit_html.TemplateResult<1>;
1164
- }
1165
-
1166
- type TextFieldState = "default" | "focused" | "error" | "disabled";
1149
+ type TextFieldState = "default" | "error" | "disabled";
1167
1150
  type TextFieldSize = "small" | "medium" | "large";
1168
1151
  declare class RelTextfield extends LitElement {
1169
1152
  label?: string;
@@ -1176,8 +1159,8 @@ declare class RelTextfield extends LitElement {
1176
1159
  state: TextFieldState;
1177
1160
  size: TextFieldSize;
1178
1161
  private internalState;
1162
+ private uniqueId;
1179
1163
  static styles: lit.CSSResult;
1180
- private get currentState();
1181
1164
  private handleFocus;
1182
1165
  private handleBlur;
1183
1166
  private handleInput;
@@ -1190,10 +1173,13 @@ declare class RelToast extends LitElement {
1190
1173
  type: ToastType;
1191
1174
  actionLabel?: string;
1192
1175
  duration: number;
1176
+ show: boolean;
1193
1177
  private visible;
1194
- private timeoutId?;
1178
+ private _dismissTimer;
1195
1179
  static styles: lit.CSSResult;
1196
- show(): void;
1180
+ willUpdate(changed: Map<string, unknown>): void;
1181
+ disconnectedCallback(): void;
1182
+ open(): void;
1197
1183
  close(): void;
1198
1184
  private handleActionClick;
1199
1185
  render(): lit_html.TemplateResult<1>;
@@ -1204,8 +1190,11 @@ declare class RelTooltip extends LitElement {
1204
1190
  text: string;
1205
1191
  position: TooltipPosition;
1206
1192
  showTail: boolean;
1193
+ private uniqueId;
1207
1194
  static styles: lit.CSSResult;
1195
+ firstUpdated(): void;
1196
+ private linkTrigger;
1208
1197
  render(): lit_html.TemplateResult<1>;
1209
1198
  }
1210
1199
 
1211
- export { type BreadcrumbItem, type DrawerCloseReason, type DrawerSide, type MenuItem, type MenuType, type Orientation, type OtpType, type ProgressMode, type QuoteFormData, type RadioOption, RelAccordion, RelAlert, RelAvatar, RelBadge, RelBreadcrumbs, RelButton, RelCalendar, RelCard, RelCardMedia, RelCarousel, RelChart, RelCheckbox, RelChip, RelContainer, RelDatePicker, RelDivider, RelDrawer, RelKbd, RelLayout, RelMenu, RelMenubar, RelMenubarMenu, RelNavMenu, RelNavMenuItem, RelNavMenuPanel, RelNavbar, RelOtp, RelPagination, RelPopover, RelPopoverContent, RelProgress, RelQuotePage, RelRadio, RelResizableGroup, RelResizableHandle, RelResizablePanel, RelSegmentedButton, RelSelect, RelSheet, RelSheetClose, RelSheetContent, RelSheetDescription, RelSheetFooter, RelSheetHeader, RelSheetTitle, RelSheetTrigger, RelSidebar, RelSidebarContent, RelSidebarFooter, RelSidebarGroup, RelSidebarGroupContent, RelSidebarGroupLabel, RelSidebarHeader, RelSidebarMenu, RelSidebarMenuButton, RelSidebarMenuItem, RelSidebarProvider, RelSidebarTrigger, RelSlider, RelSnackbar, RelStepper, RelSwitch, RelTab, RelTable, RelTableBody, RelTableCaption, RelTableCell, RelTableFooter, RelTableHead, RelTableHeader, RelTableRow, RelTextfield, RelToast, RelTooltip, type SegmentAlign, type SegmentOption, type SegmentSize, type SelectBorder, type SelectSize, type SelectState, type SheetCloseReason, type SheetSide, type SheetSize, type SidebarChangeReason, type SidebarCollapsible, type SidebarSide, type SidebarVariant, type SidebarWidth, type SliderType, type SnackbarLines, type SnackbarType, type Step, type StepStatus, type StepperSize, type TabItem, type TextAlign, type TextFieldSize, type TextFieldState, type ToastType, type TooltipPosition, type TrackStyle };
1200
+ export { type BreadcrumbItem, type DrawerCloseReason, type DrawerSide, type MenuItem, type MenuType, type Orientation, type OtpType, type ProgressMode, type RadioOption, RelAccordion, RelAlert, RelAvatar, RelBadge, RelBreadcrumbs, RelButton, RelCalendar, RelCard, RelCardMedia, RelCarousel, RelCheckbox, RelChip, RelContainer, RelDatePicker, RelDivider, RelDrawer, RelDrawerFooter, RelKbd, RelLayout, RelMenu, RelMenuItem, RelMenubar, RelMenubarMenu, RelNavMenu, RelNavMenuItem, RelNavMenuPanel, RelNavbar, RelOtp, RelPagination, RelPopover, RelPopoverContent, RelProgress, RelRadio, RelResizableGroup, RelResizableHandle, RelResizablePanel, RelSegmentedButton, RelSelect, RelSheet, RelSheetClose, RelSheetContent, RelSheetDescription, RelSheetFooter, RelSheetHeader, RelSheetTitle, RelSheetTrigger, RelSlider, RelSnackbar, RelStepper, RelSwitch, RelTab, RelTabItem, RelTextfield, RelToast, RelTooltip, RelTopbar, RelTopbarActions, RelTopbarBrand, RelTopbarDropdown, RelTopbarDropdownItem, RelTopbarItem, RelTopbarMobilePanel, RelTopbarProfile, RelTopbarUtilities, type SegmentAlign, type SegmentOption, type SegmentSize, type SelectBorder, type SelectSize, type SelectState, type SheetCloseReason, type SheetSide, type SheetSize, type SliderType, type SnackbarLines, type SnackbarType, type Step, type StepStatus, type StepperSize, type TabItem, type TextAlign, type TextFieldSize, type TextFieldState, type ToastType, type TooltipPosition, type TopbarForceLayout, type TopbarProfileType, type TopbarRewardTier, type TopbarVariant, type TrackStyle };