@roadtrip/components 3.30.0 → 3.31.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 (68) hide show
  1. package/dist/cjs/index-12592729.js +16 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/road-badge_14.cjs.entry.js +2 -2
  4. package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
  5. package/dist/cjs/road-global-navigation-v2.cjs.entry.js +146 -0
  6. package/dist/cjs/road-global-navigation-v2.cjs.entry.js.map +1 -0
  7. package/dist/cjs/road-navbar-item-v2.cjs.entry.js +83 -0
  8. package/dist/cjs/road-navbar-item-v2.cjs.entry.js.map +1 -0
  9. package/dist/cjs/road-navbar-v2.cjs.entry.js +46 -0
  10. package/dist/cjs/road-navbar-v2.cjs.entry.js.map +1 -0
  11. package/dist/cjs/road-toolbar-v2.cjs.entry.js +21 -0
  12. package/dist/cjs/road-toolbar-v2.cjs.entry.js.map +1 -0
  13. package/dist/cjs/roadtrip.cjs.js +1 -1
  14. package/dist/collection/collection-manifest.json +4 -0
  15. package/dist/collection/components/drawer/drawer.css +1 -0
  16. package/dist/collection/components/global-navigation-v2/global-navigation-v2.css +14 -0
  17. package/dist/collection/components/global-navigation-v2/global-navigation-v2.js +231 -0
  18. package/dist/collection/components/global-navigation-v2/global-navigation-v2.js.map +1 -0
  19. package/dist/collection/components/global-navigation-v2/global-navigation-v2.stories.js +446 -0
  20. package/dist/collection/components/icon/icon.css +1 -1
  21. package/dist/collection/components/navbar-item-v2/navbar-item-v2.css +221 -0
  22. package/dist/collection/components/navbar-item-v2/navbar-item-v2.js +268 -0
  23. package/dist/collection/components/navbar-item-v2/navbar-item-v2.js.map +1 -0
  24. package/dist/collection/components/navbar-v2/navbar-v2.css +113 -0
  25. package/dist/collection/components/navbar-v2/navbar-v2.js +143 -0
  26. package/dist/collection/components/navbar-v2/navbar-v2.js.map +1 -0
  27. package/dist/collection/components/navbar-v2/navbar-v2.stories.js +381 -0
  28. package/dist/collection/components/toolbar-v2/toolbar-v2.css +216 -0
  29. package/dist/collection/components/toolbar-v2/toolbar-v2.js +27 -0
  30. package/dist/collection/components/toolbar-v2/toolbar-v2.js.map +1 -0
  31. package/dist/collection/components/toolbar-v2/toolbar-v2.stories.js +90 -0
  32. package/dist/esm/index-52302079.js +16 -0
  33. package/dist/esm/loader.js +1 -1
  34. package/dist/esm/road-badge_14.entry.js +2 -2
  35. package/dist/esm/road-badge_14.entry.js.map +1 -1
  36. package/dist/esm/road-global-navigation-v2.entry.js +142 -0
  37. package/dist/esm/road-global-navigation-v2.entry.js.map +1 -0
  38. package/dist/esm/road-navbar-item-v2.entry.js +79 -0
  39. package/dist/esm/road-navbar-item-v2.entry.js.map +1 -0
  40. package/dist/esm/road-navbar-v2.entry.js +42 -0
  41. package/dist/esm/road-navbar-v2.entry.js.map +1 -0
  42. package/dist/esm/road-toolbar-v2.entry.js +17 -0
  43. package/dist/esm/road-toolbar-v2.entry.js.map +1 -0
  44. package/dist/esm/roadtrip.js +1 -1
  45. package/dist/html.html-data.json +99 -0
  46. package/dist/roadtrip/p-586a101a.entry.js +2 -0
  47. package/dist/roadtrip/p-586a101a.entry.js.map +1 -0
  48. package/dist/roadtrip/p-5bf1b477.entry.js +2 -0
  49. package/dist/roadtrip/p-5bf1b477.entry.js.map +1 -0
  50. package/dist/roadtrip/p-5cdf4e2f.entry.js +2 -0
  51. package/dist/roadtrip/p-5cdf4e2f.entry.js.map +1 -0
  52. package/dist/roadtrip/p-a498e8eb.entry.js +2 -0
  53. package/dist/roadtrip/p-a498e8eb.entry.js.map +1 -0
  54. package/dist/roadtrip/p-e2e3aa1a.entry.js +2 -0
  55. package/dist/roadtrip/p-e2e3aa1a.entry.js.map +1 -0
  56. package/dist/roadtrip/roadtrip.css +1 -1
  57. package/dist/roadtrip/roadtrip.esm.js +1 -1
  58. package/dist/roadtrip/roadtrip.esm.js.map +1 -1
  59. package/dist/types/components/global-navigation-v2/global-navigation-v2.d.ts +32 -0
  60. package/dist/types/components/navbar-item-v2/navbar-item-v2.d.ts +61 -0
  61. package/dist/types/components/navbar-v2/navbar-v2.d.ts +23 -0
  62. package/dist/types/components/toolbar-v2/toolbar-v2.d.ts +11 -0
  63. package/dist/types/components-react.d.ts +81 -0
  64. package/dist/types/components.d.ts +180 -0
  65. package/hydrate/index.js +330 -4
  66. package/package.json +1 -1
  67. package/dist/roadtrip/p-1115f970.entry.js +0 -2
  68. package/dist/roadtrip/p-1115f970.entry.js.map +0 -1
