@ui5/webcomponents-base 0.0.0-b132dd7b9 → 0.0.0-b3a4f8020

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 (349) hide show
  1. package/AGENTS.md +195 -0
  2. package/CHANGELOG.md +563 -0
  3. package/CLAUDE.md +1 -0
  4. package/LICENSE.txt +201 -0
  5. package/README.md +7 -7
  6. package/dist/.tsbuildinfobuild +1 -1
  7. package/dist/Assets-fetch.d.ts +1 -0
  8. package/dist/Assets-fetch.js +3 -0
  9. package/dist/Assets-fetch.js.map +1 -0
  10. package/dist/Assets-node.d.ts +12 -0
  11. package/dist/Assets-node.js +14 -0
  12. package/dist/Assets-node.js.map +1 -0
  13. package/dist/Assets.d.ts +1 -0
  14. package/dist/Assets.js +3 -0
  15. package/dist/Assets.js.map +1 -0
  16. package/dist/Boot.d.ts +2 -1
  17. package/dist/Boot.js +44 -14
  18. package/dist/Boot.js.map +1 -1
  19. package/dist/CustomElementsRegistry.js +1 -1
  20. package/dist/CustomElementsRegistry.js.map +1 -1
  21. package/dist/CustomElementsScopeUtils.d.ts +10 -3
  22. package/dist/CustomElementsScopeUtils.js +13 -3
  23. package/dist/CustomElementsScopeUtils.js.map +1 -1
  24. package/dist/DragAndDrop.d.ts +2 -0
  25. package/dist/DragAndDrop.js +5 -0
  26. package/dist/DragAndDrop.js.map +1 -0
  27. package/dist/FontFace.css +36 -0
  28. package/dist/FontFace.js +0 -8
  29. package/dist/FontFace.js.map +1 -1
  30. package/dist/InitialConfiguration.js +7 -0
  31. package/dist/InitialConfiguration.js.map +1 -1
  32. package/dist/Keys.d.ts +4 -1
  33. package/dist/Keys.js +4 -1
  34. package/dist/Keys.js.map +1 -1
  35. package/dist/ManagedStyles.js +1 -1
  36. package/dist/ManagedStyles.js.map +1 -1
  37. package/dist/ScrollbarStyles.d.ts +2 -0
  38. package/dist/ScrollbarStyles.js +9 -0
  39. package/dist/ScrollbarStyles.js.map +1 -0
  40. package/dist/SystemCSSVars.js +2 -4
  41. package/dist/SystemCSSVars.js.map +1 -1
  42. package/dist/UI5Element.d.ts +35 -9
  43. package/dist/UI5Element.js +59 -27
  44. package/dist/UI5Element.js.map +1 -1
  45. package/dist/UI5ElementMetadata.d.ts +1 -1
  46. package/dist/UI5ElementMetadata.js.map +1 -1
  47. package/dist/asset-registries/Icons.d.ts +42 -8
  48. package/dist/asset-registries/Icons.js +51 -8
  49. package/dist/asset-registries/Icons.js.map +1 -1
  50. package/dist/asset-registries/Illustrations.d.ts +133 -8
  51. package/dist/asset-registries/Illustrations.js +82 -1
  52. package/dist/asset-registries/Illustrations.js.map +1 -1
  53. package/dist/asset-registries/LocaleData.js +2 -1
  54. package/dist/asset-registries/LocaleData.js.map +1 -1
  55. package/dist/asset-registries/Themes.d.ts +5 -2
  56. package/dist/asset-registries/Themes.js +3 -3
  57. package/dist/asset-registries/Themes.js.map +1 -1
  58. package/dist/config/Language.d.ts +2 -1
  59. package/dist/config/Language.js +12 -1
  60. package/dist/config/Language.js.map +1 -1
  61. package/dist/config/Theme.d.ts +13 -1
  62. package/dist/config/Theme.js +18 -1
  63. package/dist/config/Theme.js.map +1 -1
  64. package/dist/config/ThemeRoot.d.ts +3 -1
  65. package/dist/config/ThemeRoot.js +3 -1
  66. package/dist/config/ThemeRoot.js.map +1 -1
  67. package/dist/css/MultipleDragGhost.css +17 -0
  68. package/dist/css/OpenUI5PopupStyles.css +10 -0
  69. package/dist/css/ScrollbarStyles.css +3 -0
  70. package/dist/css/SystemCSSVars.css +28 -3
  71. package/dist/custom-elements-internal.json +1855 -1738
  72. package/dist/custom-elements.json +1462 -1345
  73. package/dist/decorators/slot-strict.d.ts +27 -0
  74. package/dist/decorators/slot-strict.js +54 -0
  75. package/dist/decorators/slot-strict.js.map +1 -0
  76. package/dist/decorators/slot.d.ts +18 -0
  77. package/dist/decorators/slot.js +18 -0
  78. package/dist/decorators/slot.js.map +1 -1
  79. package/dist/decorators.d.ts +2 -1
  80. package/dist/decorators.js +2 -1
  81. package/dist/decorators.js.map +1 -1
  82. package/dist/features/F6Navigation.d.ts +1 -0
  83. package/dist/features/F6Navigation.js +23 -14
  84. package/dist/features/F6Navigation.js.map +1 -1
  85. package/dist/features/InputElementsFormSupport.d.ts +1 -1
  86. package/dist/features/InputElementsFormSupport.js +6 -2
  87. package/dist/features/InputElementsFormSupport.js.map +1 -1
  88. package/dist/features/OpenUI5Support.d.ts +15 -4
  89. package/dist/features/OpenUI5Support.js +83 -42
  90. package/dist/features/OpenUI5Support.js.map +1 -1
  91. package/dist/features/insertOpenUI5PopupStyles.d.ts +2 -0
  92. package/dist/features/insertOpenUI5PopupStyles.js +9 -0
  93. package/dist/features/insertOpenUI5PopupStyles.js.map +1 -0
  94. package/dist/features/patchPatcher.d.ts +7 -6
  95. package/dist/features/patchPatcher.js +14 -4
  96. package/dist/features/patchPatcher.js.map +1 -1
  97. package/dist/features/patchPopup.d.ts +26 -8
  98. package/dist/features/patchPopup.js +118 -25
  99. package/dist/features/patchPopup.js.map +1 -1
  100. package/dist/generated/VersionInfo.js +6 -6
  101. package/dist/generated/VersionInfo.js.map +1 -1
  102. package/dist/generated/assets/i18n/messagebundle_en.json +1 -0
  103. package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -0
  104. package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -0
  105. package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -0
  106. package/dist/generated/css/FontFace.css.d.ts +1 -1
  107. package/dist/generated/css/FontFace.css.js +36 -1
  108. package/dist/generated/css/FontFace.css.js.map +1 -1
  109. package/dist/generated/css/MultipleDragGhost.css.d.ts +2 -0
  110. package/dist/generated/css/MultipleDragGhost.css.js +2 -0
  111. package/dist/generated/css/MultipleDragGhost.css.js.map +1 -0
  112. package/dist/generated/css/OpenUI5PopupStyles.css.d.ts +2 -0
  113. package/dist/generated/css/OpenUI5PopupStyles.css.js +2 -0
  114. package/dist/generated/css/OpenUI5PopupStyles.css.js.map +1 -0
  115. package/dist/generated/css/ScrollbarStyles.css.d.ts +2 -0
  116. package/dist/generated/css/ScrollbarStyles.css.js +2 -0
  117. package/dist/generated/css/ScrollbarStyles.css.js.map +1 -0
  118. package/dist/generated/css/SystemCSSVars.css.d.ts +1 -1
  119. package/dist/generated/css/SystemCSSVars.css.js +1 -1
  120. package/dist/generated/css/SystemCSSVars.css.js.map +1 -1
  121. package/dist/generated/i18n/i18n-defaults.d.ts +3 -0
  122. package/dist/generated/i18n/i18n-defaults.js +3 -0
  123. package/dist/generated/i18n/i18n-defaults.js.map +1 -0
  124. package/dist/generated/json-imports/i18n-fetch.d.ts +1 -0
  125. package/dist/generated/json-imports/i18n-fetch.js +2 -0
  126. package/dist/generated/json-imports/i18n-fetch.js.map +1 -0
  127. package/dist/generated/json-imports/i18n-node.d.ts +1 -0
  128. package/dist/generated/json-imports/i18n-node.js +2 -0
  129. package/dist/generated/json-imports/i18n-node.js.map +1 -0
  130. package/dist/generated/json-imports/i18n.d.ts +1 -0
  131. package/dist/generated/json-imports/i18n.js +2 -0
  132. package/dist/generated/json-imports/i18n.js.map +1 -0
  133. package/dist/index.d.ts +3 -1
  134. package/dist/index.js +5 -1
  135. package/dist/index.js.map +1 -1
  136. package/dist/jsx-runtime.d.ts +1 -0
  137. package/dist/jsx-runtime.js.map +1 -1
  138. package/dist/prod/Assets-fetch.js +2 -0
  139. package/dist/prod/Assets-fetch.js.map +7 -0
  140. package/dist/prod/Assets-node.js +2 -0
  141. package/dist/prod/Assets-node.js.map +7 -0
  142. package/dist/prod/Assets.js +2 -0
  143. package/dist/prod/Assets.js.map +7 -0
  144. package/dist/prod/Boot.js +1 -1
  145. package/dist/prod/Boot.js.map +3 -3
  146. package/dist/prod/CustomElementsRegistry.js +5 -5
  147. package/dist/prod/CustomElementsRegistry.js.map +2 -2
  148. package/dist/prod/CustomElementsScopeUtils.js +1 -1
  149. package/dist/prod/CustomElementsScopeUtils.js.map +3 -3
  150. package/dist/prod/DragAndDrop.js +2 -0
  151. package/dist/prod/DragAndDrop.js.map +7 -0
  152. package/dist/prod/FontFace.js +1 -1
  153. package/dist/prod/FontFace.js.map +3 -3
  154. package/dist/prod/InitialConfiguration.js +1 -1
  155. package/dist/prod/InitialConfiguration.js.map +2 -2
  156. package/dist/prod/Keys.js +1 -1
  157. package/dist/prod/Keys.js.map +3 -3
  158. package/dist/prod/ManagedStyles.js +1 -1
  159. package/dist/prod/ManagedStyles.js.map +2 -2
  160. package/dist/prod/ScrollbarStyles.js +2 -0
  161. package/dist/prod/ScrollbarStyles.js.map +7 -0
  162. package/dist/prod/SystemCSSVars.js +1 -1
  163. package/dist/prod/SystemCSSVars.js.map +3 -3
  164. package/dist/prod/UI5Element.js +1 -1
  165. package/dist/prod/UI5Element.js.map +3 -3
  166. package/dist/prod/UI5ElementMetadata.js +1 -1
  167. package/dist/prod/UI5ElementMetadata.js.map +1 -1
  168. package/dist/prod/asset-registries/Icons.js +1 -1
  169. package/dist/prod/asset-registries/Icons.js.map +3 -3
  170. package/dist/prod/asset-registries/Illustrations.js +1 -1
  171. package/dist/prod/asset-registries/Illustrations.js.map +3 -3
  172. package/dist/prod/asset-registries/LocaleData.js +1 -1
  173. package/dist/prod/asset-registries/LocaleData.js.map +2 -2
  174. package/dist/prod/asset-registries/Themes.js +1 -1
  175. package/dist/prod/asset-registries/Themes.js.map +3 -3
  176. package/dist/prod/config/Language.js +1 -1
  177. package/dist/prod/config/Language.js.map +3 -3
  178. package/dist/prod/config/Theme.js +1 -1
  179. package/dist/prod/config/Theme.js.map +3 -3
  180. package/dist/prod/config/ThemeRoot.js.map +2 -2
  181. package/dist/prod/decorators/slot-strict.js +2 -0
  182. package/dist/prod/decorators/slot-strict.js.map +7 -0
  183. package/dist/prod/decorators/slot.js.map +2 -2
  184. package/dist/prod/decorators.js +1 -1
  185. package/dist/prod/decorators.js.map +3 -3
  186. package/dist/prod/features/F6Navigation.js +1 -1
  187. package/dist/prod/features/F6Navigation.js.map +3 -3
  188. package/dist/prod/features/InputElementsFormSupport.js +1 -1
  189. package/dist/prod/features/InputElementsFormSupport.js.map +3 -3
  190. package/dist/prod/features/OpenUI5Support.js +1 -1
  191. package/dist/prod/features/OpenUI5Support.js.map +3 -3
  192. package/dist/prod/features/insertOpenUI5PopupStyles.js +2 -0
  193. package/dist/prod/features/insertOpenUI5PopupStyles.js.map +7 -0
  194. package/dist/prod/features/patchPatcher.js +1 -1
  195. package/dist/prod/features/patchPatcher.js.map +3 -3
  196. package/dist/prod/features/patchPopup.js +1 -1
  197. package/dist/prod/features/patchPopup.js.map +3 -3
  198. package/dist/prod/generated/VersionInfo.js +1 -1
  199. package/dist/prod/generated/VersionInfo.js.map +2 -2
  200. package/dist/prod/generated/assets/i18n/messagebundle_en.json +1 -0
  201. package/dist/prod/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -0
  202. package/dist/prod/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -0
  203. package/dist/prod/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -0
  204. package/dist/prod/generated/css/FontFace.css.js +36 -1
  205. package/dist/prod/generated/css/FontFace.css.js.map +2 -2
  206. package/dist/prod/generated/css/MultipleDragGhost.css.js +2 -0
  207. package/dist/prod/generated/css/MultipleDragGhost.css.js.map +7 -0
  208. package/dist/prod/generated/css/OpenUI5PopupStyles.css.js +2 -0
  209. package/dist/prod/generated/css/OpenUI5PopupStyles.css.js.map +7 -0
  210. package/dist/prod/generated/css/ScrollbarStyles.css.js +2 -0
  211. package/dist/prod/generated/css/ScrollbarStyles.css.js.map +7 -0
  212. package/dist/prod/generated/css/SystemCSSVars.css.js +1 -1
  213. package/dist/prod/generated/css/SystemCSSVars.css.js.map +1 -1
  214. package/dist/prod/generated/i18n/i18n-defaults.js +2 -0
  215. package/dist/prod/generated/i18n/i18n-defaults.js.map +7 -0
  216. package/dist/prod/generated/json-imports/i18n-fetch.js +2 -0
  217. package/dist/prod/generated/json-imports/i18n-fetch.js.map +7 -0
  218. package/dist/prod/generated/json-imports/i18n-node.js +2 -0
  219. package/dist/prod/generated/json-imports/i18n-node.js.map +7 -0
  220. package/dist/prod/generated/json-imports/i18n.js +2 -0
  221. package/dist/prod/generated/json-imports/i18n.js.map +7 -0
  222. package/dist/prod/index.js +1 -1
  223. package/dist/prod/index.js.map +3 -3
  224. package/dist/prod/jsx-runtime.js.map +2 -2
  225. package/dist/prod/ssr-dom-shim.js +1 -1
  226. package/dist/prod/ssr-dom-shim.js.map +2 -2
  227. package/dist/prod/theming/applyTheme.js +1 -1
  228. package/dist/prod/theming/applyTheme.js.map +3 -3
  229. package/dist/prod/theming/componentStyles.js +3 -0
  230. package/dist/prod/theming/componentStyles.js.map +7 -0
  231. package/dist/prod/thirdparty/preact/preact.module.js +1 -1
  232. package/dist/prod/updateShadowRoot.js +1 -1
  233. package/dist/prod/updateShadowRoot.js.map +3 -3
  234. package/dist/prod/util/FocusableElements.js +1 -1
  235. package/dist/prod/util/FocusableElements.js.map +2 -2
  236. package/dist/prod/util/SelectionAssistant.js +1 -1
  237. package/dist/prod/util/SelectionAssistant.js.map +3 -3
  238. package/dist/prod/util/TabbableElements.js +1 -1
  239. package/dist/prod/util/TabbableElements.js.map +2 -2
  240. package/dist/prod/util/createInstanceChecker.js +2 -0
  241. package/dist/prod/util/createInstanceChecker.js.map +7 -0
  242. package/dist/prod/util/createMultiInstanceChecker.js +2 -0
  243. package/dist/prod/util/createMultiInstanceChecker.js.map +7 -0
  244. package/dist/prod/util/dragAndDrop/DragRegistry.js +1 -1
  245. package/dist/prod/util/dragAndDrop/DragRegistry.js.map +3 -3
  246. package/dist/prod/util/getParentElement.js +2 -0
  247. package/dist/prod/util/getParentElement.js.map +7 -0
  248. package/dist/prod/util/isElementHidden.js +1 -1
  249. package/dist/prod/util/isElementHidden.js.map +3 -3
  250. package/dist/prod/util/isEventMarked.js +2 -0
  251. package/dist/prod/util/isEventMarked.js.map +7 -0
  252. package/dist/prod/util/valueStateNavigation.js +2 -0
  253. package/dist/prod/util/valueStateNavigation.js.map +7 -0
  254. package/dist/prod/validateThemeRoot.js +1 -1
  255. package/dist/prod/validateThemeRoot.js.map +2 -2
  256. package/dist/ssr-dom-shim.js +2 -1
  257. package/dist/ssr-dom-shim.js.map +1 -1
  258. package/dist/theming/applyTheme.d.ts +2 -0
  259. package/dist/theming/applyTheme.js +20 -5
  260. package/dist/theming/applyTheme.js.map +1 -1
  261. package/dist/theming/componentStyles.d.ts +3 -0
  262. package/dist/theming/componentStyles.js +15 -0
  263. package/dist/theming/componentStyles.js.map +1 -0
  264. package/dist/thirdparty/preact/preact.module.js +1 -1
  265. package/dist/types.d.ts +11 -3
  266. package/dist/types.js.map +1 -1
  267. package/dist/updateShadowRoot.js +2 -1
  268. package/dist/updateShadowRoot.js.map +1 -1
  269. package/dist/util/FocusableElements.js +3 -3
  270. package/dist/util/FocusableElements.js.map +1 -1
  271. package/dist/util/SelectionAssistant.js +0 -8
  272. package/dist/util/SelectionAssistant.js.map +1 -1
  273. package/dist/util/TabbableElements.js +2 -2
  274. package/dist/util/TabbableElements.js.map +1 -1
  275. package/dist/util/createInstanceChecker.d.ts +2 -0
  276. package/dist/util/createInstanceChecker.js +8 -0
  277. package/dist/util/createInstanceChecker.js.map +1 -0
  278. package/dist/util/createMultiInstanceChecker.d.ts +2 -0
  279. package/dist/util/createMultiInstanceChecker.js +19 -0
  280. package/dist/util/createMultiInstanceChecker.js.map +1 -0
  281. package/dist/util/dragAndDrop/DragRegistry.d.ts +14 -8
  282. package/dist/util/dragAndDrop/DragRegistry.js +46 -50
  283. package/dist/util/dragAndDrop/DragRegistry.js.map +1 -1
  284. package/dist/util/getClassCopy.d.ts +4 -3
  285. package/dist/util/getParentElement.d.ts +2 -0
  286. package/dist/util/getParentElement.js +5 -0
  287. package/dist/util/getParentElement.js.map +1 -0
  288. package/dist/util/isElementHidden.js +2 -1
  289. package/dist/util/isElementHidden.js.map +1 -1
  290. package/dist/util/isEventMarked.d.ts +2 -0
  291. package/dist/util/isEventMarked.js +6 -0
  292. package/dist/util/isEventMarked.js.map +1 -0
  293. package/dist/util/valueStateNavigation.d.ts +8 -0
  294. package/dist/util/valueStateNavigation.js +40 -0
  295. package/dist/util/valueStateNavigation.js.map +1 -0
  296. package/dist/validateThemeRoot.js +6 -2
  297. package/dist/validateThemeRoot.js.map +1 -1
  298. package/package-scripts.cjs +64 -33
  299. package/package.json +27 -22
  300. package/src/css/MultipleDragGhost.css +17 -0
  301. package/src/css/OpenUI5PopupStyles.css +10 -0
  302. package/src/css/ScrollbarStyles.css +3 -0
  303. package/src/css/SystemCSSVars.css +28 -3
  304. package/src/i18n/messagebundle.properties +5 -0
  305. package/src/i18n/messagebundle_en.properties +2 -0
  306. package/src/i18n/messagebundle_en_US_sappsd.properties +2 -0
  307. package/src/i18n/messagebundle_en_US_saprigi.properties +2 -0
  308. package/src/i18n/messagebundle_en_US_saptrc.properties +2 -0
  309. package/src/thirdparty/preact/preact.module.js +1 -1
  310. package/cypress/specs/Accessor.cy.tsx +0 -79
  311. package/cypress/specs/Boot.cy.tsx +0 -19
  312. package/cypress/specs/ConfigurationChange.cy.tsx +0 -41
  313. package/cypress/specs/ConfigurationScript.cy.tsx +0 -133
  314. package/cypress/specs/ConfigurationURL.cy.tsx +0 -201
  315. package/cypress/specs/CustomMount.cy.tsx +0 -9
  316. package/cypress/specs/CustomTheme.cy.tsx +0 -36
  317. package/cypress/specs/EventProvider.cy.tsx +0 -59
  318. package/cypress/specs/Events.cy.tsx +0 -28
  319. package/cypress/specs/SystemDOMElements.cy.tsx +0 -8
  320. package/cypress/specs/Theming.cy.tsx +0 -74
  321. package/cypress/specs/UI5ElementInvalidation.cy.tsx +0 -252
  322. package/cypress/specs/UI5ElementLifecycle.cy.tsx +0 -82
  323. package/cypress/specs/UI5ElementListenForChildPropChanges.cy.tsx +0 -83
  324. package/cypress/specs/UI5ElementMetadataExt.cy.tsx +0 -42
  325. package/cypress/specs/UI5ElementPropertyValidation.cy.tsx +0 -16
  326. package/cypress/specs/UI5ElementPropsAndAttrs.cy.tsx +0 -113
  327. package/cypress/specs/UI5ElementShadowDOM.cy.tsx +0 -30
  328. package/cypress/specs/UI5ElementSlots.cy.tsx +0 -136
  329. package/cypress/specs/WithComplexTemplate.cy.tsx +0 -32
  330. package/cypress/specs/i18n_texts.cy.tsx +0 -129
  331. package/cypress/specs/util/FocusableElements.cy.tsx +0 -48
  332. package/cypress/support/commands.ts +0 -39
  333. package/cypress/support/component-index.html +0 -12
  334. package/cypress/support/component.ts +0 -17
  335. package/cypress/tsconfig.json +0 -21
  336. package/dist/css/FontFace.css +0 -96
  337. package/dist/css/OverrideFontFace.css +0 -32
  338. package/dist/generated/css/OverrideFontFace.css.d.ts +0 -2
  339. package/dist/generated/css/OverrideFontFace.css.js +0 -2
  340. package/dist/generated/css/OverrideFontFace.css.js.map +0 -1
  341. package/dist/prod/generated/css/OverrideFontFace.css.js +0 -2
  342. package/dist/prod/generated/css/OverrideFontFace.css.js.map +0 -7
  343. package/dist/prod/util/getEffectiveScrollbarStyle.js +0 -28
  344. package/dist/prod/util/getEffectiveScrollbarStyle.js.map +0 -7
  345. package/dist/util/getEffectiveScrollbarStyle.d.ts +0 -2
  346. package/dist/util/getEffectiveScrollbarStyle.js +0 -36
  347. package/dist/util/getEffectiveScrollbarStyle.js.map +0 -1
  348. package/src/css/FontFace.css +0 -96
  349. package/src/css/OverrideFontFace.css +0 -32
