@alfalab/core-components 23.4.1 → 23.6.0-beta.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 (1842) hide show
  1. package/alert/Component.js +1 -1
  2. package/alert/esm/Component.js +1 -1
  3. package/alert/esm/index.css +5 -5
  4. package/alert/index.css +5 -5
  5. package/alert/modern/Component.js +1 -1
  6. package/alert/modern/index.css +5 -5
  7. package/amount/component.js +1 -1
  8. package/amount/esm/component.js +1 -1
  9. package/amount/esm/index.css +2 -2
  10. package/amount/esm/pure/component.js +1 -1
  11. package/amount/esm/pure/index.css +1 -1
  12. package/amount/index.css +2 -2
  13. package/amount/modern/component.js +1 -1
  14. package/amount/modern/index.css +2 -2
  15. package/amount/modern/pure/component.js +1 -1
  16. package/amount/modern/pure/index.css +1 -1
  17. package/amount/pure/component.js +1 -1
  18. package/amount/pure/index.css +1 -1
  19. package/amount-input/Component.js +3 -3
  20. package/amount-input/default.css +2 -2
  21. package/amount-input/esm/Component.js +3 -3
  22. package/amount-input/esm/default.css +2 -2
  23. package/amount-input/esm/index.css +7 -7
  24. package/amount-input/esm/inverted.css +2 -2
  25. package/amount-input/index.css +7 -7
  26. package/amount-input/inverted.css +2 -2
  27. package/amount-input/modern/Component.js +3 -3
  28. package/amount-input/modern/default.css +2 -2
  29. package/amount-input/modern/index.css +7 -7
  30. package/amount-input/modern/inverted.css +2 -2
  31. package/attach/Component.js +1 -1
  32. package/attach/esm/Component.js +1 -1
  33. package/attach/esm/index.css +23 -23
  34. package/attach/index.css +23 -23
  35. package/attach/modern/Component.js +1 -1
  36. package/attach/modern/index.css +23 -23
  37. package/backdrop/Component.js +1 -1
  38. package/backdrop/esm/Component.js +1 -1
  39. package/backdrop/esm/index.css +11 -11
  40. package/backdrop/index.css +11 -11
  41. package/backdrop/modern/Component.js +1 -1
  42. package/backdrop/modern/index.css +11 -11
  43. package/badge/Component.js +1 -1
  44. package/badge/esm/Component.js +1 -1
  45. package/badge/esm/index.css +16 -16
  46. package/badge/index.css +16 -16
  47. package/badge/modern/Component.js +1 -1
  48. package/badge/modern/index.css +16 -16
  49. package/bank-card/Component.js +1 -1
  50. package/bank-card/esm/Component.js +1 -1
  51. package/bank-card/esm/index.css +20 -20
  52. package/bank-card/index.css +20 -20
  53. package/bank-card/modern/Component.js +1 -1
  54. package/bank-card/modern/index.css +20 -20
  55. package/base-modal/Component.js +1 -1
  56. package/base-modal/esm/Component.js +1 -1
  57. package/base-modal/esm/index.css +12 -12
  58. package/base-modal/index.css +12 -12
  59. package/base-modal/modern/Component.js +1 -1
  60. package/base-modal/modern/index.css +12 -12
  61. package/bottom-sheet/{Component-f1c88c54.d.ts → Component-cd99e79d.d.ts} +0 -0
  62. package/bottom-sheet/{Component-f1c88c54.js → Component-cd99e79d.js} +0 -0
  63. package/bottom-sheet/component.js +2 -2
  64. package/bottom-sheet/components/footer/Component.js +1 -1
  65. package/bottom-sheet/components/footer/index.css +2 -2
  66. package/bottom-sheet/components/swipeable-backdrop/Component.js +1 -1
  67. package/bottom-sheet/esm/{Component-c75f303d.d.ts → Component-81239187.d.ts} +0 -0
  68. package/bottom-sheet/esm/{Component-c75f303d.js → Component-81239187.js} +0 -0
  69. package/bottom-sheet/esm/component.js +2 -2
  70. package/bottom-sheet/esm/components/footer/Component.js +1 -1
  71. package/bottom-sheet/esm/components/footer/index.css +2 -2
  72. package/bottom-sheet/esm/components/swipeable-backdrop/Component.js +1 -1
  73. package/bottom-sheet/esm/index.css +14 -14
  74. package/bottom-sheet/esm/index.js +1 -1
  75. package/bottom-sheet/index.css +14 -14
  76. package/bottom-sheet/index.js +1 -1
  77. package/bottom-sheet/modern/component.js +1 -1
  78. package/bottom-sheet/modern/components/footer/Component.js +1 -1
  79. package/bottom-sheet/modern/components/footer/index.css +2 -2
  80. package/bottom-sheet/modern/index.css +14 -14
  81. package/button/Component.js +3 -3
  82. package/button/cssm/index.module.css +10 -1
  83. package/button/default.css +41 -41
  84. package/button/esm/Component.js +3 -3
  85. package/button/esm/default.css +41 -41
  86. package/button/esm/index.css +61 -52
  87. package/button/esm/inverted.css +41 -41
  88. package/button/index.css +61 -52
  89. package/button/inverted.css +41 -41
  90. package/button/modern/Component.js +3 -3
  91. package/button/modern/default.css +41 -41
  92. package/button/modern/index.css +61 -52
  93. package/button/modern/inverted.css +41 -41
  94. package/calendar/Component.js +2 -2
  95. package/calendar/components/days-table/Component.js +2 -2
  96. package/calendar/components/days-table/index.css +40 -40
  97. package/calendar/components/days-table/index.js +1 -1
  98. package/calendar/components/header/Component.js +2 -2
  99. package/calendar/components/header/index.css +18 -18
  100. package/calendar/components/header/index.js +1 -1
  101. package/calendar/components/months-table/Component.js +2 -2
  102. package/calendar/components/months-table/index.css +6 -6
  103. package/calendar/components/months-table/index.js +1 -1
  104. package/calendar/components/select-button/Component.js +2 -2
  105. package/calendar/components/select-button/index.css +10 -10
  106. package/calendar/components/select-button/index.js +1 -1
  107. package/calendar/components/years-table/Component.js +2 -2
  108. package/calendar/components/years-table/index.css +6 -6
  109. package/calendar/components/years-table/index.js +1 -1
  110. package/calendar/esm/Component.js +2 -2
  111. package/calendar/esm/components/days-table/Component.js +2 -2
  112. package/calendar/esm/components/days-table/index.css +40 -40
  113. package/calendar/esm/components/days-table/index.js +1 -1
  114. package/calendar/esm/components/header/Component.js +2 -2
  115. package/calendar/esm/components/header/index.css +18 -18
  116. package/calendar/esm/components/header/index.js +1 -1
  117. package/calendar/esm/components/months-table/Component.js +2 -2
  118. package/calendar/esm/components/months-table/index.css +6 -6
  119. package/calendar/esm/components/months-table/index.js +1 -1
  120. package/calendar/esm/components/select-button/Component.js +2 -2
  121. package/calendar/esm/components/select-button/index.css +10 -10
  122. package/calendar/esm/components/select-button/index.js +1 -1
  123. package/calendar/esm/components/years-table/Component.js +2 -2
  124. package/calendar/esm/components/years-table/index.css +6 -6
  125. package/calendar/esm/components/years-table/index.js +1 -1
  126. package/calendar/esm/index.css +7 -7
  127. package/calendar/esm/index.js +1 -1
  128. package/calendar/esm/{tslib.es6-e44b1edb.d.ts → tslib.es6-d7980065.d.ts} +0 -0
  129. package/calendar/esm/{tslib.es6-e44b1edb.js → tslib.es6-d7980065.js} +0 -0
  130. package/calendar/index.css +7 -7
  131. package/calendar/index.js +1 -1
  132. package/calendar/modern/Component.js +1 -1
  133. package/calendar/modern/components/days-table/Component.js +1 -1
  134. package/calendar/modern/components/days-table/index.css +40 -40
  135. package/calendar/modern/components/header/Component.js +1 -1
  136. package/calendar/modern/components/header/index.css +18 -18
  137. package/calendar/modern/components/months-table/Component.js +1 -1
  138. package/calendar/modern/components/months-table/index.css +6 -6
  139. package/calendar/modern/components/select-button/Component.js +1 -1
  140. package/calendar/modern/components/select-button/index.css +10 -10
  141. package/calendar/modern/components/years-table/Component.js +1 -1
  142. package/calendar/modern/components/years-table/index.css +6 -6
  143. package/calendar/modern/index.css +7 -7
  144. package/calendar/{tslib.es6-ea5dc364.d.ts → tslib.es6-1a76747a.d.ts} +0 -0
  145. package/calendar/{tslib.es6-ea5dc364.js → tslib.es6-1a76747a.js} +0 -0
  146. package/calendar-input/Component.d.ts +1 -1
  147. package/calendar-input/Component.js +1 -1
  148. package/calendar-input/esm/Component.js +1 -1
  149. package/calendar-input/esm/index.css +10 -10
  150. package/calendar-input/index.css +10 -10
  151. package/calendar-input/modern/Component.js +1 -1
  152. package/calendar-input/modern/index.css +10 -10
  153. package/calendar-range/Component.js +1 -1
  154. package/calendar-range/esm/Component.js +1 -1
  155. package/calendar-range/esm/index.css +5 -5
  156. package/calendar-range/index.css +5 -5
  157. package/calendar-range/modern/Component.js +1 -1
  158. package/calendar-range/modern/index.css +5 -5
  159. package/calendar-with-skeleton/Component.js +1 -1
  160. package/calendar-with-skeleton/esm/Component.js +1 -1
  161. package/calendar-with-skeleton/esm/index.css +12 -12
  162. package/calendar-with-skeleton/index.css +12 -12
  163. package/calendar-with-skeleton/modern/Component.js +1 -1
  164. package/calendar-with-skeleton/modern/index.css +12 -12
  165. package/card-image/Component.js +1 -1
  166. package/card-image/esm/Component.js +1 -1
  167. package/card-image/esm/index.css +6 -6
  168. package/card-image/index.css +6 -6
  169. package/card-image/modern/Component.js +1 -1
  170. package/card-image/modern/index.css +6 -6
  171. package/cdn-icon/Component.js +1 -1
  172. package/cdn-icon/esm/Component.js +1 -1
  173. package/cdn-icon/esm/index.css +2 -2
  174. package/cdn-icon/index.css +2 -2
  175. package/cdn-icon/modern/Component.js +1 -1
  176. package/cdn-icon/modern/index.css +2 -2
  177. package/chart/Component.js +2 -2
  178. package/chart/components/Dot/index.css +7 -7
  179. package/chart/components/Dot/index.js +1 -1
  180. package/chart/components/Legends/index.css +7 -7
  181. package/chart/components/Legends/index.js +1 -1
  182. package/chart/components/Tick/index.css +3 -3
  183. package/chart/components/Tick/index.js +1 -1
  184. package/chart/components/TooltipContent/index.css +6 -6
  185. package/chart/components/TooltipContent/index.js +1 -1
  186. package/chart/esm/Component.js +2 -2
  187. package/chart/esm/components/Dot/index.css +7 -7
  188. package/chart/esm/components/Dot/index.js +1 -1
  189. package/chart/esm/components/Legends/index.css +7 -7
  190. package/chart/esm/components/Legends/index.js +1 -1
  191. package/chart/esm/components/Tick/index.css +3 -3
  192. package/chart/esm/components/Tick/index.js +1 -1
  193. package/chart/esm/components/TooltipContent/index.css +6 -6
  194. package/chart/esm/components/TooltipContent/index.js +1 -1
  195. package/chart/esm/hooks/useSettings/index.js +1 -1
  196. package/chart/esm/hooks/useSettings/utils/setDatas.js +1 -1
  197. package/chart/esm/hooks/useSettings/utils/setGradientCharts.js +1 -1
  198. package/chart/esm/index.css +2 -2
  199. package/chart/esm/index.js +1 -1
  200. package/chart/esm/{tslib.es6-9c09d99e.d.ts → tslib.es6-4ec53cba.d.ts} +0 -0
  201. package/chart/esm/{tslib.es6-9c09d99e.js → tslib.es6-4ec53cba.js} +0 -0
  202. package/chart/hooks/useSettings/index.js +1 -1
  203. package/chart/hooks/useSettings/utils/setDatas.js +1 -1
  204. package/chart/hooks/useSettings/utils/setGradientCharts.js +1 -1
  205. package/chart/index.css +2 -2
  206. package/chart/index.js +1 -1
  207. package/chart/modern/Component.js +1 -1
  208. package/chart/modern/components/Dot/index.css +7 -7
  209. package/chart/modern/components/Dot/index.js +1 -1
  210. package/chart/modern/components/Legends/index.css +7 -7
  211. package/chart/modern/components/Legends/index.js +1 -1
  212. package/chart/modern/components/Tick/index.css +3 -3
  213. package/chart/modern/components/Tick/index.js +1 -1
  214. package/chart/modern/components/TooltipContent/index.css +6 -6
  215. package/chart/modern/components/TooltipContent/index.js +1 -1
  216. package/chart/modern/hooks/useSettings/utils/setDatas.d.ts +1 -2
  217. package/chart/modern/index.css +2 -2
  218. package/chart/{tslib.es6-859193f3.d.ts → tslib.es6-3cadd58d.d.ts} +0 -0
  219. package/chart/{tslib.es6-859193f3.js → tslib.es6-3cadd58d.js} +0 -0
  220. package/checkbox/Component.d.ts +8 -0
  221. package/checkbox/Component.js +6 -4
  222. package/checkbox/cssm/Component.d.ts +8 -0
  223. package/checkbox/cssm/Component.js +5 -3
  224. package/checkbox/cssm/index.module.css +8 -0
  225. package/checkbox/esm/Component.d.ts +8 -0
  226. package/checkbox/esm/Component.js +6 -4
  227. package/checkbox/esm/index.css +44 -36
  228. package/checkbox/index.css +44 -36
  229. package/checkbox/modern/Component.d.ts +8 -0
  230. package/checkbox/modern/Component.js +6 -4
  231. package/checkbox/modern/index.css +44 -36
  232. package/checkbox-group/Component.js +1 -1
  233. package/checkbox-group/esm/Component.js +1 -1
  234. package/checkbox-group/esm/index.css +16 -16
  235. package/checkbox-group/index.css +16 -16
  236. package/checkbox-group/modern/Component.js +1 -1
  237. package/checkbox-group/modern/index.css +16 -16
  238. package/circular-progress-bar/Component.js +1 -1
  239. package/circular-progress-bar/esm/Component.js +1 -1
  240. package/circular-progress-bar/esm/index.css +20 -20
  241. package/circular-progress-bar/index.css +20 -20
  242. package/circular-progress-bar/modern/Component.js +1 -1
  243. package/circular-progress-bar/modern/index.css +20 -20
  244. package/collapse/Component.js +1 -1
  245. package/collapse/esm/Component.js +1 -1
  246. package/collapse/esm/index.css +7 -7
  247. package/collapse/index.css +7 -7
  248. package/collapse/modern/Component.js +1 -1
  249. package/collapse/modern/index.css +7 -7
  250. package/confirmation/component.js +1 -1
  251. package/confirmation/components/code-input/component.js +1 -1
  252. package/confirmation/components/code-input/index.css +10 -10
  253. package/confirmation/components/countdown/component.js +1 -1
  254. package/confirmation/components/countdown/index.css +13 -13
  255. package/confirmation/components/countdown-loader/component.js +1 -1
  256. package/confirmation/components/countdown-loader/index.css +2 -2
  257. package/confirmation/components/overlimit/component.js +1 -1
  258. package/confirmation/components/overlimit/index.css +9 -9
  259. package/confirmation/components/sign-confirmation/component.js +1 -1
  260. package/confirmation/components/sign-confirmation/index.css +13 -13
  261. package/confirmation/esm/component.js +1 -1
  262. package/confirmation/esm/components/code-input/component.js +1 -1
  263. package/confirmation/esm/components/code-input/index.css +10 -10
  264. package/confirmation/esm/components/countdown/component.js +1 -1
  265. package/confirmation/esm/components/countdown/index.css +13 -13
  266. package/confirmation/esm/components/countdown-loader/component.js +1 -1
  267. package/confirmation/esm/components/countdown-loader/index.css +2 -2
  268. package/confirmation/esm/components/overlimit/component.js +1 -1
  269. package/confirmation/esm/components/overlimit/index.css +9 -9
  270. package/confirmation/esm/components/sign-confirmation/component.js +1 -1
  271. package/confirmation/esm/components/sign-confirmation/index.css +13 -13
  272. package/confirmation/esm/index.css +14 -14
  273. package/confirmation/index.css +14 -14
  274. package/confirmation/modern/component.js +1 -1
  275. package/confirmation/modern/components/code-input/component.js +1 -1
  276. package/confirmation/modern/components/code-input/index.css +10 -10
  277. package/confirmation/modern/components/countdown/component.js +1 -1
  278. package/confirmation/modern/components/countdown/index.css +13 -13
  279. package/confirmation/modern/components/countdown-loader/component.js +1 -1
  280. package/confirmation/modern/components/countdown-loader/index.css +2 -2
  281. package/confirmation/modern/components/overlimit/component.js +1 -1
  282. package/confirmation/modern/components/overlimit/index.css +9 -9
  283. package/confirmation/modern/components/sign-confirmation/component.js +1 -1
  284. package/confirmation/modern/components/sign-confirmation/index.css +13 -13
  285. package/confirmation/modern/index.css +14 -14
  286. package/custom-button/Component.js +1 -1
  287. package/custom-button/esm/Component.js +1 -1
  288. package/custom-button/esm/index.css +12 -12
  289. package/custom-button/index.css +12 -12
  290. package/custom-button/modern/Component.js +1 -1
  291. package/custom-button/modern/index.css +12 -12
  292. package/date-input/Component.js +1 -1
  293. package/date-input/esm/Component.js +1 -1
  294. package/date-input/esm/index.css +4 -4
  295. package/date-input/index.css +4 -4
  296. package/date-input/modern/Component.js +1 -1
  297. package/date-input/modern/index.css +4 -4
  298. package/divider/Component.js +1 -1
  299. package/divider/esm/Component.js +1 -1
  300. package/divider/esm/index.css +1 -1
  301. package/divider/index.css +1 -1
  302. package/divider/modern/Component.js +1 -1
  303. package/divider/modern/index.css +1 -1
  304. package/drawer/Component.js +1 -1
  305. package/drawer/esm/Component.js +1 -1
  306. package/drawer/esm/index.css +16 -16
  307. package/drawer/index.css +16 -16
  308. package/drawer/modern/Component.js +1 -1
  309. package/drawer/modern/index.css +16 -16
  310. package/dropzone/Component.js +1 -1
  311. package/dropzone/components/overlay/Component.js +1 -1
  312. package/dropzone/components/overlay/index.css +3 -3
  313. package/dropzone/esm/Component.js +1 -1
  314. package/dropzone/esm/components/overlay/Component.js +1 -1
  315. package/dropzone/esm/components/overlay/index.css +3 -3
  316. package/dropzone/esm/index.css +6 -6
  317. package/dropzone/index.css +6 -6
  318. package/dropzone/modern/Component.js +1 -1
  319. package/dropzone/modern/components/overlay/Component.js +1 -1
  320. package/dropzone/modern/components/overlay/index.css +3 -3
  321. package/dropzone/modern/index.css +6 -6
  322. package/file-upload-item/Component.js +1 -1
  323. package/file-upload-item/esm/Component.js +1 -1
  324. package/file-upload-item/esm/index.css +23 -23
  325. package/file-upload-item/index.css +23 -23
  326. package/file-upload-item/modern/Component.js +1 -1
  327. package/file-upload-item/modern/index.css +23 -23
  328. package/form-control/Component.js +3 -3
  329. package/form-control/default.css +14 -14
  330. package/form-control/esm/Component.js +3 -3
  331. package/form-control/esm/default.css +14 -14
  332. package/form-control/esm/index.css +41 -41
  333. package/form-control/esm/inverted.css +14 -14
  334. package/form-control/index.css +41 -41
  335. package/form-control/inverted.css +14 -14
  336. package/form-control/modern/Component.js +3 -3
  337. package/form-control/modern/default.css +14 -14
  338. package/form-control/modern/index.css +41 -41
  339. package/form-control/modern/inverted.css +14 -14
  340. package/gallery/Component.js +3 -3
  341. package/gallery/components/header/Component.js +2 -2
  342. package/gallery/components/header/buttons.js +1 -1
  343. package/gallery/components/header/index.css +3 -3
  344. package/gallery/components/header/index.js +1 -1
  345. package/gallery/components/header-info-block/Component.js +1 -1
  346. package/gallery/components/header-info-block/index.css +5 -5
  347. package/gallery/components/image-preview/Component.js +1 -1
  348. package/gallery/components/image-preview/index.css +12 -12
  349. package/gallery/components/image-viewer/component.js +2 -2
  350. package/gallery/components/image-viewer/index.css +19 -19
  351. package/gallery/components/image-viewer/index.js +2 -2
  352. package/gallery/components/image-viewer/slide.js +1 -1
  353. package/gallery/components/index.js +2 -2
  354. package/gallery/components/navigation-bar/Component.js +1 -1
  355. package/gallery/components/navigation-bar/index.css +6 -6
  356. package/gallery/esm/Component.js +3 -3
  357. package/gallery/esm/components/header/Component.js +2 -2
  358. package/gallery/esm/components/header/buttons.js +1 -1
  359. package/gallery/esm/components/header/index.css +3 -3
  360. package/gallery/esm/components/header/index.js +1 -1
  361. package/gallery/esm/components/header-info-block/Component.js +1 -1
  362. package/gallery/esm/components/header-info-block/index.css +5 -5
  363. package/gallery/esm/components/image-preview/Component.js +1 -1
  364. package/gallery/esm/components/image-preview/index.css +12 -12
  365. package/gallery/esm/components/image-viewer/component.js +2 -2
  366. package/gallery/esm/components/image-viewer/index.css +19 -19
  367. package/gallery/esm/components/image-viewer/index.js +2 -2
  368. package/gallery/esm/components/image-viewer/slide.js +1 -1
  369. package/gallery/esm/components/index.js +2 -2
  370. package/gallery/esm/components/navigation-bar/Component.js +1 -1
  371. package/gallery/esm/components/navigation-bar/index.css +6 -6
  372. package/gallery/esm/index.css +3 -3
  373. package/gallery/esm/index.js +2 -2
  374. package/gallery/esm/{slide-19300288.d.ts → slide-9dcb84cc.d.ts} +0 -0
  375. package/gallery/esm/{slide-19300288.js → slide-9dcb84cc.js} +1 -1
  376. package/gallery/esm/{tslib.es6-5e2c00c4.d.ts → tslib.es6-bce0cc9d.d.ts} +0 -0
  377. package/gallery/esm/{tslib.es6-5e2c00c4.js → tslib.es6-bce0cc9d.js} +0 -0
  378. package/gallery/index.css +3 -3
  379. package/gallery/index.js +2 -2
  380. package/gallery/modern/Component.js +2 -2
  381. package/gallery/modern/components/header/Component.js +1 -1
  382. package/gallery/modern/components/header/index.css +3 -3
  383. package/gallery/modern/components/header-info-block/Component.js +1 -1
  384. package/gallery/modern/components/header-info-block/index.css +5 -5
  385. package/gallery/modern/components/image-preview/Component.js +1 -1
  386. package/gallery/modern/components/image-preview/index.css +12 -12
  387. package/gallery/modern/components/image-viewer/component.js +1 -1
  388. package/gallery/modern/components/image-viewer/index.css +19 -19
  389. package/gallery/modern/components/image-viewer/index.js +1 -1
  390. package/gallery/modern/components/image-viewer/slide.js +1 -1
  391. package/gallery/modern/components/index.js +1 -1
  392. package/gallery/modern/components/navigation-bar/Component.js +1 -1
  393. package/gallery/modern/components/navigation-bar/index.css +6 -6
  394. package/gallery/modern/index.css +3 -3
  395. package/gallery/modern/index.js +1 -1
  396. package/gallery/modern/{slide-01d04496.d.ts → slide-606343ce.d.ts} +0 -0
  397. package/gallery/modern/{slide-01d04496.js → slide-606343ce.js} +1 -1
  398. package/gallery/{slide-8aa439c1.d.ts → slide-1fcdb322.d.ts} +0 -0
  399. package/gallery/{slide-8aa439c1.js → slide-1fcdb322.js} +1 -1
  400. package/gallery/{tslib.es6-6500a909.d.ts → tslib.es6-00a3b3e0.d.ts} +0 -0
  401. package/gallery/{tslib.es6-6500a909.js → tslib.es6-00a3b3e0.js} +0 -0
  402. package/grid/Component.js +1 -1
  403. package/grid/col/Component.js +2 -2
  404. package/grid/col/index.css +511 -511
  405. package/grid/col/index.js +1 -1
  406. package/grid/esm/Component.js +1 -1
  407. package/grid/esm/col/Component.js +2 -2
  408. package/grid/esm/col/index.css +511 -511
  409. package/grid/esm/col/index.js +1 -1
  410. package/grid/esm/gutters.css +78 -78
  411. package/grid/esm/{gutters.module-8ff20c10.d.ts → gutters.module-1abfdea7.d.ts} +0 -0
  412. package/grid/esm/gutters.module-1abfdea7.js +27 -0
  413. package/grid/esm/index.js +1 -1
  414. package/grid/esm/row/Component.js +2 -2
  415. package/grid/esm/row/index.css +9 -9
  416. package/grid/esm/row/index.js +1 -1
  417. package/grid/gutters.css +78 -78
  418. package/grid/{gutters.module-46e219ce.d.ts → gutters.module-4c751de2.d.ts} +0 -0
  419. package/grid/gutters.module-4c751de2.js +28 -0
  420. package/grid/index.js +1 -1
  421. package/grid/modern/Component.js +1 -1
  422. package/grid/modern/col/Component.js +2 -2
  423. package/grid/modern/col/index.css +511 -511
  424. package/grid/modern/col/index.js +1 -1
  425. package/grid/modern/gutters.css +78 -78
  426. package/grid/modern/gutters.module-fcfa41f1.js +4 -0
  427. package/grid/modern/index.js +1 -1
  428. package/grid/modern/row/Component.js +2 -2
  429. package/grid/modern/row/index.css +9 -9
  430. package/grid/modern/row/index.js +1 -1
  431. package/grid/row/Component.js +2 -2
  432. package/grid/row/index.css +9 -9
  433. package/grid/row/index.js +1 -1
  434. package/icon-button/Component.js +3 -3
  435. package/icon-button/default.css +13 -13
  436. package/icon-button/esm/Component.js +3 -3
  437. package/icon-button/esm/default.css +13 -13
  438. package/icon-button/esm/index.css +6 -6
  439. package/icon-button/esm/inverted.css +13 -13
  440. package/icon-button/index.css +6 -6
  441. package/icon-button/inverted.css +13 -13
  442. package/icon-button/modern/Component.js +3 -3
  443. package/icon-button/modern/default.css +13 -13
  444. package/icon-button/modern/index.css +6 -6
  445. package/icon-button/modern/inverted.css +13 -13
  446. package/icon-view/circle.d.ts +1 -0
  447. package/icon-view/circle.js +13 -0
  448. package/icon-view/components/base-shape/component.d.ts +46 -0
  449. package/icon-view/components/base-shape/component.js +44 -0
  450. package/icon-view/components/base-shape/index.css +116 -0
  451. package/icon-view/components/base-shape/index.d.ts +1 -0
  452. package/icon-view/components/base-shape/index.js +10 -0
  453. package/icon-view/components/base-shape/utils.d.ts +20 -0
  454. package/icon-view/components/base-shape/utils.js +17 -0
  455. package/icon-view/components/circle/component.d.ts +18 -0
  456. package/icon-view/components/circle/component.js +16 -0
  457. package/icon-view/components/circle/index.d.ts +1 -0
  458. package/icon-view/components/circle/index.js +13 -0
  459. package/icon-view/components/circle/paths.d.ts +63 -0
  460. package/icon-view/components/circle/paths.js +49 -0
  461. package/icon-view/components/index.d.ts +3 -0
  462. package/icon-view/components/index.js +17 -0
  463. package/icon-view/components/super-ellipse/component.d.ts +18 -0
  464. package/icon-view/components/super-ellipse/component.js +16 -0
  465. package/icon-view/components/super-ellipse/index.d.ts +1 -0
  466. package/icon-view/components/super-ellipse/index.js +13 -0
  467. package/icon-view/components/super-ellipse/paths.d.ts +107 -0
  468. package/icon-view/components/super-ellipse/paths.js +62 -0
  469. package/icon-view/cssm/circle.d.ts +1 -0
  470. package/icon-view/cssm/circle.js +14 -0
  471. package/icon-view/cssm/components/base-shape/component.d.ts +46 -0
  472. package/icon-view/cssm/components/base-shape/component.js +43 -0
  473. package/icon-view/cssm/components/base-shape/index.d.ts +1 -0
  474. package/icon-view/cssm/components/base-shape/index.js +11 -0
  475. package/icon-view/cssm/components/base-shape/index.module.css +115 -0
  476. package/icon-view/cssm/components/base-shape/utils.d.ts +20 -0
  477. package/icon-view/cssm/components/base-shape/utils.js +17 -0
  478. package/icon-view/cssm/components/circle/component.d.ts +18 -0
  479. package/icon-view/cssm/components/circle/component.js +17 -0
  480. package/icon-view/cssm/components/circle/index.d.ts +1 -0
  481. package/icon-view/cssm/components/circle/index.js +14 -0
  482. package/icon-view/cssm/components/circle/paths.d.ts +63 -0
  483. package/icon-view/cssm/components/circle/paths.js +49 -0
  484. package/icon-view/cssm/components/index.d.ts +3 -0
  485. package/icon-view/cssm/components/index.js +18 -0
  486. package/icon-view/cssm/components/super-ellipse/component.d.ts +18 -0
  487. package/icon-view/cssm/components/super-ellipse/component.js +17 -0
  488. package/icon-view/cssm/components/super-ellipse/index.d.ts +1 -0
  489. package/icon-view/cssm/components/super-ellipse/index.js +14 -0
  490. package/icon-view/cssm/components/super-ellipse/paths.d.ts +107 -0
  491. package/icon-view/cssm/components/super-ellipse/paths.js +62 -0
  492. package/icon-view/cssm/super-ellipse.d.ts +1 -0
  493. package/icon-view/cssm/super-ellipse.js +14 -0
  494. package/{modal/esm/tslib.es6-4db90ccd.d.ts → icon-view/cssm/tslib.es6-2be2aee7.d.ts} +0 -0
  495. package/icon-view/cssm/tslib.es6-2be2aee7.js +26 -0
  496. package/icon-view/esm/circle.d.ts +1 -0
  497. package/icon-view/esm/circle.js +7 -0
  498. package/icon-view/esm/components/base-shape/component.d.ts +46 -0
  499. package/icon-view/esm/components/base-shape/component.js +37 -0
  500. package/icon-view/esm/components/base-shape/index.css +116 -0
  501. package/icon-view/esm/components/base-shape/index.d.ts +1 -0
  502. package/icon-view/esm/components/base-shape/index.js +4 -0
  503. package/icon-view/esm/components/base-shape/utils.d.ts +20 -0
  504. package/icon-view/esm/components/base-shape/utils.js +15 -0
  505. package/icon-view/esm/components/circle/component.d.ts +18 -0
  506. package/icon-view/esm/components/circle/component.js +10 -0
  507. package/icon-view/esm/components/circle/index.d.ts +1 -0
  508. package/icon-view/esm/components/circle/index.js +7 -0
  509. package/icon-view/esm/components/circle/paths.d.ts +63 -0
  510. package/icon-view/esm/components/circle/paths.js +46 -0
  511. package/icon-view/esm/components/index.d.ts +3 -0
  512. package/icon-view/esm/components/index.js +9 -0
  513. package/icon-view/esm/components/super-ellipse/component.d.ts +18 -0
  514. package/icon-view/esm/components/super-ellipse/component.js +10 -0
  515. package/icon-view/esm/components/super-ellipse/index.d.ts +1 -0
  516. package/icon-view/esm/components/super-ellipse/index.js +7 -0
  517. package/icon-view/esm/components/super-ellipse/paths.d.ts +107 -0
  518. package/icon-view/esm/components/super-ellipse/paths.js +58 -0
  519. package/icon-view/esm/super-ellipse.d.ts +1 -0
  520. package/icon-view/esm/super-ellipse.js +7 -0
  521. package/{modal/tslib.es6-68c33e0e.d.ts → icon-view/esm/tslib.es6-efdaa2de.d.ts} +0 -0
  522. package/icon-view/esm/tslib.es6-efdaa2de.js +28 -0
  523. package/icon-view/modern/circle.d.ts +1 -0
  524. package/icon-view/modern/circle.js +6 -0
  525. package/icon-view/modern/components/base-shape/component.d.ts +46 -0
  526. package/icon-view/modern/components/base-shape/component.js +36 -0
  527. package/icon-view/modern/components/base-shape/index.css +116 -0
  528. package/icon-view/modern/components/base-shape/index.d.ts +1 -0
  529. package/icon-view/modern/components/base-shape/index.js +4 -0
  530. package/icon-view/modern/components/base-shape/utils.d.ts +20 -0
  531. package/icon-view/modern/components/base-shape/utils.js +14 -0
  532. package/icon-view/modern/components/circle/component.d.ts +18 -0
  533. package/icon-view/modern/components/circle/component.js +9 -0
  534. package/icon-view/modern/components/circle/index.d.ts +1 -0
  535. package/icon-view/modern/components/circle/index.js +6 -0
  536. package/icon-view/modern/components/circle/paths.d.ts +63 -0
  537. package/icon-view/modern/components/circle/paths.js +46 -0
  538. package/icon-view/modern/components/index.d.ts +3 -0
  539. package/icon-view/modern/components/index.js +8 -0
  540. package/icon-view/modern/components/super-ellipse/component.d.ts +18 -0
  541. package/icon-view/modern/components/super-ellipse/component.js +9 -0
  542. package/icon-view/modern/components/super-ellipse/index.d.ts +1 -0
  543. package/icon-view/modern/components/super-ellipse/index.js +6 -0
  544. package/icon-view/modern/components/super-ellipse/paths.d.ts +107 -0
  545. package/icon-view/modern/components/super-ellipse/paths.js +58 -0
  546. package/icon-view/modern/super-ellipse.d.ts +1 -0
  547. package/icon-view/modern/super-ellipse.js +6 -0
  548. package/icon-view/package.json +3 -0
  549. package/{themes/dist → icon-view}/send-stats.js +0 -0
  550. package/icon-view/super-ellipse.d.ts +1 -0
  551. package/icon-view/super-ellipse.js +13 -0
  552. package/{select-with-tags/esm/tslib.es6-877873de.d.ts → icon-view/tslib.es6-a89eba94.d.ts} +0 -0
  553. package/icon-view/tslib.es6-a89eba94.js +26 -0
  554. package/input/Component.js +5 -4
  555. package/input/cssm/Component.js +2 -1
  556. package/input/cssm/default.module.css +2 -2
  557. package/input/cssm/index.js +1 -0
  558. package/input/cssm/index.module.css +0 -5
  559. package/input/cssm/inverted.module.css +2 -2
  560. package/input/default.css +15 -15
  561. package/input/esm/Component.js +5 -4
  562. package/input/esm/default.css +15 -15
  563. package/input/esm/index.css +31 -36
  564. package/input/esm/index.js +1 -0
  565. package/input/esm/inverted.css +15 -15
  566. package/input/index.css +31 -36
  567. package/input/index.js +1 -0
  568. package/input/inverted.css +15 -15
  569. package/input/modern/Component.js +5 -4
  570. package/input/modern/default.css +15 -15
  571. package/input/modern/index.css +31 -36
  572. package/input/modern/index.js +1 -0
  573. package/input/modern/inverted.css +15 -15
  574. package/input-autocomplete/{Component-9158d9bf.d.ts → Component-ae56afd1.d.ts} +0 -0
  575. package/input-autocomplete/{Component-9158d9bf.js → Component-ae56afd1.js} +1 -1
  576. package/input-autocomplete/Component.js +1 -1
  577. package/input-autocomplete/autocomplete-field/Component.js +1 -1
  578. package/input-autocomplete/autocomplete-field/index.css +2 -2
  579. package/input-autocomplete/autocomplete-field/index.d.ts +1 -1
  580. package/input-autocomplete/autocomplete-field/index.js +1 -1
  581. package/input-autocomplete/esm/{Component-ffdbef1d.d.ts → Component-051f6b87.d.ts} +0 -0
  582. package/input-autocomplete/esm/{Component-ffdbef1d.js → Component-051f6b87.js} +1 -1
  583. package/input-autocomplete/esm/Component.js +1 -1
  584. package/input-autocomplete/esm/autocomplete-field/Component.js +1 -1
  585. package/input-autocomplete/esm/autocomplete-field/index.css +2 -2
  586. package/input-autocomplete/esm/autocomplete-field/index.d.ts +1 -1
  587. package/input-autocomplete/esm/autocomplete-field/index.js +1 -1
  588. package/input-autocomplete/esm/index.js +1 -1
  589. package/input-autocomplete/index.js +1 -1
  590. package/input-autocomplete/modern/autocomplete-field/Component.js +1 -1
  591. package/input-autocomplete/modern/autocomplete-field/index.css +2 -2
  592. package/intl-phone-input/{component-455890bd.d.ts → component-56ba15fe.d.ts} +0 -0
  593. package/intl-phone-input/{component-455890bd.js → component-56ba15fe.js} +1 -1
  594. package/intl-phone-input/component.d.ts +1 -1
  595. package/intl-phone-input/component.js +3 -3
  596. package/intl-phone-input/components/flag-icon/component.js +1 -1
  597. package/intl-phone-input/components/flag-icon/index.css +784 -784
  598. package/intl-phone-input/components/index.js +1 -1
  599. package/intl-phone-input/components/select/component.js +2 -2
  600. package/intl-phone-input/components/select/index.css +6 -6
  601. package/intl-phone-input/components/select/index.js +1 -1
  602. package/intl-phone-input/components/select-field/component.js +1 -1
  603. package/intl-phone-input/components/select-field/index.css +8 -8
  604. package/intl-phone-input/components/select-field/index.d.ts +1 -1
  605. package/intl-phone-input/components/select-field/index.js +1 -1
  606. package/intl-phone-input/esm/{component-3cd9fba9.d.ts → component-f16ae772.d.ts} +0 -0
  607. package/intl-phone-input/esm/{component-3cd9fba9.js → component-f16ae772.js} +1 -1
  608. package/intl-phone-input/esm/component.js +3 -3
  609. package/intl-phone-input/esm/components/flag-icon/component.js +1 -1
  610. package/intl-phone-input/esm/components/flag-icon/index.css +784 -784
  611. package/intl-phone-input/esm/components/index.js +1 -1
  612. package/intl-phone-input/esm/components/select/component.js +2 -2
  613. package/intl-phone-input/esm/components/select/index.css +6 -6
  614. package/intl-phone-input/esm/components/select/index.js +1 -1
  615. package/intl-phone-input/esm/components/select-field/component.js +1 -1
  616. package/intl-phone-input/esm/components/select-field/index.css +8 -8
  617. package/intl-phone-input/esm/components/select-field/index.d.ts +1 -1
  618. package/intl-phone-input/esm/components/select-field/index.js +1 -1
  619. package/intl-phone-input/esm/index.css +3 -3
  620. package/intl-phone-input/esm/index.js +1 -1
  621. package/intl-phone-input/esm/{libphonenumber-js.min-12bcae76.d.ts → libphonenumber-js.min-520c61a9.d.ts} +0 -0
  622. package/intl-phone-input/esm/{libphonenumber-js.min-12bcae76.js → libphonenumber-js.min-520c61a9.js} +0 -0
  623. package/intl-phone-input/index.css +3 -3
  624. package/intl-phone-input/index.js +1 -1
  625. package/intl-phone-input/{libphonenumber-js.min-c1ccb0ec.d.ts → libphonenumber-js.min-21c36bf2.d.ts} +0 -0
  626. package/intl-phone-input/{libphonenumber-js.min-c1ccb0ec.js → libphonenumber-js.min-21c36bf2.js} +0 -0
  627. package/intl-phone-input/modern/component.js +2 -2
  628. package/intl-phone-input/modern/components/flag-icon/component.js +1 -1
  629. package/intl-phone-input/modern/components/flag-icon/index.css +784 -784
  630. package/intl-phone-input/modern/components/select/component.js +1 -1
  631. package/intl-phone-input/modern/components/select/index.css +6 -6
  632. package/intl-phone-input/modern/components/select-field/component.js +1 -1
  633. package/intl-phone-input/modern/components/select-field/index.css +8 -8
  634. package/intl-phone-input/modern/index.css +3 -3
  635. package/intl-phone-input/modern/{libphonenumber-js.min-12bcae76.d.ts → libphonenumber-js.min-520c61a9.d.ts} +0 -0
  636. package/intl-phone-input/modern/{libphonenumber-js.min-12bcae76.js → libphonenumber-js.min-520c61a9.js} +0 -0
  637. package/link/Component.js +3 -3
  638. package/link/default.css +9 -9
  639. package/link/esm/Component.js +3 -3
  640. package/link/esm/default.css +9 -9
  641. package/link/esm/index.css +11 -11
  642. package/link/esm/inverted.css +9 -9
  643. package/link/index.css +11 -11
  644. package/link/inverted.css +9 -9
  645. package/link/modern/Component.js +3 -3
  646. package/link/modern/default.css +9 -9
  647. package/link/modern/index.css +11 -11
  648. package/link/modern/inverted.css +9 -9
  649. package/list/Component.js +1 -1
  650. package/list/esm/Component.js +1 -1
  651. package/list/esm/index.css +9 -9
  652. package/list/index.css +9 -9
  653. package/list/modern/Component.js +1 -1
  654. package/list/modern/index.css +9 -9
  655. package/list-header/Component.js +1 -1
  656. package/list-header/esm/Component.js +1 -1
  657. package/list-header/esm/index.css +3 -3
  658. package/list-header/index.css +3 -3
  659. package/list-header/modern/Component.js +1 -1
  660. package/list-header/modern/index.css +3 -3
  661. package/loader/Component.js +1 -1
  662. package/loader/esm/Component.js +1 -1
  663. package/loader/esm/index.css +7 -7
  664. package/loader/index.css +7 -7
  665. package/loader/modern/Component.js +1 -1
  666. package/loader/modern/index.css +7 -7
  667. package/masked-input/Component.d.ts +2 -2
  668. package/masked-input/Component.js +1 -1
  669. package/masked-input/cssm/Component.d.ts +2 -2
  670. package/masked-input/esm/Component.d.ts +2 -2
  671. package/masked-input/esm/Component.js +1 -1
  672. package/masked-input/esm/index.css +2 -2
  673. package/masked-input/index.css +2 -2
  674. package/masked-input/modern/Component.d.ts +2 -2
  675. package/masked-input/modern/Component.js +1 -1
  676. package/masked-input/modern/index.css +2 -2
  677. package/modal/Component.desktop.js +3 -3
  678. package/modal/Component.mobile.js +3 -3
  679. package/modal/Component.responsive.js +2 -2
  680. package/modal/components/closer/Component.js +2 -2
  681. package/modal/components/closer/index.css +8 -8
  682. package/modal/components/content/Component.desktop.js +2 -2
  683. package/modal/components/content/Component.mobile.js +2 -2
  684. package/modal/components/content/desktop.css +12 -12
  685. package/modal/components/content/mobile.css +7 -7
  686. package/modal/components/footer/Component.desktop.js +2 -2
  687. package/modal/components/footer/Component.js +1 -1
  688. package/modal/components/footer/Component.mobile.js +2 -2
  689. package/modal/components/footer/desktop.css +12 -12
  690. package/modal/components/footer/layout.css +25 -25
  691. package/modal/components/footer/mobile.css +7 -7
  692. package/modal/components/header/Component.desktop.js +2 -2
  693. package/modal/components/header/Component.js +1 -1
  694. package/modal/components/header/Component.mobile.js +2 -2
  695. package/modal/components/header/desktop.css +16 -16
  696. package/modal/components/header/mobile.css +11 -11
  697. package/modal/desktop.css +8 -8
  698. package/modal/desktop.js +2 -2
  699. package/modal/esm/Component.desktop.js +3 -3
  700. package/modal/esm/Component.mobile.js +3 -3
  701. package/modal/esm/Component.responsive.d.ts +3 -3
  702. package/modal/esm/Component.responsive.js +2 -2
  703. package/modal/esm/components/closer/Component.js +2 -2
  704. package/modal/esm/components/closer/index.css +8 -8
  705. package/modal/esm/components/content/Component.desktop.js +2 -2
  706. package/modal/esm/components/content/Component.mobile.js +2 -2
  707. package/modal/esm/components/content/desktop.css +12 -12
  708. package/modal/esm/components/content/mobile.css +7 -7
  709. package/modal/esm/components/footer/Component.desktop.js +2 -2
  710. package/modal/esm/components/footer/Component.js +1 -1
  711. package/modal/esm/components/footer/Component.mobile.js +2 -2
  712. package/modal/esm/components/footer/desktop.css +12 -12
  713. package/modal/esm/components/footer/layout.css +25 -25
  714. package/modal/esm/components/footer/mobile.css +7 -7
  715. package/modal/esm/components/header/Component.desktop.js +2 -2
  716. package/modal/esm/components/header/Component.js +1 -1
  717. package/modal/esm/components/header/Component.mobile.js +2 -2
  718. package/modal/esm/components/header/desktop.css +16 -16
  719. package/modal/esm/components/header/mobile.css +11 -11
  720. package/modal/esm/desktop.css +8 -8
  721. package/modal/esm/desktop.js +2 -2
  722. package/modal/esm/index.js +2 -2
  723. package/modal/esm/mobile.css +2 -2
  724. package/modal/esm/mobile.js +2 -2
  725. package/modal/esm/responsive.js +2 -2
  726. package/modal/esm/transitions.css +8 -8
  727. package/modal/esm/transitions.module-27d61f39.js +4 -0
  728. package/{select-with-tags/tslib.es6-09808b76.d.ts → modal/esm/tslib.es6-a4c6ac3d.d.ts} +0 -0
  729. package/modal/esm/{tslib.es6-4db90ccd.js → tslib.es6-a4c6ac3d.js} +0 -0
  730. package/modal/index.js +2 -2
  731. package/modal/mobile.css +2 -2
  732. package/modal/mobile.js +2 -2
  733. package/modal/modern/Component.desktop.js +2 -2
  734. package/modal/modern/Component.mobile.js +2 -2
  735. package/modal/modern/Component.responsive.d.ts +3 -3
  736. package/modal/modern/Component.responsive.js +1 -1
  737. package/modal/modern/components/closer/Component.js +1 -1
  738. package/modal/modern/components/closer/index.css +8 -8
  739. package/modal/modern/components/content/Component.desktop.js +1 -1
  740. package/modal/modern/components/content/Component.mobile.js +1 -1
  741. package/modal/modern/components/content/desktop.css +12 -12
  742. package/modal/modern/components/content/mobile.css +7 -7
  743. package/modal/modern/components/footer/Component.desktop.js +1 -1
  744. package/modal/modern/components/footer/Component.js +1 -1
  745. package/modal/modern/components/footer/Component.mobile.js +1 -1
  746. package/modal/modern/components/footer/desktop.css +12 -12
  747. package/modal/modern/components/footer/layout.css +25 -25
  748. package/modal/modern/components/footer/mobile.css +7 -7
  749. package/modal/modern/components/header/Component.desktop.js +1 -1
  750. package/modal/modern/components/header/Component.mobile.js +1 -1
  751. package/modal/modern/components/header/desktop.css +16 -16
  752. package/modal/modern/components/header/mobile.css +11 -11
  753. package/modal/modern/desktop.css +8 -8
  754. package/modal/modern/desktop.js +1 -1
  755. package/modal/modern/index.js +1 -1
  756. package/modal/modern/mobile.css +2 -2
  757. package/modal/modern/mobile.js +1 -1
  758. package/modal/modern/responsive.js +1 -1
  759. package/modal/modern/transitions.css +8 -8
  760. package/modal/modern/transitions.module-27d61f39.js +4 -0
  761. package/modal/responsive.js +2 -2
  762. package/modal/transitions.css +8 -8
  763. package/modal/transitions.module-978adb9f.js +4 -0
  764. package/{select/esm/tslib.es6-dfcf0e6b.d.ts → modal/tslib.es6-b8fac179.d.ts} +0 -0
  765. package/modal/{tslib.es6-68c33e0e.js → tslib.es6-b8fac179.js} +0 -0
  766. package/notification/Component.js +1 -1
  767. package/notification/esm/Component.js +1 -1
  768. package/notification/esm/index.css +7 -7
  769. package/notification/index.css +7 -7
  770. package/notification/modern/Component.js +1 -1
  771. package/notification/modern/index.css +7 -7
  772. package/notification-manager/{component-1aab53ca.d.ts → component-83acfea6.d.ts} +0 -0
  773. package/notification-manager/{component-1aab53ca.js → component-83acfea6.js} +0 -0
  774. package/notification-manager/component.js +2 -2
  775. package/notification-manager/components/index.js +1 -1
  776. package/notification-manager/components/notification/component.js +1 -1
  777. package/notification-manager/components/notification/index.d.ts +1 -1
  778. package/notification-manager/components/notification/index.js +1 -1
  779. package/notification-manager/esm/{component-25b734a3.d.ts → component-6280daf0.d.ts} +0 -0
  780. package/notification-manager/esm/{component-25b734a3.js → component-6280daf0.js} +0 -0
  781. package/notification-manager/esm/component.js +2 -2
  782. package/notification-manager/esm/components/index.js +1 -1
  783. package/notification-manager/esm/components/notification/component.js +1 -1
  784. package/notification-manager/esm/components/notification/index.d.ts +1 -1
  785. package/notification-manager/esm/components/notification/index.js +1 -1
  786. package/notification-manager/esm/index.css +11 -11
  787. package/notification-manager/esm/index.js +1 -1
  788. package/notification-manager/index.css +11 -11
  789. package/notification-manager/index.js +1 -1
  790. package/notification-manager/modern/component.js +1 -1
  791. package/notification-manager/modern/index.css +11 -11
  792. package/package.json +3 -2
  793. package/pagination/Component.d.ts +41 -0
  794. package/pagination/Component.js +40 -0
  795. package/pagination/components/default-view/index.css +22 -0
  796. package/pagination/components/default-view/index.d.ts +5 -0
  797. package/pagination/components/default-view/index.js +54 -0
  798. package/pagination/components/per-page-view/index.css +16 -0
  799. package/pagination/components/per-page-view/index.d.ts +5 -0
  800. package/pagination/components/per-page-view/index.js +21 -0
  801. package/pagination/components/tag/index.css +52 -0
  802. package/pagination/components/tag/index.d.ts +4 -0
  803. package/pagination/components/tag/index.js +60 -0
  804. package/pagination/cssm/Component.d.ts +41 -0
  805. package/pagination/cssm/Component.js +42 -0
  806. package/pagination/cssm/components/default-view/index.d.ts +5 -0
  807. package/pagination/cssm/components/default-view/index.js +54 -0
  808. package/pagination/cssm/components/default-view/index.module.css +21 -0
  809. package/pagination/cssm/components/per-page-view/index.d.ts +5 -0
  810. package/pagination/cssm/components/per-page-view/index.js +20 -0
  811. package/pagination/cssm/components/per-page-view/index.module.css +15 -0
  812. package/pagination/cssm/components/tag/index.d.ts +4 -0
  813. package/pagination/cssm/components/tag/index.js +59 -0
  814. package/pagination/cssm/components/tag/index.module.css +51 -0
  815. package/pagination/cssm/index.d.ts +1 -0
  816. package/pagination/cssm/index.js +19 -0
  817. package/pagination/cssm/index.module.css +31 -0
  818. package/pagination/esm/Component.d.ts +41 -0
  819. package/pagination/esm/Component.js +33 -0
  820. package/pagination/esm/components/default-view/index.css +22 -0
  821. package/pagination/esm/components/default-view/index.d.ts +5 -0
  822. package/pagination/esm/components/default-view/index.js +48 -0
  823. package/pagination/esm/components/per-page-view/index.css +16 -0
  824. package/pagination/esm/components/per-page-view/index.d.ts +5 -0
  825. package/pagination/esm/components/per-page-view/index.js +15 -0
  826. package/pagination/esm/components/tag/index.css +52 -0
  827. package/pagination/esm/components/tag/index.d.ts +4 -0
  828. package/pagination/esm/components/tag/index.js +53 -0
  829. package/pagination/esm/index.css +32 -0
  830. package/pagination/esm/index.d.ts +1 -0
  831. package/pagination/esm/index.js +9 -0
  832. package/pagination/index.css +32 -0
  833. package/pagination/index.d.ts +1 -0
  834. package/pagination/index.js +15 -0
  835. package/pagination/modern/Component.d.ts +41 -0
  836. package/pagination/modern/Component.js +32 -0
  837. package/pagination/modern/components/default-view/index.css +22 -0
  838. package/pagination/modern/components/default-view/index.d.ts +5 -0
  839. package/pagination/modern/components/default-view/index.js +47 -0
  840. package/pagination/modern/components/per-page-view/index.css +16 -0
  841. package/pagination/modern/components/per-page-view/index.d.ts +5 -0
  842. package/pagination/modern/components/per-page-view/index.js +12 -0
  843. package/pagination/modern/components/tag/index.css +52 -0
  844. package/pagination/modern/components/tag/index.d.ts +4 -0
  845. package/pagination/modern/components/tag/index.js +10 -0
  846. package/pagination/modern/index.css +32 -0
  847. package/pagination/modern/index.d.ts +1 -0
  848. package/pagination/modern/index.js +9 -0
  849. package/pagination/package.json +3 -0
  850. package/{vars/dist → pagination}/send-stats.js +0 -0
  851. package/password-input/component.js +1 -1
  852. package/password-input/esm/component.js +1 -1
  853. package/password-input/esm/index.css +5 -5
  854. package/password-input/index.css +5 -5
  855. package/password-input/modern/component.js +1 -1
  856. package/password-input/modern/index.css +5 -5
  857. package/phone-input/utils/index.js +7 -5
  858. package/picker-button/{Component-14f25d43.d.ts → Component-69f7c66a.d.ts} +43 -5
  859. package/picker-button/{Component-14f25d43.js → Component-69f7c66a.js} +1 -1
  860. package/picker-button/Component.js +2 -2
  861. package/picker-button/cssm/Component-34f0d762.d.ts +43 -5
  862. package/picker-button/esm/{Component-c8294535.d.ts → Component-a5aedf4b.d.ts} +43 -5
  863. package/picker-button/esm/{Component-c8294535.js → Component-a5aedf4b.js} +1 -1
  864. package/picker-button/esm/Component.js +2 -2
  865. package/picker-button/esm/field/Component.js +1 -1
  866. package/picker-button/esm/field/index.css +3 -3
  867. package/picker-button/esm/field/index.d.ts +1 -1
  868. package/picker-button/esm/field/index.js +1 -1
  869. package/picker-button/esm/index.css +2 -2
  870. package/picker-button/esm/index.js +1 -1
  871. package/picker-button/field/Component.js +1 -1
  872. package/picker-button/field/index.css +3 -3
  873. package/picker-button/field/index.d.ts +1 -1
  874. package/picker-button/field/index.js +1 -1
  875. package/picker-button/index.css +2 -2
  876. package/picker-button/index.js +1 -1
  877. package/picker-button/modern/Component.js +1 -1
  878. package/picker-button/modern/field/Component.d.ts +43 -5
  879. package/picker-button/modern/field/Component.js +1 -1
  880. package/picker-button/modern/field/index.css +3 -3
  881. package/picker-button/modern/index.css +2 -2
  882. package/plate/Component.js +1 -1
  883. package/plate/esm/Component.js +1 -1
  884. package/plate/esm/index.css +28 -28
  885. package/plate/index.css +28 -28
  886. package/plate/modern/Component.js +1 -1
  887. package/plate/modern/index.css +28 -28
  888. package/popover/Component.js +1 -1
  889. package/popover/esm/Component.js +1 -1
  890. package/popover/esm/index.css +33 -33
  891. package/popover/index.css +33 -33
  892. package/popover/modern/Component.js +1 -1
  893. package/popover/modern/index.css +33 -33
  894. package/progress-bar/Component.js +1 -1
  895. package/progress-bar/esm/Component.js +1 -1
  896. package/progress-bar/esm/index.css +4 -4
  897. package/progress-bar/index.css +4 -4
  898. package/progress-bar/modern/Component.js +1 -1
  899. package/progress-bar/modern/index.css +4 -4
  900. package/pure-input/Component.js +1 -1
  901. package/pure-input/cssm/index.module.css +2 -2
  902. package/pure-input/esm/Component.js +1 -1
  903. package/pure-input/esm/index.css +27 -27
  904. package/pure-input/index.css +27 -27
  905. package/pure-input/modern/Component.js +1 -1
  906. package/pure-input/modern/index.css +27 -27
  907. package/radio/Component.js +1 -1
  908. package/radio/esm/Component.js +1 -1
  909. package/radio/esm/index.css +31 -31
  910. package/radio/index.css +31 -31
  911. package/radio/modern/Component.js +1 -1
  912. package/radio/modern/index.css +31 -31
  913. package/radio-group/Component.js +1 -1
  914. package/radio-group/esm/Component.js +1 -1
  915. package/radio-group/esm/index.css +16 -16
  916. package/radio-group/index.css +16 -16
  917. package/radio-group/modern/Component.js +1 -1
  918. package/radio-group/modern/index.css +16 -16
  919. package/select/Component.d.ts +1 -1
  920. package/select/Component.js +2 -1
  921. package/select/components/arrow/Component.js +1 -1
  922. package/select/components/arrow/index.css +3 -3
  923. package/select/components/base-select/Component.js +21 -19
  924. package/select/components/base-select/index.css +7 -7
  925. package/select/components/base-select/index.js +1 -1
  926. package/select/components/checkmark/Component.d.ts +1 -1
  927. package/select/components/checkmark/Component.js +11 -5
  928. package/select/components/checkmark/index.css +21 -9
  929. package/select/components/checkmark/index.js +1 -0
  930. package/select/components/field/Component.js +2 -2
  931. package/select/components/field/index.css +9 -9
  932. package/select/components/field/index.js +1 -1
  933. package/select/components/index.js +2 -1
  934. package/select/components/native-select/Component.js +1 -1
  935. package/select/components/native-select/index.js +1 -1
  936. package/select/components/optgroup/Component.js +1 -1
  937. package/select/components/optgroup/index.css +6 -6
  938. package/select/components/option/Component.js +7 -5
  939. package/select/components/option/index.css +20 -20
  940. package/select/components/option/index.js +2 -1
  941. package/select/components/options-list/Component.js +13 -8
  942. package/select/components/options-list/index.css +9 -5
  943. package/select/components/options-list/index.js +1 -0
  944. package/select/components/virtual-options-list/Component.d.ts +1 -1
  945. package/select/components/virtual-options-list/Component.js +22 -18
  946. package/select/components/virtual-options-list/index.css +15 -12
  947. package/select/components/virtual-options-list/index.js +1 -0
  948. package/select/cssm/Component.js +1 -0
  949. package/select/cssm/components/base-select/Component.js +19 -17
  950. package/select/cssm/components/checkmark/Component.d.ts +1 -1
  951. package/select/cssm/components/checkmark/Component.js +10 -4
  952. package/select/cssm/components/checkmark/index.js +1 -0
  953. package/select/cssm/components/checkmark/index.module.css +19 -7
  954. package/select/cssm/components/index.js +1 -0
  955. package/select/cssm/components/option/Component.js +5 -3
  956. package/select/cssm/components/option/index.js +1 -0
  957. package/select/cssm/components/options-list/Component.js +12 -7
  958. package/select/cssm/components/options-list/index.js +1 -0
  959. package/select/cssm/components/options-list/index.module.css +4 -0
  960. package/select/cssm/components/virtual-options-list/Component.d.ts +1 -1
  961. package/select/cssm/components/virtual-options-list/Component.js +21 -17
  962. package/select/cssm/components/virtual-options-list/index.js +1 -0
  963. package/select/cssm/components/virtual-options-list/index.module.css +4 -1
  964. package/select/cssm/hook-ddccac42.d.ts +12 -0
  965. package/select/cssm/hook-ddccac42.js +135 -0
  966. package/select/cssm/hook-f379f98c.d.ts +55 -0
  967. package/select/cssm/index.js +8 -1
  968. package/select/cssm/intersection-observer-8c55e13a.d.ts +1 -0
  969. package/select/cssm/intersection-observer-8c55e13a.js +891 -0
  970. package/select/cssm/presets/index.d.ts +1 -0
  971. package/select/cssm/presets/index.js +30 -1
  972. package/select/cssm/presets/useLazyLoading/hook.js +2 -892
  973. package/select/cssm/presets/useSelectWithApply/hook.d.ts +0 -0
  974. package/select/cssm/presets/useSelectWithApply/hook.js +44 -0
  975. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/Component.d.ts +0 -0
  976. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +43 -0
  977. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -0
  978. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +43 -0
  979. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.module.css +36 -0
  980. package/select/cssm/presets/useSelectWithLoading/hook.js +1 -0
  981. package/select/cssm/typings.d.ts +43 -6
  982. package/select/esm/Component.js +2 -1
  983. package/select/esm/components/arrow/Component.js +1 -1
  984. package/select/esm/components/arrow/index.css +3 -3
  985. package/select/esm/components/base-select/Component.js +21 -19
  986. package/select/esm/components/base-select/index.css +7 -7
  987. package/select/esm/components/base-select/index.js +1 -1
  988. package/select/esm/components/checkmark/Component.d.ts +1 -1
  989. package/select/esm/components/checkmark/Component.js +12 -6
  990. package/select/esm/components/checkmark/index.css +21 -9
  991. package/select/esm/components/checkmark/index.js +1 -0
  992. package/select/esm/components/field/Component.js +2 -2
  993. package/select/esm/components/field/index.css +9 -9
  994. package/select/esm/components/field/index.js +1 -1
  995. package/select/esm/components/index.js +2 -1
  996. package/select/esm/components/native-select/Component.js +1 -1
  997. package/select/esm/components/native-select/index.js +1 -1
  998. package/select/esm/components/optgroup/Component.js +1 -1
  999. package/select/esm/components/optgroup/index.css +6 -6
  1000. package/select/esm/components/option/Component.js +7 -5
  1001. package/select/esm/components/option/index.css +20 -20
  1002. package/select/esm/components/option/index.js +2 -1
  1003. package/select/esm/components/options-list/Component.js +14 -9
  1004. package/select/esm/components/options-list/index.css +9 -5
  1005. package/select/esm/components/options-list/index.js +1 -0
  1006. package/select/esm/components/virtual-options-list/Component.d.ts +1 -1
  1007. package/select/esm/components/virtual-options-list/Component.js +22 -18
  1008. package/select/esm/components/virtual-options-list/index.css +15 -12
  1009. package/select/esm/components/virtual-options-list/index.js +1 -0
  1010. package/select/esm/hook-720cbaa2.d.ts +12 -0
  1011. package/select/esm/hook-720cbaa2.js +132 -0
  1012. package/select/esm/hook-f379f98c.d.ts +55 -0
  1013. package/select/esm/index.js +6 -2
  1014. package/select/esm/intersection-observer-8584be11.d.ts +1 -0
  1015. package/select/esm/intersection-observer-8584be11.js +891 -0
  1016. package/select/esm/presets/index.d.ts +1 -0
  1017. package/select/esm/presets/index.js +21 -1
  1018. package/select/esm/presets/useLazyLoading/hook.js +4 -894
  1019. package/select/esm/presets/useLazyLoading/index.css +2 -2
  1020. package/select/esm/presets/useSelectWithApply/hook.d.ts +0 -0
  1021. package/select/esm/presets/useSelectWithApply/hook.js +26 -0
  1022. package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.d.ts +0 -0
  1023. package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +26 -0
  1024. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.css +37 -0
  1025. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -0
  1026. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +26 -0
  1027. package/select/esm/presets/useSelectWithLoading/hook.js +3 -2
  1028. package/select/esm/presets/useSelectWithLoading/index.css +2 -2
  1029. package/{tabs/tslib.es6-cf63b2f4.d.ts → select/esm/tslib.es6-d89c4454.d.ts} +0 -0
  1030. package/select/esm/{tslib.es6-dfcf0e6b.js → tslib.es6-d89c4454.js} +0 -0
  1031. package/select/esm/typings.d.ts +43 -6
  1032. package/select/hook-9ea07908.d.ts +12 -0
  1033. package/select/hook-9ea07908.js +128 -0
  1034. package/select/hook-f379f98c.d.ts +55 -0
  1035. package/select/index.js +7 -1
  1036. package/select/intersection-observer-0428dde3.d.ts +1 -0
  1037. package/select/intersection-observer-0428dde3.js +891 -0
  1038. package/select/modern/Component.js +1 -0
  1039. package/select/modern/components/arrow/Component.js +1 -1
  1040. package/select/modern/components/arrow/index.css +3 -3
  1041. package/select/modern/components/base-select/Component.js +15 -11
  1042. package/select/modern/components/base-select/index.css +7 -7
  1043. package/select/modern/components/checkmark/Component.d.ts +1 -1
  1044. package/select/modern/components/checkmark/Component.js +12 -4
  1045. package/select/modern/components/checkmark/index.css +21 -9
  1046. package/select/modern/components/checkmark/index.js +1 -0
  1047. package/select/modern/components/field/Component.js +1 -1
  1048. package/select/modern/components/field/index.css +9 -9
  1049. package/select/modern/components/index.js +1 -0
  1050. package/select/modern/components/optgroup/Component.js +1 -1
  1051. package/select/modern/components/optgroup/index.css +6 -6
  1052. package/select/modern/components/option/Component.js +6 -4
  1053. package/select/modern/components/option/index.css +20 -20
  1054. package/select/modern/components/option/index.js +1 -0
  1055. package/select/modern/components/options-list/Component.js +11 -7
  1056. package/select/modern/components/options-list/index.css +9 -5
  1057. package/select/modern/components/virtual-options-list/Component.d.ts +1 -1
  1058. package/select/modern/components/virtual-options-list/Component.js +20 -17
  1059. package/select/modern/components/virtual-options-list/index.css +15 -12
  1060. package/select/modern/hook-290e690e.d.ts +12 -0
  1061. package/select/modern/hook-290e690e.js +131 -0
  1062. package/select/modern/hook-f379f98c.d.ts +55 -0
  1063. package/select/modern/index.js +5 -1
  1064. package/select/modern/intersection-observer-8584be11.d.ts +1 -0
  1065. package/select/modern/intersection-observer-8584be11.js +891 -0
  1066. package/select/modern/presets/index.d.ts +1 -0
  1067. package/select/modern/presets/index.js +20 -0
  1068. package/select/modern/presets/useLazyLoading/hook.js +3 -893
  1069. package/select/modern/presets/useLazyLoading/index.css +2 -2
  1070. package/select/modern/presets/useSelectWithApply/hook.d.ts +0 -0
  1071. package/select/modern/presets/useSelectWithApply/hook.js +25 -0
  1072. package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.d.ts +0 -0
  1073. package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +25 -0
  1074. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.css +37 -0
  1075. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -0
  1076. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +25 -0
  1077. package/select/modern/presets/useSelectWithLoading/hook.js +2 -1
  1078. package/select/modern/presets/useSelectWithLoading/index.css +2 -2
  1079. package/select/modern/typings.d.ts +43 -6
  1080. package/select/presets/index.d.ts +1 -0
  1081. package/select/presets/index.js +23 -1
  1082. package/select/presets/useLazyLoading/hook.js +4 -894
  1083. package/select/presets/useLazyLoading/index.css +2 -2
  1084. package/select/presets/useSelectWithApply/hook.d.ts +0 -0
  1085. package/select/presets/useSelectWithApply/hook.js +33 -0
  1086. package/select/presets/useSelectWithApply/options-list-with-apply/Component.d.ts +0 -0
  1087. package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +32 -0
  1088. package/select/presets/useSelectWithApply/options-list-with-apply/index.css +37 -0
  1089. package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -0
  1090. package/select/presets/useSelectWithApply/options-list-with-apply/index.js +32 -0
  1091. package/select/presets/useSelectWithLoading/hook.js +3 -2
  1092. package/select/presets/useSelectWithLoading/index.css +2 -2
  1093. package/{typography/colors.module-656527d8.d.ts → select/tslib.es6-3a137d13.d.ts} +0 -0
  1094. package/select/{tslib.es6-25ca3bb3.js → tslib.es6-3a137d13.js} +0 -0
  1095. package/select/typings.d.ts +43 -6
  1096. package/select-with-tags/component.js +1 -1
  1097. package/select-with-tags/components/index.js +1 -1
  1098. package/select-with-tags/components/tag/component.js +2 -2
  1099. package/select-with-tags/components/tag/index.css +11 -11
  1100. package/select-with-tags/components/tag/index.js +1 -1
  1101. package/select-with-tags/components/tag-list/component.js +2 -2
  1102. package/select-with-tags/components/tag-list/index.css +31 -31
  1103. package/select-with-tags/components/tag-list/index.js +1 -1
  1104. package/select-with-tags/esm/component.js +1 -1
  1105. package/select-with-tags/esm/components/index.js +1 -1
  1106. package/select-with-tags/esm/components/tag/component.js +2 -2
  1107. package/select-with-tags/esm/components/tag/index.css +11 -11
  1108. package/select-with-tags/esm/components/tag/index.js +1 -1
  1109. package/select-with-tags/esm/components/tag-list/component.js +2 -2
  1110. package/select-with-tags/esm/components/tag-list/index.css +31 -31
  1111. package/select-with-tags/esm/components/tag-list/index.js +1 -1
  1112. package/select-with-tags/esm/index.js +1 -1
  1113. package/{select/tslib.es6-25ca3bb3.d.ts → select-with-tags/esm/tslib.es6-7d1d061a.d.ts} +0 -0
  1114. package/select-with-tags/esm/{tslib.es6-877873de.js → tslib.es6-7d1d061a.js} +0 -0
  1115. package/select-with-tags/esm/utils/index.js +1 -1
  1116. package/select-with-tags/esm/utils/match.js +1 -1
  1117. package/select-with-tags/index.js +1 -1
  1118. package/select-with-tags/modern/components/tag/component.js +1 -1
  1119. package/select-with-tags/modern/components/tag/index.css +11 -11
  1120. package/select-with-tags/modern/components/tag-list/component.js +1 -1
  1121. package/select-with-tags/modern/components/tag-list/index.css +31 -31
  1122. package/{tabs/esm/tslib.es6-fa35a6de.d.ts → select-with-tags/tslib.es6-751f31cc.d.ts} +0 -0
  1123. package/select-with-tags/{tslib.es6-09808b76.js → tslib.es6-751f31cc.js} +0 -0
  1124. package/select-with-tags/utils/index.js +1 -1
  1125. package/select-with-tags/utils/match.js +1 -1
  1126. package/skeleton/Component.js +1 -1
  1127. package/skeleton/esm/Component.js +1 -1
  1128. package/skeleton/esm/index.css +10 -10
  1129. package/skeleton/index.css +10 -10
  1130. package/skeleton/modern/Component.js +1 -1
  1131. package/skeleton/modern/index.css +10 -10
  1132. package/slider/Component.js +1 -1
  1133. package/slider/esm/Component.js +1 -1
  1134. package/slider/esm/index.css +36 -36
  1135. package/slider/index.css +36 -36
  1136. package/slider/modern/Component.js +1 -1
  1137. package/slider/modern/index.css +36 -36
  1138. package/slider-input/Component.js +1 -1
  1139. package/slider-input/esm/Component.js +1 -1
  1140. package/slider-input/esm/index.css +17 -17
  1141. package/slider-input/index.css +17 -17
  1142. package/slider-input/modern/Component.js +1 -1
  1143. package/slider-input/modern/index.css +17 -17
  1144. package/space/Component.js +2 -2
  1145. package/space/{Item-c54f3162.d.ts → Item-68b15c6d.d.ts} +0 -0
  1146. package/space/{Item-c54f3162.js → Item-68b15c6d.js} +0 -0
  1147. package/space/Item.js +1 -1
  1148. package/space/esm/Component.js +2 -2
  1149. package/space/esm/{Item-77f372c8.d.ts → Item-c426d479.d.ts} +0 -0
  1150. package/space/esm/{Item-77f372c8.js → Item-c426d479.js} +0 -0
  1151. package/space/esm/Item.js +1 -1
  1152. package/space/esm/index.css +8 -8
  1153. package/space/esm/index.js +1 -1
  1154. package/space/index.css +8 -8
  1155. package/space/index.js +1 -1
  1156. package/space/modern/Component.js +1 -1
  1157. package/space/modern/index.css +8 -8
  1158. package/spinner/Component.js +1 -1
  1159. package/spinner/esm/Component.js +1 -1
  1160. package/spinner/esm/index.css +6 -6
  1161. package/spinner/index.css +6 -6
  1162. package/spinner/modern/Component.js +1 -1
  1163. package/spinner/modern/index.css +6 -6
  1164. package/status/Component.js +1 -1
  1165. package/status/esm/Component.js +1 -1
  1166. package/status/esm/index.css +17 -17
  1167. package/status/index.css +17 -17
  1168. package/status/modern/Component.js +1 -1
  1169. package/status/modern/index.css +17 -17
  1170. package/stepped-progress-bar/Component.js +1 -1
  1171. package/stepped-progress-bar/components/step-bar/Component.js +1 -1
  1172. package/stepped-progress-bar/components/step-bar/index.css +4 -4
  1173. package/stepped-progress-bar/esm/Component.js +1 -1
  1174. package/stepped-progress-bar/esm/components/step-bar/Component.js +1 -1
  1175. package/stepped-progress-bar/esm/components/step-bar/index.css +4 -4
  1176. package/stepped-progress-bar/esm/index.css +4 -4
  1177. package/stepped-progress-bar/index.css +4 -4
  1178. package/stepped-progress-bar/modern/Component.js +1 -1
  1179. package/stepped-progress-bar/modern/components/step-bar/Component.js +1 -1
  1180. package/stepped-progress-bar/modern/components/step-bar/index.css +4 -4
  1181. package/stepped-progress-bar/modern/index.css +4 -4
  1182. package/switch/Component.js +1 -1
  1183. package/switch/esm/Component.js +1 -1
  1184. package/switch/esm/index.css +25 -25
  1185. package/switch/index.css +25 -25
  1186. package/switch/modern/Component.js +1 -1
  1187. package/switch/modern/index.css +25 -25
  1188. package/table/component.d.ts +24 -0
  1189. package/table/component.js +37 -0
  1190. package/table/components/index.d.ts +9 -0
  1191. package/table/components/index.js +36 -0
  1192. package/table/components/pagination/Component.d.ts +22 -0
  1193. package/table/components/pagination/Component.js +50 -0
  1194. package/table/components/pagination/index.css +49 -0
  1195. package/table/components/pagination/index.d.ts +1 -0
  1196. package/table/components/pagination/index.js +15 -0
  1197. package/table/components/pagination/select-field/index.css +20 -0
  1198. package/table/components/pagination/select-field/index.d.ts +3 -0
  1199. package/table/components/pagination/select-field/index.js +24 -0
  1200. package/table/components/table/Component.d.ts +56 -0
  1201. package/table/components/table/Component.js +40 -0
  1202. package/table/components/table/index.css +42 -0
  1203. package/table/components/table/index.d.ts +1 -0
  1204. package/table/components/table/index.js +14 -0
  1205. package/table/components/table/utils.d.ts +5 -0
  1206. package/table/components/table/utils.js +25 -0
  1207. package/table/components/table-context/index.d.ts +18 -0
  1208. package/table/components/table-context/index.js +17 -0
  1209. package/table/components/tbody/Component.d.ts +15 -0
  1210. package/table/components/tbody/Component.js +20 -0
  1211. package/table/components/tbody/index.css +13 -0
  1212. package/table/components/tbody/index.d.ts +1 -0
  1213. package/table/components/tbody/index.js +10 -0
  1214. package/table/components/tcell/Component.d.ts +18 -0
  1215. package/table/components/tcell/Component.js +26 -0
  1216. package/table/components/tcell/index.css +42 -0
  1217. package/table/components/tcell/index.d.ts +1 -0
  1218. package/table/components/tcell/index.js +11 -0
  1219. package/table/components/texpandable-row/Component.d.ts +11 -0
  1220. package/table/components/texpandable-row/Component.js +36 -0
  1221. package/table/components/texpandable-row/index.css +24 -0
  1222. package/table/components/texpandable-row/index.d.ts +1 -0
  1223. package/table/components/texpandable-row/index.js +11 -0
  1224. package/table/components/thead/Component.d.ts +19 -0
  1225. package/table/components/thead/Component.js +21 -0
  1226. package/table/components/thead/index.css +38 -0
  1227. package/table/components/thead/index.d.ts +1 -0
  1228. package/table/components/thead/index.js +10 -0
  1229. package/table/components/thead-cell/Component.d.ts +27 -0
  1230. package/table/components/thead-cell/Component.js +20 -0
  1231. package/table/components/thead-cell/index.css +44 -0
  1232. package/table/components/thead-cell/index.d.ts +1 -0
  1233. package/table/components/thead-cell/index.js +10 -0
  1234. package/table/components/trow/Component.d.ts +28 -0
  1235. package/table/components/trow/Component.js +25 -0
  1236. package/table/components/trow/index.css +43 -0
  1237. package/table/components/trow/index.d.ts +1 -0
  1238. package/table/components/trow/index.js +10 -0
  1239. package/table/components/tsortable-head-cell/Component.d.ts +9 -0
  1240. package/table/components/tsortable-head-cell/Component.js +38 -0
  1241. package/table/components/tsortable-head-cell/index.css +46 -0
  1242. package/table/components/tsortable-head-cell/index.d.ts +1 -0
  1243. package/table/components/tsortable-head-cell/index.js +14 -0
  1244. package/table/components/tsortable-head-cell/sort-icon-asc.d.ts +5 -0
  1245. package/table/components/tsortable-head-cell/sort-icon-asc.js +13 -0
  1246. package/table/components/tsortable-head-cell/sort-icon-desc.d.ts +5 -0
  1247. package/table/components/tsortable-head-cell/sort-icon-desc.js +13 -0
  1248. package/table/components/tsortable-head-cell/sort-icon-unset.d.ts +5 -0
  1249. package/table/components/tsortable-head-cell/sort-icon-unset.js +13 -0
  1250. package/table/cssm/component.d.ts +24 -0
  1251. package/table/cssm/component.js +47 -0
  1252. package/table/cssm/components/index.d.ts +9 -0
  1253. package/table/cssm/components/index.js +46 -0
  1254. package/table/cssm/components/pagination/Component.d.ts +22 -0
  1255. package/table/cssm/components/pagination/Component.js +50 -0
  1256. package/table/cssm/components/pagination/index.d.ts +1 -0
  1257. package/table/cssm/components/pagination/index.js +17 -0
  1258. package/table/cssm/components/pagination/index.module.css +48 -0
  1259. package/table/cssm/components/pagination/select-field/index.d.ts +3 -0
  1260. package/table/cssm/components/pagination/select-field/index.js +23 -0
  1261. package/table/cssm/components/pagination/select-field/index.module.css +19 -0
  1262. package/table/cssm/components/table/Component.d.ts +56 -0
  1263. package/table/cssm/components/table/Component.js +40 -0
  1264. package/table/cssm/components/table/index.d.ts +1 -0
  1265. package/table/cssm/components/table/index.js +16 -0
  1266. package/table/cssm/components/table/index.module.css +41 -0
  1267. package/table/cssm/components/table/utils.d.ts +5 -0
  1268. package/table/cssm/components/table/utils.js +26 -0
  1269. package/table/cssm/components/table-context/index.d.ts +18 -0
  1270. package/table/cssm/components/table-context/index.js +17 -0
  1271. package/table/cssm/components/tbody/Component.d.ts +15 -0
  1272. package/table/cssm/components/tbody/Component.js +19 -0
  1273. package/table/cssm/components/tbody/index.d.ts +1 -0
  1274. package/table/cssm/components/tbody/index.js +11 -0
  1275. package/table/cssm/components/tbody/index.module.css +12 -0
  1276. package/table/cssm/components/tcell/Component.d.ts +18 -0
  1277. package/table/cssm/components/tcell/Component.js +25 -0
  1278. package/table/cssm/components/tcell/index.d.ts +1 -0
  1279. package/table/cssm/components/tcell/index.js +12 -0
  1280. package/table/cssm/components/tcell/index.module.css +41 -0
  1281. package/table/cssm/components/texpandable-row/Component.d.ts +11 -0
  1282. package/table/cssm/components/texpandable-row/Component.js +36 -0
  1283. package/table/cssm/components/texpandable-row/index.d.ts +1 -0
  1284. package/table/cssm/components/texpandable-row/index.js +13 -0
  1285. package/table/cssm/components/texpandable-row/index.module.css +23 -0
  1286. package/table/cssm/components/thead/Component.d.ts +19 -0
  1287. package/table/cssm/components/thead/Component.js +20 -0
  1288. package/table/cssm/components/thead/index.d.ts +1 -0
  1289. package/table/cssm/components/thead/index.js +11 -0
  1290. package/table/cssm/components/thead/index.module.css +37 -0
  1291. package/table/cssm/components/thead-cell/Component.d.ts +27 -0
  1292. package/table/cssm/components/thead-cell/Component.js +19 -0
  1293. package/table/cssm/components/thead-cell/index.d.ts +1 -0
  1294. package/table/cssm/components/thead-cell/index.js +11 -0
  1295. package/table/cssm/components/thead-cell/index.module.css +43 -0
  1296. package/table/cssm/components/trow/Component.d.ts +28 -0
  1297. package/table/cssm/components/trow/Component.js +24 -0
  1298. package/table/cssm/components/trow/index.d.ts +1 -0
  1299. package/table/cssm/components/trow/index.js +11 -0
  1300. package/table/cssm/components/trow/index.module.css +42 -0
  1301. package/table/cssm/components/tsortable-head-cell/Component.d.ts +9 -0
  1302. package/table/cssm/components/tsortable-head-cell/Component.js +38 -0
  1303. package/table/cssm/components/tsortable-head-cell/index.d.ts +1 -0
  1304. package/table/cssm/components/tsortable-head-cell/index.js +16 -0
  1305. package/table/cssm/components/tsortable-head-cell/index.module.css +45 -0
  1306. package/table/cssm/components/tsortable-head-cell/sort-icon-asc.d.ts +5 -0
  1307. package/table/cssm/components/tsortable-head-cell/sort-icon-asc.js +13 -0
  1308. package/table/cssm/components/tsortable-head-cell/sort-icon-desc.d.ts +5 -0
  1309. package/table/cssm/components/tsortable-head-cell/sort-icon-desc.js +13 -0
  1310. package/table/cssm/components/tsortable-head-cell/sort-icon-unset.d.ts +5 -0
  1311. package/table/cssm/components/tsortable-head-cell/sort-icon-unset.js +13 -0
  1312. package/table/cssm/index.d.ts +1 -0
  1313. package/table/cssm/index.js +39 -0
  1314. package/{typography/esm/colors.module-8f6ab9f4.d.ts → table/cssm/tslib.es6-ce870b46.d.ts} +0 -0
  1315. package/{tabs/tslib.es6-cf63b2f4.js → table/cssm/tslib.es6-ce870b46.js} +0 -0
  1316. package/table/cssm/typings.d.ts +2 -0
  1317. package/{vars/dist/cssm/mixins.css → table/cssm/typings.js} +0 -0
  1318. package/table/cssm/utils.d.ts +4 -0
  1319. package/table/cssm/utils.js +14 -0
  1320. package/table/esm/component.d.ts +24 -0
  1321. package/table/esm/component.js +35 -0
  1322. package/table/esm/components/index.d.ts +9 -0
  1323. package/table/esm/components/index.js +22 -0
  1324. package/table/esm/components/pagination/Component.d.ts +22 -0
  1325. package/table/esm/components/pagination/Component.js +43 -0
  1326. package/table/esm/components/pagination/index.css +49 -0
  1327. package/table/esm/components/pagination/index.d.ts +1 -0
  1328. package/table/esm/components/pagination/index.js +9 -0
  1329. package/table/esm/components/pagination/select-field/index.css +20 -0
  1330. package/table/esm/components/pagination/select-field/index.d.ts +3 -0
  1331. package/table/esm/components/pagination/select-field/index.js +17 -0
  1332. package/table/esm/components/table/Component.d.ts +56 -0
  1333. package/table/esm/components/table/Component.js +33 -0
  1334. package/table/esm/components/table/index.css +42 -0
  1335. package/table/esm/components/table/index.d.ts +1 -0
  1336. package/table/esm/components/table/index.js +8 -0
  1337. package/table/esm/components/table/utils.d.ts +5 -0
  1338. package/table/esm/components/table/utils.js +19 -0
  1339. package/table/esm/components/table-context/index.d.ts +18 -0
  1340. package/table/esm/components/table-context/index.js +10 -0
  1341. package/table/esm/components/tbody/Component.d.ts +15 -0
  1342. package/table/esm/components/tbody/Component.js +13 -0
  1343. package/table/esm/components/tbody/index.css +13 -0
  1344. package/table/esm/components/tbody/index.d.ts +1 -0
  1345. package/table/esm/components/tbody/index.js +4 -0
  1346. package/table/esm/components/tcell/Component.d.ts +18 -0
  1347. package/table/esm/components/tcell/Component.js +19 -0
  1348. package/table/esm/components/tcell/index.css +42 -0
  1349. package/table/esm/components/tcell/index.d.ts +1 -0
  1350. package/table/esm/components/tcell/index.js +5 -0
  1351. package/table/esm/components/texpandable-row/Component.d.ts +11 -0
  1352. package/table/esm/components/texpandable-row/Component.js +29 -0
  1353. package/table/esm/components/texpandable-row/index.css +24 -0
  1354. package/table/esm/components/texpandable-row/index.d.ts +1 -0
  1355. package/table/esm/components/texpandable-row/index.js +5 -0
  1356. package/table/esm/components/thead/Component.d.ts +19 -0
  1357. package/table/esm/components/thead/Component.js +14 -0
  1358. package/table/esm/components/thead/index.css +38 -0
  1359. package/table/esm/components/thead/index.d.ts +1 -0
  1360. package/table/esm/components/thead/index.js +4 -0
  1361. package/table/esm/components/thead-cell/Component.d.ts +27 -0
  1362. package/table/esm/components/thead-cell/Component.js +13 -0
  1363. package/table/esm/components/thead-cell/index.css +44 -0
  1364. package/table/esm/components/thead-cell/index.d.ts +1 -0
  1365. package/table/esm/components/thead-cell/index.js +4 -0
  1366. package/table/esm/components/trow/Component.d.ts +28 -0
  1367. package/table/esm/components/trow/Component.js +18 -0
  1368. package/table/esm/components/trow/index.css +43 -0
  1369. package/table/esm/components/trow/index.d.ts +1 -0
  1370. package/table/esm/components/trow/index.js +4 -0
  1371. package/table/esm/components/tsortable-head-cell/Component.d.ts +9 -0
  1372. package/table/esm/components/tsortable-head-cell/Component.js +31 -0
  1373. package/table/esm/components/tsortable-head-cell/index.css +46 -0
  1374. package/table/esm/components/tsortable-head-cell/index.d.ts +1 -0
  1375. package/table/esm/components/tsortable-head-cell/index.js +8 -0
  1376. package/table/esm/components/tsortable-head-cell/sort-icon-asc.d.ts +5 -0
  1377. package/table/esm/components/tsortable-head-cell/sort-icon-asc.js +7 -0
  1378. package/table/esm/components/tsortable-head-cell/sort-icon-desc.d.ts +5 -0
  1379. package/table/esm/components/tsortable-head-cell/sort-icon-desc.js +7 -0
  1380. package/table/esm/components/tsortable-head-cell/sort-icon-unset.d.ts +5 -0
  1381. package/table/esm/components/tsortable-head-cell/sort-icon-unset.js +7 -0
  1382. package/table/esm/index.d.ts +1 -0
  1383. package/table/esm/index.js +23 -0
  1384. package/table/esm/tslib.es6-21ac13b4.d.ts +32 -0
  1385. package/{tabs/esm/tslib.es6-fa35a6de.js → table/esm/tslib.es6-21ac13b4.js} +0 -0
  1386. package/table/esm/typings.d.ts +2 -0
  1387. package/table/esm/typings.js +1 -0
  1388. package/table/esm/utils.d.ts +4 -0
  1389. package/table/esm/utils.js +8 -0
  1390. package/table/index.d.ts +1 -0
  1391. package/table/index.js +29 -0
  1392. package/table/modern/component.d.ts +24 -0
  1393. package/table/modern/component.js +34 -0
  1394. package/table/modern/components/index.d.ts +9 -0
  1395. package/table/modern/components/index.js +21 -0
  1396. package/table/modern/components/pagination/Component.d.ts +22 -0
  1397. package/table/modern/components/pagination/Component.js +38 -0
  1398. package/table/modern/components/pagination/index.css +49 -0
  1399. package/table/modern/components/pagination/index.d.ts +1 -0
  1400. package/table/modern/components/pagination/index.js +8 -0
  1401. package/table/modern/components/pagination/select-field/index.css +20 -0
  1402. package/table/modern/components/pagination/select-field/index.d.ts +3 -0
  1403. package/table/modern/components/pagination/select-field/index.js +14 -0
  1404. package/table/modern/components/table/Component.d.ts +56 -0
  1405. package/table/modern/components/table/Component.js +28 -0
  1406. package/table/modern/components/table/index.css +42 -0
  1407. package/table/modern/components/table/index.d.ts +1 -0
  1408. package/table/modern/components/table/index.js +7 -0
  1409. package/table/modern/components/table/utils.d.ts +5 -0
  1410. package/table/modern/components/table/utils.js +18 -0
  1411. package/table/modern/components/table-context/index.d.ts +18 -0
  1412. package/table/modern/components/table-context/index.js +10 -0
  1413. package/table/modern/components/tbody/Component.d.ts +15 -0
  1414. package/table/modern/components/tbody/Component.js +11 -0
  1415. package/table/modern/components/tbody/index.css +13 -0
  1416. package/table/modern/components/tbody/index.d.ts +1 -0
  1417. package/table/modern/components/tbody/index.js +3 -0
  1418. package/table/modern/components/tcell/Component.d.ts +18 -0
  1419. package/table/modern/components/tcell/Component.js +17 -0
  1420. package/table/modern/components/tcell/index.css +42 -0
  1421. package/table/modern/components/tcell/index.d.ts +1 -0
  1422. package/table/modern/components/tcell/index.js +4 -0
  1423. package/table/modern/components/texpandable-row/Component.d.ts +11 -0
  1424. package/table/modern/components/texpandable-row/Component.js +26 -0
  1425. package/table/modern/components/texpandable-row/index.css +24 -0
  1426. package/table/modern/components/texpandable-row/index.d.ts +1 -0
  1427. package/table/modern/components/texpandable-row/index.js +4 -0
  1428. package/table/modern/components/thead/Component.d.ts +19 -0
  1429. package/table/modern/components/thead/Component.js +12 -0
  1430. package/table/modern/components/thead/index.css +38 -0
  1431. package/table/modern/components/thead/index.d.ts +1 -0
  1432. package/table/modern/components/thead/index.js +3 -0
  1433. package/table/modern/components/thead-cell/Component.d.ts +27 -0
  1434. package/table/modern/components/thead-cell/Component.js +9 -0
  1435. package/table/modern/components/thead-cell/index.css +44 -0
  1436. package/table/modern/components/thead-cell/index.d.ts +1 -0
  1437. package/table/modern/components/thead-cell/index.js +3 -0
  1438. package/table/modern/components/trow/Component.d.ts +28 -0
  1439. package/table/modern/components/trow/Component.js +13 -0
  1440. package/table/modern/components/trow/index.css +43 -0
  1441. package/table/modern/components/trow/index.d.ts +1 -0
  1442. package/table/modern/components/trow/index.js +3 -0
  1443. package/table/modern/components/tsortable-head-cell/Component.d.ts +9 -0
  1444. package/table/modern/components/tsortable-head-cell/Component.js +28 -0
  1445. package/table/modern/components/tsortable-head-cell/index.css +46 -0
  1446. package/table/modern/components/tsortable-head-cell/index.d.ts +1 -0
  1447. package/table/modern/components/tsortable-head-cell/index.js +7 -0
  1448. package/table/modern/components/tsortable-head-cell/sort-icon-asc.d.ts +5 -0
  1449. package/table/modern/components/tsortable-head-cell/sort-icon-asc.js +6 -0
  1450. package/table/modern/components/tsortable-head-cell/sort-icon-desc.d.ts +5 -0
  1451. package/table/modern/components/tsortable-head-cell/sort-icon-desc.js +6 -0
  1452. package/table/modern/components/tsortable-head-cell/sort-icon-unset.d.ts +5 -0
  1453. package/table/modern/components/tsortable-head-cell/sort-icon-unset.js +6 -0
  1454. package/table/modern/index.d.ts +1 -0
  1455. package/table/modern/index.js +22 -0
  1456. package/table/modern/typings.d.ts +2 -0
  1457. package/table/modern/typings.js +1 -0
  1458. package/table/modern/utils.d.ts +4 -0
  1459. package/table/modern/utils.js +8 -0
  1460. package/table/package.json +3 -0
  1461. package/table/send-stats.js +82 -0
  1462. package/table/tslib.es6-797e7e1d.d.ts +32 -0
  1463. package/table/tslib.es6-797e7e1d.js +40 -0
  1464. package/table/typings.d.ts +2 -0
  1465. package/table/typings.js +1 -0
  1466. package/table/utils.d.ts +4 -0
  1467. package/table/utils.js +14 -0
  1468. package/tabs/components/primary-tablist/Component.desktop.js +2 -2
  1469. package/tabs/components/primary-tablist/Component.js +1 -1
  1470. package/tabs/components/primary-tablist/Component.mobile.js +3 -3
  1471. package/tabs/components/primary-tablist/Component.responsive.js +2 -2
  1472. package/tabs/components/primary-tablist/index.css +18 -18
  1473. package/tabs/components/primary-tablist/mobile.css +20 -20
  1474. package/tabs/components/scrollable-container/Component.js +1 -1
  1475. package/tabs/components/scrollable-container/index.css +2 -2
  1476. package/tabs/components/secondary-tablist/Component.desktop.js +2 -2
  1477. package/tabs/components/secondary-tablist/Component.js +1 -1
  1478. package/tabs/components/secondary-tablist/Component.mobile.js +3 -3
  1479. package/tabs/components/secondary-tablist/Component.responsive.js +2 -2
  1480. package/tabs/components/secondary-tablist/index.css +11 -11
  1481. package/tabs/components/secondary-tablist/mobile.css +14 -14
  1482. package/tabs/components/tab/Component.js +1 -1
  1483. package/tabs/components/tab/index.css +2 -2
  1484. package/tabs/components/tabs/Component.desktop.js +3 -3
  1485. package/tabs/components/tabs/Component.mobile.js +3 -3
  1486. package/tabs/components/tabs/Component.responsive.js +3 -3
  1487. package/tabs/desktop.js +3 -3
  1488. package/tabs/esm/components/primary-tablist/Component.desktop.js +2 -2
  1489. package/tabs/esm/components/primary-tablist/Component.js +1 -1
  1490. package/tabs/esm/components/primary-tablist/Component.mobile.js +3 -3
  1491. package/tabs/esm/components/primary-tablist/Component.responsive.js +2 -2
  1492. package/tabs/esm/components/primary-tablist/index.css +18 -18
  1493. package/tabs/esm/components/primary-tablist/mobile.css +20 -20
  1494. package/tabs/esm/components/scrollable-container/Component.js +1 -1
  1495. package/tabs/esm/components/scrollable-container/index.css +2 -2
  1496. package/tabs/esm/components/secondary-tablist/Component.desktop.js +2 -2
  1497. package/tabs/esm/components/secondary-tablist/Component.js +1 -1
  1498. package/tabs/esm/components/secondary-tablist/Component.mobile.js +3 -3
  1499. package/tabs/esm/components/secondary-tablist/Component.responsive.js +2 -2
  1500. package/tabs/esm/components/secondary-tablist/index.css +11 -11
  1501. package/tabs/esm/components/secondary-tablist/mobile.css +14 -14
  1502. package/tabs/esm/components/tab/Component.js +1 -1
  1503. package/tabs/esm/components/tab/index.css +2 -2
  1504. package/tabs/esm/components/tabs/Component.desktop.js +3 -3
  1505. package/tabs/esm/components/tabs/Component.mobile.js +3 -3
  1506. package/tabs/esm/components/tabs/Component.responsive.js +3 -3
  1507. package/tabs/esm/desktop.js +3 -3
  1508. package/tabs/esm/index.js +3 -3
  1509. package/tabs/esm/index.module-1b38f554.js +4 -0
  1510. package/tabs/esm/index.module-b321c34c.js +4 -0
  1511. package/tabs/esm/mobile.js +3 -3
  1512. package/tabs/esm/responsive.js +3 -3
  1513. package/tabs/esm/tslib.es6-2c5f2610.d.ts +32 -0
  1514. package/tabs/esm/tslib.es6-2c5f2610.js +40 -0
  1515. package/tabs/index.js +3 -3
  1516. package/tabs/index.module-ea27eab3.js +4 -0
  1517. package/tabs/index.module-f77656e3.js +4 -0
  1518. package/tabs/mobile.js +3 -3
  1519. package/tabs/modern/components/primary-tablist/Component.desktop.js +1 -1
  1520. package/tabs/modern/components/primary-tablist/Component.mobile.js +2 -2
  1521. package/tabs/modern/components/primary-tablist/Component.responsive.js +1 -1
  1522. package/tabs/modern/components/primary-tablist/index.css +18 -18
  1523. package/tabs/modern/components/primary-tablist/mobile.css +20 -20
  1524. package/tabs/modern/components/scrollable-container/Component.js +1 -1
  1525. package/tabs/modern/components/scrollable-container/index.css +2 -2
  1526. package/tabs/modern/components/secondary-tablist/Component.desktop.js +1 -1
  1527. package/tabs/modern/components/secondary-tablist/Component.mobile.js +2 -2
  1528. package/tabs/modern/components/secondary-tablist/Component.responsive.js +1 -1
  1529. package/tabs/modern/components/secondary-tablist/index.css +11 -11
  1530. package/tabs/modern/components/secondary-tablist/mobile.css +14 -14
  1531. package/tabs/modern/components/tab/Component.js +1 -1
  1532. package/tabs/modern/components/tab/index.css +2 -2
  1533. package/tabs/modern/components/tabs/Component.desktop.js +2 -2
  1534. package/tabs/modern/components/tabs/Component.mobile.js +2 -2
  1535. package/tabs/modern/components/tabs/Component.responsive.js +2 -2
  1536. package/tabs/modern/desktop.js +2 -2
  1537. package/tabs/modern/index.js +2 -2
  1538. package/tabs/modern/index.module-1b38f554.js +4 -0
  1539. package/tabs/modern/index.module-b321c34c.js +4 -0
  1540. package/tabs/modern/mobile.js +2 -2
  1541. package/tabs/modern/responsive.js +2 -2
  1542. package/tabs/responsive.js +3 -3
  1543. package/tabs/tslib.es6-35d33f42.d.ts +32 -0
  1544. package/tabs/tslib.es6-35d33f42.js +40 -0
  1545. package/tag/Component.js +3 -3
  1546. package/tag/default.css +7 -7
  1547. package/tag/esm/Component.js +3 -3
  1548. package/tag/esm/default.css +7 -7
  1549. package/tag/esm/index.css +35 -35
  1550. package/tag/esm/inverted.css +7 -7
  1551. package/tag/index.css +35 -35
  1552. package/tag/inverted.css +7 -7
  1553. package/tag/modern/Component.js +3 -3
  1554. package/tag/modern/default.css +7 -7
  1555. package/tag/modern/index.css +35 -35
  1556. package/tag/modern/inverted.css +7 -7
  1557. package/textarea/Component.js +3 -3
  1558. package/textarea/cssm/default.module.css +2 -2
  1559. package/textarea/cssm/inverted.module.css +2 -2
  1560. package/textarea/default.css +20 -20
  1561. package/textarea/esm/Component.js +3 -3
  1562. package/textarea/esm/default.css +20 -20
  1563. package/textarea/esm/index.css +21 -21
  1564. package/textarea/esm/inverted.css +20 -20
  1565. package/textarea/index.css +21 -21
  1566. package/textarea/inverted.css +20 -20
  1567. package/textarea/modern/Component.js +3 -3
  1568. package/textarea/modern/default.css +20 -20
  1569. package/textarea/modern/index.css +21 -21
  1570. package/textarea/modern/inverted.css +20 -20
  1571. package/themes/click.css +2 -1
  1572. package/themes/compiled/mobile-dark-bluetint.css +1548 -246
  1573. package/themes/compiled/mobile-dark-bluetint.js +2 -0
  1574. package/themes/dark.js +2 -0
  1575. package/themes/esm/compiled/mobile-dark-bluetint.js +3 -0
  1576. package/themes/mixins/select/click.css +2 -1
  1577. package/themes/modern/compiled/mobile-dark-bluetint.js +3 -0
  1578. package/themes/package.json +10 -1
  1579. package/themes/select/click.css +2 -1
  1580. package/themes/send-stats.js +0 -0
  1581. package/toast/component.js +1 -1
  1582. package/toast/esm/component.js +1 -1
  1583. package/toast/esm/index.css +9 -9
  1584. package/toast/index.css +9 -9
  1585. package/toast/modern/component.js +1 -1
  1586. package/toast/modern/index.css +9 -9
  1587. package/toast-plate/component.js +1 -1
  1588. package/toast-plate/esm/component.js +1 -1
  1589. package/toast-plate/esm/index.css +15 -15
  1590. package/toast-plate/index.css +15 -15
  1591. package/toast-plate/modern/component.js +1 -1
  1592. package/toast-plate/modern/index.css +15 -15
  1593. package/tooltip/{Component-5c142765.d.ts → Component-1e01a4db.d.ts} +0 -0
  1594. package/tooltip/{Component-5c142765.js → Component-1e01a4db.js} +4 -2
  1595. package/tooltip/Component.js +1 -1
  1596. package/tooltip/component.responsive.js +7 -2
  1597. package/tooltip/cssm/{Component-aff14229.d.ts → Component-9aae2909.d.ts} +0 -0
  1598. package/tooltip/cssm/{Component-aff14229.js → Component-9aae2909.js} +3 -1
  1599. package/tooltip/cssm/Component.js +1 -1
  1600. package/tooltip/cssm/component.responsive.js +6 -2
  1601. package/tooltip/cssm/index.d.ts +1 -1
  1602. package/tooltip/cssm/index.js +1 -1
  1603. package/tooltip/cssm/index.module.css +13 -1
  1604. package/tooltip/cssm/responsive.js +2 -1
  1605. package/tooltip/cssm/responsive.module.css +10 -0
  1606. package/tooltip/esm/{Component-8d14a42c.d.ts → Component-b4f5d1a2.d.ts} +0 -0
  1607. package/tooltip/esm/{Component-8d14a42c.js → Component-b4f5d1a2.js} +4 -2
  1608. package/tooltip/esm/Component.js +1 -1
  1609. package/tooltip/esm/component.responsive.js +7 -2
  1610. package/tooltip/esm/index.css +19 -7
  1611. package/tooltip/esm/index.d.ts +1 -1
  1612. package/tooltip/esm/index.js +1 -1
  1613. package/tooltip/esm/responsive.css +11 -0
  1614. package/tooltip/esm/responsive.js +1 -1
  1615. package/tooltip/index.css +19 -7
  1616. package/tooltip/index.d.ts +1 -1
  1617. package/tooltip/index.js +1 -1
  1618. package/tooltip/modern/Component.js +4 -2
  1619. package/tooltip/modern/component.responsive.js +6 -1
  1620. package/tooltip/modern/index.css +19 -7
  1621. package/tooltip/modern/responsive.css +11 -0
  1622. package/tooltip/responsive.css +11 -0
  1623. package/tooltip/responsive.js +1 -1
  1624. package/typography/colors.css +12 -12
  1625. package/typography/colors.module-e7bb0374.d.ts +32 -0
  1626. package/typography/{colors.module-656527d8.js → colors.module-e7bb0374.js} +1 -1
  1627. package/typography/common.module-736d441d.js +4 -0
  1628. package/typography/component.js +2 -2
  1629. package/typography/esm/colors.css +12 -12
  1630. package/typography/esm/colors.module-317c09f8.d.ts +32 -0
  1631. package/typography/esm/{colors.module-8f6ab9f4.js → colors.module-317c09f8.js} +1 -1
  1632. package/typography/esm/common.module-f64cfe84.js +4 -0
  1633. package/typography/esm/component.js +2 -2
  1634. package/typography/esm/index.js +2 -2
  1635. package/typography/esm/text/component.js +2 -2
  1636. package/typography/esm/text/index.css +13 -13
  1637. package/typography/esm/text/index.js +1 -1
  1638. package/typography/esm/title/common.css +4 -4
  1639. package/typography/esm/title/component.js +1 -1
  1640. package/typography/esm/title/index.css +18 -18
  1641. package/typography/esm/title/index.js +3 -3
  1642. package/typography/esm/title-responsive/component.js +3 -3
  1643. package/typography/esm/title-responsive/index.css +45 -45
  1644. package/typography/esm/title-responsive/index.js +2 -2
  1645. package/typography/index.js +2 -2
  1646. package/typography/modern/colors.css +12 -12
  1647. package/typography/modern/colors.module-f1253cf3.js +4 -0
  1648. package/typography/modern/common.module-f64cfe84.js +4 -0
  1649. package/typography/modern/component.js +2 -2
  1650. package/typography/modern/index.js +2 -2
  1651. package/typography/modern/text/component.js +2 -2
  1652. package/typography/modern/text/index.css +13 -13
  1653. package/typography/modern/text/index.js +1 -1
  1654. package/typography/modern/title/common.css +4 -4
  1655. package/typography/modern/title/component.js +1 -1
  1656. package/typography/modern/title/index.css +18 -18
  1657. package/typography/modern/title/index.js +3 -3
  1658. package/typography/modern/title-responsive/component.js +3 -3
  1659. package/typography/modern/title-responsive/index.css +45 -45
  1660. package/typography/modern/title-responsive/index.js +2 -2
  1661. package/typography/text/component.d.ts +2 -2
  1662. package/typography/text/component.js +2 -2
  1663. package/typography/text/index.css +13 -13
  1664. package/typography/text/index.js +1 -1
  1665. package/typography/title/common.css +4 -4
  1666. package/typography/title/component.d.ts +3 -3
  1667. package/typography/title/component.js +1 -1
  1668. package/typography/title/index.css +18 -18
  1669. package/typography/title/index.js +3 -3
  1670. package/typography/title-responsive/component.js +3 -3
  1671. package/typography/title-responsive/index.css +45 -45
  1672. package/typography/title-responsive/index.js +2 -2
  1673. package/vars/colors-bluetint.js +2 -0
  1674. package/vars/colors-indigo.js +2 -0
  1675. package/vars/cssm/colors-bluetint.js +2 -0
  1676. package/vars/cssm/colors-indigo.js +2 -0
  1677. package/vars/package.json +11 -1
  1678. package/vars/send-stats.js +0 -0
  1679. package/with-suffix/Component.js +1 -1
  1680. package/with-suffix/esm/Component.js +1 -1
  1681. package/with-suffix/esm/index.css +9 -9
  1682. package/with-suffix/index.css +9 -9
  1683. package/with-suffix/modern/Component.js +1 -1
  1684. package/with-suffix/modern/index.css +9 -9
  1685. package/grid/esm/gutters.module-8ff20c10.js +0 -27
  1686. package/grid/gutters.module-46e219ce.js +0 -28
  1687. package/grid/modern/gutters.module-27a7b382.js +0 -4
  1688. package/modal/esm/transitions.module-0ffdd82a.js +0 -4
  1689. package/modal/modern/transitions.module-0ffdd82a.js +0 -4
  1690. package/modal/transitions.module-778bae25.js +0 -4
  1691. package/tabs/esm/index.module-3883df3d.js +0 -4
  1692. package/tabs/esm/index.module-9414e326.js +0 -4
  1693. package/tabs/index.module-6ac9a372.js +0 -4
  1694. package/tabs/index.module-ffdfee49.js +0 -4
  1695. package/tabs/modern/index.module-3883df3d.js +0 -4
  1696. package/tabs/modern/index.module-9414e326.js +0 -4
  1697. package/themes/dist/amount/click.css +0 -4
  1698. package/themes/dist/backdrop/click.css +0 -4
  1699. package/themes/dist/button/click.css +0 -16
  1700. package/themes/dist/button/corp.css +0 -44
  1701. package/themes/dist/button/mobile.css +0 -20
  1702. package/themes/dist/button/site.css +0 -4
  1703. package/themes/dist/calendar/click.css +0 -11
  1704. package/themes/dist/calendar-input/click.css +0 -4
  1705. package/themes/dist/calendar-input/corp.css +0 -3
  1706. package/themes/dist/checkbox/click.css +0 -9
  1707. package/themes/dist/checkbox/mobile.css +0 -19
  1708. package/themes/dist/checkbox-group/click.css +0 -5
  1709. package/themes/dist/click.css +0 -710
  1710. package/themes/dist/compiled/mobile-dark-bluetint.css +0 -1917
  1711. package/themes/dist/compiled/mobile-dark-bluetint.d.ts +0 -2
  1712. package/themes/dist/compiled/mobile-dark-bluetint.js +0 -11
  1713. package/themes/dist/confirmation/click.css +0 -12
  1714. package/themes/dist/confirmation/mobile.css +0 -7
  1715. package/themes/dist/corp.css +0 -550
  1716. package/themes/dist/dark.css +0 -136
  1717. package/themes/dist/dark.d.ts +0 -2
  1718. package/themes/dist/dark.js +0 -12
  1719. package/themes/dist/dropzone/click.css +0 -4
  1720. package/themes/dist/esm/compiled/mobile-dark-bluetint.d.ts +0 -2
  1721. package/themes/dist/esm/compiled/mobile-dark-bluetint.js +0 -4
  1722. package/themes/dist/esm/dark.d.ts +0 -2
  1723. package/themes/dist/esm/dark.js +0 -6
  1724. package/themes/dist/form-control/click.css +0 -31
  1725. package/themes/dist/form-control/mobile.css +0 -34
  1726. package/themes/dist/form-control/site.css +0 -5
  1727. package/themes/dist/input/click.css +0 -8
  1728. package/themes/dist/input/corp.css +0 -3
  1729. package/themes/dist/input/mobile.css +0 -13
  1730. package/themes/dist/input/site.css +0 -4
  1731. package/themes/dist/link/click.css +0 -25
  1732. package/themes/dist/list/click.css +0 -4
  1733. package/themes/dist/mixins/amount/click.css +0 -4
  1734. package/themes/dist/mixins/backdrop/click.css +0 -4
  1735. package/themes/dist/mixins/button/click.css +0 -16
  1736. package/themes/dist/mixins/button/corp.css +0 -44
  1737. package/themes/dist/mixins/button/mobile.css +0 -20
  1738. package/themes/dist/mixins/button/site.css +0 -4
  1739. package/themes/dist/mixins/calendar/click.css +0 -11
  1740. package/themes/dist/mixins/calendar-input/click.css +0 -4
  1741. package/themes/dist/mixins/calendar-input/corp.css +0 -3
  1742. package/themes/dist/mixins/checkbox/click.css +0 -9
  1743. package/themes/dist/mixins/checkbox/mobile.css +0 -19
  1744. package/themes/dist/mixins/checkbox-group/click.css +0 -5
  1745. package/themes/dist/mixins/click.css +0 -50
  1746. package/themes/dist/mixins/confirmation/click.css +0 -12
  1747. package/themes/dist/mixins/confirmation/mobile.css +0 -7
  1748. package/themes/dist/mixins/corp.css +0 -13
  1749. package/themes/dist/mixins/dark.css +0 -136
  1750. package/themes/dist/mixins/dropzone/click.css +0 -4
  1751. package/themes/dist/mixins/form-control/click.css +0 -31
  1752. package/themes/dist/mixins/form-control/mobile.css +0 -34
  1753. package/themes/dist/mixins/form-control/site.css +0 -5
  1754. package/themes/dist/mixins/input/click.css +0 -8
  1755. package/themes/dist/mixins/input/corp.css +0 -3
  1756. package/themes/dist/mixins/input/mobile.css +0 -13
  1757. package/themes/dist/mixins/input/site.css +0 -4
  1758. package/themes/dist/mixins/link/click.css +0 -25
  1759. package/themes/dist/mixins/list/click.css +0 -4
  1760. package/themes/dist/mixins/mobile.css +0 -23
  1761. package/themes/dist/mixins/modal/click.css +0 -29
  1762. package/themes/dist/mixins/radio/click.css +0 -9
  1763. package/themes/dist/mixins/radio/mobile.css +0 -19
  1764. package/themes/dist/mixins/select/click.css +0 -18
  1765. package/themes/dist/mixins/select/corp.css +0 -3
  1766. package/themes/dist/mixins/site.css +0 -11
  1767. package/themes/dist/mixins/skeleton/click.css +0 -8
  1768. package/themes/dist/mixins/slider/click.css +0 -16
  1769. package/themes/dist/mixins/slider/mobile.css +0 -5
  1770. package/themes/dist/mixins/slider-input/mobile.css +0 -3
  1771. package/themes/dist/mixins/switch/click.css +0 -5
  1772. package/themes/dist/mixins/tabs/click.css +0 -20
  1773. package/themes/dist/mixins/tabs/corp.css +0 -4
  1774. package/themes/dist/mixins/tabs/site.css +0 -8
  1775. package/themes/dist/mixins/tag/click.css +0 -11
  1776. package/themes/dist/mixins/tag/mobile.css +0 -14
  1777. package/themes/dist/mixins/toast-plate/click.css +0 -8
  1778. package/themes/dist/mobile.css +0 -605
  1779. package/themes/dist/modal/click.css +0 -29
  1780. package/themes/dist/modern/compiled/mobile-dark-bluetint.d.ts +0 -2
  1781. package/themes/dist/modern/compiled/mobile-dark-bluetint.js +0 -4
  1782. package/themes/dist/modern/dark.d.ts +0 -2
  1783. package/themes/dist/modern/dark.js +0 -6
  1784. package/themes/dist/package.json +0 -12
  1785. package/themes/dist/radio/click.css +0 -9
  1786. package/themes/dist/radio/mobile.css +0 -19
  1787. package/themes/dist/select/click.css +0 -18
  1788. package/themes/dist/select/corp.css +0 -3
  1789. package/themes/dist/site.css +0 -521
  1790. package/themes/dist/skeleton/click.css +0 -8
  1791. package/themes/dist/slider/click.css +0 -16
  1792. package/themes/dist/slider/mobile.css +0 -5
  1793. package/themes/dist/slider-input/mobile.css +0 -3
  1794. package/themes/dist/switch/click.css +0 -5
  1795. package/themes/dist/tabs/click.css +0 -20
  1796. package/themes/dist/tabs/corp.css +0 -4
  1797. package/themes/dist/tabs/site.css +0 -8
  1798. package/themes/dist/tag/click.css +0 -11
  1799. package/themes/dist/tag/mobile.css +0 -14
  1800. package/themes/dist/toast-plate/click.css +0 -8
  1801. package/typography/common.module-240479f1.js +0 -4
  1802. package/typography/esm/common.module-33e8c1e3.js +0 -4
  1803. package/typography/modern/colors.module-930bb4c7.js +0 -4
  1804. package/typography/modern/common.module-33e8c1e3.js +0 -4
  1805. package/vars/dist/border-radius.css +0 -9
  1806. package/vars/dist/colors-addons.css +0 -62
  1807. package/vars/dist/colors-bluetint.css +0 -250
  1808. package/vars/dist/colors-bluetint.d.ts +0 -2
  1809. package/vars/dist/colors-bluetint.js +0 -12
  1810. package/vars/dist/colors-indigo.css +0 -272
  1811. package/vars/dist/colors-indigo.d.ts +0 -2
  1812. package/vars/dist/colors-indigo.js +0 -12
  1813. package/vars/dist/colors-transparent.css +0 -22
  1814. package/vars/dist/colors.css +0 -71
  1815. package/vars/dist/cssm/border-radius.css +0 -9
  1816. package/vars/dist/cssm/colors-addons.css +0 -62
  1817. package/vars/dist/cssm/colors-bluetint.css +0 -250
  1818. package/vars/dist/cssm/colors-bluetint.d.ts +0 -2
  1819. package/vars/dist/cssm/colors-bluetint.js +0 -12
  1820. package/vars/dist/cssm/colors-indigo.css +0 -268
  1821. package/vars/dist/cssm/colors-indigo.d.ts +0 -2
  1822. package/vars/dist/cssm/colors-indigo.js +0 -12
  1823. package/vars/dist/cssm/colors-transparent.css +0 -22
  1824. package/vars/dist/cssm/colors.css +0 -71
  1825. package/vars/dist/cssm/gaps.css +0 -30
  1826. package/vars/dist/cssm/index.css +0 -506
  1827. package/vars/dist/cssm/shadows-indigo.css +0 -38
  1828. package/vars/dist/cssm/typography.css +0 -6
  1829. package/vars/dist/esm/colors-bluetint.d.ts +0 -2
  1830. package/vars/dist/esm/colors-bluetint.js +0 -6
  1831. package/vars/dist/esm/colors-indigo.d.ts +0 -2
  1832. package/vars/dist/esm/colors-indigo.js +0 -6
  1833. package/vars/dist/gaps.css +0 -30
  1834. package/vars/dist/index.css +0 -9
  1835. package/vars/dist/mixins.css +0 -4
  1836. package/vars/dist/modern/colors-bluetint.d.ts +0 -2
  1837. package/vars/dist/modern/colors-bluetint.js +0 -6
  1838. package/vars/dist/modern/colors-indigo.d.ts +0 -2
  1839. package/vars/dist/modern/colors-indigo.js +0 -6
  1840. package/vars/dist/package.json +0 -13
  1841. package/vars/dist/shadows-indigo.css +0 -38
  1842. package/vars/dist/typography.css +0 -486
