@carbon/ibm-products-web-components 0.20.1 → 0.21.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 (216) hide show
  1. package/custom-elements.json +2374 -352
  2. package/es/components/about-modal/about-modal.scss.js +1 -1
  3. package/es/components/interstitial-screen/index.d.ts +13 -0
  4. package/es/components/interstitial-screen/index.js +13 -0
  5. package/es/components/interstitial-screen/index.js.map +1 -0
  6. package/es/components/interstitial-screen/interstitial-screen-body-item.d.ts +372 -0
  7. package/es/components/interstitial-screen/interstitial-screen-body-item.js +69 -0
  8. package/es/components/interstitial-screen/interstitial-screen-body-item.js.map +1 -0
  9. package/es/components/interstitial-screen/interstitial-screen-body-item.scss.js +13 -0
  10. package/es/components/interstitial-screen/interstitial-screen-body-item.scss.js.map +1 -0
  11. package/es/components/interstitial-screen/interstitial-screen-body.d.ts +384 -0
  12. package/es/components/interstitial-screen/interstitial-screen-body.js +129 -0
  13. package/es/components/interstitial-screen/interstitial-screen-body.js.map +1 -0
  14. package/es/components/interstitial-screen/interstitial-screen-body.scss.js +13 -0
  15. package/es/components/interstitial-screen/interstitial-screen-body.scss.js.map +1 -0
  16. package/es/components/interstitial-screen/interstitial-screen-context.d.ts +18 -0
  17. package/es/components/interstitial-screen/interstitial-screen-context.js +48 -0
  18. package/es/components/interstitial-screen/interstitial-screen-context.js.map +1 -0
  19. package/es/components/interstitial-screen/interstitial-screen-footer.d.ts +409 -0
  20. package/es/components/interstitial-screen/interstitial-screen-footer.js +229 -0
  21. package/es/components/interstitial-screen/interstitial-screen-footer.js.map +1 -0
  22. package/es/components/interstitial-screen/interstitial-screen-footer.scss.js +13 -0
  23. package/es/components/interstitial-screen/interstitial-screen-footer.scss.js.map +1 -0
  24. package/es/components/interstitial-screen/interstitial-screen-header.d.ts +394 -0
  25. package/es/components/interstitial-screen/interstitial-screen-header.js +157 -0
  26. package/es/components/interstitial-screen/interstitial-screen-header.js.map +1 -0
  27. package/es/components/interstitial-screen/interstitial-screen-header.scss.js +13 -0
  28. package/es/components/interstitial-screen/interstitial-screen-header.scss.js.map +1 -0
  29. package/es/components/interstitial-screen/interstitial-screen.d.ts +420 -0
  30. package/es/components/interstitial-screen/interstitial-screen.js +186 -0
  31. package/es/components/interstitial-screen/interstitial-screen.js.map +1 -0
  32. package/es/components/interstitial-screen/interstitial-screen.scss.js +13 -0
  33. package/es/components/interstitial-screen/interstitial-screen.scss.js.map +1 -0
  34. package/es/components/notification-panel/notification-panel.scss.js +1 -1
  35. package/es/components/page-header/_story-assets/overflowHandler.d.ts +98 -0
  36. package/es/components/page-header/_story-assets/overflowHandler.js +156 -0
  37. package/es/components/page-header/_story-assets/overflowHandler.js.map +1 -0
  38. package/es/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +43 -0
  39. package/es/components/page-header/_story-assets/set-of-breadcrumbs.js +153 -0
  40. package/es/components/page-header/_story-assets/set-of-breadcrumbs.js.map +1 -0
  41. package/es/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +13 -0
  42. package/es/components/page-header/_story-assets/set-of-breadcrumbs.scss.js.map +1 -0
  43. package/es/components/page-header/context.d.ts +14 -0
  44. package/es/components/page-header/context.js +26 -0
  45. package/es/components/page-header/context.js.map +1 -0
  46. package/es/components/page-header/index.d.ts +2 -0
  47. package/es/components/page-header/index.js +2 -0
  48. package/es/components/page-header/index.js.map +1 -1
  49. package/es/components/page-header/page-header-scroller.d.ts +56 -0
  50. package/es/components/page-header/page-header-scroller.js +165 -0
  51. package/es/components/page-header/page-header-scroller.js.map +1 -0
  52. package/es/components/page-header/page-header-tabs.js +1 -0
  53. package/es/components/page-header/page-header-tabs.js.map +1 -1
  54. package/es/components/page-header/page-header-title-breadcrumb.d.ts +20 -0
  55. package/es/components/page-header/page-header-title-breadcrumb.js +65 -0
  56. package/es/components/page-header/page-header-title-breadcrumb.js.map +1 -0
  57. package/es/components/page-header/page-header.d.ts +11 -1
  58. package/es/components/page-header/page-header.js +54 -71
  59. package/es/components/page-header/page-header.js.map +1 -1
  60. package/es/components/page-header/page-header.scss.js +1 -1
  61. package/es/components/page-header/page-header.test.js +136 -2
  62. package/es/components/page-header/page-header.test.js.map +1 -1
  63. package/es/components/page-header/utils.d.ts +32 -0
  64. package/es/components/page-header/utils.js +76 -0
  65. package/es/components/page-header/utils.js.map +1 -0
  66. package/es/components/side-panel/side-panel.d.ts +4 -0
  67. package/es/components/side-panel/side-panel.js +20 -5
  68. package/es/components/side-panel/side-panel.js.map +1 -1
  69. package/es/components/tearsheet/tearsheet.scss.js +1 -1
  70. package/es/components/truncated-text/truncated-text.d.ts +16 -11
  71. package/es/components/truncated-text/truncated-text.js +65 -58
  72. package/es/components/truncated-text/truncated-text.js.map +1 -1
  73. package/es/components/truncated-text/truncated-text.scss.js +1 -1
  74. package/es/components/truncated-text/truncated-text.test.js +6 -6
  75. package/es/components/user-avatar/user-avatar.d.ts +8 -0
  76. package/es/components/user-avatar/user-avatar.js +1 -0
  77. package/es/components/user-avatar/user-avatar.js.map +1 -1
  78. package/es/components/user-avatar/user-avatar.scss.js +1 -1
  79. package/es/packages/ibm-products-web-components/package.json.js +1 -1
  80. package/es/utilities/carousel/carousel.d.ts +8 -0
  81. package/es/utilities/carousel/carousel.js +210 -0
  82. package/es/utilities/carousel/carousel.js.map +1 -0
  83. package/es/utilities/carousel/index.d.ts +8 -0
  84. package/es/utilities/carousel/index.js +9 -0
  85. package/es/utilities/carousel/index.js.map +1 -0
  86. package/es/utilities/carousel/swipeEvents.d.ts +7 -0
  87. package/es/utilities/carousel/swipeEvents.js +109 -0
  88. package/es/utilities/carousel/swipeEvents.js.map +1 -0
  89. package/es/utilities/carousel/types.d.ts +36 -0
  90. package/es/utilities/carousel/types.js +8 -0
  91. package/es/utilities/carousel/types.js.map +1 -0
  92. package/es-custom/components/about-modal/about-modal.scss.js +1 -1
  93. package/es-custom/components/interstitial-screen/index.d.ts +13 -0
  94. package/es-custom/components/interstitial-screen/index.js +13 -0
  95. package/es-custom/components/interstitial-screen/index.js.map +1 -0
  96. package/es-custom/components/interstitial-screen/interstitial-screen-body-item.d.ts +372 -0
  97. package/es-custom/components/interstitial-screen/interstitial-screen-body-item.js +69 -0
  98. package/es-custom/components/interstitial-screen/interstitial-screen-body-item.js.map +1 -0
  99. package/es-custom/components/interstitial-screen/interstitial-screen-body-item.scss.js +13 -0
  100. package/es-custom/components/interstitial-screen/interstitial-screen-body-item.scss.js.map +1 -0
  101. package/es-custom/components/interstitial-screen/interstitial-screen-body.d.ts +384 -0
  102. package/es-custom/components/interstitial-screen/interstitial-screen-body.js +129 -0
  103. package/es-custom/components/interstitial-screen/interstitial-screen-body.js.map +1 -0
  104. package/es-custom/components/interstitial-screen/interstitial-screen-body.scss.js +13 -0
  105. package/es-custom/components/interstitial-screen/interstitial-screen-body.scss.js.map +1 -0
  106. package/es-custom/components/interstitial-screen/interstitial-screen-context.d.ts +18 -0
  107. package/es-custom/components/interstitial-screen/interstitial-screen-context.js +48 -0
  108. package/es-custom/components/interstitial-screen/interstitial-screen-context.js.map +1 -0
  109. package/es-custom/components/interstitial-screen/interstitial-screen-footer.d.ts +409 -0
  110. package/es-custom/components/interstitial-screen/interstitial-screen-footer.js +229 -0
  111. package/es-custom/components/interstitial-screen/interstitial-screen-footer.js.map +1 -0
  112. package/es-custom/components/interstitial-screen/interstitial-screen-footer.scss.js +13 -0
  113. package/es-custom/components/interstitial-screen/interstitial-screen-footer.scss.js.map +1 -0
  114. package/es-custom/components/interstitial-screen/interstitial-screen-header.d.ts +394 -0
  115. package/es-custom/components/interstitial-screen/interstitial-screen-header.js +157 -0
  116. package/es-custom/components/interstitial-screen/interstitial-screen-header.js.map +1 -0
  117. package/es-custom/components/interstitial-screen/interstitial-screen-header.scss.js +13 -0
  118. package/es-custom/components/interstitial-screen/interstitial-screen-header.scss.js.map +1 -0
  119. package/es-custom/components/interstitial-screen/interstitial-screen.d.ts +420 -0
  120. package/es-custom/components/interstitial-screen/interstitial-screen.js +186 -0
  121. package/es-custom/components/interstitial-screen/interstitial-screen.js.map +1 -0
  122. package/es-custom/components/interstitial-screen/interstitial-screen.scss.js +13 -0
  123. package/es-custom/components/interstitial-screen/interstitial-screen.scss.js.map +1 -0
  124. package/es-custom/components/notification-panel/notification-panel.scss.js +1 -1
  125. package/es-custom/components/page-header/_story-assets/overflowHandler.d.ts +98 -0
  126. package/es-custom/components/page-header/_story-assets/overflowHandler.js +156 -0
  127. package/es-custom/components/page-header/_story-assets/overflowHandler.js.map +1 -0
  128. package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +43 -0
  129. package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.js +153 -0
  130. package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.js.map +1 -0
  131. package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +13 -0
  132. package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.scss.js.map +1 -0
  133. package/es-custom/components/page-header/context.d.ts +14 -0
  134. package/es-custom/components/page-header/context.js +26 -0
  135. package/es-custom/components/page-header/context.js.map +1 -0
  136. package/es-custom/components/page-header/index.d.ts +2 -0
  137. package/es-custom/components/page-header/index.js +2 -0
  138. package/es-custom/components/page-header/index.js.map +1 -1
  139. package/es-custom/components/page-header/page-header-scroller.d.ts +56 -0
  140. package/es-custom/components/page-header/page-header-scroller.js +165 -0
  141. package/es-custom/components/page-header/page-header-scroller.js.map +1 -0
  142. package/es-custom/components/page-header/page-header-tabs.js +1 -0
  143. package/es-custom/components/page-header/page-header-tabs.js.map +1 -1
  144. package/es-custom/components/page-header/page-header-title-breadcrumb.d.ts +20 -0
  145. package/es-custom/components/page-header/page-header-title-breadcrumb.js +65 -0
  146. package/es-custom/components/page-header/page-header-title-breadcrumb.js.map +1 -0
  147. package/es-custom/components/page-header/page-header.d.ts +11 -1
  148. package/es-custom/components/page-header/page-header.js +54 -71
  149. package/es-custom/components/page-header/page-header.js.map +1 -1
  150. package/es-custom/components/page-header/page-header.scss.js +1 -1
  151. package/es-custom/components/page-header/page-header.test.js +136 -2
  152. package/es-custom/components/page-header/page-header.test.js.map +1 -1
  153. package/es-custom/components/page-header/utils.d.ts +32 -0
  154. package/es-custom/components/page-header/utils.js +76 -0
  155. package/es-custom/components/page-header/utils.js.map +1 -0
  156. package/es-custom/components/side-panel/side-panel.d.ts +4 -0
  157. package/es-custom/components/side-panel/side-panel.js +20 -5
  158. package/es-custom/components/side-panel/side-panel.js.map +1 -1
  159. package/es-custom/components/tearsheet/tearsheet.scss.js +1 -1
  160. package/es-custom/components/truncated-text/truncated-text.d.ts +16 -11
  161. package/es-custom/components/truncated-text/truncated-text.js +65 -58
  162. package/es-custom/components/truncated-text/truncated-text.js.map +1 -1
  163. package/es-custom/components/truncated-text/truncated-text.scss.js +1 -1
  164. package/es-custom/components/truncated-text/truncated-text.test.js +6 -6
  165. package/es-custom/components/user-avatar/user-avatar.d.ts +8 -0
  166. package/es-custom/components/user-avatar/user-avatar.js +1 -0
  167. package/es-custom/components/user-avatar/user-avatar.js.map +1 -1
  168. package/es-custom/components/user-avatar/user-avatar.scss.js +1 -1
  169. package/es-custom/packages/ibm-products-web-components/package.json.js +1 -1
  170. package/es-custom/utilities/carousel/carousel.d.ts +8 -0
  171. package/es-custom/utilities/carousel/carousel.js +210 -0
  172. package/es-custom/utilities/carousel/carousel.js.map +1 -0
  173. package/es-custom/utilities/carousel/index.d.ts +8 -0
  174. package/es-custom/utilities/carousel/index.js +9 -0
  175. package/es-custom/utilities/carousel/index.js.map +1 -0
  176. package/es-custom/utilities/carousel/swipeEvents.d.ts +7 -0
  177. package/es-custom/utilities/carousel/swipeEvents.js +109 -0
  178. package/es-custom/utilities/carousel/swipeEvents.js.map +1 -0
  179. package/es-custom/utilities/carousel/types.d.ts +36 -0
  180. package/es-custom/utilities/carousel/types.js +8 -0
  181. package/es-custom/utilities/carousel/types.js.map +1 -0
  182. package/lib/components/interstitial-screen/index.d.ts +13 -0
  183. package/lib/components/interstitial-screen/interstitial-screen-body-item.d.ts +372 -0
  184. package/lib/components/interstitial-screen/interstitial-screen-body.d.ts +384 -0
  185. package/lib/components/interstitial-screen/interstitial-screen-context.d.ts +18 -0
  186. package/lib/components/interstitial-screen/interstitial-screen-footer.d.ts +409 -0
  187. package/lib/components/interstitial-screen/interstitial-screen-header.d.ts +394 -0
  188. package/lib/components/interstitial-screen/interstitial-screen.d.ts +420 -0
  189. package/lib/components/page-header/_story-assets/overflowHandler.d.ts +98 -0
  190. package/lib/components/page-header/_story-assets/set-of-breadcrumbs.d.ts +43 -0
  191. package/lib/components/page-header/context.d.ts +14 -0
  192. package/lib/components/page-header/index.d.ts +2 -0
  193. package/lib/components/page-header/page-header-scroller.d.ts +56 -0
  194. package/lib/components/page-header/page-header-title-breadcrumb.d.ts +20 -0
  195. package/lib/components/page-header/page-header.d.ts +11 -1
  196. package/lib/components/page-header/utils.d.ts +32 -0
  197. package/lib/components/side-panel/side-panel.d.ts +4 -0
  198. package/lib/components/truncated-text/truncated-text.d.ts +16 -11
  199. package/lib/components/user-avatar/user-avatar.d.ts +8 -0
  200. package/lib/utilities/carousel/carousel.d.ts +8 -0
  201. package/lib/utilities/carousel/index.d.ts +8 -0
  202. package/lib/utilities/carousel/swipeEvents.d.ts +7 -0
  203. package/lib/utilities/carousel/types.d.ts +36 -0
  204. package/package.json +7 -6
  205. package/scss/components/interstitial-screen/interstitial-screen-body-item.scss +18 -0
  206. package/scss/components/interstitial-screen/interstitial-screen-body.scss +30 -0
  207. package/scss/components/interstitial-screen/interstitial-screen-footer.scss +40 -0
  208. package/scss/components/interstitial-screen/interstitial-screen-header.scss +13 -0
  209. package/scss/components/interstitial-screen/interstitial-screen.scss +28 -0
  210. package/scss/components/interstitial-screen/story-styles.scss +27 -0
  211. package/scss/components/notification-panel/notification-panel.scss +0 -1
  212. package/scss/components/page-header/_story-assets/set-of-breadcrumbs.scss +41 -0
  213. package/scss/components/page-header/page-header.scss +85 -0
  214. package/scss/components/truncated-text/story-styles.scss +11 -10
  215. package/scss/components/truncated-text/truncated-text.scss +0 -15
  216. package/scss/components/user-avatar/user-avatar.scss +5 -2
