@limetech/lime-elements 35.0.0-next.9 → 35.0.1-next.2

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 (299) hide show
  1. package/dist/cjs/{_arrayIncludesWith-36a6fafb.js → _arrayIncludesWith-29083f83.js} +5 -4
  2. package/dist/cjs/{_assignValue-c9fc3712.js → _assignValue-7c18d8d6.js} +1 -1
  3. package/dist/cjs/_defineProperty-8f56146d.js +13 -0
  4. package/dist/cjs/{_defineProperty-8351e789.js → _getNative-60328036.js} +0 -9
  5. package/dist/cjs/checkbox.template-b6c6562c.js +43 -0
  6. package/dist/cjs/{component-f7ef9087.js → component-66df95e7.js} +190 -132
  7. package/dist/cjs/{component-f532119f.js → component-67144c1c.js} +47 -3
  8. package/dist/cjs/{component-ed21410d.js → component-ae3bfacf.js} +367 -235
  9. package/dist/cjs/{component-2faaa141.js → component-cf490570.js} +213 -143
  10. package/dist/cjs/{component-10dbdd60.js → component-dd795ff0.js} +7 -5
  11. package/dist/cjs/{dateFormatter-26eac73a.js → dateFormatter-05d80b12.js} +37 -31
  12. package/dist/cjs/identity-6dc34885.js +44 -0
  13. package/dist/cjs/{index-e63a89d7.js → index-2a28697b.js} +27 -1
  14. package/dist/cjs/{isEqual-e3b9c27c.js → isEqual-d2a13a24.js} +13 -55
  15. package/dist/cjs/lime-elements.cjs.js +3 -3
  16. package/dist/cjs/limel-badge.cjs.entry.js +4 -4
  17. package/dist/cjs/limel-banner.cjs.entry.js +2 -2
  18. package/dist/cjs/limel-button-group.cjs.entry.js +3 -3
  19. package/dist/cjs/limel-button.cjs.entry.js +3 -3
  20. package/dist/cjs/limel-checkbox.cjs.entry.js +136 -90
  21. package/dist/cjs/limel-chip-set.cjs.entry.js +235 -191
  22. package/dist/cjs/limel-circular-progress.cjs.entry.js +3 -3
  23. package/dist/cjs/limel-code-editor.cjs.entry.js +51 -24
  24. package/dist/cjs/limel-collapsible-section.cjs.entry.js +2 -2
  25. package/dist/cjs/limel-color-picker-palette_2.cjs.entry.js +7 -6
  26. package/dist/cjs/limel-color-picker.cjs.entry.js +2 -2
  27. package/dist/cjs/limel-config.cjs.entry.js +2 -2
  28. package/dist/cjs/limel-date-picker.cjs.entry.js +8 -8
  29. package/dist/cjs/limel-dialog.cjs.entry.js +35 -19
  30. package/dist/cjs/limel-file.cjs.entry.js +11 -9
  31. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +987 -669
  32. package/dist/cjs/limel-flex-container.cjs.entry.js +6 -2
  33. package/dist/cjs/limel-form.cjs.entry.js +19985 -20009
  34. package/dist/cjs/limel-grid.cjs.entry.js +2 -2
  35. package/dist/cjs/limel-header.cjs.entry.js +2 -2
  36. package/dist/cjs/limel-icon-button.cjs.entry.js +6 -6
  37. package/dist/cjs/limel-icon.cjs.entry.js +2 -2
  38. package/dist/cjs/limel-input-field.cjs.entry.js +12 -10
  39. package/dist/cjs/limel-linear-progress.cjs.entry.js +4 -4
  40. package/dist/cjs/limel-list_3.cjs.entry.js +154 -91
  41. package/dist/cjs/limel-menu-list.cjs.entry.js +87 -74
  42. package/dist/cjs/limel-menu.cjs.entry.js +6 -5
  43. package/dist/cjs/limel-picker.cjs.entry.js +6 -8
  44. package/dist/cjs/limel-popover-surface.cjs.entry.js +3 -3
  45. package/dist/cjs/limel-progress-flow-item.cjs.entry.js +2 -2
  46. package/dist/cjs/limel-progress-flow.cjs.entry.js +2 -2
  47. package/dist/cjs/limel-select.cjs.entry.js +6 -6
  48. package/dist/cjs/limel-slider.cjs.entry.js +34 -7
  49. package/dist/cjs/limel-snackbar.cjs.entry.js +79 -73
  50. package/dist/cjs/limel-spinner.cjs.entry.js +2 -2
  51. package/dist/cjs/limel-switch.cjs.entry.js +498 -202
  52. package/dist/cjs/limel-tab-bar.cjs.entry.js +269 -190
  53. package/dist/cjs/limel-tab-panel.cjs.entry.js +2 -2
  54. package/dist/cjs/limel-table.cjs.entry.js +79 -17
  55. package/dist/cjs/limel-tooltip_2.cjs.entry.js +3 -3
  56. package/dist/cjs/loader.cjs.js +3 -3
  57. package/dist/cjs/{moment-d287c0ed.js → moment-5cfac5cd.js} +94 -79
  58. package/dist/cjs/{pickBy-88b0430a.js → pickBy-3ef47bf2.js} +6 -5
  59. package/dist/cjs/{zipObject-4050a45f.js → zipObject-93a471fa.js} +1 -1
  60. package/dist/collection/collection-manifest.json +2 -2
  61. package/dist/collection/components/badge/badge.css +9 -15
  62. package/dist/collection/components/badge/badge.js +2 -2
  63. package/dist/collection/components/button/button.css +333 -145
  64. package/dist/collection/components/button-group/button-group.css +30 -5
  65. package/dist/collection/components/checkbox/checkbox.css +71 -20
  66. package/dist/collection/components/checkbox/checkbox.js +5 -4
  67. package/dist/collection/components/checkbox/checkbox.template.js +24 -20
  68. package/dist/collection/components/chip-set/chip-set.css +367 -34
  69. package/dist/collection/components/circular-progress/circular-progress.css +2 -2
  70. package/dist/collection/components/code-editor/code-editor.css +8 -13
  71. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.css +1 -1
  72. package/dist/collection/components/dialog/dialog.css +153 -109
  73. package/dist/collection/components/dialog/dialog.js +36 -11
  74. package/dist/collection/components/file/icon-background-colors.js +2 -1
  75. package/dist/collection/components/file/icon-fill-colors.js +2 -1
  76. package/dist/collection/components/file/icons.js +1 -1
  77. package/dist/collection/components/flex-container/flex-container.js +10 -0
  78. package/dist/collection/components/form/fields/schema-field.js +0 -1
  79. package/dist/collection/components/form/form.css +5 -1
  80. package/dist/collection/components/form/form.js +34 -0
  81. package/dist/collection/components/form/form.types.js +0 -1
  82. package/dist/collection/components/form/templates/common.js +4 -1
  83. package/dist/collection/components/icon-button/icon-button.css +116 -59
  84. package/dist/collection/components/icon-button/icon-button.js +1 -0
  85. package/dist/collection/components/input-field/input-field.css +344 -29
  86. package/dist/collection/components/input-field/input-field.js +5 -3
  87. package/dist/collection/components/linear-progress/linear-progress.css +14 -2
  88. package/dist/collection/components/list/list-renderer.js +1 -4
  89. package/dist/collection/components/list/list.css +938 -93
  90. package/dist/collection/components/list/list.js +13 -6
  91. package/dist/collection/components/menu-list/menu-list-renderer.js +1 -4
  92. package/dist/collection/components/menu-list/menu-list.css +938 -93
  93. package/dist/collection/components/menu-surface/menu-surface.css +31 -7
  94. package/dist/collection/components/picker/picker.js +6 -7
  95. package/dist/collection/components/popover-surface/popover-surface.css +1 -0
  96. package/dist/collection/components/select/select.css +424 -17
  97. package/dist/collection/components/select/select.template.js +1 -1
  98. package/dist/collection/components/slider/slider.css +49 -2
  99. package/dist/collection/components/snackbar/snackbar.css +588 -301
  100. package/dist/collection/components/switch/switch.css +592 -222
  101. package/dist/collection/components/switch/switch.js +18 -12
  102. package/dist/collection/components/tab-bar/tab-bar.css +77 -48
  103. package/dist/collection/components/table/table.css +219 -165
  104. package/dist/collection/components/table/table.js +99 -15
  105. package/dist/collection/components/table/table.types.js +0 -1
  106. package/dist/collection/style/functions.scss +3 -1
  107. package/dist/collection/style/internal/lime-theme.scss +30 -31
  108. package/dist/collection/style/internal/lime-typography.scss +55 -56
  109. package/dist/esm/{_arrayIncludesWith-b5d3fd9e.js → _arrayIncludesWith-969bccda.js} +4 -3
  110. package/dist/esm/{_assignValue-08fe10bc.js → _assignValue-fb2bf80a.js} +1 -1
  111. package/dist/esm/_defineProperty-2105cb48.js +11 -0
  112. package/dist/esm/{_defineProperty-8c869077.js → _getNative-93d6bfe9.js} +1 -9
  113. package/dist/esm/checkbox.template-2f1bbc98.js +41 -0
  114. package/dist/esm/{component-89e0ce26.js → component-19eb6e2b.js} +7 -5
  115. package/dist/esm/{component-2630c3d7.js → component-288691f3.js} +367 -235
  116. package/dist/esm/{component-d682c974.js → component-410aad5a.js} +44 -4
  117. package/dist/esm/{component-429e92ee.js → component-5b4ac85a.js} +213 -143
  118. package/dist/esm/{component-834d85a1.js → component-fffa3419.js} +190 -132
  119. package/dist/esm/{dateFormatter-c9b41548.js → dateFormatter-2cad0292.js} +37 -31
  120. package/dist/esm/identity-87aa3962.js +41 -0
  121. package/dist/esm/{index-2316f345.js → index-11cd0b60.js} +27 -1
  122. package/dist/esm/{isArrayLike-dd37ba9a.js → isArrayLike-385e0f31.js} +1 -1
  123. package/dist/esm/{isEqual-4f22635f.js → isEqual-c5a636a4.js} +3 -43
  124. package/dist/esm/lime-elements.js +3 -3
  125. package/dist/esm/limel-badge.entry.js +4 -4
  126. package/dist/esm/limel-banner.entry.js +2 -2
  127. package/dist/esm/limel-button-group.entry.js +3 -3
  128. package/dist/esm/limel-button.entry.js +3 -3
  129. package/dist/esm/limel-checkbox.entry.js +136 -90
  130. package/dist/esm/limel-chip-set.entry.js +235 -191
  131. package/dist/esm/limel-circular-progress.entry.js +3 -3
  132. package/dist/esm/limel-code-editor.entry.js +51 -24
  133. package/dist/esm/limel-collapsible-section.entry.js +2 -2
  134. package/dist/esm/limel-color-picker-palette_2.entry.js +7 -6
  135. package/dist/esm/limel-color-picker.entry.js +2 -2
  136. package/dist/esm/limel-config.entry.js +2 -2
  137. package/dist/esm/limel-date-picker.entry.js +8 -8
  138. package/dist/esm/limel-dialog.entry.js +35 -19
  139. package/dist/esm/limel-file.entry.js +11 -9
  140. package/dist/esm/limel-flatpickr-adapter.entry.js +988 -670
  141. package/dist/esm/limel-flex-container.entry.js +6 -2
  142. package/dist/esm/limel-form.entry.js +19966 -19990
  143. package/dist/esm/limel-grid.entry.js +2 -2
  144. package/dist/esm/limel-header.entry.js +2 -2
  145. package/dist/esm/limel-icon-button.entry.js +6 -6
  146. package/dist/esm/limel-icon.entry.js +2 -2
  147. package/dist/esm/limel-input-field.entry.js +12 -10
  148. package/dist/esm/limel-linear-progress.entry.js +4 -4
  149. package/dist/esm/limel-list_3.entry.js +154 -91
  150. package/dist/esm/limel-menu-list.entry.js +87 -74
  151. package/dist/esm/limel-menu.entry.js +6 -5
  152. package/dist/esm/limel-picker.entry.js +6 -8
  153. package/dist/esm/limel-popover-surface.entry.js +3 -3
  154. package/dist/esm/limel-progress-flow-item.entry.js +2 -2
  155. package/dist/esm/limel-progress-flow.entry.js +2 -2
  156. package/dist/esm/limel-select.entry.js +6 -6
  157. package/dist/esm/limel-slider.entry.js +34 -7
  158. package/dist/esm/limel-snackbar.entry.js +79 -73
  159. package/dist/esm/limel-spinner.entry.js +2 -2
  160. package/dist/esm/limel-switch.entry.js +498 -202
  161. package/dist/esm/limel-tab-bar.entry.js +269 -190
  162. package/dist/esm/limel-tab-panel.entry.js +2 -2
  163. package/dist/esm/limel-table.entry.js +80 -18
  164. package/dist/esm/limel-tooltip_2.entry.js +3 -3
  165. package/dist/esm/loader.js +3 -3
  166. package/dist/esm/{moment-8dadd938.js → moment-367e51c5.js} +94 -79
  167. package/dist/esm/{pickBy-8a849e46.js → pickBy-d359eb12.js} +4 -3
  168. package/dist/esm/polyfills/css-shim.js +1 -1
  169. package/dist/esm/{zipObject-22e88ce9.js → zipObject-2bb1968e.js} +1 -1
  170. package/dist/lime-elements/lime-elements.esm.js +1 -1
  171. package/dist/lime-elements/p-101af376.entry.js +1 -0
  172. package/dist/lime-elements/p-1a9a961a.entry.js +11 -0
  173. package/dist/lime-elements/p-1c284626.js +73 -0
  174. package/dist/lime-elements/p-1ede893b.js +1 -0
  175. package/dist/lime-elements/p-2639edf9.entry.js +73 -0
  176. package/dist/lime-elements/p-2754e134.entry.js +1 -0
  177. package/dist/lime-elements/p-2da6e2a3.entry.js +1 -0
  178. package/dist/lime-elements/p-36ecbd03.entry.js +1 -0
  179. package/dist/lime-elements/p-3af5f9ad.js +3 -0
  180. package/dist/lime-elements/p-404e1465.entry.js +1 -0
  181. package/dist/lime-elements/p-42b67933.entry.js +1 -0
  182. package/dist/lime-elements/p-440454ed.entry.js +1 -0
  183. package/dist/lime-elements/{p-076bd4dc.js → p-48d4ef20.js} +3 -3
  184. package/dist/lime-elements/p-4c3358cb.js +1 -0
  185. package/dist/lime-elements/p-4d5a874a.entry.js +1 -0
  186. package/dist/lime-elements/p-53e01330.entry.js +1 -0
  187. package/dist/lime-elements/p-5908c21d.entry.js +1 -0
  188. package/dist/lime-elements/p-5fdb83c9.js +1 -0
  189. package/dist/lime-elements/p-63e25a0a.entry.js +1 -0
  190. package/dist/lime-elements/p-669626e5.js +1 -0
  191. package/dist/lime-elements/p-6966b5df.entry.js +1 -0
  192. package/dist/lime-elements/p-6e7809a6.entry.js +1 -0
  193. package/dist/lime-elements/p-705334c1.entry.js +1 -0
  194. package/dist/lime-elements/p-71efe2ca.entry.js +37 -0
  195. package/dist/lime-elements/p-7cda574b.js +1 -0
  196. package/dist/lime-elements/p-83ea517b.entry.js +1 -0
  197. package/dist/lime-elements/p-84f933f7.entry.js +16 -0
  198. package/dist/lime-elements/p-8827628d.entry.js +131 -0
  199. package/dist/lime-elements/{p-8ad5e143.entry.js → p-94899019.entry.js} +1 -1
  200. package/dist/lime-elements/p-95f275ab.entry.js +1 -0
  201. package/dist/lime-elements/p-97d6c4a6.entry.js +1 -0
  202. package/dist/lime-elements/{p-7f43b0c4.js → p-9acf7b5d.js} +1 -1
  203. package/dist/lime-elements/p-a465084b.entry.js +82 -0
  204. package/dist/lime-elements/p-a5af84a7.entry.js +1 -0
  205. package/dist/lime-elements/p-ad8cb388.js +1 -0
  206. package/dist/lime-elements/p-ade76f1d.js +1 -0
  207. package/dist/lime-elements/p-af0ec482.entry.js +16 -0
  208. package/dist/lime-elements/{p-090bc949.js → p-b28128d2.js} +1 -1
  209. package/dist/lime-elements/p-b91dc1ef.entry.js +1 -0
  210. package/dist/lime-elements/p-b95e80c9.entry.js +1 -0
  211. package/dist/lime-elements/p-bd8c9384.entry.js +1 -0
  212. package/dist/lime-elements/p-c7953a05.entry.js +82 -0
  213. package/dist/lime-elements/p-c80acfb2.entry.js +59 -0
  214. package/dist/lime-elements/p-cbc43682.js +81 -0
  215. package/dist/lime-elements/{p-ace9affc.js → p-d0a7de87.js} +2 -2
  216. package/dist/lime-elements/p-d1ee4501.entry.js +37 -0
  217. package/dist/lime-elements/p-d74fa89e.entry.js +1 -0
  218. package/dist/lime-elements/{p-e1928c0e.js → p-d76f896d.js} +1 -1
  219. package/dist/lime-elements/p-dfba92de.js +126 -0
  220. package/dist/lime-elements/p-dfbe015e.entry.js +1 -0
  221. package/dist/lime-elements/p-e80dd2ff.entry.js +1 -0
  222. package/dist/lime-elements/p-e83dddcd.entry.js +126 -0
  223. package/dist/lime-elements/p-e98d76e8.entry.js +59 -0
  224. package/dist/lime-elements/{p-92146da6.js → p-e9a95b8f.js} +1 -1
  225. package/dist/lime-elements/p-ed65468d.entry.js +1 -0
  226. package/dist/lime-elements/p-f0c9dadd.entry.js +1 -0
  227. package/dist/lime-elements/p-f9bfbeb3.entry.js +82 -0
  228. package/dist/lime-elements/p-fa607ed3.js +1 -0
  229. package/dist/lime-elements/style/functions.scss +3 -1
  230. package/dist/lime-elements/style/internal/lime-theme.scss +30 -31
  231. package/dist/lime-elements/style/internal/lime-typography.scss +55 -56
  232. package/dist/types/components/badge/badge.d.ts +1 -1
  233. package/dist/types/components/checkbox/checkbox.d.ts +3 -2
  234. package/dist/types/components/checkbox/checkbox.template.d.ts +1 -0
  235. package/dist/types/components/dialog/dialog.d.ts +11 -5
  236. package/dist/types/components/dialog/dialog.types.d.ts +4 -0
  237. package/dist/types/components/flex-container/flex-container.d.ts +7 -0
  238. package/dist/types/components/form/fields/array-field.d.ts +0 -1
  239. package/dist/types/components/form/fields/object-field.d.ts +2 -2
  240. package/dist/types/components/form/form.d.ts +8 -1
  241. package/dist/types/components/form/form.types.d.ts +6 -0
  242. package/dist/types/components/picker/picker.d.ts +2 -1
  243. package/dist/types/components/switch/switch.d.ts +2 -2
  244. package/dist/types/components/table/table.d.ts +10 -1
  245. package/dist/types/components/table/table.types.d.ts +13 -0
  246. package/dist/types/components.d.ts +23 -7
  247. package/dist/types/stencil-public-runtime.d.ts +6 -4
  248. package/package.json +31 -44
  249. package/dist/cjs/checkbox.template-50eb8b76.js +0 -39
  250. package/dist/esm/checkbox.template-50f7c07b.js +0 -37
  251. package/dist/lime-elements/p-041ae00c.entry.js +0 -1
  252. package/dist/lime-elements/p-0ce9165f.entry.js +0 -1
  253. package/dist/lime-elements/p-0fd208f3.entry.js +0 -82
  254. package/dist/lime-elements/p-143705b1.entry.js +0 -1
  255. package/dist/lime-elements/p-1876a96a.entry.js +0 -1
  256. package/dist/lime-elements/p-1a64b531.js +0 -1
  257. package/dist/lime-elements/p-1fb5340d.entry.js +0 -1
  258. package/dist/lime-elements/p-250f55be.js +0 -1
  259. package/dist/lime-elements/p-29f054cc.entry.js +0 -37
  260. package/dist/lime-elements/p-31fecf5d.entry.js +0 -1
  261. package/dist/lime-elements/p-34c7872e.entry.js +0 -1
  262. package/dist/lime-elements/p-379955f4.js +0 -1
  263. package/dist/lime-elements/p-3ae6bb75.entry.js +0 -82
  264. package/dist/lime-elements/p-3ae6dfba.entry.js +0 -73
  265. package/dist/lime-elements/p-426d11b4.js +0 -1
  266. package/dist/lime-elements/p-440084ea.js +0 -1
  267. package/dist/lime-elements/p-468e940e.entry.js +0 -16
  268. package/dist/lime-elements/p-4932c029.entry.js +0 -1
  269. package/dist/lime-elements/p-4b5af81b.entry.js +0 -1
  270. package/dist/lime-elements/p-510bb5a4.entry.js +0 -1
  271. package/dist/lime-elements/p-58cbe99d.entry.js +0 -1
  272. package/dist/lime-elements/p-597cbe05.entry.js +0 -1
  273. package/dist/lime-elements/p-6003f817.entry.js +0 -1
  274. package/dist/lime-elements/p-668795a7.js +0 -73
  275. package/dist/lime-elements/p-714fde78.entry.js +0 -1
  276. package/dist/lime-elements/p-7476efe0.entry.js +0 -1
  277. package/dist/lime-elements/p-887d5bda.entry.js +0 -1
  278. package/dist/lime-elements/p-8a2c1038.entry.js +0 -16
  279. package/dist/lime-elements/p-902347b9.js +0 -81
  280. package/dist/lime-elements/p-90c6fa15.js +0 -126
  281. package/dist/lime-elements/p-90f3e17c.entry.js +0 -37
  282. package/dist/lime-elements/p-a2cf74c1.entry.js +0 -1
  283. package/dist/lime-elements/p-a397bab7.js +0 -3
  284. package/dist/lime-elements/p-a4c532a7.entry.js +0 -1
  285. package/dist/lime-elements/p-be56ffab.entry.js +0 -1
  286. package/dist/lime-elements/p-c306c953.entry.js +0 -1
  287. package/dist/lime-elements/p-c35874db.entry.js +0 -1
  288. package/dist/lime-elements/p-c8c8a946.entry.js +0 -59
  289. package/dist/lime-elements/p-ca664c9f.entry.js +0 -1
  290. package/dist/lime-elements/p-d2c74396.entry.js +0 -1
  291. package/dist/lime-elements/p-d48ad9f7.entry.js +0 -126
  292. package/dist/lime-elements/p-d93a3b07.entry.js +0 -16
  293. package/dist/lime-elements/p-df8faeb4.entry.js +0 -59
  294. package/dist/lime-elements/p-dfe0a58b.entry.js +0 -1
  295. package/dist/lime-elements/p-e275f502.entry.js +0 -37
  296. package/dist/lime-elements/p-e881e98d.entry.js +0 -1
  297. package/dist/lime-elements/p-f2c706b8.entry.js +0 -131
  298. package/dist/lime-elements/p-f83213b8.js +0 -1
  299. package/dist/lime-elements/p-fc30b8e3.entry.js +0 -1