@@ -0,0 +1,891 @@
1
+ /**
2
+ * Copyright 2016 Google Inc. All Rights Reserved.
3
+ *
4
+ * Licensed under the W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE.
5
+ *
6
+ * https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
7
+ *
8
+ */
9
+ (function () {
10
+ // Exit early if we're not running in a browser.
11
+ if (typeof window !== 'object') {
12
+ return;
13
+ }
14
+ // Exit early if all IntersectionObserver and IntersectionObserverEntry
15
+ // features are natively supported.
16
+ if ('IntersectionObserver' in window &&
17
+ 'IntersectionObserverEntry' in window &&
18
+ 'intersectionRatio' in window.IntersectionObserverEntry.prototype) {
19
+ // Minimal polyfill for Edge 15's lack of `isIntersecting`
20
+ // See: https://github.com/w3c/IntersectionObserver/issues/211
21
+ if (!('isIntersecting' in window.IntersectionObserverEntry.prototype)) {
22
+ Object.defineProperty(window.IntersectionObserverEntry.prototype, 'isIntersecting', {
23
+ get: function () {
24
+ return this.intersectionRatio > 0;
25
+ }
26
+ });
27
+ }
28
+ return;
29
+ }
30
+ /**
31
+ * Returns the embedding frame element, if any.
32
+ * @param {!Document} doc
33
+ * @return {!Element}
34
+ */
35
+ function getFrameElement(doc) {
36
+ try {
37
+ return doc.defaultView && doc.defaultView.frameElement || null;
38
+ }
39
+ catch (e) {
40
+ // Ignore the error.
41
+ return null;
42
+ }
43
+ }
44
+ /**
45
+ * A local reference to the root document.
46
+ */
47
+ var document = (function (startDoc) {
48
+ var doc = startDoc;
49
+ var frame = getFrameElement(doc);
50
+ while (frame) {
51
+ doc = frame.ownerDocument;
52
+ frame = getFrameElement(doc);
53
+ }
54
+ return doc;
55
+ })(window.document);
56
+ /**
57
+ * An IntersectionObserver registry. This registry exists to hold a strong
58
+ * reference to IntersectionObserver instances currently observing a target
59
+ * element. Without this registry, instances without another reference may be
60
+ * garbage collected.
61
+ */
62
+ var registry = [];
63
+ /**
64
+ * The signal updater for cross-origin intersection. When not null, it means
65
+ * that the polyfill is configured to work in a cross-origin mode.
66
+ * @type {function(DOMRect|ClientRect, DOMRect|ClientRect)}
67
+ */
68
+ var crossOriginUpdater = null;
69
+ /**
70
+ * The current cross-origin intersection. Only used in the cross-origin mode.
71
+ * @type {DOMRect|ClientRect}
72
+ */
73
+ var crossOriginRect = null;
74
+ /**
75
+ * Creates the global IntersectionObserverEntry constructor.
76
+ * https://w3c.github.io/IntersectionObserver/#intersection-observer-entry
77
+ * @param {Object} entry A dictionary of instance properties.
78
+ * @constructor
79
+ */
80
+ function IntersectionObserverEntry(entry) {
81
+ this.time = entry.time;
82
+ this.target = entry.target;
83
+ this.rootBounds = ensureDOMRect(entry.rootBounds);
84
+ this.boundingClientRect = ensureDOMRect(entry.boundingClientRect);
85
+ this.intersectionRect = ensureDOMRect(entry.intersectionRect || getEmptyRect());
86
+ this.isIntersecting = !!entry.intersectionRect;
87
+ // Calculates the intersection ratio.
88
+ var targetRect = this.boundingClientRect;
89
+ var targetArea = targetRect.width * targetRect.height;
90
+ var intersectionRect = this.intersectionRect;
91
+ var intersectionArea = intersectionRect.width * intersectionRect.height;
92
+ // Sets intersection ratio.
93
+ if (targetArea) {
94
+ // Round the intersection ratio to avoid floating point math issues:
95
+ // https://github.com/w3c/IntersectionObserver/issues/324
96
+ this.intersectionRatio = Number((intersectionArea / targetArea).toFixed(4));
97
+ }
98
+ else {
99
+ // If area is zero and is intersecting, sets to 1, otherwise to 0
100
+ this.intersectionRatio = this.isIntersecting ? 1 : 0;
101
+ }
102
+ }
103
+ /**
104
+ * Creates the global IntersectionObserver constructor.
105
+ * https://w3c.github.io/IntersectionObserver/#intersection-observer-interface
106
+ * @param {Function} callback The function to be invoked after intersection
107
+ * changes have queued. The function is not invoked if the queue has
108
+ * been emptied by calling the `takeRecords` method.
109
+ * @param {Object=} opt_options Optional configuration options.
110
+ * @constructor
111
+ */
112
+ function IntersectionObserver(callback, opt_options) {
113
+ var options = opt_options || {};
114
+ if (typeof callback != 'function') {
115
+ throw new Error('callback must be a function');
116
+ }
117
+ if (options.root &&
118
+ options.root.nodeType != 1 &&
119
+ options.root.nodeType != 9) {
120
+ throw new Error('root must be a Document or Element');
121
+ }
122
+ // Binds and throttles `this._checkForIntersections`.
123
+ this._checkForIntersections = throttle(this._checkForIntersections.bind(this), this.THROTTLE_TIMEOUT);
124
+ // Private properties.
125
+ this._callback = callback;
126
+ this._observationTargets = [];
127
+ this._queuedEntries = [];
128
+ this._rootMarginValues = this._parseRootMargin(options.rootMargin);
129
+ // Public properties.
130
+ this.thresholds = this._initThresholds(options.threshold);
131
+ this.root = options.root || null;
132
+ this.rootMargin = this._rootMarginValues.map(function (margin) {
133
+ return margin.value + margin.unit;
134
+ }).join(' ');
135
+ /** @private @const {!Array<!Document>} */
136
+ this._monitoringDocuments = [];
137
+ /** @private @const {!Array<function()>} */
138
+ this._monitoringUnsubscribes = [];
139
+ }
140
+ /**
141
+ * The minimum interval within which the document will be checked for
142
+ * intersection changes.
143
+ */
144
+ IntersectionObserver.prototype.THROTTLE_TIMEOUT = 100;
145
+ /**
146
+ * The frequency in which the polyfill polls for intersection changes.
147
+ * this can be updated on a per instance basis and must be set prior to
148
+ * calling `observe` on the first target.
149
+ */
150
+ IntersectionObserver.prototype.POLL_INTERVAL = null;
151
+ /**
152
+ * Use a mutation observer on the root element
153
+ * to detect intersection changes.
154
+ */
155
+ IntersectionObserver.prototype.USE_MUTATION_OBSERVER = true;
156
+ /**
157
+ * Sets up the polyfill in the cross-origin mode. The result is the
158
+ * updater function that accepts two arguments: `boundingClientRect` and
159
+ * `intersectionRect` - just as these fields would be available to the
160
+ * parent via `IntersectionObserverEntry`. This function should be called
161
+ * each time the iframe receives intersection information from the parent
162
+ * window, e.g. via messaging.
163
+ * @return {function(DOMRect|ClientRect, DOMRect|ClientRect)}
164
+ */
165
+ IntersectionObserver._setupCrossOriginUpdater = function () {
166
+ if (!crossOriginUpdater) {
167
+ /**
168
+ * @param {DOMRect|ClientRect} boundingClientRect
169
+ * @param {DOMRect|ClientRect} intersectionRect
170
+ */
171
+ crossOriginUpdater = function (boundingClientRect, intersectionRect) {
172
+ if (!boundingClientRect || !intersectionRect) {
173
+ crossOriginRect = getEmptyRect();
174
+ }
175
+ else {
176
+ crossOriginRect = convertFromParentRect(boundingClientRect, intersectionRect);
177
+ }
178
+ registry.forEach(function (observer) {
179
+ observer._checkForIntersections();
180
+ });
181
+ };
182
+ }
183
+ return crossOriginUpdater;
184
+ };
185
+ /**
186
+ * Resets the cross-origin mode.
187
+ */
188
+ IntersectionObserver._resetCrossOriginUpdater = function () {
189
+ crossOriginUpdater = null;
190
+ crossOriginRect = null;
191
+ };
192
+ /**
193
+ * Starts observing a target element for intersection changes based on
194
+ * the thresholds values.
195
+ * @param {Element} target The DOM element to observe.
196
+ */
197
+ IntersectionObserver.prototype.observe = function (target) {
198
+ var isTargetAlreadyObserved = this._observationTargets.some(function (item) {
199
+ return item.element == target;
200
+ });
201
+ if (isTargetAlreadyObserved) {
202
+ return;
203
+ }
204
+ if (!(target && target.nodeType == 1)) {
205
+ throw new Error('target must be an Element');
206
+ }
207
+ this._registerInstance();
208
+ this._observationTargets.push({ element: target, entry: null });
209
+ this._monitorIntersections(target.ownerDocument);
210
+ this._checkForIntersections();
211
+ };
212
+ /**
213
+ * Stops observing a target element for intersection changes.
214
+ * @param {Element} target The DOM element to observe.
215
+ */
216
+ IntersectionObserver.prototype.unobserve = function (target) {
217
+ this._observationTargets =
218
+ this._observationTargets.filter(function (item) {
219
+ return item.element != target;
220
+ });
221
+ this._unmonitorIntersections(target.ownerDocument);
222
+ if (this._observationTargets.length == 0) {
223
+ this._unregisterInstance();
224
+ }
225
+ };
226
+ /**
227
+ * Stops observing all target elements for intersection changes.
228
+ */
229
+ IntersectionObserver.prototype.disconnect = function () {
230
+ this._observationTargets = [];
231
+ this._unmonitorAllIntersections();
232
+ this._unregisterInstance();
233
+ };
234
+ /**
235
+ * Returns any queue entries that have not yet been reported to the
236
+ * callback and clears the queue. This can be used in conjunction with the
237
+ * callback to obtain the absolute most up-to-date intersection information.
238
+ * @return {Array} The currently queued entries.
239
+ */
240
+ IntersectionObserver.prototype.takeRecords = function () {
241
+ var records = this._queuedEntries.slice();
242
+ this._queuedEntries = [];
243
+ return records;
244
+ };
245
+ /**
246
+ * Accepts the threshold value from the user configuration object and
247
+ * returns a sorted array of unique threshold values. If a value is not
248
+ * between 0 and 1 and error is thrown.
249
+ * @private
250
+ * @param {Array|number=} opt_threshold An optional threshold value or
251
+ * a list of threshold values, defaulting to [0].
252
+ * @return {Array} A sorted list of unique and valid threshold values.
253
+ */
254
+ IntersectionObserver.prototype._initThresholds = function (opt_threshold) {
255
+ var threshold = opt_threshold || [0];
256
+ if (!Array.isArray(threshold))
257
+ threshold = [threshold];
258
+ return threshold.sort().filter(function (t, i, a) {
259
+ if (typeof t != 'number' || isNaN(t) || t < 0 || t > 1) {
260
+ throw new Error('threshold must be a number between 0 and 1 inclusively');
261
+ }
262
+ return t !== a[i - 1];
263
+ });
264
+ };
265
+ /**
266
+ * Accepts the rootMargin value from the user configuration object
267
+ * and returns an array of the four margin values as an object containing
268
+ * the value and unit properties. If any of the values are not properly
269
+ * formatted or use a unit other than px or %, and error is thrown.
270
+ * @private
271
+ * @param {string=} opt_rootMargin An optional rootMargin value,
272
+ * defaulting to '0px'.
273
+ * @return {Array<Object>} An array of margin objects with the keys
274
+ * value and unit.
275
+ */
276
+ IntersectionObserver.prototype._parseRootMargin = function (opt_rootMargin) {
277
+ var marginString = opt_rootMargin || '0px';
278
+ var margins = marginString.split(/\s+/).map(function (margin) {
279
+ var parts = /^(-?\d*\.?\d+)(px|%)$/.exec(margin);
280
+ if (!parts) {
281
+ throw new Error('rootMargin must be specified in pixels or percent');
282
+ }
283
+ return { value: parseFloat(parts[1]), unit: parts[2] };
284
+ });
285
+ // Handles shorthand.
286
+ margins[1] = margins[1] || margins[0];
287
+ margins[2] = margins[2] || margins[0];
288
+ margins[3] = margins[3] || margins[1];
289
+ return margins;
290
+ };
291
+ /**
292
+ * Starts polling for intersection changes if the polling is not already
293
+ * happening, and if the page's visibility state is visible.
294
+ * @param {!Document} doc
295
+ * @private
296
+ */
297
+ IntersectionObserver.prototype._monitorIntersections = function (doc) {
298
+ var win = doc.defaultView;
299
+ if (!win) {
300
+ // Already destroyed.
301
+ return;
302
+ }
303
+ if (this._monitoringDocuments.indexOf(doc) != -1) {
304
+ // Already monitoring.
305
+ return;
306
+ }
307
+ // Private state for monitoring.
308
+ var callback = this._checkForIntersections;
309
+ var monitoringInterval = null;
310
+ var domObserver = null;
311
+ // If a poll interval is set, use polling instead of listening to
312
+ // resize and scroll events or DOM mutations.
313
+ if (this.POLL_INTERVAL) {
314
+ monitoringInterval = win.setInterval(callback, this.POLL_INTERVAL);
315
+ }
316
+ else {
317
+ addEvent(win, 'resize', callback, true);
318
+ addEvent(doc, 'scroll', callback, true);
319
+ if (this.USE_MUTATION_OBSERVER && 'MutationObserver' in win) {
320
+ domObserver = new win.MutationObserver(callback);
321
+ domObserver.observe(doc, {
322
+ attributes: true,
323
+ childList: true,
324
+ characterData: true,
325
+ subtree: true
326
+ });
327
+ }
328
+ }
329
+ this._monitoringDocuments.push(doc);
330
+ this._monitoringUnsubscribes.push(function () {
331
+ // Get the window object again. When a friendly iframe is destroyed, it
332
+ // will be null.
333
+ var win = doc.defaultView;
334
+ if (win) {
335
+ if (monitoringInterval) {
336
+ win.clearInterval(monitoringInterval);
337
+ }
338
+ removeEvent(win, 'resize', callback, true);
339
+ }
340
+ removeEvent(doc, 'scroll', callback, true);
341
+ if (domObserver) {
342
+ domObserver.disconnect();
343
+ }
344
+ });
345
+ // Also monitor the parent.
346
+ var rootDoc = (this.root && (this.root.ownerDocument || this.root)) || document;
347
+ if (doc != rootDoc) {
348
+ var frame = getFrameElement(doc);
349
+ if (frame) {
350
+ this._monitorIntersections(frame.ownerDocument);
351
+ }
352
+ }
353
+ };
354
+ /**
355
+ * Stops polling for intersection changes.
356
+ * @param {!Document} doc
357
+ * @private
358
+ */
359
+ IntersectionObserver.prototype._unmonitorIntersections = function (doc) {
360
+ var index = this._monitoringDocuments.indexOf(doc);
361
+ if (index == -1) {
362
+ return;
363
+ }
364
+ var rootDoc = (this.root && (this.root.ownerDocument || this.root)) || document;
365
+ // Check if any dependent targets are still remaining.
366
+ var hasDependentTargets = this._observationTargets.some(function (item) {
367
+ var itemDoc = item.element.ownerDocument;
368
+ // Target is in this context.
369
+ if (itemDoc == doc) {
370
+ return true;
371
+ }
372
+ // Target is nested in this context.
373
+ while (itemDoc && itemDoc != rootDoc) {
374
+ var frame = getFrameElement(itemDoc);
375
+ itemDoc = frame && frame.ownerDocument;
376
+ if (itemDoc == doc) {
377
+ return true;
378
+ }
379
+ }
380
+ return false;
381
+ });
382
+ if (hasDependentTargets) {
383
+ return;
384
+ }
385
+ // Unsubscribe.
386
+ var unsubscribe = this._monitoringUnsubscribes[index];
387
+ this._monitoringDocuments.splice(index, 1);
388
+ this._monitoringUnsubscribes.splice(index, 1);
389
+ unsubscribe();
390
+ // Also unmonitor the parent.
391
+ if (doc != rootDoc) {
392
+ var frame = getFrameElement(doc);
393
+ if (frame) {
394
+ this._unmonitorIntersections(frame.ownerDocument);
395
+ }
396
+ }
397
+ };
398
+ /**
399
+ * Stops polling for intersection changes.
400
+ * @param {!Document} doc
401
+ * @private
402
+ */
403
+ IntersectionObserver.prototype._unmonitorAllIntersections = function () {
404
+ var unsubscribes = this._monitoringUnsubscribes.slice(0);
405
+ this._monitoringDocuments.length = 0;
406
+ this._monitoringUnsubscribes.length = 0;
407
+ for (var i = 0; i < unsubscribes.length; i++) {
408
+ unsubscribes[i]();
409
+ }
410
+ };
411
+ /**
412
+ * Scans each observation target for intersection changes and adds them
413
+ * to the internal entries queue. If new entries are found, it
414
+ * schedules the callback to be invoked.
415
+ * @private
416
+ */
417
+ IntersectionObserver.prototype._checkForIntersections = function () {
418
+ if (!this.root && crossOriginUpdater && !crossOriginRect) {
419
+ // Cross origin monitoring, but no initial data available yet.
420
+ return;
421
+ }
422
+ var rootIsInDom = this._rootIsInDom();
423
+ var rootRect = rootIsInDom ? this._getRootRect() : getEmptyRect();
424
+ this._observationTargets.forEach(function (item) {
425
+ var target = item.element;
426
+ var targetRect = getBoundingClientRect(target);
427
+ var rootContainsTarget = this._rootContainsTarget(target);
428
+ var oldEntry = item.entry;
429
+ var intersectionRect = rootIsInDom && rootContainsTarget &&
430
+ this._computeTargetAndRootIntersection(target, targetRect, rootRect);
431
+ var rootBounds = null;
432
+ if (!this._rootContainsTarget(target)) {
433
+ rootBounds = getEmptyRect();
434
+ }
435
+ else if (!crossOriginUpdater || this.root) {
436
+ rootBounds = rootRect;
437
+ }
438
+ var newEntry = item.entry = new IntersectionObserverEntry({
439
+ time: now(),
440
+ target: target,
441
+ boundingClientRect: targetRect,
442
+ rootBounds: rootBounds,
443
+ intersectionRect: intersectionRect
444
+ });
445
+ if (!oldEntry) {
446
+ this._queuedEntries.push(newEntry);
447
+ }
448
+ else if (rootIsInDom && rootContainsTarget) {
449
+ // If the new entry intersection ratio has crossed any of the
450
+ // thresholds, add a new entry.
451
+ if (this._hasCrossedThreshold(oldEntry, newEntry)) {
452
+ this._queuedEntries.push(newEntry);
453
+ }
454
+ }
455
+ else {
456
+ // If the root is not in the DOM or target is not contained within
457
+ // root but the previous entry for this target had an intersection,
458
+ // add a new record indicating removal.
459
+ if (oldEntry && oldEntry.isIntersecting) {
460
+ this._queuedEntries.push(newEntry);
461
+ }
462
+ }
463
+ }, this);
464
+ if (this._queuedEntries.length) {
465
+ this._callback(this.takeRecords(), this);
466
+ }
467
+ };
468
+ /**
469
+ * Accepts a target and root rect computes the intersection between then
470
+ * following the algorithm in the spec.
471
+ * TODO(philipwalton): at this time clip-path is not considered.
472
+ * https://w3c.github.io/IntersectionObserver/#calculate-intersection-rect-algo
473
+ * @param {Element} target The target DOM element
474
+ * @param {Object} targetRect The bounding rect of the target.
475
+ * @param {Object} rootRect The bounding rect of the root after being
476
+ * expanded by the rootMargin value.
477
+ * @return {?Object} The final intersection rect object or undefined if no
478
+ * intersection is found.
479
+ * @private
480
+ */
481
+ IntersectionObserver.prototype._computeTargetAndRootIntersection =
482
+ function (target, targetRect, rootRect) {
483
+ // If the element isn't displayed, an intersection can't happen.
484
+ if (window.getComputedStyle(target).display == 'none')
485
+ return;
486
+ var intersectionRect = targetRect;
487
+ var parent = getParentNode(target);
488
+ var atRoot = false;
489
+ while (!atRoot && parent) {
490
+ var parentRect = null;
491
+ var parentComputedStyle = parent.nodeType == 1 ?
492
+ window.getComputedStyle(parent) : {};
493
+ // If the parent isn't displayed, an intersection can't happen.
494
+ if (parentComputedStyle.display == 'none')
495
+ return null;
496
+ if (parent == this.root || parent.nodeType == /* DOCUMENT */ 9) {
497
+ atRoot = true;
498
+ if (parent == this.root || parent == document) {
499
+ if (crossOriginUpdater && !this.root) {
500
+ if (!crossOriginRect ||
501
+ crossOriginRect.width == 0 && crossOriginRect.height == 0) {
502
+ // A 0-size cross-origin intersection means no-intersection.
503
+ parent = null;
504
+ parentRect = null;
505
+ intersectionRect = null;
506
+ }
507
+ else {
508
+ parentRect = crossOriginRect;
509
+ }
510
+ }
511
+ else {
512
+ parentRect = rootRect;
513
+ }
514
+ }
515
+ else {
516
+ // Check if there's a frame that can be navigated to.
517
+ var frame = getParentNode(parent);
518
+ var frameRect = frame && getBoundingClientRect(frame);
519
+ var frameIntersect = frame &&
520
+ this._computeTargetAndRootIntersection(frame, frameRect, rootRect);
521
+ if (frameRect && frameIntersect) {
522
+ parent = frame;
523
+ parentRect = convertFromParentRect(frameRect, frameIntersect);
524
+ }
525
+ else {
526
+ parent = null;
527
+ intersectionRect = null;
528
+ }
529
+ }
530
+ }
531
+ else {
532
+ // If the element has a non-visible overflow, and it's not the <body>
533
+ // or <html> element, update the intersection rect.
534
+ // Note: <body> and <html> cannot be clipped to a rect that's not also
535
+ // the document rect, so no need to compute a new intersection.
536
+ var doc = parent.ownerDocument;
537
+ if (parent != doc.body &&
538
+ parent != doc.documentElement &&
539
+ parentComputedStyle.overflow != 'visible') {
540
+ parentRect = getBoundingClientRect(parent);
541
+ }
542
+ }
543
+ // If either of the above conditionals set a new parentRect,
544
+ // calculate new intersection data.
545
+ if (parentRect) {
546
+ intersectionRect = computeRectIntersection(parentRect, intersectionRect);
547
+ }
548
+ if (!intersectionRect)
549
+ break;
550
+ parent = parent && getParentNode(parent);
551
+ }
552
+ return intersectionRect;
553
+ };
554
+ /**
555
+ * Returns the root rect after being expanded by the rootMargin value.
556
+ * @return {ClientRect} The expanded root rect.
557
+ * @private
558
+ */
559
+ IntersectionObserver.prototype._getRootRect = function () {
560
+ var rootRect;
561
+ if (this.root && !isDoc(this.root)) {
562
+ rootRect = getBoundingClientRect(this.root);
563
+ }
564
+ else {
565
+ // Use <html>/<body> instead of window since scroll bars affect size.
566
+ var doc = isDoc(this.root) ? this.root : document;
567
+ var html = doc.documentElement;
568
+ var body = doc.body;
569
+ rootRect = {
570
+ top: 0,
571
+ left: 0,
572
+ right: html.clientWidth || body.clientWidth,
573
+ width: html.clientWidth || body.clientWidth,
574
+ bottom: html.clientHeight || body.clientHeight,
575
+ height: html.clientHeight || body.clientHeight
576
+ };
577
+ }
578
+ return this._expandRectByRootMargin(rootRect);
579
+ };
580
+ /**
581
+ * Accepts a rect and expands it by the rootMargin value.
582
+ * @param {DOMRect|ClientRect} rect The rect object to expand.
583
+ * @return {ClientRect} The expanded rect.
584
+ * @private
585
+ */
586
+ IntersectionObserver.prototype._expandRectByRootMargin = function (rect) {
587
+ var margins = this._rootMarginValues.map(function (margin, i) {
588
+ return margin.unit == 'px' ? margin.value :
589
+ margin.value * (i % 2 ? rect.width : rect.height) / 100;
590
+ });
591
+ var newRect = {
592
+ top: rect.top - margins[0],
593
+ right: rect.right + margins[1],
594
+ bottom: rect.bottom + margins[2],
595
+ left: rect.left - margins[3]
596
+ };
597
+ newRect.width = newRect.right - newRect.left;
598
+ newRect.height = newRect.bottom - newRect.top;
599
+ return newRect;
600
+ };
601
+ /**
602
+ * Accepts an old and new entry and returns true if at least one of the
603
+ * threshold values has been crossed.
604
+ * @param {?IntersectionObserverEntry} oldEntry The previous entry for a
605
+ * particular target element or null if no previous entry exists.
606
+ * @param {IntersectionObserverEntry} newEntry The current entry for a
607
+ * particular target element.
608
+ * @return {boolean} Returns true if a any threshold has been crossed.
609
+ * @private
610
+ */
611
+ IntersectionObserver.prototype._hasCrossedThreshold =
612
+ function (oldEntry, newEntry) {
613
+ // To make comparing easier, an entry that has a ratio of 0
614
+ // but does not actually intersect is given a value of -1
615
+ var oldRatio = oldEntry && oldEntry.isIntersecting ?
616
+ oldEntry.intersectionRatio || 0 : -1;
617
+ var newRatio = newEntry.isIntersecting ?
618
+ newEntry.intersectionRatio || 0 : -1;
619
+ // Ignore unchanged ratios
620
+ if (oldRatio === newRatio)
621
+ return;
622
+ for (var i = 0; i < this.thresholds.length; i++) {
623
+ var threshold = this.thresholds[i];
624
+ // Return true if an entry matches a threshold or if the new ratio
625
+ // and the old ratio are on the opposite sides of a threshold.
626
+ if (threshold == oldRatio || threshold == newRatio ||
627
+ threshold < oldRatio !== threshold < newRatio) {
628
+ return true;
629
+ }
630
+ }
631
+ };
632
+ /**
633
+ * Returns whether or not the root element is an element and is in the DOM.
634
+ * @return {boolean} True if the root element is an element and is in the DOM.
635
+ * @private
636
+ */
637
+ IntersectionObserver.prototype._rootIsInDom = function () {
638
+ return !this.root || containsDeep(document, this.root);
639
+ };
640
+ /**
641
+ * Returns whether or not the target element is a child of root.
642
+ * @param {Element} target The target element to check.
643
+ * @return {boolean} True if the target element is a child of root.
644
+ * @private
645
+ */
646
+ IntersectionObserver.prototype._rootContainsTarget = function (target) {
647
+ var rootDoc = (this.root && (this.root.ownerDocument || this.root)) || document;
648
+ return (containsDeep(rootDoc, target) &&
649
+ (!this.root || rootDoc == target.ownerDocument));
650
+ };
651
+ /**
652
+ * Adds the instance to the global IntersectionObserver registry if it isn't
653
+ * already present.
654
+ * @private
655
+ */
656
+ IntersectionObserver.prototype._registerInstance = function () {
657
+ if (registry.indexOf(this) < 0) {
658
+ registry.push(this);
659
+ }
660
+ };
661
+ /**
662
+ * Removes the instance from the global IntersectionObserver registry.
663
+ * @private
664
+ */
665
+ IntersectionObserver.prototype._unregisterInstance = function () {
666
+ var index = registry.indexOf(this);
667
+ if (index != -1)
668
+ registry.splice(index, 1);
669
+ };
670
+ /**
671
+ * Returns the result of the performance.now() method or null in browsers
672
+ * that don't support the API.
673
+ * @return {number} The elapsed time since the page was requested.
674
+ */
675
+ function now() {
676
+ return window.performance && performance.now && performance.now();
677
+ }
678
+ /**
679
+ * Throttles a function and delays its execution, so it's only called at most
680
+ * once within a given time period.
681
+ * @param {Function} fn The function to throttle.
682
+ * @param {number} timeout The amount of time that must pass before the
683
+ * function can be called again.
684
+ * @return {Function} The throttled function.
685
+ */
686
+ function throttle(fn, timeout) {
687
+ var timer = null;
688
+ return function () {
689
+ if (!timer) {
690
+ timer = setTimeout(function () {
691
+ fn();
692
+ timer = null;
693
+ }, timeout);
694
+ }
695
+ };
696
+ }
697
+ /**
698
+ * Adds an event handler to a DOM node ensuring cross-browser compatibility.
699
+ * @param {Node} node The DOM node to add the event handler to.
700
+ * @param {string} event The event name.
701
+ * @param {Function} fn The event handler to add.
702
+ * @param {boolean} opt_useCapture Optionally adds the even to the capture
703
+ * phase. Note: this only works in modern browsers.
704
+ */
705
+ function addEvent(node, event, fn, opt_useCapture) {
706
+ if (typeof node.addEventListener == 'function') {
707
+ node.addEventListener(event, fn, opt_useCapture || false);
708
+ }
709
+ else if (typeof node.attachEvent == 'function') {
710
+ node.attachEvent('on' + event, fn);
711
+ }
712
+ }
713
+ /**
714
+ * Removes a previously added event handler from a DOM node.
715
+ * @param {Node} node The DOM node to remove the event handler from.
716
+ * @param {string} event The event name.
717
+ * @param {Function} fn The event handler to remove.
718
+ * @param {boolean} opt_useCapture If the event handler was added with this
719
+ * flag set to true, it should be set to true here in order to remove it.
720
+ */
721
+ function removeEvent(node, event, fn, opt_useCapture) {
722
+ if (typeof node.removeEventListener == 'function') {
723
+ node.removeEventListener(event, fn, opt_useCapture || false);
724
+ }
725
+ else if (typeof node.detatchEvent == 'function') {
726
+ node.detatchEvent('on' + event, fn);
727
+ }
728
+ }
729
+ /**
730
+ * Returns the intersection between two rect objects.
731
+ * @param {Object} rect1 The first rect.
732
+ * @param {Object} rect2 The second rect.
733
+ * @return {?Object|?ClientRect} The intersection rect or undefined if no
734
+ * intersection is found.
735
+ */
736
+ function computeRectIntersection(rect1, rect2) {
737
+ var top = Math.max(rect1.top, rect2.top);
738
+ var bottom = Math.min(rect1.bottom, rect2.bottom);
739
+ var left = Math.max(rect1.left, rect2.left);
740
+ var right = Math.min(rect1.right, rect2.right);
741
+ var width = right - left;
742
+ var height = bottom - top;
743
+ return (width >= 0 && height >= 0) && {
744
+ top: top,
745
+ bottom: bottom,
746
+ left: left,
747
+ right: right,
748
+ width: width,
749
+ height: height
750
+ } || null;
751
+ }
752
+ /**
753
+ * Shims the native getBoundingClientRect for compatibility with older IE.
754
+ * @param {Element} el The element whose bounding rect to get.
755
+ * @return {DOMRect|ClientRect} The (possibly shimmed) rect of the element.
756
+ */
757
+ function getBoundingClientRect(el) {
758
+ var rect;
759
+ try {
760
+ rect = el.getBoundingClientRect();
761
+ }
762
+ catch (err) {
763
+ // Ignore Windows 7 IE11 "Unspecified error"
764
+ // https://github.com/w3c/IntersectionObserver/pull/205
765
+ }
766
+ if (!rect)
767
+ return getEmptyRect();
768
+ // Older IE
769
+ if (!(rect.width && rect.height)) {
770
+ rect = {
771
+ top: rect.top,
772
+ right: rect.right,
773
+ bottom: rect.bottom,
774
+ left: rect.left,
775
+ width: rect.right - rect.left,
776
+ height: rect.bottom - rect.top
777
+ };
778
+ }
779
+ return rect;
780
+ }
781
+ /**
782
+ * Returns an empty rect object. An empty rect is returned when an element
783
+ * is not in the DOM.
784
+ * @return {ClientRect} The empty rect.
785
+ */
786
+ function getEmptyRect() {
787
+ return {
788
+ top: 0,
789
+ bottom: 0,
790
+ left: 0,
791
+ right: 0,
792
+ width: 0,
793
+ height: 0
794
+ };
795
+ }
796
+ /**
797
+ * Ensure that the result has all of the necessary fields of the DOMRect.
798
+ * Specifically this ensures that `x` and `y` fields are set.
799
+ *
800
+ * @param {?DOMRect|?ClientRect} rect
801
+ * @return {?DOMRect}
802
+ */
803
+ function ensureDOMRect(rect) {
804
+ // A `DOMRect` object has `x` and `y` fields.
805
+ if (!rect || 'x' in rect) {
806
+ return rect;
807
+ }
808
+ // A IE's `ClientRect` type does not have `x` and `y`. The same is the case
809
+ // for internally calculated Rect objects. For the purposes of
810
+ // `IntersectionObserver`, it's sufficient to simply mirror `left` and `top`
811
+ // for these fields.
812
+ return {
813
+ top: rect.top,
814
+ y: rect.top,
815
+ bottom: rect.bottom,
816
+ left: rect.left,
817
+ x: rect.left,
818
+ right: rect.right,
819
+ width: rect.width,
820
+ height: rect.height
821
+ };
822
+ }
823
+ /**
824
+ * Inverts the intersection and bounding rect from the parent (frame) BCR to
825
+ * the local BCR space.
826
+ * @param {DOMRect|ClientRect} parentBoundingRect The parent's bound client rect.
827
+ * @param {DOMRect|ClientRect} parentIntersectionRect The parent's own intersection rect.
828
+ * @return {ClientRect} The local root bounding rect for the parent's children.
829
+ */
830
+ function convertFromParentRect(parentBoundingRect, parentIntersectionRect) {
831
+ var top = parentIntersectionRect.top - parentBoundingRect.top;
832
+ var left = parentIntersectionRect.left - parentBoundingRect.left;
833
+ return {
834
+ top: top,
835
+ left: left,
836
+ height: parentIntersectionRect.height,
837
+ width: parentIntersectionRect.width,
838
+ bottom: top + parentIntersectionRect.height,
839
+ right: left + parentIntersectionRect.width
840
+ };
841
+ }
842
+ /**
843
+ * Checks to see if a parent element contains a child element (including inside
844
+ * shadow DOM).
845
+ * @param {Node} parent The parent element.
846
+ * @param {Node} child The child element.
847
+ * @return {boolean} True if the parent node contains the child node.
848
+ */
849
+ function containsDeep(parent, child) {
850
+ var node = child;
851
+ while (node) {
852
+ if (node == parent)
853
+ return true;
854
+ node = getParentNode(node);
855
+ }
856
+ return false;
857
+ }
858
+ /**
859
+ * Gets the parent node of an element or its host element if the parent node
860
+ * is a shadow root.
861
+ * @param {Node} node The node whose parent to get.
862
+ * @return {Node|null} The parent node or null if no parent exists.
863
+ */
864
+ function getParentNode(node) {
865
+ var parent = node.parentNode;
866
+ if (node.nodeType == /* DOCUMENT */ 9 && node != document) {
867
+ // If this node is a document node, look for the embedding frame.
868
+ return getFrameElement(node);
869
+ }
870
+ // If the parent has element that is assigned through shadow root slot
871
+ if (parent && parent.assignedSlot) {
872
+ parent = parent.assignedSlot.parentNode;
873
+ }
874
+ if (parent && parent.nodeType == 11 && parent.host) {
875
+ // If the parent is a shadow root, return the host element.
876
+ return parent.host;
877
+ }
878
+ return parent;
879
+ }
880
+ /**
881
+ * Returns true if `node` is a Document.
882
+ * @param {!Node} node
883
+ * @returns {boolean}
884
+ */
885
+ function isDoc(node) {
886
+ return node && node.nodeType === 9;
887
+ }
888
+ // Exposes the constructors globally.
889
+ window.IntersectionObserver = IntersectionObserver;
890
+ window.IntersectionObserverEntry = IntersectionObserverEntry;
891
+ }());