@@ -0,0 +1,32 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import './../../utils/polyfill';
3
+ /**
4
+ * @slot navbar - it should be road-navbar-item elements. Max 5 items on Mobile or add them to the drawer
5
+ */
6
+ export declare class GlobalNavigationV2 {
7
+ /**
8
+ * The selected tab component
9
+ */
10
+ selectedTab?: string;
11
+ selectedTabChanged(): void;
12
+ /** @internal */
13
+ roadnavbarchanged: EventEmitter;
14
+ /** @internal */
15
+ roadNavbarChanged: EventEmitter;
16
+ /** Root element of the component */
17
+ host: HTMLElement;
18
+ onNavbarChanged(ev: CustomEvent): void;
19
+ /** Toggles the compact attribute on <road-navbar-v2> */
20
+ private toggleCompactMode;
21
+ /** Toggles the "justify-content-center" class on the element with "compact-logo" */
22
+ private toggleCompactLogoClass;
23
+ /** Toggles the "rotate" attribute on the <road-icon> inside the <road-button> */
24
+ private toggleIconRotation;
25
+ /** Toggles the "trigger" attribute on <road-tooltip> elements based on the presence of the "compact" attribute on <road-navbar-v2> */
26
+ private toggleTooltips;
27
+ /** Toggles the compact mode and performs all related updates */
28
+ /** Handles click events on road-button or its children */
29
+ onButtonClick(event: MouseEvent): void;
30
+ componentWillLoad(): void;
31
+ render(): any;
32
+ }
@@ -0,0 +1,61 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ /**
3
+ * @slot - Content of the item, it should be road-icon and road-label elements.
4
+ *
5
+ * @part native - The native HTML anchor element that wraps all child elements.
6
+ */
7
+ export declare class NavbarItem {
8
+ el: HTMLRoadNavbarItemElement;
9
+ /**
10
+ * If `true`, the user cannot interact with the tab button.
11
+ */
12
+ disabled: boolean;
13
+ /**
14
+ * This attribute instructs browsers to download a URL instead of navigating to
15
+ * it, so the user will be prompted to save it as a local file. If the attribute
16
+ * has a value, it is used as the pre-filled file name in the Save prompt
17
+ * (the user can still change the file name if they want).
18
+ */
19
+ download: string | undefined;
20
+ /**
21
+ * Contains a URL or a URL fragment that the hyperlink points to.
22
+ * If this property is set, an anchor tag will be rendered.
23
+ */
24
+ href: string | undefined;
25
+ /**
26
+ * Specifies the relationship of the target object to the link object.
27
+ * The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types).
28
+ */
29
+ rel: string | undefined;
30
+ /**
31
+ * The selected tab component
32
+ */
33
+ selected: boolean;
34
+ /**
35
+ * A tab id must be provided for each `road-tab`. It's used internally to reference
36
+ * the selected tab.
37
+ */
38
+ tab?: string;
39
+ /**
40
+ * Specifies where to display the linked URL.
41
+ * Only applies when an `href` is provided.
42
+ * Special keywords: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`.
43
+ */
44
+ target: string | undefined;
45
+ /**
46
+ * Emitted when the tab bar is clicked
47
+ * @internal
48
+ */
49
+ roadnavbaritemclick: EventEmitter;
50
+ /** @internal */
51
+ roadNavbarItemClick: EventEmitter;
52
+ onNavbarChanged(ev: CustomEvent): void;
53
+ /**
54
+ * Watch for changes to `selected` and move focus to this element if `selected` is true.
55
+ */
56
+ handleSelectedChange(newValue: boolean): void;
57
+ private selectTab;
58
+ private onKeyUp;
59
+ private onClick;
60
+ render(): any;
61
+ }
@@ -0,0 +1,23 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import './../../utils/polyfill';
3
+ /**
4
+ * @slot - Content of the navbar, it should be road-navbar-item elements. Max 5 items on Mobile
5
+ */
6
+ export declare class NavbarV2 {
7
+ /**
8
+ * Set to `true` for a compact navbar.
9
+ */
10
+ compact: boolean;
11
+ /**
12
+ * The selected tab component
13
+ */
14
+ selectedTab?: string;
15
+ selectedTabChanged(): void;
16
+ /** @internal */
17
+ roadnavbarchanged: EventEmitter;
18
+ /** @internal */
19
+ roadNavbarChanged: EventEmitter;
20
+ onNavbarChanged(ev: CustomEvent): void;
21
+ componentWillLoad(): void;
22
+ render(): any;
23
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ *
3
+ * @slot - Content is placed between the named slots if provided without a slot.
4
+ * @slot start - Content is placed to the left of the toolbar text and left to primery slot if provided.
5
+ * @slot primary - Content is placed to the left of the toolbar text.
6
+ * @slot secondary - Content is placed to the right of the toolbar text.
7
+ * @slot end - Content is placed to the right of the toolbar text and right to secondary slot if provided.
8
+ */
9
+ export declare class ToolbarV2 {
10
+ render(): any;
11
+ }
@@ -0,0 +1,81 @@
1
+ import type { HTMLProps } from "react";
2
+
3
+ declare module "react/jsx-runtime" {
4
+ namespace JSX {
5
+ interface IntrinsicElements {
6
+ ["road-accordion"]: HTMLProps<AccordionElement>;
7
+ ["road-alert"]: HTMLProps<AlertElement>;
8
+ ["road-area-code"]: HTMLProps<AreaCodeElement>;
9
+ ["road-asset"]: HTMLProps<AssetElement>;
10
+ ["road-autocomplete"]: HTMLProps<AutocompleteElement>;
11
+ ["road-avatar"]: HTMLProps<AvatarElement>;
12
+ ["road-badge"]: HTMLProps<BadgeElement>;
13
+ ["road-banner"]: HTMLProps<BannerElement>;
14
+ ["road-button"]: HTMLProps<ButtonElement>;
15
+ ["road-button-floating"]: HTMLProps<ButtonFloatingElement>;
16
+ ["road-card"]: HTMLProps<CardElement>;
17
+ ["road-carousel"]: HTMLProps<CarouselElement>;
18
+ ["road-carousel-item"]: HTMLProps<CarouselItemElement>;
19
+ ["road-checkbox"]: HTMLProps<CheckboxElement>;
20
+ ["road-chip"]: HTMLProps<ChipElement>;
21
+ ["road-col"]: HTMLProps<ColElement>;
22
+ ["road-collapse"]: HTMLProps<CollapseElement>;
23
+ ["road-content-card"]: HTMLProps<ContentCardElement>;
24
+ ["road-counter"]: HTMLProps<CounterElement>;
25
+ ["road-dialog"]: HTMLProps<DialogElement>;
26
+ ["road-drawer"]: HTMLProps<DrawerElement>;
27
+ ["road-dropdown"]: HTMLProps<DropdownElement>;
28
+ ["road-duration"]: HTMLProps<DurationElement>;
29
+ ["road-flap"]: HTMLProps<FlapElement>;
30
+ ["road-global-navigation"]: HTMLProps<GlobalNavigationElement>;
31
+ ["road-grid"]: HTMLProps<GridElement>;
32
+ ["road-icon"]: HTMLProps<IconElement>;
33
+ ["road-illustration"]: HTMLProps<IllustrationElement>;
34
+ ["road-img"]: HTMLProps<ImgElement>;
35
+ ["road-input"]: HTMLProps<InputElement>;
36
+ ["road-input-group"]: HTMLProps<InputGroupElement>;
37
+ ["road-item"]: HTMLProps<ItemElement>;
38
+ ["road-label"]: HTMLProps<LabelElement>;
39
+ ["road-list"]: HTMLProps<ListElement>;
40
+ ["road-modal"]: HTMLProps<ModalElement>;
41
+ ["road-navbar"]: HTMLProps<NavbarElement>;
42
+ ["road-navbar-item"]: HTMLProps<NavbarItemElement>;
43
+ ["road-phone-number-input"]: HTMLProps<PhoneNumberInputElement>;
44
+ ["road-plate-number"]: HTMLProps<PlateNumberElement>;
45
+ ["road-profil-dropdown"]: HTMLProps<ProfilDropdownElement>;
46
+ ["road-progress"]: HTMLProps<ProgressElement>;
47
+ ["road-progress-indicator-horizontal"]: HTMLProps<ProgressIndicatorHorizontalElement>;
48
+ ["road-progress-indicator-vertical"]: HTMLProps<ProgressIndicatorVerticalElement>;
49
+ ["road-progress-indicator-vertical-item"]: HTMLProps<ProgressIndicatorVerticalItemElement>;
50
+ ["road-progress-tracker"]: HTMLProps<ProgressTrackerElement>;
51
+ ["road-progress-tracker-item"]: HTMLProps<ProgressTrackerItemElement>;
52
+ ["road-radio"]: HTMLProps<RadioElement>;
53
+ ["road-radio-group"]: HTMLProps<RadioGroupElement>;
54
+ ["road-range"]: HTMLProps<RangeElement>;
55
+ ["road-rating"]: HTMLProps<RatingElement>;
56
+ ["road-row"]: HTMLProps<RowElement>;
57
+ ["road-segmented-button"]: HTMLProps<SegmentedButtonElement>;
58
+ ["road-segmented-button-bar"]: HTMLProps<SegmentedButtonBarElement>;
59
+ ["road-segmented-buttons"]: HTMLProps<SegmentedButtonsElement>;
60
+ ["road-select"]: HTMLProps<SelectElement>;
61
+ ["road-select-filter"]: HTMLProps<SelectFilterElement>;
62
+ ["road-skeleton"]: HTMLProps<SkeletonElement>;
63
+ ["road-spinner"]: HTMLProps<SpinnerElement>;
64
+ ["road-switch"]: HTMLProps<SwitchElement>;
65
+ ["road-tab"]: HTMLProps<TabElement>;
66
+ ["road-tab-bar"]: HTMLProps<TabBarElement>;
67
+ ["road-tab-button"]: HTMLProps<TabButtonElement>;
68
+ ["road-table"]: HTMLProps<TableElement>;
69
+ ["road-tabs"]: HTMLProps<TabsElement>;
70
+ ["road-tag"]: HTMLProps<TagElement>;
71
+ ["road-text"]: HTMLProps<TextElement>;
72
+ ["road-textarea"]: HTMLProps<TextareaElement>;
73
+ ["road-toast"]: HTMLProps<ToastElement>;
74
+ ["road-toggle"]: HTMLProps<ToggleElement>;
75
+ ["road-toolbar"]: HTMLProps<ToolbarElement>;
76
+ ["road-toolbar-title"]: HTMLProps<ToolbarTitleElement>;
77
+ ["road-toolbar-title-page"]: HTMLProps<ToolbarTitlePageElement>;
78
+ ["road-tooltip"]: HTMLProps<TooltipElement>;
79
+ }
80
+ }
81
+ }
@@ -579,6 +579,12 @@ export namespace Components {
579
579
  */
580
580
  "selectedTab"?: string;
581
581
  }
582
+ interface RoadGlobalNavigationV2 {
583
+ /**
584
+ * The selected tab component
585
+ */
586
+ "selectedTab"?: string;
587
+ }
582
588
  interface RoadGrid {
583
589
  }
584
590
  interface RoadIcon {
@@ -919,6 +925,46 @@ export namespace Components {
919
925
  */
920
926
  "target": string | undefined;
921
927
  }
928
+ interface RoadNavbarItemV2 {
929
+ /**
930
+ * If `true`, the user cannot interact with the tab button.
931
+ */
932
+ "disabled": boolean;
933
+ /**
934
+ * This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want).
935
+ */
936
+ "download": string | undefined;
937
+ /**
938
+ * Contains a URL or a URL fragment that the hyperlink points to. If this property is set, an anchor tag will be rendered.
939
+ */
940
+ "href": string | undefined;
941
+ /**
942
+ * Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types).
943
+ */
944
+ "rel": string | undefined;
945
+ /**
946
+ * The selected tab component
947
+ */
948
+ "selected": boolean;
949
+ /**
950
+ * A tab id must be provided for each `road-tab`. It's used internally to reference the selected tab.
951
+ */
952
+ "tab"?: string;
953
+ /**
954
+ * Specifies where to display the linked URL. Only applies when an `href` is provided. Special keywords: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`.
955
+ */
956
+ "target": string | undefined;
957
+ }
958
+ interface RoadNavbarV2 {
959
+ /**
960
+ * Set to `true` for a compact navbar.
961
+ */
962
+ "compact": boolean;
963
+ /**
964
+ * The selected tab component
965
+ */
966
+ "selectedTab"?: string;
967
+ }
922
968
  interface RoadPhoneNumberInput {
923
969
  /**
924
970
  * Country selection placeHolder
@@ -1649,6 +1695,8 @@ export namespace Components {
1649
1695
  }
1650
1696
  interface RoadToolbarTitlePage {
1651
1697
  }
1698
+ interface RoadToolbarV2 {
1699
+ }
1652
1700
  interface RoadTooltip {
1653
1701
  /**
1654
1702
  * Close the tooltip.
@@ -1744,6 +1792,10 @@ export interface RoadGlobalNavigationCustomEvent<T> extends CustomEvent<T> {
1744
1792
  detail: T;
1745
1793
  target: HTMLRoadGlobalNavigationElement;
1746
1794
  }
1795
+ export interface RoadGlobalNavigationV2CustomEvent<T> extends CustomEvent<T> {
1796
+ detail: T;
1797
+ target: HTMLRoadGlobalNavigationV2Element;
1798
+ }
1747
1799
  export interface RoadImgCustomEvent<T> extends CustomEvent<T> {
1748
1800
  detail: T;
1749
1801
  target: HTMLRoadImgElement;
@@ -1764,6 +1816,14 @@ export interface RoadNavbarItemCustomEvent<T> extends CustomEvent<T> {
1764
1816
  detail: T;
1765
1817
  target: HTMLRoadNavbarItemElement;
1766
1818
  }
1819
+ export interface RoadNavbarItemV2CustomEvent<T> extends CustomEvent<T> {
1820
+ detail: T;
1821
+ target: HTMLRoadNavbarItemV2Element;
1822
+ }
1823
+ export interface RoadNavbarV2CustomEvent<T> extends CustomEvent<T> {
1824
+ detail: T;
1825
+ target: HTMLRoadNavbarV2Element;
1826
+ }
1767
1827
  export interface RoadPhoneNumberInputCustomEvent<T> extends CustomEvent<T> {
1768
1828
  detail: T;
1769
1829
  target: HTMLRoadPhoneNumberInputElement;
@@ -2196,6 +2256,24 @@ declare global {
2196
2256
  prototype: HTMLRoadGlobalNavigationElement;
2197
2257
  new (): HTMLRoadGlobalNavigationElement;
2198
2258
  };
2259
+ interface HTMLRoadGlobalNavigationV2ElementEventMap {
2260
+ "roadnavbarchanged": any;
2261
+ "roadNavbarChanged": any;
2262
+ }
2263
+ interface HTMLRoadGlobalNavigationV2Element extends Components.RoadGlobalNavigationV2, HTMLStencilElement {
2264
+ addEventListener<K extends keyof HTMLRoadGlobalNavigationV2ElementEventMap>(type: K, listener: (this: HTMLRoadGlobalNavigationV2Element, ev: RoadGlobalNavigationV2CustomEvent<HTMLRoadGlobalNavigationV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
2265
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2266
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2267
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2268
+ removeEventListener<K extends keyof HTMLRoadGlobalNavigationV2ElementEventMap>(type: K, listener: (this: HTMLRoadGlobalNavigationV2Element, ev: RoadGlobalNavigationV2CustomEvent<HTMLRoadGlobalNavigationV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
2269
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2270
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2271
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2272
+ }
2273
+ var HTMLRoadGlobalNavigationV2Element: {
2274
+ prototype: HTMLRoadGlobalNavigationV2Element;
2275
+ new (): HTMLRoadGlobalNavigationV2Element;
2276
+ };
2199
2277
  interface HTMLRoadGridElement extends Components.RoadGrid, HTMLStencilElement {
2200
2278
  }
2201
2279
  var HTMLRoadGridElement: {
@@ -2335,6 +2413,42 @@ declare global {
2335
2413
  prototype: HTMLRoadNavbarItemElement;
2336
2414
  new (): HTMLRoadNavbarItemElement;
2337
2415
  };
2416
+ interface HTMLRoadNavbarItemV2ElementEventMap {
2417
+ "roadnavbaritemclick": any;
2418
+ "roadNavbarItemClick": any;
2419
+ }
2420
+ interface HTMLRoadNavbarItemV2Element extends Components.RoadNavbarItemV2, HTMLStencilElement {
2421
+ addEventListener<K extends keyof HTMLRoadNavbarItemV2ElementEventMap>(type: K, listener: (this: HTMLRoadNavbarItemV2Element, ev: RoadNavbarItemV2CustomEvent<HTMLRoadNavbarItemV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
2422
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2423
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2424
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2425
+ removeEventListener<K extends keyof HTMLRoadNavbarItemV2ElementEventMap>(type: K, listener: (this: HTMLRoadNavbarItemV2Element, ev: RoadNavbarItemV2CustomEvent<HTMLRoadNavbarItemV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
2426
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2427
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2428
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2429
+ }
2430
+ var HTMLRoadNavbarItemV2Element: {
2431
+ prototype: HTMLRoadNavbarItemV2Element;
2432
+ new (): HTMLRoadNavbarItemV2Element;
2433
+ };
2434
+ interface HTMLRoadNavbarV2ElementEventMap {
2435
+ "roadnavbarchanged": any;
2436
+ "roadNavbarChanged": any;
2437
+ }
2438
+ interface HTMLRoadNavbarV2Element extends Components.RoadNavbarV2, HTMLStencilElement {
2439
+ addEventListener<K extends keyof HTMLRoadNavbarV2ElementEventMap>(type: K, listener: (this: HTMLRoadNavbarV2Element, ev: RoadNavbarV2CustomEvent<HTMLRoadNavbarV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
2440
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2441
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2442
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2443
+ removeEventListener<K extends keyof HTMLRoadNavbarV2ElementEventMap>(type: K, listener: (this: HTMLRoadNavbarV2Element, ev: RoadNavbarV2CustomEvent<HTMLRoadNavbarV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
2444
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2445
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2446
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2447
+ }
2448
+ var HTMLRoadNavbarV2Element: {
2449
+ prototype: HTMLRoadNavbarV2Element;
2450
+ new (): HTMLRoadNavbarV2Element;
2451
+ };
2338
2452
  interface HTMLRoadPhoneNumberInputElementEventMap {
2339
2453
  "roadPhoneNumberInput": {
2340
2454
  isError: boolean;
@@ -2824,6 +2938,12 @@ declare global {
2824
2938
  prototype: HTMLRoadToolbarTitlePageElement;
2825
2939
  new (): HTMLRoadToolbarTitlePageElement;
2826
2940
  };
2941
+ interface HTMLRoadToolbarV2Element extends Components.RoadToolbarV2, HTMLStencilElement {
2942
+ }
2943
+ var HTMLRoadToolbarV2Element: {
2944
+ prototype: HTMLRoadToolbarV2Element;
2945
+ new (): HTMLRoadToolbarV2Element;
2946
+ };
2827
2947
  interface HTMLRoadTooltipElement extends Components.RoadTooltip, HTMLStencilElement {
2828
2948
  }
2829
2949
  var HTMLRoadTooltipElement: {
@@ -2856,6 +2976,7 @@ declare global {
2856
2976
  "road-duration": HTMLRoadDurationElement;
2857
2977
  "road-flap": HTMLRoadFlapElement;
2858
2978
  "road-global-navigation": HTMLRoadGlobalNavigationElement;
2979
+ "road-global-navigation-v2": HTMLRoadGlobalNavigationV2Element;
2859
2980
  "road-grid": HTMLRoadGridElement;
2860
2981
  "road-icon": HTMLRoadIconElement;
2861
2982
  "road-illustration": HTMLRoadIllustrationElement;
@@ -2868,6 +2989,8 @@ declare global {
2868
2989
  "road-modal": HTMLRoadModalElement;
2869
2990
  "road-navbar": HTMLRoadNavbarElement;
2870
2991
  "road-navbar-item": HTMLRoadNavbarItemElement;
2992
+ "road-navbar-item-v2": HTMLRoadNavbarItemV2Element;
2993
+ "road-navbar-v2": HTMLRoadNavbarV2Element;
2871
2994
  "road-phone-number-input": HTMLRoadPhoneNumberInputElement;
2872
2995
  "road-plate-number": HTMLRoadPlateNumberElement;
2873
2996
  "road-profil-dropdown": HTMLRoadProfilDropdownElement;
@@ -2903,6 +3026,7 @@ declare global {
2903
3026
  "road-toolbar": HTMLRoadToolbarElement;
2904
3027
  "road-toolbar-title": HTMLRoadToolbarTitleElement;
2905
3028
  "road-toolbar-title-page": HTMLRoadToolbarTitlePageElement;
3029
+ "road-toolbar-v2": HTMLRoadToolbarV2Element;
2906
3030
  "road-tooltip": HTMLRoadTooltipElement;
2907
3031
  }
2908
3032
  }
@@ -3552,6 +3676,12 @@ declare namespace LocalJSX {
3552
3676
  */
3553
3677
  "selectedTab"?: string;
3554
3678
  }
3679
+ interface RoadGlobalNavigationV2 {
3680
+ /**
3681
+ * The selected tab component
3682
+ */
3683
+ "selectedTab"?: string;
3684
+ }
3555
3685
  interface RoadGrid {
3556
3686
  }
3557
3687
  interface RoadIcon {
@@ -3900,6 +4030,46 @@ declare namespace LocalJSX {
3900
4030
  */
3901
4031
  "target"?: string | undefined;
3902
4032
  }
4033
+ interface RoadNavbarItemV2 {
4034
+ /**
4035
+ * If `true`, the user cannot interact with the tab button.
4036
+ */
4037
+ "disabled"?: boolean;
4038
+ /**
4039
+ * This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want).
4040
+ */
4041
+ "download"?: string | undefined;
4042
+ /**
4043
+ * Contains a URL or a URL fragment that the hyperlink points to. If this property is set, an anchor tag will be rendered.
4044
+ */
4045
+ "href"?: string | undefined;
4046
+ /**
4047
+ * Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types).
4048
+ */
4049
+ "rel"?: string | undefined;
4050
+ /**
4051
+ * The selected tab component
4052
+ */
4053
+ "selected"?: boolean;
4054
+ /**
4055
+ * A tab id must be provided for each `road-tab`. It's used internally to reference the selected tab.
4056
+ */
4057
+ "tab"?: string;
4058
+ /**
4059
+ * Specifies where to display the linked URL. Only applies when an `href` is provided. Special keywords: `"_blank"`, `"_self"`, `"_parent"`, `"_top"`.
4060
+ */
4061
+ "target"?: string | undefined;
4062
+ }
4063
+ interface RoadNavbarV2 {
4064
+ /**
4065
+ * Set to `true` for a compact navbar.
4066
+ */
4067
+ "compact"?: boolean;
4068
+ /**
4069
+ * The selected tab component
4070
+ */
4071
+ "selectedTab"?: string;
4072
+ }
3903
4073
  interface RoadPhoneNumberInput {
3904
4074
  /**
3905
4075
  * Country selection placeHolder
@@ -4730,6 +4900,8 @@ declare namespace LocalJSX {
4730
4900
  }
4731
4901
  interface RoadToolbarTitlePage {
4732
4902
  }
4903
+ interface RoadToolbarV2 {
4904
+ }
4733
4905
  interface RoadTooltip {
4734
4906
  /**
4735
4907
  * The tooltip's content.
@@ -4790,6 +4962,7 @@ declare namespace LocalJSX {
4790
4962
  "road-duration": RoadDuration;
4791
4963
  "road-flap": RoadFlap;
4792
4964
  "road-global-navigation": RoadGlobalNavigation;
4965
+ "road-global-navigation-v2": RoadGlobalNavigationV2;
4793
4966
  "road-grid": RoadGrid;
4794
4967
  "road-icon": RoadIcon;
4795
4968
  "road-illustration": RoadIllustration;
@@ -4802,6 +4975,8 @@ declare namespace LocalJSX {
4802
4975
  "road-modal": RoadModal;
4803
4976
  "road-navbar": RoadNavbar;
4804
4977
  "road-navbar-item": RoadNavbarItem;
4978
+ "road-navbar-item-v2": RoadNavbarItemV2;
4979
+ "road-navbar-v2": RoadNavbarV2;
4805
4980
  "road-phone-number-input": RoadPhoneNumberInput;
4806
4981
  "road-plate-number": RoadPlateNumber;
4807
4982
  "road-profil-dropdown": RoadProfilDropdown;
@@ -4837,6 +5012,7 @@ declare namespace LocalJSX {
4837
5012
  "road-toolbar": RoadToolbar;
4838
5013
  "road-toolbar-title": RoadToolbarTitle;
4839
5014
  "road-toolbar-title-page": RoadToolbarTitlePage;
5015
+ "road-toolbar-v2": RoadToolbarV2;
4840
5016
  "road-tooltip": RoadTooltip;
4841
5017
  }
4842
5018
  }
@@ -4869,6 +5045,7 @@ declare module "@stencil/core" {
4869
5045
  "road-duration": LocalJSX.RoadDuration & JSXBase.HTMLAttributes<HTMLRoadDurationElement>;
4870
5046
  "road-flap": LocalJSX.RoadFlap & JSXBase.HTMLAttributes<HTMLRoadFlapElement>;
4871
5047
  "road-global-navigation": LocalJSX.RoadGlobalNavigation & JSXBase.HTMLAttributes<HTMLRoadGlobalNavigationElement>;
5048
+ "road-global-navigation-v2": LocalJSX.RoadGlobalNavigationV2 & JSXBase.HTMLAttributes<HTMLRoadGlobalNavigationV2Element>;
4872
5049
  "road-grid": LocalJSX.RoadGrid & JSXBase.HTMLAttributes<HTMLRoadGridElement>;
4873
5050
  "road-icon": LocalJSX.RoadIcon & JSXBase.HTMLAttributes<HTMLRoadIconElement>;
4874
5051
  "road-illustration": LocalJSX.RoadIllustration & JSXBase.HTMLAttributes<HTMLRoadIllustrationElement>;
@@ -4881,6 +5058,8 @@ declare module "@stencil/core" {
4881
5058
  "road-modal": LocalJSX.RoadModal & JSXBase.HTMLAttributes<HTMLRoadModalElement>;
4882
5059
  "road-navbar": LocalJSX.RoadNavbar & JSXBase.HTMLAttributes<HTMLRoadNavbarElement>;
4883
5060
  "road-navbar-item": LocalJSX.RoadNavbarItem & JSXBase.HTMLAttributes<HTMLRoadNavbarItemElement>;
5061
+ "road-navbar-item-v2": LocalJSX.RoadNavbarItemV2 & JSXBase.HTMLAttributes<HTMLRoadNavbarItemV2Element>;
5062
+ "road-navbar-v2": LocalJSX.RoadNavbarV2 & JSXBase.HTMLAttributes<HTMLRoadNavbarV2Element>;
4884
5063
  "road-phone-number-input": LocalJSX.RoadPhoneNumberInput & JSXBase.HTMLAttributes<HTMLRoadPhoneNumberInputElement>;
4885
5064
  "road-plate-number": LocalJSX.RoadPlateNumber & JSXBase.HTMLAttributes<HTMLRoadPlateNumberElement>;
4886
5065
  "road-profil-dropdown": LocalJSX.RoadProfilDropdown & JSXBase.HTMLAttributes<HTMLRoadProfilDropdownElement>;
@@ -4916,6 +5095,7 @@ declare module "@stencil/core" {
4916
5095
  "road-toolbar": LocalJSX.RoadToolbar & JSXBase.HTMLAttributes<HTMLRoadToolbarElement>;
4917
5096
  "road-toolbar-title": LocalJSX.RoadToolbarTitle & JSXBase.HTMLAttributes<HTMLRoadToolbarTitleElement>;
4918
5097
  "road-toolbar-title-page": LocalJSX.RoadToolbarTitlePage & JSXBase.HTMLAttributes<HTMLRoadToolbarTitlePageElement>;
5098
+ "road-toolbar-v2": LocalJSX.RoadToolbarV2 & JSXBase.HTMLAttributes<HTMLRoadToolbarV2Element>;
4919
5099
  "road-tooltip": LocalJSX.RoadTooltip & JSXBase.HTMLAttributes<HTMLRoadTooltipElement>;
4920
5100
  }
4921
5101
  }