@@ -2,18 +2,20 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e63a89d7.js');
6
- const isEqual = require('./isEqual-e3b9c27c.js');
7
- const component = require('./component-f532119f.js');
8
- const component$1 = require('./component-2faaa141.js');
5
+ const index = require('./index-2a28697b.js');
6
+ const isEqual = require('./isEqual-d2a13a24.js');
7
+ const component = require('./component-67144c1c.js');
8
+ const component$1 = require('./component-cf490570.js');
9
9
  const ponyfill = require('./ponyfill-98ca4766.js');
10
- const _arrayIncludesWith = require('./_arrayIncludesWith-36a6fafb.js');
10
+ const _arrayIncludesWith = require('./_arrayIncludesWith-29083f83.js');
11
+ const identity = require('./identity-6dc34885.js');
11
12
  require('./eq-9a943b00.js');
12
13
  require('./isObject-e28b7997.js');
13
- require('./_defineProperty-8351e789.js');
14
+ require('./_getNative-60328036.js');
14
15
  require('./isArray-d188a04f.js');
15
16
  require('./isObjectLike-3e3f0cba.js');
16
17
  require('./isArrayLike-ac53bdac.js');
18
+ require('./_defineProperty-8f56146d.js');
17
19
 
18
20
  /** Used as the size to enable large array optimizations. */
19
21
  var LARGE_ARRAY_SIZE = 200;
@@ -41,7 +43,7 @@ function baseDifference(array, values, iteratee, comparator) {
41
43
  return result;
42
44
  }
43
45
  if (iteratee) {
44
- values = isEqual.arrayMap(values, isEqual.baseUnary(iteratee));
46
+ values = identity.arrayMap(values, isEqual.baseUnary(iteratee));
45
47
  }
46
48
  if (comparator) {
47
49
  includes = _arrayIncludesWith.arrayIncludesWith;
@@ -141,7 +143,19 @@ var __assign$3 = function() {
141
143
  return t;
142
144
  };
143
145
  return __assign$3.apply(this, arguments);
144
- };
146
+ };
147
+
148
+ function __values(o) {
149
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
150
+ if (m) return m.call(o);
151
+ if (o && typeof o.length === "number") return {
152
+ next: function () {
153
+ if (o && i >= o.length) o = void 0;
154
+ return { value: o && o[i++], done: !o };
155
+ }
156
+ };
157
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
158
+ }
145
159
 