@@ -0,0 +1,420 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2025
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ import { LitElement, nothing } from 'lit';
10
+ import '@carbon/web-components/es-custom/components/modal/index.js';
11
+ export declare const blockClass = "c4p--interstitial-screen";
12
+ export type disableButtonConfigType = {
13
+ skip?: boolean;
14
+ back?: boolean;
15
+ next?: boolean;
16
+ start?: boolean;
17
+ };
18
+ declare const CDSInterstitialScreen_base: {
19
+ new (...args: any[]): {
20
+ _handles: Set<import("@carbon/web-components/es/globals/internal/handle").default>;
21
+ connectedCallback(): void;
22
+ disconnectedCallback(): void;
23
+ accessKey: string;
24
+ readonly accessKeyLabel: string;
25
+ autocapitalize: string;
26
+ dir: string;
27
+ draggable: boolean;
28
+ hidden: boolean;
29
+ inert: boolean;
30
+ innerText: string;
31
+ lang: string;
32
+ readonly offsetHeight: number;
33
+ readonly offsetLeft: number;
34
+ readonly offsetParent: Element | null;
35
+ readonly offsetTop: number;
36
+ readonly offsetWidth: number;
37
+ outerText: string;
38
+ popover: string | null;
39
+ spellcheck: boolean;
40
+ title: string;
41
+ translate: boolean;
42
+ writingSuggestions: string;
43
+ attachInternals(): ElementInternals;
44
+ click(): void;
45
+ hidePopover(): void;
46
+ showPopover(): void;
47
+ togglePopover(force?: boolean): boolean;
48
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
49
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
50
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
51
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
52
+ readonly attributes: NamedNodeMap;
53
+ readonly classList: DOMTokenList;
54
+ className: string;
55
+ readonly clientHeight: number;
56
+ readonly clientLeft: number;
57
+ readonly clientTop: number;
58
+ readonly clientWidth: number;
59
+ readonly currentCSSZoom: number;
60
+ id: string;
61
+ innerHTML: string;
62
+ readonly localName: string;
63
+ readonly namespaceURI: string | null;
64
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
65
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
66
+ outerHTML: string;
67
+ readonly ownerDocument: Document;
68
+ readonly part: DOMTokenList;
69
+ readonly prefix: string | null;
70
+ readonly scrollHeight: number;
71
+ scrollLeft: number;
72
+ scrollTop: number;
73
+ readonly scrollWidth: number;
74
+ readonly shadowRoot: ShadowRoot | null;
75
+ slot: string;
76
+ readonly tagName: string;
77
+ attachShadow(init: ShadowRootInit): ShadowRoot;
78
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
79
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
80
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
81
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
82
+ closest<E extends Element = Element>(selectors: string): E | null;
83
+ computedStyleMap(): StylePropertyMapReadOnly;
84
+ getAttribute(qualifiedName: string): string | null;
85
+ getAttributeNS(namespace: string | null, localName: string): string | null;
86
+ getAttributeNames(): string[];
87
+ getAttributeNode(qualifiedName: string): Attr | null;
88
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
89
+ getBoundingClientRect(): DOMRect;
90
+ getClientRects(): DOMRectList;
91
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
92
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
93
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
94
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
95
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
96
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
97
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
98
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
99
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
100
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
101
+ getHTML(options?: GetHTMLOptions): string;
102
+ hasAttribute(qualifiedName: string): boolean;
103
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
104
+ hasAttributes(): boolean;
105
+ hasPointerCapture(pointerId: number): boolean;
106
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
107
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
108
+ insertAdjacentText(where: InsertPosition, data: string): void;
109
+ matches(selectors: string): boolean;
110
+ releasePointerCapture(pointerId: number): void;
111
+ removeAttribute(qualifiedName: string): void;
112
+ removeAttributeNS(namespace: string | null, localName: string): void;
113
+ removeAttributeNode(attr: Attr): Attr;
114
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
115
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
116
+ scroll(options?: ScrollToOptions): void;
117
+ scroll(x: number, y: number): void;
118
+ scrollBy(options?: ScrollToOptions): void;
119
+ scrollBy(x: number, y: number): void;
120
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
121
+ scrollTo(options?: ScrollToOptions): void;
122
+ scrollTo(x: number, y: number): void;
123
+ setAttribute(qualifiedName: string, value: string): void;
124
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
125
+ setAttributeNode(attr: Attr): Attr | null;
126
+ setAttributeNodeNS(attr: Attr): Attr | null;
127
+ setHTMLUnsafe(html: string): void;
128
+ setPointerCapture(pointerId: number): void;
129
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
130
+ webkitMatchesSelector(selectors: string): boolean;
131
+ readonly baseURI: string;
132
+ readonly childNodes: NodeListOf<ChildNode>;
133
+ readonly firstChild: ChildNode | null;
134
+ readonly isConnected: boolean;
135
+ readonly lastChild: ChildNode | null;
136
+ readonly nextSibling: ChildNode | null;
137
+ readonly nodeName: string;
138
+ readonly nodeType: number;
139
+ nodeValue: string | null;
140
+ readonly parentElement: HTMLElement | null;
141
+ readonly parentNode: ParentNode | null;
142
+ readonly previousSibling: ChildNode | null;
143
+ textContent: string | null;
144
+ appendChild<T_1 extends Node>(node: T_1): T_1;
145
+ cloneNode(deep?: boolean): Node;
146
+ compareDocumentPosition(other: Node): number;
147
+ contains(other: Node | null): boolean;
148
+ getRootNode(options?: GetRootNodeOptions): Node;
149
+ hasChildNodes(): boolean;
150
+ insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
151
+ isDefaultNamespace(namespace: string | null): boolean;
152
+ isEqualNode(otherNode: Node | null): boolean;
153
+ isSameNode(otherNode: Node | null): boolean;
154
+ lookupNamespaceURI(prefix: string | null): string | null;
155
+ lookupPrefix(namespace: string | null): string | null;
156
+ normalize(): void;
157
+ removeChild<T_1 extends Node>(child: T_1): T_1;
158
+ replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
159
+ readonly ELEMENT_NODE: 1;
160
+ readonly ATTRIBUTE_NODE: 2;
161
+ readonly TEXT_NODE: 3;
162
+ readonly CDATA_SECTION_NODE: 4;
163
+ readonly ENTITY_REFERENCE_NODE: 5;
164
+ readonly ENTITY_NODE: 6;
165
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
166
+ readonly COMMENT_NODE: 8;
167
+ readonly DOCUMENT_NODE: 9;
168
+ readonly DOCUMENT_TYPE_NODE: 10;
169
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
170
+ readonly NOTATION_NODE: 12;
171
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
172
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
173
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
174
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
175
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
176
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
177
+ dispatchEvent(event: Event): boolean;
178
+ ariaAtomic: string | null;
179
+ ariaAutoComplete: string | null;
180
+ ariaBrailleLabel: string | null;
181
+ ariaBrailleRoleDescription: string | null;
182
+ ariaBusy: string | null;
183
+ ariaChecked: string | null;
184
+ ariaColCount: string | null;
185
+ ariaColIndex: string | null;
186
+ ariaColIndexText: string | null;
187
+ ariaColSpan: string | null;
188
+ ariaCurrent: string | null;
189
+ ariaDescription: string | null;
190
+ ariaDisabled: string | null;
191
+ ariaExpanded: string | null;
192
+ ariaHasPopup: string | null;
193
+ ariaHidden: string | null;
194
+ ariaInvalid: string | null;
195
+ ariaKeyShortcuts: string | null;
196
+ ariaLabel: string | null;
197
+ ariaLevel: string | null;
198
+ ariaLive: string | null;
199
+ ariaModal: string | null;
200
+ ariaMultiLine: string | null;
201
+ ariaMultiSelectable: string | null;
202
+ ariaOrientation: string | null;
203
+ ariaPlaceholder: string | null;
204
+ ariaPosInSet: string | null;
205
+ ariaPressed: string | null;
206
+ ariaReadOnly: string | null;
207
+ ariaRequired: string | null;
208
+ ariaRoleDescription: string | null;
209
+ ariaRowCount: string | null;
210
+ ariaRowIndex: string | null;
211
+ ariaRowIndexText: string | null;
212
+ ariaRowSpan: string | null;
213
+ ariaSelected: string | null;
214
+ ariaSetSize: string | null;
215
+ ariaSort: string | null;
216
+ ariaValueMax: string | null;
217
+ ariaValueMin: string | null;
218
+ ariaValueNow: string | null;
219
+ ariaValueText: string | null;
220
+ role: string | null;
221
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
222
+ getAnimations(options?: GetAnimationsOptions): Animation[];
223
+ after(...nodes: (Node | string)[]): void;
224
+ before(...nodes: (Node | string)[]): void;
225
+ remove(): void;
226
+ replaceWith(...nodes: (Node | string)[]): void;
227
+ readonly nextElementSibling: Element | null;
228
+ readonly previousElementSibling: Element | null;
229
+ readonly childElementCount: number;
230
+ readonly children: HTMLCollection;
231
+ readonly firstElementChild: Element | null;
232
+ readonly lastElementChild: Element | null;
233
+ append(...nodes: (Node | string)[]): void;
234
+ prepend(...nodes: (Node | string)[]): void;
235
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
236
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
237
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
238
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
239
+ querySelector<E extends Element = Element>(selectors: string): E | null;
240
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
241
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
242
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
243
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
244
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
245
+ replaceChildren(...nodes: (Node | string)[]): void;
246
+ readonly assignedSlot: HTMLSlotElement | null;
247
+ readonly attributeStyleMap: StylePropertyMap;
248
+ readonly style: CSSStyleDeclaration;
249
+ contentEditable: string;
250
+ enterKeyHint: string;
251
+ inputMode: string;
252
+ readonly isContentEditable: boolean;
253
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
254
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
255
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
256
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
257
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
258
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
259
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
260
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
261
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
262
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
263
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
264
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
265
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
266
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
267
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
268
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
269
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
270
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
271
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
272
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
273
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
274
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
275
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
276
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
277
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
278
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
279
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
280
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
281
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
282
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
283
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
284
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
285
+ onerror: OnErrorEventHandler;
286
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
287
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
288
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
289
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
290
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
291
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
292
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
293
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
294
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
295
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
296
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
297
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
298
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
299
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
300
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
301
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
302
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
303
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
304
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
305
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
306
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
307
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
308
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
309
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
310
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
311
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
312
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
313
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
314
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
315
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
316
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
317
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
318
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
319
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
320
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
321
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
322
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
323
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
324
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
325
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
326
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
327
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
328
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
329
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
330
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
331
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
332
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
333
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
334
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
335
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
336
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
337
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
338
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
339
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
340
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
341
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
342
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
343
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
344
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
345
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
346
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
347
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
348
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
349
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
350
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
351
+ autofocus: boolean;
352
+ readonly dataset: DOMStringMap;
353
+ nonce?: string;
354
+ tabIndex: number;
355
+ blur(): void;
356
+ focus(options?: FocusOptions): void;
357
+ };
358
+ _hostListeners: {
359
+ [listenerName: string]: {
360
+ [type: string]: {
361
+ options?: boolean | AddEventListenerOptions;
362
+ };
363
+ };
364
+ };
365
+ } & typeof LitElement;
366
+ /**
367
+ * interstitial-screen main component
368
+ * @element c4p-interstitial-screen
369
+ * @fires c4p-interstitial-opened - The custom event triggered after loading the component.
370
+ * Its event.detail will provide you with carousal api methods for step navigation and method to disable any action button
371
+ * * @fires c4p-interstitial-beingclosed - The name of the custom event fired before interstitial is being closed upon a user gesture.
372
+ * Cancellation of this event stops the user-initiated action of closing the interstitial.
373
+ * @fires c4p-interstitial-closed - The name of the custom event fired after this tearsheet is closed upon a user gesture.
374
+
375
+ */
376
+ declare class CDSInterstitialScreen extends CDSInterstitialScreen_base {
377
+ /**
378
+ * Specifies whether the component is shown as a full-screen
379
+ * experience, else it is shown as a modal by default.
380
+ */
381
+ isFullScreen: boolean;
382
+ /**
383
+ * Specifies whether the component is currently open.
384
+ */
385
+ open: boolean;
386
+ stepDetails: Array<{
387
+ stepTitle: string;
388
+ name?: string;
389
+ }>;
390
+ /**
391
+ * @ignore
392
+ */
393
+ modalBody: HTMLElement;
394
+ private header;
395
+ private body;
396
+ private footer;
397
+ private _wasOpen;
398
+ connectedCallback(): void;
399
+ firstUpdated(): void;
400
+ updated(changedProps: Map<string | number | symbol, unknown>): void;
401
+ private dispatchInItializeEvent;
402
+ private setDisableActionButtons;
403
+ _handleClose(e: any): void;
404
+ renderFullScreen(): import("lit-html").TemplateResult<1> | typeof nothing;
405
+ renderModal(): import("lit-html").TemplateResult<1>;
406
+ render(): import("lit-html").TemplateResult<1>;
407
+ static styles: any;
408
+ static get eventOnInterstitialOpened(): string;
409
+ /**
410
+
411
+ * The name of the custom event fired before interstitial is being closed upon a user gesture.
412
+ * Cancellation of this event stops the user-initiated action of closing the interstitial.
413
+ */
414
+ static get eventBeforeClose(): string;
415
+ /**
416
+ * The name of the custom event fired after this tearsheet is closed upon a user gesture.
417
+ */
418
+ static get eventClose(): string;
419
+ }
420
+ export default CDSInterstitialScreen;
@@ -0,0 +1,186 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { __decorate } from 'tslib';
9
+ import { LitElement, nothing, html } from 'lit';
10
+ import { property, state, query } from 'lit/decorators.js';
11
+ import { prefix } from '../../globals/settings.js';
12
+ import '@carbon/web-components/es-custom/components/modal/index.js';
13
+ import HostListenerMixin from '@carbon/web-components/es/globals/mixins/host-listener.js';
14
+ import { carbonElement } from '@carbon/web-components/es/globals/decorators/carbon-element.js';
15
+ import styles from './interstitial-screen.scss.js';
16
+ import { SignalWatcher } from '@lit-labs/signals';
17
+ import { interstitialDetailsSignal, updateInterstitialDetailsSignal, resetInterstitialDetailsSignal } from './interstitial-screen-context.js';
18
+
19
+ /**
20
+ * @license
21
+ *
22
+ * Copyright IBM Corp. 2025
23
+ *
24
+ * This source code is licensed under the Apache-2.0 license found in the
25
+ * LICENSE file in the root directory of this source tree.
26
+ */
27
+ const blockClass = `${prefix}--interstitial-screen`;
28
+ /**
29
+ * interstitial-screen main component
30
+ * @element c4p-interstitial-screen
31
+ * @fires c4p-interstitial-opened - The custom event triggered after loading the component.
32
+ * Its event.detail will provide you with carousal api methods for step navigation and method to disable any action button
33
+ * * @fires c4p-interstitial-beingclosed - The name of the custom event fired before interstitial is being closed upon a user gesture.
34
+ * Cancellation of this event stops the user-initiated action of closing the interstitial.
35
+ * @fires c4p-interstitial-closed - The name of the custom event fired after this tearsheet is closed upon a user gesture.
36
+
37
+ */
38
+ let CDSInterstitialScreen = class CDSInterstitialScreen extends SignalWatcher(HostListenerMixin(LitElement)) {
39
+ constructor() {
40
+ /**
41
+ * Specifies whether the component is shown as a full-screen
42
+ * experience, else it is shown as a modal by default.
43
+ */
44
+ super(...arguments);
45
+ this.isFullScreen = false;
46
+ /**
47
+ * Specifies whether the component is currently open.
48
+ */
49
+ this.open = false;
50
+ this.stepDetails = [];
51
+ this.header = null;
52
+ this.body = null;
53
+ this.footer = null;
54
+ this._wasOpen = false;
55
+ this.dispatchInItializeEvent = () => {
56
+ setTimeout(() => {
57
+ const { carouselAPI } = interstitialDetailsSignal.get();
58
+ this.dispatchEvent(new CustomEvent(this.constructor.eventOnInterstitialOpened, {
59
+ bubbles: true,
60
+ cancelable: true,
61
+ composed: true,
62
+ detail: {
63
+ carouselAPI: carouselAPI
64
+ ? {
65
+ next: carouselAPI.next,
66
+ prev: carouselAPI.prev,
67
+ reset: carouselAPI.reset,
68
+ gotToStep: carouselAPI.goToIndex,
69
+ }
70
+ : undefined,
71
+ setDisableActionButtons: this.setDisableActionButtons,
72
+ },
73
+ }));
74
+ });
75
+ };
76
+ this.setDisableActionButtons = (config) => {
77
+ updateInterstitialDetailsSignal({ name: 'disableActions', detail: config });
78
+ };
79
+ }
80
+ connectedCallback() {
81
+ super.connectedCallback();
82
+ this.addEventListener(`${prefix}-request-close`, this._handleClose);
83
+ }
84
+ firstUpdated() {
85
+ // This has to do since cds-custom-modal does not accept cds-custom-body inside a slotted children.It will append it explicitly append cds-custom body
86
+ this.header = this.querySelector(`${prefix}-interstitial-screen-header`);
87
+ this.body = this.querySelector(`${prefix}-interstitial-screen-body`);
88
+ this.footer = this.querySelector(`${prefix}-interstitial-screen-footer`);
89
+ this.requestUpdate(); // Ensure re-render
90
+ resetInterstitialDetailsSignal();
91
+ }
92
+ updated(changedProps) {
93
+ if (changedProps.has('open')) {
94
+ const wasOpen = this._wasOpen;
95
+ const isOpen = this.open;
96
+ if (!wasOpen && isOpen) {
97
+ this.dispatchInItializeEvent();
98
+ }
99
+ this._wasOpen = isOpen;
100
+ }
101
+ }
102
+ _handleClose(e) {
103
+ this.open = false;
104
+ e.stopPropagation();
105
+ const init = {
106
+ bubbles: true,
107
+ cancelable: true,
108
+ composed: true,
109
+ detail: {
110
+ triggeredBy: e.detail.triggeredBy,
111
+ },
112
+ };
113
+ if (this.dispatchEvent(new CustomEvent(this.constructor.eventBeforeClose, init))) {
114
+ this.dispatchEvent(new CustomEvent(this.constructor.eventClose, init));
115
+ }
116
+ }
117
+ //template methods
118
+ renderFullScreen() {
119
+ return this.open
120
+ ? html `
121
+ <div class="${blockClass}--container">
122
+ <slot></slot>
123
+ </div>
124
+ `
125
+ : nothing;
126
+ }
127
+ renderModal() {
128
+ return html `<cds-custom-modal
129
+ key=${this.open}
130
+ ?prevent-close-on-click-outside="true"
131
+ class=${blockClass}
132
+ size="lg"
133
+ ?open="${this.open}"
134
+ >
135
+ ${this.header ? html `${this.header}` : nothing}
136
+ <cds-custom-modal-body class="${blockClass}__body-container">
137
+ ${this.body ? html `${this.body}` : nothing}
138
+ </cds-custom-modal-body>
139
+ <cds-custom-modal-footer>
140
+ ${this.footer ? html `${this.footer}` : nothing}
141
+ </cds-custom-modal-footer>
142
+ </cds-custom-modal>`;
143
+ }
144
+ render() {
145
+ return this.isFullScreen
146
+ ? html `${this.renderFullScreen()}`
147
+ : html `${this.renderModal()}`;
148
+ }
149
+ static get eventOnInterstitialOpened() {
150
+ return `${prefix}-interstitial-opened`;
151
+ }
152
+ /**
153
+
154
+ * The name of the custom event fired before interstitial is being closed upon a user gesture.
155
+ * Cancellation of this event stops the user-initiated action of closing the interstitial.
156
+ */
157
+ static get eventBeforeClose() {
158
+ return `${prefix}-interstitial-beingclosed`;
159
+ }
160
+ /**
161
+ * The name of the custom event fired after this tearsheet is closed upon a user gesture.
162
+ */
163
+ static get eventClose() {
164
+ return `${prefix}-interstitial-closed`;
165
+ }
166
+ };
167
+ CDSInterstitialScreen.styles = styles;
168
+ __decorate([
169
+ property({ type: Boolean, reflect: true, attribute: 'fullscreen' })
170
+ ], CDSInterstitialScreen.prototype, "isFullScreen", void 0);
171
+ __decorate([
172
+ property({ type: Boolean, reflect: true })
173
+ ], CDSInterstitialScreen.prototype, "open", void 0);
174
+ __decorate([
175
+ state()
176
+ ], CDSInterstitialScreen.prototype, "stepDetails", void 0);
177
+ __decorate([
178
+ query('cds-custom-modal-body')
179
+ ], CDSInterstitialScreen.prototype, "modalBody", void 0);
180
+ CDSInterstitialScreen = __decorate([
181
+ carbonElement(`${prefix}-interstitial-screen`)
182
+ ], CDSInterstitialScreen);
183
+ var CDSInterstitialScreen$1 = CDSInterstitialScreen;
184
+
185
+ export { blockClass, CDSInterstitialScreen$1 as default };
186
+ //# sourceMappingURL=interstitial-screen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interstitial-screen.js","sources":["../../../src/components/interstitial-screen/interstitial-screen.ts"],"sourcesContent":[null],"names":["customElement"],"mappings":"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"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { css } from 'lit';
9
+
10
+ var styles = css(["a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font:inherit;font-feature-settings:\"liga\" 1;font-size:100%;margin:0;padding:0;vertical-align:baseline}button,input,select,textarea{border-radius:0;font-family:inherit}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{background-color:var(--cds-custom-background,#fff);color:var(--cds-custom-text-primary,#161616);line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:none}table{border-collapse:collapse;border-spacing:0}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}html{font-size:100%}body{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,sans-serif;font-weight:400;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}code{font-family:IBM Plex Mono,system-ui,-apple-system,BlinkMacSystemFont,\\.SFNSText-Regular,monospace}strong{font-weight:600}@media screen and (-ms-high-contrast:active){svg{fill:ButtonText}}h1{font-size:var(--cds-custom-heading-06-font-size,2.625rem);font-weight:var(--cds-custom-heading-06-font-weight,300);letter-spacing:var(--cds-custom-heading-06-letter-spacing,0);line-height:var(--cds-custom-heading-06-line-height,1.199)}h2{font-size:var(--cds-custom-heading-05-font-size,2rem);font-weight:var(--cds-custom-heading-05-font-weight,400);letter-spacing:var(--cds-custom-heading-05-letter-spacing,0);line-height:var(--cds-custom-heading-05-line-height,1.25)}h3{font-size:var(--cds-custom-heading-04-font-size,1.75rem);font-weight:var(--cds-custom-heading-04-font-weight,400);letter-spacing:var(--cds-custom-heading-04-letter-spacing,0);line-height:var(--cds-custom-heading-04-line-height,1.28572)}h4{font-size:var(--cds-custom-heading-03-font-size,1.25rem);font-weight:var(--cds-custom-heading-03-font-weight,400);letter-spacing:var(--cds-custom-heading-03-letter-spacing,0);line-height:var(--cds-custom-heading-03-line-height,1.4)}h5{font-size:var(--cds-custom-heading-02-font-size,1rem);font-weight:var(--cds-custom-heading-02-font-weight,600);letter-spacing:var(--cds-custom-heading-02-letter-spacing,0);line-height:var(--cds-custom-heading-02-line-height,1.5)}h6{font-size:var(--cds-custom-heading-01-font-size,.875rem);font-weight:var(--cds-custom-heading-01-font-weight,600);letter-spacing:var(--cds-custom-heading-01-letter-spacing,.16px);line-height:var(--cds-custom-heading-01-line-height,1.42857)}p{font-size:var(--cds-custom-body-02-font-size,1rem);font-weight:var(--cds-custom-body-02-font-weight,400);letter-spacing:var(--cds-custom-body-02-letter-spacing,0);line-height:var(--cds-custom-body-02-line-height,1.5)}a{color:var(--cds-custom-link-primary,#0062fe)}em{font-style:italic}@keyframes cds-custom--hide-feedback{0%{opacity:1;visibility:inherit}to{opacity:0;visibility:hidden}}@keyframes cds-custom--show-feedback{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:inherit}}@keyframes cds-custom--skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}to{opacity:.3;transform:scaleX(0);transform-origin:left}}.cds-custom--layout--size-xs{--cds-custom-layout-size-height-context:var(--cds-custom-layout-size-height-xs,1.5rem);--cds-custom-layout-size-height:var(--cds-custom-layout-size-height-context)}.cds-custom--layout-constraint--size__default-xs{--cds-custom-layout-size-height:var(--cds-custom-layout-size-height-context,var(--cds-custom-layout-size-height-xs,1.5rem))}.cds-custom--layout-constraint--size__min-xs{--cds-custom-layout-size-height-min:var(--cds-custom-layout-size-height-xs,1.5rem)}.cds-custom--layout-constraint--size__max-xs{--cds-custom-layout-size-height-max:var(--cds-custom-layout-size-height-xs,1.5rem)}.cds-custom--layout--size-sm{--cds-custom-layout-size-height-context:var(--cds-custom-layout-size-height-sm,2rem);--cds-custom-layout-size-height:var(--cds-custom-layout-size-height-context)}.cds-custom--layout-constraint--size__default-sm{--cds-custom-layout-size-height:var(--cds-custom-layout-size-height-context,var(--cds-custom-layout-size-height-sm,2rem))}.cds-custom--layout-constraint--size__min-sm{--cds-custom-layout-size-height-min:var(--cds-custom-layout-size-height-sm,2rem)}.cds-custom--layout-constraint--size__max-sm{--cds-custom-layout-size-height-max:var(--cds-custom-layout-size-height-sm,2rem)}.cds-custom--layout--size-md{--cds-custom-layout-size-height-context:var(--cds-custom-layout-size-height-md,2.5rem);--cds-custom-layout-size-height:var(--cds-custom-layout-size-height-context)}.cds-custom--layout-constraint--size__default-md{--cds-custom-layout-size-height:var(--cds-custom-layout-size-height-context,var(--cds-custom-layout-size-height-md,2.5rem))}.cds-custom--layout-constraint--size__min-md{--cds-custom-layout-size-height-min:var(--cds-custom-layout-size-height-md,2.5rem)}.cds-custom--layout-constraint--size__max-md{--cds-custom-layout-size-height-max:var(--cds-custom-layout-size-height-md,2.5rem)}.cds-custom--layout--size-lg{--cds-custom-layout-size-height-context:var(--cds-custom-layout-size-height-lg,3rem);--cds-custom-layout-size-height:var(--cds-custom-layout-size-height-context)}.cds-custom--layout-constraint--size__default-lg{--cds-custom-layout-size-height:var(--cds-custom-layout-size-height-context,var(--cds-custom-layout-size-height-lg,3rem))}.cds-custom--layout-constraint--size__min-lg{--cds-custom-layout-size-height-min:var(--cds-custom-layout-size-height-lg,3rem)}.cds-custom--layout-constraint--size__max-lg{--cds-custom-layout-size-height-max:var(--cds-custom-layout-size-height-lg,3rem)}.cds-custom--layout--size-xl{--cds-custom-layout-size-height-context:var(--cds-custom-layout-size-height-xl,4rem);--cds-custom-layout-size-height:var(--cds-custom-layout-size-height-context)}.cds-custom--layout-constraint--size__default-xl{--cds-custom-layout-size-height:var(--cds-custom-layout-size-height-context,var(--cds-custom-layout-size-height-xl,4rem))}.cds-custom--layout-constraint--size__min-xl{--cds-custom-layout-size-height-min:var(--cds-custom-layout-size-height-xl,4rem)}.cds-custom--layout-constraint--size__max-xl{--cds-custom-layout-size-height-max:var(--cds-custom-layout-size-height-xl,4rem)}.cds-custom--layout--size-2xl{--cds-custom-layout-size-height-context:var(--cds-custom-layout-size-height-2xl,5rem);--cds-custom-layout-size-height:var(--cds-custom-layout-size-height-context)}.cds-custom--layout-constraint--size__default-2xl{--cds-custom-layout-size-height:var(--cds-custom-layout-size-height-context,var(--cds-custom-layout-size-height-2xl,5rem))}.cds-custom--layout-constraint--size__min-2xl{--cds-custom-layout-size-height-min:var(--cds-custom-layout-size-height-2xl,5rem)}.cds-custom--layout-constraint--size__max-2xl{--cds-custom-layout-size-height-max:var(--cds-custom-layout-size-height-2xl,5rem)}.cds-custom--layout--density-condensed{--cds-custom-layout-density-padding-inline-context:var(--cds-custom-layout-density-padding-inline-condensed,0.5rem);--cds-custom-layout-density-padding-inline:var(--cds-custom-layout-density-padding-inline-context)}.cds-custom--layout-constraint--density__default-condensed{--cds-custom-layout-density-padding-inline:var(--cds-custom-layout-density-padding-inline-context,var(--cds-custom-layout-density-padding-inline-condensed,0.5rem))}.cds-custom--layout-constraint--density__min-condensed{--cds-custom-layout-density-padding-inline-min:var(--cds-custom-layout-density-padding-inline-condensed,0.5rem)}.cds-custom--layout-constraint--density__max-condensed{--cds-custom-layout-density-padding-inline-max:var(--cds-custom-layout-density-padding-inline-condensed,0.5rem)}.cds-custom--layout--density-normal{--cds-custom-layout-density-padding-inline-context:var(--cds-custom-layout-density-padding-inline-normal,1rem);--cds-custom-layout-density-padding-inline:var(--cds-custom-layout-density-padding-inline-context)}.cds-custom--layout-constraint--density__default-normal{--cds-custom-layout-density-padding-inline:var(--cds-custom-layout-density-padding-inline-context,var(--cds-custom-layout-density-padding-inline-normal,1rem))}.cds-custom--layout-constraint--density__min-normal{--cds-custom-layout-density-padding-inline-min:var(--cds-custom-layout-density-padding-inline-normal,1rem)}.cds-custom--layout-constraint--density__max-normal{--cds-custom-layout-density-padding-inline-max:var(--cds-custom-layout-density-padding-inline-normal,1rem)}:root{--cds-custom-layout-size-height-xs:1.5rem;--cds-custom-layout-size-height-sm:2rem;--cds-custom-layout-size-height-md:2.5rem;--cds-custom-layout-size-height-lg:3rem;--cds-custom-layout-size-height-xl:4rem;--cds-custom-layout-size-height-2xl:5rem;--cds-custom-layout-size-height-min:0px;--cds-custom-layout-size-height-max:999999999px;--cds-custom-layout-density-padding-inline-condensed:0.5rem;--cds-custom-layout-density-padding-inline-normal:1rem;--cds-custom-layout-density-padding-inline-min:0px;--cds-custom-layout-density-padding-inline-max:999999999px}.cds-custom--assistive-text,.cds-custom--visually-hidden{block-size:1px;border:0;margin:-1px;overflow:hidden;padding:0;position:absolute;clip:rect(0,0,0,0);inline-size:1px;visibility:inherit;white-space:nowrap}.c4p--carousel{position:relative}.c4p--carousel:focus{outline:none}.c4p--carousel__elements-container{overflow:hidden}.c4p--carousel__elements-container--scroll-max,.c4p--carousel__elements-container--scrolled{inline-size:2rem;inset-block:0;pointer-events:none;position:absolute;z-index:1}.c4p--carousel__elements-container--scrolled{inset-inline-start:0}.c4p--carousel__elements-container--scroll-max{inset-inline-end:0}.c4p--carousel__elements{display:flex;overflow:scroll;-ms-overflow-style:none;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.c4p--carousel__elements:focus{outline:2px solid var(--cds-custom-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.c4p--carousel__elements:focus{outline-style:dotted}}@media (prefers-reduced-motion){.c4p--carousel__elements{scroll-behavior:auto}}.c4p--carousel__elements::-webkit-scrollbar{display:none}.c4p--interstitial-screen--body{background-color:var(--cds-custom-background,#fff);flex-grow:1;margin:0;overflow:hidden auto;padding:0}.c4p--interstitial-screen--progress{margin-block-end:.75rem}.c4p--interstitial-screen__carousel{block-size:100%}.c4p--interstitial-screen__carousel .c4p--carousel__item{flex:0 0 100%;scroll-snap-align:start}.c4p--interstitial-screen--internal-body{margin:0!important;padding:0!important}.c4p--interstitial-screen--content{block-size:100%}.c4p--interstitial-screen--internal-header{background-color:var(--cds-custom-background,#fff);margin-block-end:0!important;min-block-size:3rem;padding-block-start:1.5rem;padding-inline-start:2rem!important;position:relative}.c4p--interstitial-screen--internal-header:empty{min-block-size:0}.c4p--interstitial-screen--internal-header .c4p--interstitial-screen--titleContainer{margin-block-end:1rem}.c4p--interstitial-screen--internal-header .c4p--interstitial-screen--titleContainer h1{font-size:var(--cds-custom-productive-heading-04-font-size,1.75rem);font-weight:var(--cds-custom-productive-heading-04-font-weight,400);letter-spacing:var(--cds-custom-productive-heading-04-letter-spacing,0);line-height:var(--cds-custom-productive-heading-04-line-height,1.28572);margin-block-end:.5rem}.c4p--interstitial-screen--internal-header .c4p--interstitial-screen--titleContainer h1:empty{padding:0}.c4p--interstitial-screen--internal-header .c4p--interstitial-screen--titleContainer h2{font-size:var(--cds-custom-productive-heading-03-font-size,1.25rem);font-weight:var(--cds-custom-productive-heading-03-font-weight,400);letter-spacing:var(--cds-custom-productive-heading-03-letter-spacing,0);line-height:var(--cds-custom-productive-heading-03-line-height,1.4)}.c4p--interstitial-screen--internal-header .c4p--interstitial-screen--titleContainer h2:empty{padding:0}.c4p--interstitial-screen--internal-header--has-title{background:var(--cds-custom-layer-01,#f4f4f4);border-block-end:1px solid var(--cds-custom-border-subtle-01,#c6c6c6)}.c4p--interstitial-screen--internal-header--has-title .c4p--interstitial-screen--progress{margin-block-start:0}.c4p--interstitial-screen--footer{background:var(--cds-custom-background,#fff);border-block-start:1px solid var(--cds-custom-border-subtle-01,#c6c6c6);box-sizing:initial;display:flex;flex-direction:row;inline-size:100%;justify-content:flex-end}.c4p--interstitial-screen--footer .c4p--interstitial-screen--next-btn,.c4p--interstitial-screen--footer .c4p--interstitial-screen--prev-btn,.c4p--interstitial-screen--footer .c4p--interstitial-screen--start-btn{inline-size:18.75%;min-inline-size:12.5rem;padding-block-end:2rem}.c4p--interstitial-screen--footer .c4p--interstitial-screen--skip-btn{flex-grow:1!important;max-inline-size:none;padding-inline-start:2rem}.c4p--interstitial-screen--footer .cds-custom--inline-loading{inline-size:2rem;inset-block-start:0;inset-inline-end:0;position:absolute}.c4p--interstitial-screen--footer-controls{display:flex;flex-direction:row;margin-inline-start:auto}.c4p--interstitial-screen--full-screen,:host([fullscreen]){inset-block-start:0;inset-inline:0;position:fixed}.c4p--interstitial-screen--full-screen .c4p--interstitial-screen--container,:host([fullscreen]) .c4p--interstitial-screen--container{block-size:100vh;display:flex;flex-direction:column;margin:0;max-inline-size:100vw;padding:0}.c4p--interstitial-screen__body-container{padding:0}"]);
11
+
12
+ export { styles as default };
13
+ //# sourceMappingURL=interstitial-screen.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interstitial-screen.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}