@@ -1,136 +0,0 @@
1
- import Generic from "../../test/test-elements/Generic.js";
2
-
3
- describe("Slots work properly", () => {
4
- it("Tests that properties exist on the element for each slot", () => {
5
- cy.mount(
6
- <Generic>
7
- Default slot text
8
- <span>Default slot content</span>
9
- <span slot="other">Other slot content 1</span>
10
- <span slot="other">Other slot content 2</span>
11
- <span slot="individual">Individual slot content 1</span>
12
- <span slot="individual">Individual slot content 2</span>
13
- <span slot="named">Item in slot with propertyName</span>
14
- <span slot="named">Item in slot with propertyName</span>
15
- <span slot="row-header">Item in slot row-header</span>
16
- <span slot="row-header">Item in slot row-header</span>
17
- </Generic>
18
- );
19
-
20
- cy.get<Generic>("[ui5-test-generic]")
21
- .should($el => {
22
- expect($el[0].getDomRef()).to.exist;
23
- });
24
-
25
- cy.get("[ui5-test-generic]")
26
- .as("testGeneric");
27
-
28
- cy.get("@testGeneric")
29
- .invoke("prop", "content")
30
- .then(value => {
31
- return (value as Array<unknown>).length;
32
- })
33
- .should("be.greaterThan", 0);
34
-
35
- cy.get("@testGeneric")
36
- .invoke("prop", "other")
37
- .should("have.length", 2);
38
-
39
- cy.get("@testGeneric")
40
- .invoke("prop", "individual")
41
- .should("have.length", 2);
42
-
43
- cy.get("@testGeneric")
44
- .invoke("prop", "row-header")
45
- .should("have.length", 2);
46
-
47
- cy.get("@testGeneric")
48
- .invoke("prop", "named")
49
- .should("be.undefined");
50
- });
51
-
52
- it("Tests that properties exist on the element for each slot", () => {
53
- cy.mount(
54
- <Generic>
55
- <span slot="individual">Individual slot content 1</span>
56
- <span slot="individual">Individual slot content 2</span>
57
- </Generic>
58
- );
59
-
60
- cy.get<Generic>("[ui5-test-generic]")
61
- .should($el => {
62
- expect($el[0].getDomRef()).to.exist;
63
- });
64
-
65
- cy.get("[ui5-test-generic]");
66
-
67
- cy.get("[slot=individual]")
68
- .should("not.exist");
69
-
70
- cy.get("[slot=individual-1]")
71
- .should("exist");
72
-
73
- cy.get("[slot=individual-2]")
74
- .should("exist");
75
- });
76
-
77
- it("Tests that changing the slot attribute of children redistributes them across slot accessors", () => {
78
- let defaultSlotLength = 0;
79
-
80
- cy.mount(
81
- <Generic>
82
- <span>Default slot content</span>
83
- <span slot="other" id="o1">Other slot content 1</span>
84
- <span slot="other" id="o2">Other slot content 2</span>
85
- <span slot="named">Item in slot with propertyName</span>
86
- <span slot="named">Item in slot with propertyName</span>
87
- </Generic>
88
- );
89
-
90
- cy.get<Generic>("[ui5-test-generic]")
91
- .should($el => {
92
- expect($el[0].getDomRef()).to.exist;
93
- });
94
-
95
- cy.get("[ui5-test-generic]")
96
- .as("testGeneric");
97
-
98
- cy.get("@testGeneric")
99
- .invoke("prop", "content")
100
- .then(value => {
101
- defaultSlotLength = value.length;
102
-
103
- return defaultSlotLength;
104
- })
105
- .should("be.greaterThan", 0);
106
-
107
- cy.get("@testGeneric")
108
- .invoke("prop", "other")
109
- .should("have.length", 2);
110
-
111
- cy.get("@testGeneric")
112
- .invoke("prop", "items")
113
- .should("have.length", 2);
114
-
115
- cy.get("#o1")
116
- .invoke("removeAttr", "slot");
117
-
118
- cy.get("#o2")
119
- .invoke("attr", "slot", "named");
120
-
121
- cy.get("@testGeneric")
122
- .then($testGeneric => {
123
- cy.wrap($testGeneric)
124
- .invoke("prop", "content")
125
- .should("have.length", defaultSlotLength + 1);
126
- });
127
-
128
- cy.get("@testGeneric")
129
- .invoke("prop", "other")
130
- .should("have.length", 0);
131
-
132
- cy.get("@testGeneric")
133
- .invoke("prop", "items")
134
- .should("have.length", 3);
135
- });
136
- });
@@ -1,32 +0,0 @@
1
- import WithComplexTemplate from "../../test/test-elements/WithComplexTemplate.js";
2
-
3
- describe("Complex templates", () => {
4
- it("Tests context maintained in the HBS template before, after and inside 'each' statements", () => {
5
- const EXPTECTED_LOOP_CONTENT = "Root text: root, Item text: positives";
6
- const EXPTECTED_NESTED_LOOP_CONTENT = "Root Text: root, Word text: word1_good";
7
-
8
- cy.mount(<WithComplexTemplate />);
9
-
10
- cy.get("[ui5-test-complex-template]")
11
- .shadow()
12
- .find(".before-each-content--start--0")
13
- .should("have.text", EXPTECTED_LOOP_CONTENT);
14
-
15
- cy.get("[ui5-test-complex-template]")
16
- .shadow()
17
- .find(".nested-each-content--0--0")
18
- .first()
19
- .should("have.text", EXPTECTED_NESTED_LOOP_CONTENT);
20
-
21
- cy.get("[ui5-test-complex-template]")
22
- .shadow()
23
- .find(".nested-each-content--0--1")
24
- .first()
25
- .should("have.text", EXPTECTED_NESTED_LOOP_CONTENT);
26
-
27
- cy.get("[ui5-test-complex-template]")
28
- .shadow()
29
- .find(".after-each-content--end--0")
30
- .should("have.text", EXPTECTED_LOOP_CONTENT);
31
- });
32
- });
@@ -1,129 +0,0 @@
1
- import { setLanguage } from "../../src/config/Language.js";
2
- import { registerI18nLoader, getI18nBundle } from "../../src/i18nBundle.js";
3
- import parseProperties from "../../src/PropertiesFileFormat.js";
4
- import I18nParent from "../../test/test-elements/I18nParent.js";
5
- import I18nChild from "../../test/test-elements/I18nChild.js";
6
- import I18nChild2 from "../../test/test-elements/I18nChild2.js";
7
-
8
- const props = `PLEASE_WAIT=Patientez.
9
- TEST_1=Text '{0}
10
- TEST_2=Text ''{0}
11
- TEST_3=Text ''{0}''
12
- TEST_4=Text
13
- TEST_5=Text '
14
- TEST_6=Text ''
15
- TEST_7=Text {0}
16
- TEST_8=Text '{0}'
17
- TEST_9=Text '{0}''`;
18
-
19
- const texts = [
20
- { key: "TEST_1", result: "Text {0}" },
21
- { key: "TEST_2", result: "Text 'test" },
22
- { key: "TEST_3", result: "Text 'test'" },
23
- { key: "TEST_4", result: "Text" },
24
- { key: "TEST_5", result: "Text '" },
25
- { key: "TEST_6", result: "Text '" },
26
- { key: "TEST_7", result: "Text test" },
27
- { key: "TEST_8", result: "Text {0}" },
28
- { key: "TEST_9", result: "Text {0}'" }
29
- ];
30
-
31
- describe("i18n texts", () => {
32
- beforeEach(() => {
33
- cy.wrap({ setLanguage, registerI18nLoader, getI18nBundle })
34
- .then(async api => {
35
- // eslint-disable-next-line @typescript-eslint/require-await
36
- api.registerI18nLoader("myApp", "fr", async () => {
37
- return parseProperties(props);
38
- });
39
-
40
- await api.setLanguage("fr");
41
- });
42
- });
43
-
44
- it("Getting text from current language", () => {
45
- cy.wrap({ getI18nBundle })
46
- .then(async api => {
47
- const bundle = await api.getI18nBundle("myApp");
48
-
49
- return bundle.getText("PLEASE_WAIT");
50
- })
51
- .should("equal", "Patientez.");
52
-
53
- cy.wrap({ setLanguage })
54
- .then(async api => {
55
- await api.setLanguage("bg");
56
- });
57
-
58
- cy.wrap({ getI18nBundle })
59
- .then(async api => {
60
- const bundle = await api.getI18nBundle("myApp");
61
-
62
- return bundle.getText("PLEASE_WAIT");
63
- })
64
- .should("equal", "PLEASE_WAIT");
65
- });
66
-
67
- // Single quote ' escape some symbols after it. For example: "Text '{0}" will result in "Text {0}". To use single
68
- // quote you have to use: ''
69
- it("Single quote '", () => {
70
- texts.forEach(textData => {
71
- cy.wrap({ getI18nBundle })
72
- .then(async api => {
73
- const bundle = await api.getI18nBundle("myApp");
74
-
75
- return bundle.getText(textData.key, "test");
76
- })
77
- .should("equal", textData.result);
78
- });
79
- });
80
- });
81
-
82
- describe("i18n decorator", () => {
83
- beforeEach(() => {
84
- cy.wrap({ setLanguage, registerI18nLoader })
85
- .then(async api => {
86
- // eslint-disable-next-line @typescript-eslint/require-await
87
- api.registerI18nLoader("custom-language", "bg", async () => {
88
- return parseProperties(`PLEASE_WAIT=Моля изчакайте`);
89
- });
90
-
91
- // eslint-disable-next-line @typescript-eslint/require-await
92
- api.registerI18nLoader("another-custom-language", "bg", async () => {
93
- return parseProperties(`SOME_KEY=Някакъв ключ`);
94
- });
95
-
96
- await api.setLanguage("bg");
97
- });
98
- });
99
-
100
- it("Bundle is accessed from every class", () => {
101
- cy.mount(<>
102
- <I18nParent />
103
- <I18nChild />
104
- </>);
105
-
106
- cy.get("[i18n-parent]")
107
- .invoke("prop", "i18nText")
108
- .should("be.equal", "Моля изчакайте");
109
-
110
- cy.get("[i18n-child]")
111
- .invoke("prop", "i18nText")
112
- .should("be.equal", "Моля изчакайте");
113
- });
114
-
115
- it("Bundle storage works correctly", () => {
116
- cy.mount(<>
117
- <I18nParent />
118
- <I18nChild2 />
119
- </>);
120
-
121
- cy.get("[i18n-parent]")
122
- .invoke("prop", "i18nText")
123
- .should("be.equal", "Моля изчакайте");
124
-
125
- cy.get("[i18n-child2]")
126
- .invoke("prop", "i18nText")
127
- .should("be.equal", "Някакъв ключ");
128
- });
129
- });
@@ -1,48 +0,0 @@
1
- import { getFirstFocusableElement } from "@ui5/webcomponents-base/dist/util/FocusableElements.js";
2
- import SideNavigation from "@ui5/webcomponents-fiori/dist/SideNavigation.js";
3
- import SideNavigationItem from "@ui5/webcomponents-fiori/dist/SideNavigationItem.js";
4
- import SideNavigationSubItem from "@ui5/webcomponents-fiori/dist/SideNavigationSubItem.js";
5
- import Button from "@ui5/webcomponents/dist/Button.js";
6
- import Input from "@ui5/webcomponents/dist/Input.js";
7
-
8
- describe("FocusableElements", () => {
9
- it("Tests first focusable element", () => {
10
- cy.mount(
11
- <>
12
- <div id="container">
13
- <Input tabindex="-1"></Input>
14
- <br/>
15
- <SideNavigation>
16
- <SideNavigationItem
17
- text="Home"
18
- icon="home"
19
- href="#home"
20
- title="Home tooltip"></SideNavigationItem>
21
- <SideNavigationItem text="People" href="#people" expanded icon="group">
22
- <SideNavigationSubItem
23
- id="subItem1"
24
- selected
25
- text="Should be Focused When Open"></SideNavigationSubItem>
26
- <SideNavigationSubItem text="Sub Item 2"></SideNavigationSubItem>
27
- </SideNavigationItem>
28
- </SideNavigation>
29
- <br/>
30
- <Button id="buttonId">Close</Button>
31
- </div>
32
- </>
33
- );
34
-
35
- cy.get("#subItem1")
36
- .shadow()
37
- .find(".ui5-sn-item")
38
- .should("have.attr", "tabindex", "0");
39
-
40
- cy.get("#container").then( async ($container) => {
41
- const firstFocusable = await getFirstFocusableElement($container.get(0));
42
- await firstFocusable?.focus();
43
- });
44
-
45
- cy.get("#subItem1")
46
- .should("have.focus");
47
- });
48
- });
@@ -1,39 +0,0 @@
1
- /// <reference types="cypress" />
2
- // ***********************************************
3
- // This example commands.ts shows you how to
4
- // create various custom commands and overwrite
5
- // existing commands.
6
- //
7
- // For more comprehensive examples of custom
8
- // commands please read more here:
9
- // https://on.cypress.io/custom-commands
10
- // ***********************************************
11
- //
12
- //
13
- // -- This is a parent command --
14
- // Cypress.Commands.add('login', (email, password) => { ... })
15
- //
16
- //
17
- // -- This is a child command --
18
- // Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
19
- //
20
- //
21
- // -- This is a dual command --
22
- // Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
23
- //
24
- //
25
- // -- This will overwrite an existing command --
26
- // Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
27
- //
28
- // declare global {
29
- // namespace Cypress {
30
- // interface Chainable {
31
- // login(email: string, password: string): Chainable<void>
32
- // drag(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
33
- // dismiss(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
34
- // visit(originalFn: CommandOriginalFn, url: string, options: Partial<VisitOptions>): Chainable<Element>
35
- // }
36
- // }
37
- // }
38
-
39
- import "@ui5/cypress-internal/commands.js";
@@ -1,12 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
- <title>Components App</title>
8
- </head>
9
- <body>
10
- <div data-cy-root></div>
11
- </body>
12
- </html>
@@ -1,17 +0,0 @@
1
- // ***********************************************************
2
- // This example support/component.ts is processed and
3
- // loaded automatically before your test files.
4
- //
5
- // This is a great place to put global configuration and
6
- // behavior that modifies Cypress.
7
- //
8
- // You can change the location of this file or turn off
9
- // automatically serving support files with the
10
- // 'supportFile' configuration option.
11
- //
12
- // You can read more here:
13
- // https://on.cypress.io/configuration
14
- // ***********************************************************
15
-
16
- // Import commands.js using ES2015 syntax:
17
- import './commands'
@@ -1,21 +0,0 @@
1
- {
2
- "extends": "@ui5/webcomponents-tools/tsconfig.json",
3
- "include": [
4
- "./**/*"
5
- ],
6
- "compilerOptions": {
7
- "outDir": "dist",
8
- "composite": true,
9
- "tsBuildInfoFile": "dist/.tsbuildinfobuild",
10
- "module": "NodeNext",
11
- "moduleResolution": "nodenext",
12
- },
13
- "references": [
14
- {
15
- "path": "../"
16
- },
17
- {
18
- "path": "../test/"
19
- },
20
- ]
21
- }
@@ -1,96 +0,0 @@
1
- @font-face {
2
- font-family: "72";
3
- font-style: normal;
4
- font-weight: 400;
5
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Regular.woff2?ui5-webcomponents) format("woff2"), local("72");
6
- unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
7
- }
8
-
9
- @font-face {
10
- font-family: "72full";
11
- font-style: normal;
12
- font-weight: 400;
13
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Regular-full.woff2?ui5-webcomponents) format("woff2"), local('72-full');
14
- }
15
-
16
- @font-face {
17
- font-family: "72";
18
- font-style: normal;
19
- font-weight: 700;
20
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"), local('72-Bold');
21
- unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
22
- }
23
-
24
- @font-face {
25
- font-family: "72full";
26
- font-style: normal;
27
- font-weight: 700;
28
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2");
29
- }
30
-
31
- @font-face {
32
- font-family: '72-Bold';
33
- font-style: normal;
34
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"), local('72-Bold');
35
- unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
36
- }
37
-
38
- @font-face {
39
- font-family: '72-Boldfull';
40
- font-style: normal;
41
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2");
42
- }
43
-
44
- @font-face {
45
- font-family: '72-Light';
46
- font-style: normal;
47
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Light.woff2?ui5-webcomponents) format("woff2"), local('72-Light');
48
- unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
49
- }
50
-
51
- @font-face {
52
- font-family: '72-Lightfull';
53
- font-style: normal;
54
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Light-full.woff2?ui5-webcomponents) format("woff2");
55
- }
56
-
57
- @font-face {
58
- font-family: '72Mono';
59
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Regular.woff2?ui5-webcomponents) format('woff2'), local('72Mono');
60
- unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
61
- }
62
-
63
- @font-face {
64
- font-family: '72Monofull';
65
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Regular-full.woff2?ui5-webcomponents) format('woff2');
66
- }
67
-
68
- @font-face {
69
- font-family: '72Mono-Bold';
70
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Bold.woff2?ui5-webcomponents) format('woff2'), local('72Mono-Bold');
71
- unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
72
- }
73
-
74
- @font-face {
75
- font-family: '72Mono-Boldfull';
76
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Bold-full.woff2?ui5-webcomponents) format('woff2');
77
- }
78
-
79
- @font-face {
80
- font-family: "72Black";
81
- font-style: bold;
82
- font-weight: 900;
83
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Black.woff2?ui5-webcomponents) format("woff2"), local('72Black');
84
- unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
85
- }
86
-
87
- @font-face {
88
- font-family: '72Blackfull';
89
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Black-full.woff2?ui5-webcomponents) format('woff2');
90
- }
91
-
92
- @font-face {
93
- font-family: "72-SemiboldDuplex";
94
- src: url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-SemiboldDuplex.woff2?ui5-webcomponents) format("woff2"), local('72-SemiboldDuplex');
95
- unicode-range: U+00, U+0D, U+20-7E, U+A0-FF, U+131, U+152-153, U+161, U+178, U+17D-17E, U+192, U+237, U+2C6, U+2DC, U+3BC, U+1E9E, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
96
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * Some diacritics are supported by the 72 font:
3
- * * Grave
4
- * * Acute
5
- * * Circumflex
6
- * * Tilde
7
- *
8
- * However, the following diacritics and the combination of multiple diacritics (including the supported ones) are not supported:
9
- * * Breve
10
- * * Horn
11
- * * Dot below
12
- * * Hook above
13
- *
14
- *
15
- * Override for the characters that aren't covered by the '72' font to other system fonts
16
- *
17
- * U+0102-0103: A and a with Breve
18
- * U+01A0-01A1: O and o with Horn
19
- * U+01AF-01B0: U and u with Horn
20
- * U+1EA0-1EB7: A and a with diacritics that are not supported by the font and combination of multiple diacritics
21
- * U+1EB8-1EC7: E and e with diacritics that are not supported by the font and combination of multiple diacritics
22
- * U+1EC8-1ECB: I and i with diacritics that are not supported by the font and combination of multiple diacritics
23
- * U+1ECC-1EE3: O and o with diacritics that are not supported by the font and combination of multiple diacritics
24
- * U+1EE4-1EF1: U and u with diacritics that are not supported by the font and combination of multiple diacritics
25
- * U+1EF4-1EF7: Y and y with diacritics that are not supported by the font and combination of multiple diacritics
26
- *
27
- */
28
- @font-face {
29
- font-family: '72override';
30
- unicode-range: U+0102-0103, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EB7, U+1EB8-1EC7, U+1EC8-1ECB, U+1ECC-1EE3, U+1EE4-1EF1, U+1EF4-1EF7;
31
- src: local('Arial'), local('Helvetica'), local('sans-serif');
32
- }
@@ -1,2 +0,0 @@
1
- declare const _default: "@font-face{font-family:'72override';unicode-range:U+0102-0103,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EB7,U+1EB8-1EC7,U+1EC8-1ECB,U+1ECC-1EE3,U+1EE4-1EF1,U+1EF4-1EF7;src:local('Arial'),local('Helvetica'),local('sans-serif')}";
2
- export default _default;
@@ -1,2 +0,0 @@
1
- export default `@font-face{font-family:'72override';unicode-range:U+0102-0103,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EB7,U+1EB8-1EC7,U+1EC8-1ECB,U+1ECC-1EE3,U+1EE4-1EF1,U+1EF4-1EF7;src:local('Arial'),local('Helvetica'),local('sans-serif')}`;
2
- //# sourceMappingURL=OverrideFontFace.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OverrideFontFace.css.js","sourceRoot":"","sources":["../../../src/generated/css/OverrideFontFace.css.ts"],"names":[],"mappings":"AAAA,eAAe,0NAA0N,CAAC","sourcesContent":["export default `@font-face{font-family:'72override';unicode-range:U+0102-0103,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EB7,U+1EB8-1EC7,U+1EC8-1ECB,U+1ECC-1EE3,U+1EE4-1EF1,U+1EF4-1EF7;src:local('Arial'),local('Helvetica'),local('sans-serif')}`;"]}
@@ -1,2 +0,0 @@
1
- "use strict";export default"@font-face{font-family:'72override';unicode-range:U+0102-0103,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EB7,U+1EB8-1EC7,U+1EC8-1ECB,U+1ECC-1EE3,U+1EE4-1EF1,U+1EF4-1EF7;src:local('Arial'),local('Helvetica'),local('sans-serif')}";
2
- //# sourceMappingURL=OverrideFontFace.css.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../src/generated/css/OverrideFontFace.css.ts"],
4
- "sourcesContent": ["export default `@font-face{font-family:'72override';unicode-range:U+0102-0103,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EB7,U+1EB8-1EC7,U+1EC8-1ECB,U+1ECC-1EE3,U+1EE4-1EF1,U+1EF4-1EF7;src:local('Arial'),local('Helvetica'),local('sans-serif')}`;"],
5
- "mappings": "aAAA,cAAe",
6
- "names": []
7
- }
@@ -1,28 +0,0 @@
1
- "use strict";const r="ui5-content-native-scrollbars",o=typeof document>"u",a=()=>o||document.body.classList.contains(r)?"":`
2
- ::-webkit-scrollbar:horizontal {
3
- height: var(--sapScrollBar_Dimension);
4
- }
5
-
6
- ::-webkit-scrollbar:vertical {
7
- width: var(--sapScrollBar_Dimension);
8
- }
9
-
10
- ::-webkit-scrollbar {
11
- background-color: var(--sapScrollBar_TrackColor);
12
- border-left: none;
13
- }
14
-
15
- ::-webkit-scrollbar-thumb {
16
- border-radius: var(--sapElement_BorderCornerRadius);
17
- background-color: var(--sapScrollBar_FaceColor);
18
- border: 0.125rem solid var(--sapScrollBar_TrackColor);
19
- }
20
-
21
- ::-webkit-scrollbar-thumb:hover {
22
- background-color: var(--sapScrollBar_Hover_FaceColor);
23
- }
24
-
25
- ::-webkit-scrollbar-corner {
26
- background-color: var(--sapScrollBar_TrackColor);
27
- }`;export default a;
28
- //# sourceMappingURL=getEffectiveScrollbarStyle.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/util/getEffectiveScrollbarStyle.ts"],
4
- "sourcesContent": ["const NO_SCROLLBAR_STYLE_CLASS = \"ui5-content-native-scrollbars\";\nconst isSSR = typeof document === \"undefined\";\n\nconst getEffectiveScrollbarStyle = () => {\n\tif (isSSR || document.body.classList.contains(NO_SCROLLBAR_STYLE_CLASS)) {\n\t\treturn \"\";\n\t}\n\n\treturn `\n::-webkit-scrollbar:horizontal {\n\theight: var(--sapScrollBar_Dimension);\n}\n\n::-webkit-scrollbar:vertical {\n\twidth: var(--sapScrollBar_Dimension);\n}\n\n::-webkit-scrollbar {\n\tbackground-color: var(--sapScrollBar_TrackColor);\n\tborder-left: none;\n}\n\n::-webkit-scrollbar-thumb {\n\tborder-radius: var(--sapElement_BorderCornerRadius);\n\tbackground-color: var(--sapScrollBar_FaceColor);\n\tborder: 0.125rem solid var(--sapScrollBar_TrackColor);\n}\n\n::-webkit-scrollbar-thumb:hover {\n\tbackground-color: var(--sapScrollBar_Hover_FaceColor);\n}\n\n::-webkit-scrollbar-corner {\n\tbackground-color: var(--sapScrollBar_TrackColor);\n}`;\n};\n\nexport default getEffectiveScrollbarStyle;\n"],
5
- "mappings": "aAAA,MAAMA,EAA2B,gCAC3BC,EAAQ,OAAO,SAAa,IAE5BC,EAA6B,IAC9BD,GAAS,SAAS,KAAK,UAAU,SAASD,CAAwB,EAC9D,GAGD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GA6BR,eAAeE",
6
- "names": ["NO_SCROLLBAR_STYLE_CLASS", "isSSR", "getEffectiveScrollbarStyle"]
7
- }
@@ -1,2 +0,0 @@
1
- declare const getEffectiveScrollbarStyle: () => "" | "\n::-webkit-scrollbar:horizontal {\n\theight: var(--sapScrollBar_Dimension);\n}\n\n::-webkit-scrollbar:vertical {\n\twidth: var(--sapScrollBar_Dimension);\n}\n\n::-webkit-scrollbar {\n\tbackground-color: var(--sapScrollBar_TrackColor);\n\tborder-left: none;\n}\n\n::-webkit-scrollbar-thumb {\n\tborder-radius: var(--sapElement_BorderCornerRadius);\n\tbackground-color: var(--sapScrollBar_FaceColor);\n\tborder: 0.125rem solid var(--sapScrollBar_TrackColor);\n}\n\n::-webkit-scrollbar-thumb:hover {\n\tbackground-color: var(--sapScrollBar_Hover_FaceColor);\n}\n\n::-webkit-scrollbar-corner {\n\tbackground-color: var(--sapScrollBar_TrackColor);\n}";
2
- export default getEffectiveScrollbarStyle;