146
160
  /*! *****************************************************************************
147
161
  Copyright (c) Microsoft Corporation.
@@ -292,14 +306,14 @@ var MDCTabScrollerRTLDefault = /** @class */ (function (_super) {
292
306
  }
293
307
  MDCTabScrollerRTLDefault.prototype.getScrollPositionRTL = function () {
294
308
  var currentScrollLeft = this.adapter.getScrollAreaScrollLeft();
295
- var right = this.calculateScrollEdges_().right;
309
+ var right = this.calculateScrollEdges().right;
296
310
  // Scroll values on most browsers are ints instead of floats so we round
297
311
  return Math.round(right - currentScrollLeft);
298
312
  };
299
313
  MDCTabScrollerRTLDefault.prototype.scrollToRTL = function (scrollX) {
300
- var edges = this.calculateScrollEdges_();
314
+ var edges = this.calculateScrollEdges();
301
315
  var currentScrollLeft = this.adapter.getScrollAreaScrollLeft();
302
- var clampedScrollLeft = this.clampScrollValue_(edges.right - scrollX);
316
+ var clampedScrollLeft = this.clampScrollValue(edges.right - scrollX);
303
317
  return {
304
318
  finalScrollPosition: clampedScrollLeft,
305
319
  scrollDelta: clampedScrollLeft - currentScrollLeft,
@@ -307,7 +321,7 @@ var MDCTabScrollerRTLDefault = /** @class */ (function (_super) {
307
321
  };
308
322
  MDCTabScrollerRTLDefault.prototype.incrementScrollRTL = function (scrollX) {
309
323
  var currentScrollLeft = this.adapter.getScrollAreaScrollLeft();
310
- var clampedScrollLeft = this.clampScrollValue_(currentScrollLeft - scrollX);
324
+ var clampedScrollLeft = this.clampScrollValue(currentScrollLeft - scrollX);
311
325
  return {
312
326
  finalScrollPosition: clampedScrollLeft,
313
327
  scrollDelta: clampedScrollLeft - currentScrollLeft,
@@ -316,7 +330,7 @@ var MDCTabScrollerRTLDefault = /** @class */ (function (_super) {
316
330
  MDCTabScrollerRTLDefault.prototype.getAnimatingScrollPosition = function (scrollX) {
317
331
  return scrollX;
318
332
  };
319
- MDCTabScrollerRTLDefault.prototype.calculateScrollEdges_ = function () {
333
+ MDCTabScrollerRTLDefault.prototype.calculateScrollEdges = function () {
320
334
  var contentWidth = this.adapter.getScrollContentOffsetWidth();
321
335
  var rootWidth = this.adapter.getScrollAreaOffsetWidth();
322
336
  return {
@@ -324,8 +338,8 @@ var MDCTabScrollerRTLDefault = /** @class */ (function (_super) {
324
338
  right: contentWidth - rootWidth,
325
339
  };
326
340
  };
327
- MDCTabScrollerRTLDefault.prototype.clampScrollValue_ = function (scrollX) {
328
- var edges = this.calculateScrollEdges_();
341
+ MDCTabScrollerRTLDefault.prototype.clampScrollValue = function (scrollX) {
342
+ var edges = this.calculateScrollEdges();
329
343
  return Math.min(Math.max(edges.left, scrollX), edges.right);
330
344
  };
331
345
  return MDCTabScrollerRTLDefault;
@@ -364,7 +378,7 @@ var MDCTabScrollerRTLNegative = /** @class */ (function (_super) {
364
378
  };
365
379
  MDCTabScrollerRTLNegative.prototype.scrollToRTL = function (scrollX) {
366
380
  var currentScrollLeft = this.adapter.getScrollAreaScrollLeft();
367
- var clampedScrollLeft = this.clampScrollValue_(-scrollX);
381
+ var clampedScrollLeft = this.clampScrollValue(-scrollX);
368
382
  return {
369
383
  finalScrollPosition: clampedScrollLeft,
370
384
  scrollDelta: clampedScrollLeft - currentScrollLeft,
@@ -372,7 +386,7 @@ var MDCTabScrollerRTLNegative = /** @class */ (function (_super) {
372
386
  };
373
387
  MDCTabScrollerRTLNegative.prototype.incrementScrollRTL = function (scrollX) {
374
388
  var currentScrollLeft = this.adapter.getScrollAreaScrollLeft();
375
- var clampedScrollLeft = this.clampScrollValue_(currentScrollLeft - scrollX);
389
+ var clampedScrollLeft = this.clampScrollValue(currentScrollLeft - scrollX);
376
390
  return {
377
391
  finalScrollPosition: clampedScrollLeft,
378
392
  scrollDelta: clampedScrollLeft - currentScrollLeft,
@@ -381,7 +395,7 @@ var MDCTabScrollerRTLNegative = /** @class */ (function (_super) {
381
395
  MDCTabScrollerRTLNegative.prototype.getAnimatingScrollPosition = function (scrollX, translateX) {
382
396
  return scrollX - translateX;
383
397
  };
384
- MDCTabScrollerRTLNegative.prototype.calculateScrollEdges_ = function () {
398
+ MDCTabScrollerRTLNegative.prototype.calculateScrollEdges = function () {
385
399
  var contentWidth = this.adapter.getScrollContentOffsetWidth();
386
400
  var rootWidth = this.adapter.getScrollAreaOffsetWidth();
387
401
  return {
@@ -389,8 +403,8 @@ var MDCTabScrollerRTLNegative = /** @class */ (function (_super) {
389
403
  right: 0,
390
404
  };
391
405
  };
392
- MDCTabScrollerRTLNegative.prototype.clampScrollValue_ = function (scrollX) {
393
- var edges = this.calculateScrollEdges_();
406
+ MDCTabScrollerRTLNegative.prototype.clampScrollValue = function (scrollX) {
407
+ var edges = this.calculateScrollEdges();
394
408
  return Math.max(Math.min(edges.right, scrollX), edges.left);
395
409
  };
396
410
  return MDCTabScrollerRTLNegative;
@@ -430,7 +444,7 @@ var MDCTabScrollerRTLReverse = /** @class */ (function (_super) {
430
444
  };
431
445
  MDCTabScrollerRTLReverse.prototype.scrollToRTL = function (scrollX) {
432
446
  var currentScrollLeft = this.adapter.getScrollAreaScrollLeft();
433
- var clampedScrollLeft = this.clampScrollValue_(scrollX);
447
+ var clampedScrollLeft = this.clampScrollValue(scrollX);
434
448
  return {
435
449
  finalScrollPosition: clampedScrollLeft,
436
450
  scrollDelta: currentScrollLeft - clampedScrollLeft,
@@ -438,7 +452,7 @@ var MDCTabScrollerRTLReverse = /** @class */ (function (_super) {
438
452
  };
439
453
  MDCTabScrollerRTLReverse.prototype.incrementScrollRTL = function (scrollX) {
440
454
  var currentScrollLeft = this.adapter.getScrollAreaScrollLeft();
441
- var clampedScrollLeft = this.clampScrollValue_(currentScrollLeft + scrollX);
455
+ var clampedScrollLeft = this.clampScrollValue(currentScrollLeft + scrollX);
442
456
  return {
443
457
  finalScrollPosition: clampedScrollLeft,
444
458
  scrollDelta: currentScrollLeft - clampedScrollLeft,
@@ -447,7 +461,7 @@ var MDCTabScrollerRTLReverse = /** @class */ (function (_super) {
447
461
  MDCTabScrollerRTLReverse.prototype.getAnimatingScrollPosition = function (scrollX, translateX) {
448
462
  return scrollX + translateX;
449
463
  };
450
- MDCTabScrollerRTLReverse.prototype.calculateScrollEdges_ = function () {
464
+ MDCTabScrollerRTLReverse.prototype.calculateScrollEdges = function () {
451
465
  var contentWidth = this.adapter.getScrollContentOffsetWidth();
452
466
  var rootWidth = this.adapter.getScrollAreaOffsetWidth();
453
467
  return {
@@ -455,8 +469,8 @@ var MDCTabScrollerRTLReverse = /** @class */ (function (_super) {
455
469
  right: 0,
456
470
  };
457
471
  };
458
- MDCTabScrollerRTLReverse.prototype.clampScrollValue_ = function (scrollX) {
459
- var edges = this.calculateScrollEdges_();
472
+ MDCTabScrollerRTLReverse.prototype.clampScrollValue = function (scrollX) {
473
+ var edges = this.calculateScrollEdges();
460
474
  return Math.min(Math.max(edges.right, scrollX), edges.left);
461
475
  };
462
476
  return MDCTabScrollerRTLReverse;
@@ -491,7 +505,7 @@ var MDCTabScrollerFoundation = /** @class */ (function (_super) {
491
505
  /**
492
506
  * Controls whether we should handle the transitionend and interaction events during the animation.
493
507
  */
494
- _this.isAnimating_ = false;
508
+ _this.isAnimating = false;
495
509
  return _this;
496
510
  }
497
511
  Object.defineProperty(MDCTabScrollerFoundation, "cssClasses", {
@@ -523,8 +537,12 @@ var MDCTabScrollerFoundation = /** @class */ (function (_super) {
523
537
  getScrollAreaScrollLeft: function () { return 0; },
524
538
  getScrollContentOffsetWidth: function () { return 0; },
525
539
  getScrollAreaOffsetWidth: function () { return 0; },
526
- computeScrollAreaClientRect: function () { return ({ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 }); },
527
- computeScrollContentClientRect: function () { return ({ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 }); },
540
+ computeScrollAreaClientRect: function () {
541
+ return ({ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 });
542
+ },
543
+ computeScrollContentClientRect: function () {
544
+ return ({ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 });
545
+ },
528
546
  computeHorizontalScrollbarHeight: function () { return 0; },
529
547
  };
530
548
  // tslint:enable:object-literal-sort-keys
@@ -543,10 +561,10 @@ var MDCTabScrollerFoundation = /** @class */ (function (_super) {
543
561
  * Computes the current visual scroll position
544
562
  */
545
563
  MDCTabScrollerFoundation.prototype.getScrollPosition = function () {
546
- if (this.isRTL_()) {
547
- return this.computeCurrentScrollPositionRTL_();
564
+ if (this.isRTL()) {
565
+ return this.computeCurrentScrollPositionRTL();
548
566
  }
549
- var currentTranslateX = this.calculateCurrentTranslateX_();
567
+ var currentTranslateX = this.calculateCurrentTranslateX();
550
568
  var scrollLeft = this.adapter.getScrollAreaScrollLeft();
551
569
  return scrollLeft - currentTranslateX;
552
570
  };
@@ -555,11 +573,11 @@ var MDCTabScrollerFoundation = /** @class */ (function (_super) {
555
573
  */
556
574
  MDCTabScrollerFoundation.prototype.handleInteraction = function () {
557
575
  // Early exit if we aren't animating
558
- if (!this.isAnimating_) {
576
+ if (!this.isAnimating) {
559
577
  return;
560
578
  }
561
579
  // Prevent other event listeners from handling this event
562
- this.stopScrollAnimation_();
580
+ this.stopScrollAnimation();
563
581
  };
564
582
  /**
565
583
  * Handles the transitionend event
@@ -567,11 +585,11 @@ var MDCTabScrollerFoundation = /** @class */ (function (_super) {
567
585
  MDCTabScrollerFoundation.prototype.handleTransitionEnd = function (evt) {
568
586
  // Early exit if we aren't animating or the event was triggered by a different element.
569
587
  var evtTarget = evt.target;
570
- if (!this.isAnimating_ ||
588
+ if (!this.isAnimating ||
571
589
  !this.adapter.eventTargetMatchesSelector(evtTarget, MDCTabScrollerFoundation.strings.CONTENT_SELECTOR)) {
572
590
  return;
573
591
  }
574
- this.isAnimating_ = false;
592
+ this.isAnimating = false;
575
593
  this.adapter.removeClass(MDCTabScrollerFoundation.cssClasses.ANIMATING);
576
594
  };
577
595
  /**
@@ -583,7 +601,7 @@ var MDCTabScrollerFoundation = /** @class */ (function (_super) {
583
601
  if (scrollXIncrement === 0) {
584
602
  return;
585
603
  }
586
- this.animate_(this.getIncrementScrollOperation_(scrollXIncrement));
604
+ this.animate(this.getIncrementScrollOperation(scrollXIncrement));
587
605
  };
588
606
  /**
589
607
  * Increment the scroll value by the scrollXIncrement without animation.
@@ -594,35 +612,36 @@ var MDCTabScrollerFoundation = /** @class */ (function (_super) {
594
612
  if (scrollXIncrement === 0) {
595
613
  return;
596
614
  }
597
- var operation = this.getIncrementScrollOperation_(scrollXIncrement);
615
+ var operation = this.getIncrementScrollOperation(scrollXIncrement);
598
616
  if (operation.scrollDelta === 0) {
599
617
  return;
600
618
  }
601
- this.stopScrollAnimation_();
619
+ this.stopScrollAnimation();
602
620
  this.adapter.setScrollAreaScrollLeft(operation.finalScrollPosition);
603
621
  };
604
622
  /**
605
623
  * Scrolls to the given scrollX value
606
624
  */
607
625
  MDCTabScrollerFoundation.prototype.scrollTo = function (scrollX) {
608
- if (this.isRTL_()) {
609
- return this.scrollToRTL_(scrollX);
626
+ if (this.isRTL()) {
627
+ this.scrollToImplRTL(scrollX);
628
+ return;
610
629
  }
611
- this.scrollTo_(scrollX);
630
+ this.scrollToImpl(scrollX);
612
631
  };
613
632
  /**
614
633
  * @return Browser-specific {@link MDCTabScrollerRTL} instance.
615
634
  */
616
635
  MDCTabScrollerFoundation.prototype.getRTLScroller = function () {
617
- if (!this.rtlScrollerInstance_) {
618
- this.rtlScrollerInstance_ = this.rtlScrollerFactory_();
636
+ if (!this.rtlScrollerInstance) {
637
+ this.rtlScrollerInstance = this.rtlScrollerFactory();
619
638
  }
620
- return this.rtlScrollerInstance_;
639
+ return this.rtlScrollerInstance;
621
640
  };
622
641
  /**
623
642
  * @return translateX value from a CSS matrix transform function string.
624
643
  */
625
- MDCTabScrollerFoundation.prototype.calculateCurrentTranslateX_ = function () {
644
+ MDCTabScrollerFoundation.prototype.calculateCurrentTranslateX = function () {
626
645
  var transformValue = this.adapter.getScrollContentStyleValue('transform');
627
646
  // Early exit if no transform is present
628
647
  if (transformValue === 'none') {
@@ -646,15 +665,15 @@ var MDCTabScrollerFoundation = /** @class */ (function (_super) {
646
665
  * Calculates a safe scroll value that is > 0 and < the max scroll value
647
666
  * @param scrollX The distance to scroll
648
667
  */
649
- MDCTabScrollerFoundation.prototype.clampScrollValue_ = function (scrollX) {
650
- var edges = this.calculateScrollEdges_();
668
+ MDCTabScrollerFoundation.prototype.clampScrollValue = function (scrollX) {
669
+ var edges = this.calculateScrollEdges();
651
670
  return Math.min(Math.max(edges.left, scrollX), edges.right);
652
671
  };
653
- MDCTabScrollerFoundation.prototype.computeCurrentScrollPositionRTL_ = function () {
654
- var translateX = this.calculateCurrentTranslateX_();
672
+ MDCTabScrollerFoundation.prototype.computeCurrentScrollPositionRTL = function () {
673
+ var translateX = this.calculateCurrentTranslateX();
655
674
  return this.getRTLScroller().getScrollPositionRTL(translateX);
656
675
  };
657
- MDCTabScrollerFoundation.prototype.calculateScrollEdges_ = function () {
676
+ MDCTabScrollerFoundation.prototype.calculateScrollEdges = function () {
658
677
  var contentWidth = this.adapter.getScrollContentOffsetWidth();
659
678
  var rootWidth = this.adapter.getScrollAreaOffsetWidth();
660
679
  return {
@@ -666,11 +685,11 @@ var MDCTabScrollerFoundation = /** @class */ (function (_super) {
666
685
  * Internal scroll method
667
686
  * @param scrollX The new scroll position
668
687
  */
669
- MDCTabScrollerFoundation.prototype.scrollTo_ = function (scrollX) {
688
+ MDCTabScrollerFoundation.prototype.scrollToImpl = function (scrollX) {
670
689
  var currentScrollX = this.getScrollPosition();
671
- var safeScrollX = this.clampScrollValue_(scrollX);
690
+ var safeScrollX = this.clampScrollValue(scrollX);
672
691
  var scrollDelta = safeScrollX - currentScrollX;
673
- this.animate_({
692
+ this.animate({
674
693
  finalScrollPosition: safeScrollX,
675
694
  scrollDelta: scrollDelta,
676
695
  });
@@ -679,22 +698,22 @@ var MDCTabScrollerFoundation = /** @class */ (function (_super) {
679
698
  * Internal RTL scroll method
680
699
  * @param scrollX The new scroll position
681
700
  */
682
- MDCTabScrollerFoundation.prototype.scrollToRTL_ = function (scrollX) {
701
+ MDCTabScrollerFoundation.prototype.scrollToImplRTL = function (scrollX) {
683
702
  var animation = this.getRTLScroller().scrollToRTL(scrollX);
684
- this.animate_(animation);
703
+ this.animate(animation);
685
704
  };
686
705
  /**
687
706
  * Internal method to compute the increment scroll operation values.
688
707
  * @param scrollX The desired scroll position increment
689
708
  * @return MDCTabScrollerAnimation with the sanitized values for performing the scroll operation.
690
709
  */
691
- MDCTabScrollerFoundation.prototype.getIncrementScrollOperation_ = function (scrollX) {
692
- if (this.isRTL_()) {
710
+ MDCTabScrollerFoundation.prototype.getIncrementScrollOperation = function (scrollX) {
711
+ if (this.isRTL()) {
693
712
  return this.getRTLScroller().incrementScrollRTL(scrollX);
694
713
  }
695
714
  var currentScrollX = this.getScrollPosition();
696
715
  var targetScrollX = scrollX + currentScrollX;
697
- var safeScrollX = this.clampScrollValue_(targetScrollX);
716
+ var safeScrollX = this.clampScrollValue(targetScrollX);
698
717
  var scrollDelta = safeScrollX - currentScrollX;
699
718
  return {
700
719
  finalScrollPosition: safeScrollX,
@@ -705,13 +724,13 @@ var MDCTabScrollerFoundation = /** @class */ (function (_super) {
705
724
  * Animates the tab scrolling
706
725
  * @param animation The animation to apply
707
726
  */
708
- MDCTabScrollerFoundation.prototype.animate_ = function (animation) {
727
+ MDCTabScrollerFoundation.prototype.animate = function (animation) {
709
728
  var _this = this;
710
729
  // Early exit if translateX is 0, which means there's no animation to perform
711
730
  if (animation.scrollDelta === 0) {
712
731
  return;
713
732
  }
714
- this.stopScrollAnimation_();
733
+ this.stopScrollAnimation();
715
734
  // This animation uses the FLIP approach.
716
735
  // Read more here: https://aerotwist.com/blog/flip-your-animations/
717
736
  this.adapter.setScrollAreaScrollLeft(animation.finalScrollPosition);
@@ -722,14 +741,14 @@ var MDCTabScrollerFoundation = /** @class */ (function (_super) {
722
741
  _this.adapter.addClass(MDCTabScrollerFoundation.cssClasses.ANIMATING);
723
742
  _this.adapter.setScrollContentStyleProperty('transform', 'none');
724
743
  });
725
- this.isAnimating_ = true;
744
+ this.isAnimating = true;
726
745
  };
727
746
  /**
728
747
  * Stops scroll animation
729
748
  */
730
- MDCTabScrollerFoundation.prototype.stopScrollAnimation_ = function () {
731
- this.isAnimating_ = false;
732
- var currentScrollPosition = this.getAnimatingScrollPosition_();
749
+ MDCTabScrollerFoundation.prototype.stopScrollAnimation = function () {
750
+ this.isAnimating = false;
751
+ var currentScrollPosition = this.getAnimatingScrollPosition();
733
752
  this.adapter.removeClass(MDCTabScrollerFoundation.cssClasses.ANIMATING);
734
753
  this.adapter.setScrollContentStyleProperty('transform', 'translateX(0px)');
735
754
  this.adapter.setScrollAreaScrollLeft(currentScrollPosition);
@@ -737,10 +756,10 @@ var MDCTabScrollerFoundation = /** @class */ (function (_super) {
737
756
  /**
738
757
  * Gets the current scroll position during animation
739
758
  */
740
- MDCTabScrollerFoundation.prototype.getAnimatingScrollPosition_ = function () {
741
- var currentTranslateX = this.calculateCurrentTranslateX_();
759
+ MDCTabScrollerFoundation.prototype.getAnimatingScrollPosition = function () {
760
+ var currentTranslateX = this.calculateCurrentTranslateX();
742
761
  var scrollLeft = this.adapter.getScrollAreaScrollLeft();
743
- if (this.isRTL_()) {
762
+ if (this.isRTL()) {
744
763
  return this.getRTLScroller().getAnimatingScrollPosition(scrollLeft, currentTranslateX);
745
764
  }
746
765
  return scrollLeft - currentTranslateX;
@@ -748,7 +767,7 @@ var MDCTabScrollerFoundation = /** @class */ (function (_super) {
748
767
  /**
749
768
  * Determines the RTL Scroller to use
750
769
  */
751
- MDCTabScrollerFoundation.prototype.rtlScrollerFactory_ = function () {
770
+ MDCTabScrollerFoundation.prototype.rtlScrollerFactory = function () {
752
771
  // Browsers have three different implementations of scrollLeft in RTL mode,
753
772
  // dependent on the browser. The behavior is based off the max LTR
754
773
  // scrollLeft value and 0.
@@ -791,7 +810,7 @@ var MDCTabScrollerFoundation = /** @class */ (function (_super) {
791
810
  }
792
811
  return new MDCTabScrollerRTLDefault(this.adapter);
793
812
  };
794
- MDCTabScrollerFoundation.prototype.isRTL_ = function () {
813
+ MDCTabScrollerFoundation.prototype.isRTL = function () {
795
814
  return this.adapter.getScrollContentStyleValue('direction') === 'rtl';
796
815
  };
797
816
  return MDCTabScrollerFoundation;
@@ -873,29 +892,34 @@ var MDCTabScroller = /** @class */ (function (_super) {
873
892
  MDCTabScroller.attachTo = function (root) {
874
893
  return new MDCTabScroller(root);
875
894
  };
895
+ // initialSyncWithDOM()
876
896
  MDCTabScroller.prototype.initialize = function () {
877
- this.area_ = this.root.querySelector(MDCTabScrollerFoundation.strings.AREA_SELECTOR);
878
- this.content_ = this.root.querySelector(MDCTabScrollerFoundation.strings.CONTENT_SELECTOR);
897
+ this.area = this.root.querySelector(MDCTabScrollerFoundation.strings.AREA_SELECTOR);
898
+ this.content = this.root.querySelector(MDCTabScrollerFoundation.strings.CONTENT_SELECTOR);
879
899
  };
880
900
  MDCTabScroller.prototype.initialSyncWithDOM = function () {
881
901
  var _this = this;
882
- this.handleInteraction_ = function () { return _this.foundation.handleInteraction(); };
883
- this.handleTransitionEnd_ = function (evt) { return _this.foundation.handleTransitionEnd(evt); };
884
- this.area_.addEventListener('wheel', this.handleInteraction_, component$1.applyPassive());
885
- this.area_.addEventListener('touchstart', this.handleInteraction_, component$1.applyPassive());
886
- this.area_.addEventListener('pointerdown', this.handleInteraction_, component$1.applyPassive());
887
- this.area_.addEventListener('mousedown', this.handleInteraction_, component$1.applyPassive());
888
- this.area_.addEventListener('keydown', this.handleInteraction_, component$1.applyPassive());
889
- this.content_.addEventListener('transitionend', this.handleTransitionEnd_);
902
+ this.handleInteraction = function () {
903
+ _this.foundation.handleInteraction();
904
+ };
905
+ this.handleTransitionEnd = function (evt) {
906
+ _this.foundation.handleTransitionEnd(evt);
907
+ };
908
+ this.area.addEventListener('wheel', this.handleInteraction, component$1.applyPassive());
909
+ this.area.addEventListener('touchstart', this.handleInteraction, component$1.applyPassive());
910
+ this.area.addEventListener('pointerdown', this.handleInteraction, component$1.applyPassive());
911
+ this.area.addEventListener('mousedown', this.handleInteraction, component$1.applyPassive());
912
+ this.area.addEventListener('keydown', this.handleInteraction, component$1.applyPassive());
913
+ this.content.addEventListener('transitionend', this.handleTransitionEnd);
890
914
  };
891
915
  MDCTabScroller.prototype.destroy = function () {
892
916
  _super.prototype.destroy.call(this);
893
- this.area_.removeEventListener('wheel', this.handleInteraction_, component$1.applyPassive());
894
- this.area_.removeEventListener('touchstart', this.handleInteraction_, component$1.applyPassive());
895
- this.area_.removeEventListener('pointerdown', this.handleInteraction_, component$1.applyPassive());
896
- this.area_.removeEventListener('mousedown', this.handleInteraction_, component$1.applyPassive());
897
- this.area_.removeEventListener('keydown', this.handleInteraction_, component$1.applyPassive());
898
- this.content_.removeEventListener('transitionend', this.handleTransitionEnd_);
917
+ this.area.removeEventListener('wheel', this.handleInteraction, component$1.applyPassive());
918
+ this.area.removeEventListener('touchstart', this.handleInteraction, component$1.applyPassive());
919
+ this.area.removeEventListener('pointerdown', this.handleInteraction, component$1.applyPassive());
920
+ this.area.removeEventListener('mousedown', this.handleInteraction, component$1.applyPassive());
921
+ this.area.removeEventListener('keydown', this.handleInteraction, component$1.applyPassive());
922
+ this.content.removeEventListener('transitionend', this.handleTransitionEnd);
899
923
  };
900
924
  MDCTabScroller.prototype.getDefaultFoundation = function () {
901
925
  var _this = this;
@@ -906,25 +930,31 @@ var MDCTabScroller = /** @class */ (function (_super) {
906
930
  eventTargetMatchesSelector: function (evtTarget, selector) {
907
931
  return ponyfill.matches(evtTarget, selector);
908
932
  },
909
- addClass: function (className) { return _this.root.classList.add(className); },
910
- removeClass: function (className) { return _this.root.classList.remove(className); },
911
- addScrollAreaClass: function (className) { return _this.area_.classList.add(className); },
933
+ addClass: function (className) {
934
+ _this.root.classList.add(className);
935
+ },
936
+ removeClass: function (className) {
937
+ _this.root.classList.remove(className);
938
+ },
939
+ addScrollAreaClass: function (className) {
940
+ _this.area.classList.add(className);
941
+ },
912
942
  setScrollAreaStyleProperty: function (prop, value) {
913
- return _this.area_.style.setProperty(prop, value);
943
+ _this.area.style.setProperty(prop, value);
914
944
  },
915
945
  setScrollContentStyleProperty: function (prop, value) {
916
- return _this.content_.style.setProperty(prop, value);
946
+ _this.content.style.setProperty(prop, value);
917
947
  },
918
948
  getScrollContentStyleValue: function (propName) {
919
- return window.getComputedStyle(_this.content_).getPropertyValue(propName);
949
+ return window.getComputedStyle(_this.content).getPropertyValue(propName);
920
950
  },
921
- setScrollAreaScrollLeft: function (scrollX) { return _this.area_.scrollLeft = scrollX; },
922
- getScrollAreaScrollLeft: function () { return _this.area_.scrollLeft; },
923
- getScrollContentOffsetWidth: function () { return _this.content_.offsetWidth; },
924
- getScrollAreaOffsetWidth: function () { return _this.area_.offsetWidth; },
925
- computeScrollAreaClientRect: function () { return _this.area_.getBoundingClientRect(); },
951
+ setScrollAreaScrollLeft: function (scrollX) { return _this.area.scrollLeft = scrollX; },
952
+ getScrollAreaScrollLeft: function () { return _this.area.scrollLeft; },
953
+ getScrollContentOffsetWidth: function () { return _this.content.offsetWidth; },
954
+ getScrollAreaOffsetWidth: function () { return _this.area.offsetWidth; },
955
+ computeScrollAreaClientRect: function () { return _this.area.getBoundingClientRect(); },
926
956
  computeScrollContentClientRect: function () {
927
- return _this.content_.getBoundingClientRect();
957
+ return _this.content.getBoundingClientRect();
928
958
  },
929
959
  computeHorizontalScrollbarHeight: function () {
930
960
  return computeHorizontalScrollbarHeight(document);
@@ -943,7 +973,7 @@ var MDCTabScroller = /** @class */ (function (_super) {
943
973
  * Returns the width of the scroll content
944
974
  */
945
975
  MDCTabScroller.prototype.getScrollContentWidth = function () {
946
- return this.content_.offsetWidth;
976
+ return this.content.offsetWidth;
947
977
  };
948
978
  /**
949
979
  * Increments the scroll value by the given amount
@@ -1124,7 +1154,9 @@ var MDCTabIndicatorFoundation = /** @class */ (function (_super) {
1124
1154
  return {
1125
1155
  addClass: function () { return undefined; },
1126
1156
  removeClass: function () { return undefined; },
1127
- computeContentClientRect: function () { return ({ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 }); },
1157
+ computeContentClientRect: function () {
1158
+ return ({ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 });
1159
+ },
1128
1160
  setContentStyleProperty: function () { return undefined; },
1129
1161
  };
1130
1162
  // tslint:enable:object-literal-sort-keys
@@ -1261,7 +1293,7 @@ var MDCTabIndicator = /** @class */ (function (_super) {
1261
1293
  return new MDCTabIndicator(root);
1262
1294
  };
1263
1295
  MDCTabIndicator.prototype.initialize = function () {
1264
- this.content_ = this.root.querySelector(MDCTabIndicatorFoundation.strings.CONTENT_SELECTOR);
1296
+ this.content = this.root.querySelector(MDCTabIndicatorFoundation.strings.CONTENT_SELECTOR);
1265
1297
  };
1266
1298
  MDCTabIndicator.prototype.computeContentClientRect = function () {
1267
1299
  return this.foundation.computeContentClientRect();
@@ -1274,9 +1306,9 @@ var MDCTabIndicator = /** @class */ (function (_super) {
1274
1306
  var adapter = {
1275
1307
  addClass: function (className) { return _this.root.classList.add(className); },
1276
1308
  removeClass: function (className) { return _this.root.classList.remove(className); },
1277
- computeContentClientRect: function () { return _this.content_.getBoundingClientRect(); },
1309
+ computeContentClientRect: function () { return _this.content.getBoundingClientRect(); },
1278
1310
  setContentStyleProperty: function (prop, value) {
1279
- return _this.content_.style.setProperty(prop, value);
1311
+ _this.content.style.setProperty(prop, value);
1280
1312
  },
1281
1313
  };
1282
1314
  // tslint:enable:object-literal-sort-keys
@@ -1355,7 +1387,7 @@ var MDCTabFoundation = /** @class */ (function (_super) {
1355
1387
  __extends$1(MDCTabFoundation, _super);
1356
1388
  function MDCTabFoundation(adapter) {
1357
1389
  var _this = _super.call(this, __assign$1(__assign$1({}, MDCTabFoundation.defaultAdapter), adapter)) || this;
1358
- _this.focusOnActivate_ = true;
1390
+ _this.focusOnActivate = true;
1359
1391
  return _this;
1360
1392
  }
1361
1393
  Object.defineProperty(MDCTabFoundation, "cssClasses", {
@@ -1406,7 +1438,7 @@ var MDCTabFoundation = /** @class */ (function (_super) {
1406
1438
  * Sets whether the tab should focus itself when activated
1407
1439
  */
1408
1440
  MDCTabFoundation.prototype.setFocusOnActivate = function (focusOnActivate) {
1409
- this.focusOnActivate_ = focusOnActivate;
1441
+ this.focusOnActivate = focusOnActivate;
1410
1442
  };
1411
1443
  /**
1412
1444
  * Activates the Tab
@@ -1416,7 +1448,7 @@ var MDCTabFoundation = /** @class */ (function (_super) {
1416
1448
  this.adapter.setAttr(strings$2.ARIA_SELECTED, 'true');
1417
1449
  this.adapter.setAttr(strings$2.TABINDEX, '0');
1418
1450
  this.adapter.activateIndicator(previousIndicatorClientRect);
1419
- if (this.focusOnActivate_) {
1451
+ if (this.focusOnActivate) {
1420
1452
  this.adapter.focus();
1421
1453
  }
1422
1454
  };
@@ -1486,19 +1518,21 @@ var MDCTab = /** @class */ (function (_super) {
1486
1518
  if (tabIndicatorFactory === void 0) { tabIndicatorFactory = function (el) { return new MDCTabIndicator(el); }; }
1487
1519
  this.id = this.root.id;
1488
1520
  var rippleFoundation = new component$1.MDCRippleFoundation(component$1.MDCRipple.createAdapter(this));
1489
- this.ripple_ = rippleFactory(this.root, rippleFoundation);
1521
+ this.ripple = rippleFactory(this.root, rippleFoundation);
1490
1522
  var tabIndicatorElement = this.root.querySelector(MDCTabFoundation.strings.TAB_INDICATOR_SELECTOR);
1491
- this.tabIndicator_ = tabIndicatorFactory(tabIndicatorElement);
1492
- this.content_ = this.root.querySelector(MDCTabFoundation.strings.CONTENT_SELECTOR);
1523
+ this.tabIndicator = tabIndicatorFactory(tabIndicatorElement);
1524
+ this.content = this.root.querySelector(MDCTabFoundation.strings.CONTENT_SELECTOR);
1493
1525
  };
1494
1526
  MDCTab.prototype.initialSyncWithDOM = function () {
1495
1527
  var _this = this;
1496
- this.handleClick_ = function () { return _this.foundation.handleClick(); };
1497
- this.listen('click', this.handleClick_);
1528
+ this.handleClick = function () {
1529
+ _this.foundation.handleClick();
1530
+ };
1531
+ this.listen('click', this.handleClick);
1498
1532
  };
1499
1533
  MDCTab.prototype.destroy = function () {
1500
- this.unlisten('click', this.handleClick_);
1501
- this.ripple_.destroy();
1534
+ this.unlisten('click', this.handleClick);
1535
+ this.ripple.destroy();
1502
1536
  _super.prototype.destroy.call(this);
1503
1537
  };
1504
1538
  MDCTab.prototype.getDefaultFoundation = function () {
@@ -1512,14 +1546,16 @@ var MDCTab = /** @class */ (function (_super) {
1512
1546
  removeClass: function (className) { return _this.root.classList.remove(className); },
1513
1547
  hasClass: function (className) { return _this.root.classList.contains(className); },
1514
1548
  activateIndicator: function (previousIndicatorClientRect) {
1515
- return _this.tabIndicator_.activate(previousIndicatorClientRect);
1549
+ _this.tabIndicator.activate(previousIndicatorClientRect);
1550
+ },
1551
+ deactivateIndicator: function () {
1552
+ _this.tabIndicator.deactivate();
1516
1553
  },
1517
- deactivateIndicator: function () { return _this.tabIndicator_.deactivate(); },
1518
1554
  notifyInteracted: function () { return _this.emit(MDCTabFoundation.strings.INTERACTED_EVENT, { tabId: _this.id }, true /* bubble */); },
1519
1555
  getOffsetLeft: function () { return _this.root.offsetLeft; },
1520
1556
  getOffsetWidth: function () { return _this.root.offsetWidth; },
1521
- getContentOffsetLeft: function () { return _this.content_.offsetLeft; },
1522
- getContentOffsetWidth: function () { return _this.content_.offsetWidth; },
1557
+ getContentOffsetLeft: function () { return _this.content.offsetLeft; },
1558
+ getContentOffsetWidth: function () { return _this.content.offsetWidth; },
1523
1559
  focus: function () { return _this.root.focus(); },
1524
1560
  };
1525
1561
  // tslint:enable:object-literal-sort-keys
@@ -1558,7 +1594,7 @@ var MDCTab = /** @class */ (function (_super) {
1558
1594
  * Returns the indicator's client rect
1559
1595
  */
1560
1596
  MDCTab.prototype.computeIndicatorClientRect = function () {
1561
- return this.tabIndicator_.computeContentClientRect();
1597
+ return this.tabIndicator.computeContentClientRect();
1562
1598
  };
1563
1599
  MDCTab.prototype.computeDimensions = function () {
1564
1600
  return this.foundation.computeDimensions();
@@ -1657,7 +1693,7 @@ var MDCTabBarFoundation = /** @class */ (function (_super) {
1657
1693
  __extends$3(MDCTabBarFoundation, _super);
1658
1694
  function MDCTabBarFoundation(adapter) {
1659
1695
  var _this = _super.call(this, __assign$3(__assign$3({}, MDCTabBarFoundation.defaultAdapter), adapter)) || this;
1660
- _this.useAutomaticActivation_ = false;
1696
+ _this.useAutomaticActivation = false;
1661
1697
  return _this;
1662
1698
  }
1663
1699
  Object.defineProperty(MDCTabBarFoundation, "strings", {
@@ -1688,8 +1724,12 @@ var MDCTabBarFoundation = /** @class */ (function (_super) {
1688
1724
  activateTabAtIndex: function () { return undefined; },
1689
1725
  deactivateTabAtIndex: function () { return undefined; },
1690
1726
  focusTabAtIndex: function () { return undefined; },
1691
- getTabIndicatorClientRectAtIndex: function () { return ({ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 }); },
1692
- getTabDimensionsAtIndex: function () { return ({ rootLeft: 0, rootRight: 0, contentLeft: 0, contentRight: 0 }); },
1727
+ getTabIndicatorClientRectAtIndex: function () {
1728
+ return ({ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 });
1729
+ },
1730
+ getTabDimensionsAtIndex: function () {
1731
+ return ({ rootLeft: 0, rootRight: 0, contentLeft: 0, contentRight: 0 });
1732
+ },
1693
1733
  getPreviousActiveTabIndex: function () { return -1; },
1694
1734
  getFocusedTabIndex: function () { return -1; },
1695
1735
  getIndexOfTabById: function () { return -1; },
@@ -1706,11 +1746,11 @@ var MDCTabBarFoundation = /** @class */ (function (_super) {
1706
1746
  * See https://www.w3.org/TR/wai-aria-practices/#tabpanel for examples.
1707
1747
  */
1708
1748
  MDCTabBarFoundation.prototype.setUseAutomaticActivation = function (useAutomaticActivation) {
1709
- this.useAutomaticActivation_ = useAutomaticActivation;
1749
+ this.useAutomaticActivation = useAutomaticActivation;
1710
1750
  };
1711
1751
  MDCTabBarFoundation.prototype.activateTab = function (index) {
1712
1752
  var previousActiveIndex = this.adapter.getPreviousActiveTabIndex();
1713
- if (!this.indexIsInRange_(index) || index === previousActiveIndex) {
1753
+ if (!this.indexIsInRange(index) || index === previousActiveIndex) {
1714
1754
  return;
1715
1755
  }
1716
1756
  var previousClientRect;
@@ -1725,30 +1765,30 @@ var MDCTabBarFoundation = /** @class */ (function (_super) {
1725
1765
  };
1726
1766
  MDCTabBarFoundation.prototype.handleKeyDown = function (evt) {
1727
1767
  // Get the key from the event
1728
- var key = this.getKeyFromEvent_(evt);
1768
+ var key = this.getKeyFromEvent(evt);
1729
1769
  // Early exit if the event key isn't one of the keyboard navigation keys
1730
1770
  if (key === undefined) {
1731
1771
  return;
1732
1772
  }
1733
1773
  // Prevent default behavior for movement keys, but not for activation keys, since :active is used to apply ripple
1734
- if (!this.isActivationKey_(key)) {
1774
+ if (!this.isActivationKey(key)) {
1735
1775
  evt.preventDefault();
1736
1776
  }
1737
- if (this.useAutomaticActivation_) {
1738
- if (this.isActivationKey_(key)) {
1777
+ if (this.useAutomaticActivation) {
1778
+ if (this.isActivationKey(key)) {
1739
1779
  return;
1740
1780
  }
1741
- var index = this.determineTargetFromKey_(this.adapter.getPreviousActiveTabIndex(), key);
1781
+ var index = this.determineTargetFromKey(this.adapter.getPreviousActiveTabIndex(), key);
1742
1782
  this.adapter.setActiveTab(index);
1743
1783
  this.scrollIntoView(index);
1744
1784
  }
1745
1785
  else {
1746
1786
  var focusedTabIndex = this.adapter.getFocusedTabIndex();
1747
- if (this.isActivationKey_(key)) {
1787
+ if (this.isActivationKey(key)) {
1748
1788
  this.adapter.setActiveTab(focusedTabIndex);
1749
1789
  }
1750
1790
  else {
1751
- var index = this.determineTargetFromKey_(focusedTabIndex, key);
1791
+ var index = this.determineTargetFromKey(focusedTabIndex, key);
1752
1792
  this.adapter.focusTabAtIndex(index);
1753
1793
  this.scrollIntoView(index);
1754
1794
  }
@@ -1766,30 +1806,33 @@ var MDCTabBarFoundation = /** @class */ (function (_super) {
1766
1806
  */
1767
1807
  MDCTabBarFoundation.prototype.scrollIntoView = function (index) {
1768
1808
  // Early exit if the index is out of range
1769
- if (!this.indexIsInRange_(index)) {
1809
+ if (!this.indexIsInRange(index)) {
1770
1810
  return;
1771
1811
  }
1772
1812
  // Always scroll to 0 if scrolling to the 0th index
1773
1813
  if (index === 0) {
1774
- return this.adapter.scrollTo(0);
1814
+ this.adapter.scrollTo(0);
1815
+ return;
1775
1816
  }
1776
1817
  // Always scroll to the max value if scrolling to the Nth index
1777
1818
  // MDCTabScroller.scrollTo() will never scroll past the max possible value
1778
1819
  if (index === this.adapter.getTabListLength() - 1) {
1779
- return this.adapter.scrollTo(this.adapter.getScrollContentWidth());
1820
+ this.adapter.scrollTo(this.adapter.getScrollContentWidth());
1821
+ return;
1780
1822
  }
1781
- if (this.isRTL_()) {
1782
- return this.scrollIntoViewRTL_(index);
1823
+ if (this.isRTL()) {
1824
+ this.scrollIntoViewImplRTL(index);
1825
+ return;
1783
1826
  }
1784
- this.scrollIntoView_(index);
1827
+ this.scrollIntoViewImpl(index);
1785
1828
  };
1786
1829
  /**
1787
1830
  * Private method for determining the index of the destination tab based on what key was pressed
1788
1831
  * @param origin The original index from which to determine the destination
1789
1832
  * @param key The name of the key
1790
1833
  */
1791
- MDCTabBarFoundation.prototype.determineTargetFromKey_ = function (origin, key) {
1792
- var isRTL = this.isRTL_();
1834
+ MDCTabBarFoundation.prototype.determineTargetFromKey = function (origin, key) {
1835
+ var isRTL = this.isRTL();
1793
1836
  var maxIndex = this.adapter.getTabListLength() - 1;
1794
1837
  var shouldGoToEnd = key === strings$1.END_KEY;
1795
1838
  var shouldDecrement = key === strings$1.ARROW_LEFT_KEY && !isRTL || key === strings$1.ARROW_RIGHT_KEY && isRTL;
@@ -1822,7 +1865,7 @@ var MDCTabBarFoundation = /** @class */ (function (_super) {
1822
1865
  * @param scrollPosition The current scroll position
1823
1866
  * @param barWidth The width of the Tab Bar
1824
1867
  */
1825
- MDCTabBarFoundation.prototype.calculateScrollIncrement_ = function (index, nextIndex, scrollPosition, barWidth) {
1868
+ MDCTabBarFoundation.prototype.calculateScrollIncrement = function (index, nextIndex, scrollPosition, barWidth) {
1826
1869
  var nextTabDimensions = this.adapter.getTabDimensionsAtIndex(nextIndex);
1827
1870
  var relativeContentLeft = nextTabDimensions.contentLeft - scrollPosition - barWidth;
1828
1871
  var relativeContentRight = nextTabDimensions.contentRight - scrollPosition;
@@ -1841,7 +1884,7 @@ var MDCTabBarFoundation = /** @class */ (function (_super) {
1841
1884
  * @param barWidth The width of the Tab Bar
1842
1885
  * @param scrollContentWidth The width of the scroll content
1843
1886
  */
1844
- MDCTabBarFoundation.prototype.calculateScrollIncrementRTL_ = function (index, nextIndex, scrollPosition, barWidth, scrollContentWidth) {
1887
+ MDCTabBarFoundation.prototype.calculateScrollIncrementRTL = function (index, nextIndex, scrollPosition, barWidth, scrollContentWidth) {
1845
1888
  var nextTabDimensions = this.adapter.getTabDimensionsAtIndex(nextIndex);
1846
1889
  var relativeContentLeft = scrollContentWidth - nextTabDimensions.contentLeft - scrollPosition;
1847
1890
  var relativeContentRight = scrollContentWidth - nextTabDimensions.contentRight - scrollPosition - barWidth;
@@ -1859,7 +1902,7 @@ var MDCTabBarFoundation = /** @class */ (function (_super) {
1859
1902
  * @param scrollPosition The current scroll position
1860
1903
  * @param barWidth The width of the tab bar
1861
1904
  */
1862
- MDCTabBarFoundation.prototype.findAdjacentTabIndexClosestToEdge_ = function (index, tabDimensions, scrollPosition, barWidth) {
1905
+ MDCTabBarFoundation.prototype.findAdjacentTabIndexClosestToEdge = function (index, tabDimensions, scrollPosition, barWidth) {
1863
1906
  /**
1864
1907
  * Tabs are laid out in the Tab Scroller like this:
1865
1908
  *
@@ -1905,7 +1948,7 @@ var MDCTabBarFoundation = /** @class */ (function (_super) {
1905
1948
  * @param barWidth The width of the tab bar
1906
1949
  * @param scrollContentWidth The width of the scroller content
1907
1950
  */
1908
- MDCTabBarFoundation.prototype.findAdjacentTabIndexClosestToEdgeRTL_ = function (index, tabDimensions, scrollPosition, barWidth, scrollContentWidth) {
1951
+ MDCTabBarFoundation.prototype.findAdjacentTabIndexClosestToEdgeRTL = function (index, tabDimensions, scrollPosition, barWidth, scrollContentWidth) {
1909
1952
  var rootLeft = scrollContentWidth - tabDimensions.rootLeft - barWidth - scrollPosition;
1910
1953
  var rootRight = scrollContentWidth - tabDimensions.rootRight - scrollPosition;
1911
1954
  var rootDelta = rootLeft + rootRight;
@@ -1923,57 +1966,57 @@ var MDCTabBarFoundation = /** @class */ (function (_super) {
1923
1966
  * Returns the key associated with a keydown event
1924
1967
  * @param evt The keydown event
1925
1968
  */
1926
- MDCTabBarFoundation.prototype.getKeyFromEvent_ = function (evt) {
1969
+ MDCTabBarFoundation.prototype.getKeyFromEvent = function (evt) {
1927
1970
  if (ACCEPTABLE_KEYS.has(evt.key)) {
1928
1971
  return evt.key;
1929
1972
  }
1930
1973
  return KEYCODE_MAP.get(evt.keyCode);
1931
1974
  };
1932
- MDCTabBarFoundation.prototype.isActivationKey_ = function (key) {
1975
+ MDCTabBarFoundation.prototype.isActivationKey = function (key) {
1933
1976
  return key === strings$1.SPACE_KEY || key === strings$1.ENTER_KEY;
1934
1977
  };
1935
1978
  /**
1936
1979
  * Returns whether a given index is inclusively between the ends
1937
1980
  * @param index The index to test
1938
1981
  */
1939
- MDCTabBarFoundation.prototype.indexIsInRange_ = function (index) {
1982
+ MDCTabBarFoundation.prototype.indexIsInRange = function (index) {
1940
1983
  return index >= 0 && index < this.adapter.getTabListLength();
1941
1984
  };
1942
1985
  /**
1943
1986
  * Returns the view's RTL property
1944
1987
  */
1945
- MDCTabBarFoundation.prototype.isRTL_ = function () {
1988
+ MDCTabBarFoundation.prototype.isRTL = function () {
1946
1989
  return this.adapter.isRTL();
1947
1990
  };
1948
1991
  /**
1949
1992
  * Scrolls the tab at the given index into view for left-to-right user agents.
1950
1993
  * @param index The index of the tab to scroll into view
1951
1994
  */
1952
- MDCTabBarFoundation.prototype.scrollIntoView_ = function (index) {
1995
+ MDCTabBarFoundation.prototype.scrollIntoViewImpl = function (index) {
1953
1996
  var scrollPosition = this.adapter.getScrollPosition();
1954
1997
  var barWidth = this.adapter.getOffsetWidth();
1955
1998
  var tabDimensions = this.adapter.getTabDimensionsAtIndex(index);
1956
- var nextIndex = this.findAdjacentTabIndexClosestToEdge_(index, tabDimensions, scrollPosition, barWidth);
1957
- if (!this.indexIsInRange_(nextIndex)) {
1999
+ var nextIndex = this.findAdjacentTabIndexClosestToEdge(index, tabDimensions, scrollPosition, barWidth);
2000
+ if (!this.indexIsInRange(nextIndex)) {
1958
2001
  return;
1959
2002
  }
1960
- var scrollIncrement = this.calculateScrollIncrement_(index, nextIndex, scrollPosition, barWidth);
2003
+ var scrollIncrement = this.calculateScrollIncrement(index, nextIndex, scrollPosition, barWidth);
1961
2004
  this.adapter.incrementScroll(scrollIncrement);
1962
2005
  };
1963
2006
  /**
1964
2007
  * Scrolls the tab at the given index into view in RTL
1965
2008
  * @param index The tab index to make visible
1966
2009
  */
1967
- MDCTabBarFoundation.prototype.scrollIntoViewRTL_ = function (index) {
2010
+ MDCTabBarFoundation.prototype.scrollIntoViewImplRTL = function (index) {
1968
2011
  var scrollPosition = this.adapter.getScrollPosition();
1969
2012
  var barWidth = this.adapter.getOffsetWidth();
1970
2013
  var tabDimensions = this.adapter.getTabDimensionsAtIndex(index);
1971
2014
  var scrollWidth = this.adapter.getScrollContentWidth();
1972
- var nextIndex = this.findAdjacentTabIndexClosestToEdgeRTL_(index, tabDimensions, scrollPosition, barWidth, scrollWidth);
1973
- if (!this.indexIsInRange_(nextIndex)) {
2015
+ var nextIndex = this.findAdjacentTabIndexClosestToEdgeRTL(index, tabDimensions, scrollPosition, barWidth, scrollWidth);
2016
+ if (!this.indexIsInRange(nextIndex)) {
1974
2017
  return;
1975
2018
  }
1976
- var scrollIncrement = this.calculateScrollIncrementRTL_(index, nextIndex, scrollPosition, barWidth, scrollWidth);
2019
+ var scrollIncrement = this.calculateScrollIncrementRTL(index, nextIndex, scrollPosition, barWidth, scrollWidth);
1977
2020
  this.adapter.incrementScroll(scrollIncrement);
1978
2021
  };
1979
2022
  return MDCTabBarFoundation;
@@ -2013,7 +2056,20 @@ var MDCTabBar = /** @class */ (function (_super) {
2013
2056
  };
2014
2057
  Object.defineProperty(MDCTabBar.prototype, "focusOnActivate", {
2015
2058
  set: function (focusOnActivate) {
2016
- this.tabList_.forEach(function (tab) { return tab.focusOnActivate = focusOnActivate; });
2059
+ var e_1, _a;
2060
+ try {
2061
+ for (var _b = __values(this.tabList), _c = _b.next(); !_c.done; _c = _b.next()) {
2062
+ var tab = _c.value;
2063
+ tab.focusOnActivate = focusOnActivate;
2064
+ }
2065
+ }
2066
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
2067
+ finally {
2068
+ try {
2069
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2070
+ }
2071
+ finally { if (e_1) throw e_1.error; }
2072
+ }
2017
2073
  },
2018
2074
  enumerable: false,
2019
2075
  configurable: true
@@ -2028,31 +2084,46 @@ var MDCTabBar = /** @class */ (function (_super) {
2028
2084
  MDCTabBar.prototype.initialize = function (tabFactory, tabScrollerFactory) {
2029
2085
  if (tabFactory === void 0) { tabFactory = function (el) { return new MDCTab(el); }; }
2030
2086
  if (tabScrollerFactory === void 0) { tabScrollerFactory = function (el) { return new MDCTabScroller(el); }; }
2031
- this.tabList_ = this.instantiateTabs_(tabFactory);
2032
- this.tabScroller_ = this.instantiateTabScroller_(tabScrollerFactory);
2087
+ this.tabList = this.instantiateTabs(tabFactory);
2088
+ this.tabScroller = this.instantiatetabScroller(tabScrollerFactory);
2033
2089
  };
2034
2090
  MDCTabBar.prototype.initialSyncWithDOM = function () {
2035
2091
  var _this = this;
2036
- this.handleTabInteraction_ = function (evt) {
2037
- return _this.foundation.handleTabInteraction(evt);
2092
+ this.handleTabInteraction = function (evt) {
2093
+ _this.foundation.handleTabInteraction(evt);
2094
+ };
2095
+ this.handleKeyDown = function (evt) {
2096
+ _this.foundation.handleKeyDown(evt);
2038
2097
  };
2039
- this.handleKeyDown_ = function (evt) { return _this.foundation.handleKeyDown(evt); };
2040
- this.listen(MDCTabFoundation.strings.INTERACTED_EVENT, this.handleTabInteraction_);
2041
- this.listen('keydown', this.handleKeyDown_);
2042
- for (var i = 0; i < this.tabList_.length; i++) {
2043
- if (this.tabList_[i].active) {
2098
+ this.listen(MDCTabFoundation.strings.INTERACTED_EVENT, this.handleTabInteraction);
2099
+ this.listen('keydown', this.handleKeyDown);
2100
+ for (var i = 0; i < this.tabList.length; i++) {
2101
+ if (this.tabList[i].active) {
2044
2102
  this.scrollIntoView(i);
2045
2103
  break;
2046
2104
  }
2047
2105
  }
2048
2106
  };
2049
2107
  MDCTabBar.prototype.destroy = function () {
2108
+ var e_2, _a;
2050
2109
  _super.prototype.destroy.call(this);
2051
- this.unlisten(MDCTabFoundation.strings.INTERACTED_EVENT, this.handleTabInteraction_);
2052
- this.unlisten('keydown', this.handleKeyDown_);
2053
- this.tabList_.forEach(function (tab) { return tab.destroy(); });
2054
- if (this.tabScroller_) {
2055
- this.tabScroller_.destroy();
2110
+ this.unlisten(MDCTabFoundation.strings.INTERACTED_EVENT, this.handleTabInteraction);
2111
+ this.unlisten('keydown', this.handleKeyDown);
2112
+ try {
2113
+ for (var _b = __values(this.tabList), _c = _b.next(); !_c.done; _c = _b.next()) {
2114
+ var tab = _c.value;
2115
+ tab.destroy();
2116
+ }
2117
+ }
2118
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
2119
+ finally {
2120
+ try {
2121
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
2122
+ }
2123
+ finally { if (e_2) throw e_2.error; }
2124
+ }
2125
+ if (this.tabScroller) {
2126
+ this.tabScroller.destroy();
2056
2127
  }
2057
2128
  };
2058
2129
  MDCTabBar.prototype.getDefaultFoundation = function () {
@@ -2061,48 +2132,56 @@ var MDCTabBar = /** @class */ (function (_super) {
2061
2132
  // To ensure we don't accidentally omit any methods, we need a separate, strongly typed adapter variable.
2062
2133
  // tslint:disable:object-literal-sort-keys Methods should be in the same order as the adapter interface.
2063
2134
  var adapter = {
2064
- scrollTo: function (scrollX) { return _this.tabScroller_.scrollTo(scrollX); },
2135
+ scrollTo: function (scrollX) {
2136
+ _this.tabScroller.scrollTo(scrollX);
2137
+ },
2065
2138
  incrementScroll: function (scrollXIncrement) {
2066
- return _this.tabScroller_.incrementScroll(scrollXIncrement);
2139
+ _this.tabScroller.incrementScroll(scrollXIncrement);
2067
2140
  },
2068
- getScrollPosition: function () { return _this.tabScroller_.getScrollPosition(); },
2069
- getScrollContentWidth: function () { return _this.tabScroller_.getScrollContentWidth(); },
2141
+ getScrollPosition: function () { return _this.tabScroller.getScrollPosition(); },
2142
+ getScrollContentWidth: function () { return _this.tabScroller.getScrollContentWidth(); },
2070
2143
  getOffsetWidth: function () { return _this.root.offsetWidth; },
2071
2144
  isRTL: function () { return window.getComputedStyle(_this.root).getPropertyValue('direction') === 'rtl'; },
2072
- setActiveTab: function (index) { return _this.foundation.activateTab(index); },
2145
+ setActiveTab: function (index) {
2146
+ _this.foundation.activateTab(index);
2147
+ },
2073
2148
  activateTabAtIndex: function (index, clientRect) {
2074
- return _this.tabList_[index].activate(clientRect);
2149
+ _this.tabList[index].activate(clientRect);
2150
+ },
2151
+ deactivateTabAtIndex: function (index) {
2152
+ _this.tabList[index].deactivate();
2153
+ },
2154
+ focusTabAtIndex: function (index) {
2155
+ _this.tabList[index].focus();
2075
2156
  },
2076
- deactivateTabAtIndex: function (index) { return _this.tabList_[index].deactivate(); },
2077
- focusTabAtIndex: function (index) { return _this.tabList_[index].focus(); },
2078
2157
  getTabIndicatorClientRectAtIndex: function (index) {
2079
- return _this.tabList_[index].computeIndicatorClientRect();
2158
+ return _this.tabList[index].computeIndicatorClientRect();
2080
2159
  },
2081
2160
  getTabDimensionsAtIndex: function (index) {
2082
- return _this.tabList_[index].computeDimensions();
2161
+ return _this.tabList[index].computeDimensions();
2083
2162
  },
2084
2163
  getPreviousActiveTabIndex: function () {
2085
- for (var i = 0; i < _this.tabList_.length; i++) {
2086
- if (_this.tabList_[i].active) {
2164
+ for (var i = 0; i < _this.tabList.length; i++) {
2165
+ if (_this.tabList[i].active) {
2087
2166
  return i;
2088
2167
  }
2089
2168
  }
2090
2169
  return -1;
2091
2170
  },
2092
2171
  getFocusedTabIndex: function () {
2093
- var tabElements = _this.getTabElements_();
2172
+ var tabElements = _this.getTabElements();
2094
2173
  var activeElement = document.activeElement;
2095
2174
  return tabElements.indexOf(activeElement);
2096
2175
  },
2097
2176
  getIndexOfTabById: function (id) {
2098
- for (var i = 0; i < _this.tabList_.length; i++) {
2099
- if (_this.tabList_[i].id === id) {
2177
+ for (var i = 0; i < _this.tabList.length; i++) {
2178
+ if (_this.tabList[i].id === id) {
2100
2179
  return i;
2101
2180
  }
2102
2181
  }
2103
2182
  return -1;
2104
2183
  },
2105
- getTabListLength: function () { return _this.tabList_.length; },
2184
+ getTabListLength: function () { return _this.tabList.length; },
2106
2185
  notifyTabActivated: function (index) { return _this.emit(strings.TAB_ACTIVATED_EVENT, { index: index }, true); },
2107
2186
  };
2108
2187
  // tslint:enable:object-literal-sort-keys
@@ -2125,14 +2204,14 @@ var MDCTabBar = /** @class */ (function (_super) {
2125
2204
  /**
2126
2205
  * Returns all the tab elements in a nice clean array
2127
2206
  */
2128
- MDCTabBar.prototype.getTabElements_ = function () {
2207
+ MDCTabBar.prototype.getTabElements = function () {
2129
2208
  return [].slice.call(this.root.querySelectorAll(strings.TAB_SELECTOR));
2130
2209
  };
2131
2210
  /**
2132
2211
  * Instantiates tab components on all child tab elements
2133
2212
  */
2134
- MDCTabBar.prototype.instantiateTabs_ = function (tabFactory) {
2135
- return this.getTabElements_().map(function (el) {
2213
+ MDCTabBar.prototype.instantiateTabs = function (tabFactory) {
2214
+ return this.getTabElements().map(function (el) {
2136
2215
  el.id = el.id || "mdc-tab-" + ++tabIdCounter;
2137
2216
  return tabFactory(el);
2138
2217
  });
@@ -2140,7 +2219,7 @@ var MDCTabBar = /** @class */ (function (_super) {
2140
2219
  /**
2141
2220
  * Instantiates tab scroller component on the child tab scroller element
2142
2221
  */
2143
- MDCTabBar.prototype.instantiateTabScroller_ = function (tabScrollerFactory) {
2222
+ MDCTabBar.prototype.instantiatetabScroller = function (tabScrollerFactory) {
2144
2223
  var tabScrollerElement = this.root.querySelector(strings.TAB_SCROLLER_SELECTOR);
2145
2224
  if (tabScrollerElement) {
2146
2225
  return tabScrollerFactory(tabScrollerElement);
@@ -2168,12 +2247,12 @@ function setActiveTab(tabs, index) {
2168
2247
  return result;
2169
2248
  }
2170
2249
 
2171
- const tabBarCss = ":host{--mdc-theme-primary:var(\n --lime-primary-color,\n rgb(var(--color-teal-default))\n );--mdc-theme-secondary:var(\n --lime-secondary-color,\n rgb(var(--contrast-1100))\n );--mdc-theme-on-primary:var(\n --lime-on-primary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-secondary:var(\n --lime-on-secondary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-text-disabled-on-background:var(\n --lime-text-disabled-on-background-color,\n rgba(var(--contrast-1700), 0.38)\n );--mdc-theme-text-primary-on-background:var(\n --lime-text-primary-on-background-color,\n rgba(var(--contrast-1700), 0.87)\n );--mdc-theme-text-secondary-on-background:var(\n --lime-text-secondary-on-background-color,\n rgba(var(--contrast-1700), 0.54)\n );--lime-error-text-color:rgb(var(--color-red-darker));--mdc-theme-surface:var(\n --lime-surface-background-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-surface:var(\n --lime-on-surface-color,\n var(--lime-text-primary-on-background-color)\n )}.mdc-tab-bar{width:100%}.mdc-tab{height:48px}.mdc-tab--stacked{height:72px}.mdc-tab-scroller{overflow-y:hidden}.mdc-tab-scroller.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-scroller__test{position:absolute;top:-9999px;width:100px;height:100px;overflow-x:scroll}.mdc-tab-scroller__scroll-area{-webkit-overflow-scrolling:touch;display:flex;overflow-x:hidden}.mdc-tab-scroller__scroll-area::-webkit-scrollbar,.mdc-tab-scroller__test::-webkit-scrollbar{display:none}.mdc-tab-scroller__scroll-area--scroll{overflow-x:scroll}.mdc-tab-scroller__scroll-content{position:relative;display:flex;flex:1 0 auto;transform:none;will-change:transform}.mdc-tab-scroller--align-start .mdc-tab-scroller__scroll-content{justify-content:flex-start}.mdc-tab-scroller--align-end .mdc-tab-scroller__scroll-content{justify-content:flex-end}.mdc-tab-scroller--align-center .mdc-tab-scroller__scroll-content{justify-content:center}.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-area{-webkit-overflow-scrolling:auto}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-color:#26a69a;border-color:var(--mdc-theme-primary, #26a69a)}.mdc-tab-indicator .mdc-tab-indicator__content--icon{color:#575756;color:var(--mdc-theme-secondary, #575756)}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mdc-tab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:none;text-transform:var(--mdc-typography-button-text-transform, none);padding-right:24px;padding-left:24px;min-width:90px;position:relative;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;background:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab .mdc-tab__text-label{color:rgba(0, 0, 0, 0.6)}.mdc-tab .mdc-tab__icon{color:rgba(0, 0, 0, 0.54);fill:currentColor}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{position:relative;display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;width:24px;height:24px;font-size:24px;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label{color:#26a69a;color:var(--mdc-theme-primary, #26a69a)}.mdc-tab--active .mdc-tab__icon{color:#26a69a;color:var(--mdc-theme-primary, #26a69a);fill:currentColor}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-tab{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-tab .mdc-tab__ripple::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-tab .mdc-tab__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-tab.mdc-ripple-upgraded--unbounded .mdc-tab__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-tab.mdc-ripple-upgraded--foreground-activation .mdc-tab__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-tab.mdc-ripple-upgraded--foreground-deactivation .mdc-tab__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{background-color:#26a69a;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #26a69a))}.mdc-tab:hover .mdc-tab__ripple::before,.mdc-tab.mdc-ripple-surface--hover .mdc-tab__ripple::before{opacity:0.08;opacity:var(--mdc-ripple-hover-opacity, 0.08)}.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__ripple::before,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-tab:not(.mdc-ripple-upgraded) .mdc-tab__ripple::after{transition:opacity 150ms linear}.mdc-tab:not(.mdc-ripple-upgraded):active .mdc-tab__ripple::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-tab.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-tab__ripple{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;will-change:transform, opacity}.scroll-fade,.scroll-button{position:absolute;transition-property:transform;transition-duration:0.3s;transition-timing-function:ease-out}.scroll-fade{top:0;height:100%;width:4.0625rem;pointer-events:none}.scroll-fade.left{transform:translate3d(-4.0625rem, 0, 0);left:0;background:linear-gradient(270deg, rgba(var(--contrast-300), 0) 0%, rgba(var(--contrast-300), 0.8) 40%, rgba(var(--contrast-300), 0.8) 100%)}.scroll-fade.right{transform:translate3d(4.0625rem, 0, 0);right:0;background:linear-gradient(90deg, rgba(var(--contrast-300), 0) 0%, rgba(var(--contrast-300), 0.8) 40%, rgba(var(--contrast-300), 0.8) 100%)}.scroll-button{--icon-background-color:rgb(var(--contrast-100));top:0.25rem}.scroll-button.left{transform:translate3d(-4.0625rem, 0, 0);left:0.25rem}.scroll-button.right{transform:translate3d(4.0625rem, 0, 0);right:0.25rem}.scroll-button:hover{transform:translate3d(0, 0, 0)}.mdc-tab-scroller{position:relative;overflow:hidden}.mdc-tab-scroller.can-scroll-left .scroll-fade.left,.mdc-tab-scroller.can-scroll-left .scroll-button.left,.mdc-tab-scroller.can-scroll-right .scroll-fade.right,.mdc-tab-scroller.can-scroll-right .scroll-button.right{transform:translate3d(0, 0, 0)}.mdc-tab-scroller.can-scroll-left:not(.can-scroll-right) .scroll-button.right,.mdc-tab-scroller.can-scroll-right:not(.can-scroll-left) .scroll-button.left{opacity:0.5;transition-delay:0.5s}.lime-hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.mdc-tab-scroller__scroll-content{padding:0.5rem 0.75rem 0 0.75rem;background-color:rgb(var(--contrast-300))}:host{display:block;position:relative}:host(.has-tabs-with-equal-width) .mdc-tab{flex:1 0 auto}.mdc-tab__icon{margin-right:0.5rem}.mdc-tab-indicator .mdc-tab-indicator__content{border:none}.mdc-tab--active .mdc-ripple-upgraded--background-focused:before{background-color:transparent;transition:background-color 1s ease}.mdc-tab__ripple{box-sizing:border-box;border-radius:0.625rem;border-style:solid;border-color:transparent;border-width:0.25rem;opacity:0.7}.mdc-tab__ripple:before,.mdc-tab__ripple:after{transition:background-color 0.5s ease}.mdc-tab{border-radius:0;letter-spacing:normal}.mdc-tab{background-color:transparent;flex:0 0 auto}.mdc-tab:not(.mdc-tab--active):after{content:\"\";display:block;background-color:rgb(var(--contrast-600));width:0.125rem;height:1rem;margin:auto;position:absolute;top:0;bottom:0;border-radius:1rem;right:-0.125rem}.mdc-tab:not(.mdc-tab--active):last-of-type:after{display:none}.mdc-tab--active{border-radius:0.625rem 0.625rem 0 0;background-color:rgb(var(--contrast-100));z-index:2}.mdc-tab--active:before,.mdc-tab--active:after{content:\"\";display:block;width:0.75rem;height:0.75rem;position:absolute;bottom:0;background-color:rgb(var(--contrast-100));-webkit-mask-image:url(\"data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2' clip-rule='evenodd' viewBox='0 0 50 50'><defs/><path d='M0 0c0 27.594 22.406 50 50 50H0V0z'/></svg>\");mask-image:url(\"data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2' clip-rule='evenodd' viewBox='0 0 50 50'><defs/><path d='M0 0c0 27.594 22.406 50 50 50H0V0z'/></svg>\")}.mdc-tab--active:before{left:-0.75rem;transform:rotateY(180deg)}.mdc-tab--active:after{right:-0.75rem}";
2250
+ const tabBarCss = ":host{--mdc-theme-primary:var(\n --lime-primary-color,\n rgb(var(--color-teal-default))\n );--mdc-theme-secondary:var(\n --lime-secondary-color,\n rgb(var(--contrast-1100))\n );--mdc-theme-on-primary:var(\n --lime-on-primary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-secondary:var(\n --lime-on-secondary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-text-disabled-on-background:var(\n --lime-text-disabled-on-background-color,\n rgba(var(--contrast-1700), 0.38)\n );--mdc-theme-text-primary-on-background:var(\n --lime-text-primary-on-background-color,\n rgba(var(--contrast-1700), 0.87)\n );--mdc-theme-text-secondary-on-background:var(\n --lime-text-secondary-on-background-color,\n rgba(var(--contrast-1700), 0.54)\n );--lime-error-text-color:rgb(var(--color-red-darker));--mdc-theme-surface:var(\n --lime-surface-background-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-surface:var(\n --lime-on-surface-color,\n var(--lime-text-primary-on-background-color)\n )}.mdc-tab-bar{width:100%}.mdc-tab{height:48px}.mdc-tab--stacked{height:72px}.mdc-tab-scroller{overflow-y:hidden}.mdc-tab-scroller.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-scroller__test{position:absolute;top:-9999px;width:100px;height:100px;overflow-x:scroll}.mdc-tab-scroller__scroll-area{-webkit-overflow-scrolling:touch;display:flex;overflow-x:hidden}.mdc-tab-scroller__scroll-area::-webkit-scrollbar,.mdc-tab-scroller__test::-webkit-scrollbar{display:none}.mdc-tab-scroller__scroll-area--scroll{overflow-x:scroll}.mdc-tab-scroller__scroll-content{position:relative;display:flex;flex:1 0 auto;transform:none;will-change:transform}.mdc-tab-scroller--align-start .mdc-tab-scroller__scroll-content{justify-content:flex-start}.mdc-tab-scroller--align-end .mdc-tab-scroller__scroll-content{justify-content:flex-end}.mdc-tab-scroller--align-center .mdc-tab-scroller__scroll-content{justify-content:center}.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-area{-webkit-overflow-scrolling:auto}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-color:#26a69a;border-color:var(--mdc-theme-primary, #26a69a)}.mdc-tab-indicator .mdc-tab-indicator__content--icon{color:#575756;color:var(--mdc-theme-secondary, #575756)}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mdc-tab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:none;text-transform:var(--mdc-typography-button-text-transform, none);position:relative}.mdc-tab .mdc-tab__text-label{color:rgba(0, 0, 0, 0.6)}.mdc-tab .mdc-tab__icon{color:rgba(0, 0, 0, 0.54);fill:currentColor}.mdc-tab__content{position:relative}.mdc-tab__icon{width:24px;height:24px;font-size:24px}.mdc-tab--active .mdc-tab__text-label{color:#26a69a;color:var(--mdc-theme-primary, #26a69a)}.mdc-tab--active .mdc-tab__icon{color:#26a69a;color:var(--mdc-theme-primary, #26a69a);fill:currentColor}.mdc-tab{background:none}.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px;}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-tab{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-tab .mdc-tab__ripple::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-tab .mdc-tab__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-tab.mdc-ripple-upgraded--unbounded .mdc-tab__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-tab.mdc-ripple-upgraded--foreground-activation .mdc-tab__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-tab.mdc-ripple-upgraded--foreground-deactivation .mdc-tab__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{background-color:#26a69a;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #26a69a))}.mdc-tab:hover .mdc-tab__ripple::before,.mdc-tab.mdc-ripple-surface--hover .mdc-tab__ripple::before{opacity:0.08;opacity:var(--mdc-ripple-hover-opacity, 0.08)}.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__ripple::before,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-tab:not(.mdc-ripple-upgraded) .mdc-tab__ripple::after{transition:opacity 150ms linear}.mdc-tab:not(.mdc-ripple-upgraded):active .mdc-tab__ripple::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-tab.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-tab__ripple{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;will-change:transform, opacity}.scroll-fade,.scroll-button{position:absolute;transition-property:transform;transition-duration:0.3s;transition-timing-function:ease-out}.scroll-fade{top:0;height:100%;width:4.0625rem;pointer-events:none}.scroll-fade.left{transform:translate3d(-4.0625rem, 0, 0);left:0;background:linear-gradient(270deg, rgba(var(--contrast-300), 0) 0%, rgba(var(--contrast-300), 0.8) 40%, rgba(var(--contrast-300), 0.8) 100%)}.scroll-fade.right{transform:translate3d(4.0625rem, 0, 0);right:0;background:linear-gradient(90deg, rgba(var(--contrast-300), 0) 0%, rgba(var(--contrast-300), 0.8) 40%, rgba(var(--contrast-300), 0.8) 100%)}.scroll-button{--icon-background-color:rgb(var(--contrast-100));top:0.25rem}.scroll-button.left{transform:translate3d(-4.0625rem, 0, 0);left:0.25rem}.scroll-button.right{transform:translate3d(4.0625rem, 0, 0);right:0.25rem}.scroll-button:hover{transform:translate3d(0, 0, 0)}.mdc-tab-scroller{position:relative;overflow:hidden}.mdc-tab-scroller.can-scroll-left .scroll-fade.left,.mdc-tab-scroller.can-scroll-left .scroll-button.left,.mdc-tab-scroller.can-scroll-right .scroll-fade.right,.mdc-tab-scroller.can-scroll-right .scroll-button.right{transform:translate3d(0, 0, 0)}.mdc-tab-scroller.can-scroll-left:not(.can-scroll-right) .scroll-button.right,.mdc-tab-scroller.can-scroll-right:not(.can-scroll-left) .scroll-button.left{opacity:0.5;transition-delay:0.5s}.lime-hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.mdc-tab-scroller__scroll-content{padding:0.5rem 0.75rem 0 0.75rem;background-color:rgb(var(--contrast-300))}:host{display:block;position:relative}:host(.has-tabs-with-equal-width) .mdc-tab{flex:1 0 auto}.mdc-tab-indicator .mdc-tab-indicator__content{border:none}.mdc-tab__ripple{box-sizing:border-box;border-radius:0.625rem;border-style:solid;border-color:transparent;border-width:0.25rem;opacity:0.7}.mdc-tab__ripple:before,.mdc-tab__ripple:after{transition:background-color 0.5s ease}.mdc-tab{border-radius:0;letter-spacing:normal;padding-right:1.25rem;padding-left:1.25rem;min-width:2.5rem;background-color:transparent;flex:0 0 auto}.mdc-tab:not(.mdc-tab--active){--badge-background-color:rgb(var(--contrast-600))}.mdc-tab:not(.mdc-tab--active):after{content:\"\";display:block;background-color:rgb(var(--contrast-600));width:0.125rem;height:1rem;margin:auto;position:absolute;top:0;bottom:0;border-radius:1rem;right:-0.125rem}.mdc-tab:not(.mdc-tab--active):last-of-type:after{display:none}.mdc-tab--active{border-radius:0.625rem 0.625rem 0 0;background-color:rgb(var(--contrast-100));z-index:2}.mdc-tab--active:before,.mdc-tab--active:after{content:\"\";display:block;width:0.75rem;height:0.75rem;position:absolute;bottom:0;background-color:rgb(var(--contrast-100));-webkit-mask-image:url(\"data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2' clip-rule='evenodd' viewBox='0 0 50 50'><defs/><path d='M0 0c0 27.594 22.406 50 50 50H0V0z'/></svg>\");mask-image:url(\"data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2' clip-rule='evenodd' viewBox='0 0 50 50'><defs/><path d='M0 0c0 27.594 22.406 50 50 50H0V0z'/></svg>\")}.mdc-tab--active:before{left:-0.75rem;transform:rotateY(180deg)}.mdc-tab--active:after{right:-0.75rem}.mdc-tab--active .mdc-ripple-upgraded--background-focused:before{background-color:transparent;transition:background-color 1s ease}.mdc-tab__content{gap:0.375rem}.mdc-tab__text-label{padding-left:0 !important}";
2172
2251
 
2173
2252
  const { TAB_ACTIVATED_EVENT } = strings$1;
2174
2253
  const SCROLL_DISTANCE_ON_CLICK_PX = 150;
2175
2254
  const HIDE_SCROLL_BUTTONS_WHEN_SCROLLED_LESS_THAN_PX = 40;
2176
- let TabBar = class {
2255
+ const TabBar = class {
2177
2256
  constructor(hostRef) {
2178
2257
  index.registerInstance(this, hostRef);
2179
2258
  this.changeTab = index.createEvent(this, "changeTab", 7);