@jetbrains/ring-ui 6.0.2-beta.0 → 6.0.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 (614) hide show
  1. package/README.md +10 -6
  2. package/components/alert/alert.css +12 -13
  3. package/components/alert/container.css +4 -6
  4. package/components/alert-service/alert-service.d.ts +4 -2
  5. package/components/alert-service/alert-service.js +3 -2
  6. package/components/alert-service/{alert-service.examples.css → alert-service.stories.css} +0 -3
  7. package/components/analytics/analytics.d.ts +0 -20
  8. package/components/analytics/analytics.js +0 -64
  9. package/components/analytics/analytics__custom-plugin.d.ts +0 -1
  10. package/components/analytics/analytics__custom-plugin.js +0 -3
  11. package/components/auth/down-notification.css +2 -4
  12. package/components/auth/request-builder.d.ts +1 -0
  13. package/components/auth-dialog/auth-dialog.css +9 -11
  14. package/components/auth-dialog-service/auth-dialog-service.d.ts +1 -0
  15. package/components/auth-dialog-service/auth-dialog-service.js +4 -3
  16. package/components/badge/badge.css +1 -3
  17. package/components/button/button.css +10 -12
  18. package/components/button-group/button-group.css +17 -2
  19. package/components/button-set/button-set.css +1 -2
  20. package/components/button-toolbar/button-toolbar.css +1 -2
  21. package/components/checkbox/checkbox.css +3 -4
  22. package/components/code/code.css +3 -5
  23. package/components/code/code.d.ts +1 -0
  24. package/components/confirm/confirm.css +1 -3
  25. package/components/confirm-service/confirm-service.d.ts +1 -1
  26. package/components/confirm-service/confirm-service.js +5 -4
  27. package/components/content-layout/content-layout.css +7 -7
  28. package/components/data-list/data-list.css +4 -5
  29. package/components/date-picker/consts.d.ts +0 -1
  30. package/components/date-picker/date-input.d.ts +0 -1
  31. package/components/date-picker/date-input.js +2 -3
  32. package/components/date-picker/date-picker.css +40 -41
  33. package/components/date-picker/date-picker.js +2 -2
  34. package/components/date-picker/date-popup.d.ts +0 -1
  35. package/components/date-picker/date-popup.js +3 -4
  36. package/components/dialog/dialog.css +16 -13
  37. package/components/dropdown-menu/dropdown-menu.d.ts +11 -1
  38. package/components/editable-heading/editable-heading.css +35 -8
  39. package/components/editable-heading/editable-heading.d.ts +2 -1
  40. package/components/editable-heading/editable-heading.js +45 -6
  41. package/components/error-bubble/error-bubble-legacy.css +6 -8
  42. package/components/error-bubble/error-bubble.css +6 -8
  43. package/components/footer/footer.css +6 -8
  44. package/components/form/form.css +31 -33
  45. package/components/form/form.stories.js +138 -0
  46. package/components/global/global.css +1 -7
  47. package/components/global/react-render-adapter.d.ts +1 -29
  48. package/components/global/react-render-adapter.js +3 -24
  49. package/components/global/rerender-hoc.d.ts +4 -35
  50. package/components/global/rerender-hoc.js +10 -24
  51. package/components/global/variables.css +1 -2
  52. package/components/global/variables.d.ts +0 -1
  53. package/components/global/variables_dark.css +71 -67
  54. package/components/grid/grid.css +6 -6
  55. package/components/grid/row.js +3 -3
  56. package/components/group/group.css +1 -3
  57. package/components/header/header.css +12 -14
  58. package/components/header/profile.js +1 -1
  59. package/components/header/services-link.js +3 -5
  60. package/components/header/services.css +12 -14
  61. package/components/header/smart-services.d.ts +2 -1
  62. package/components/heading/heading.css +24 -6
  63. package/components/http/http.d.ts +6 -6
  64. package/components/http/http.js +0 -12
  65. package/components/hub-source/hub-source.d.ts +8 -6
  66. package/components/icon/icon.css +2 -4
  67. package/components/input/input-legacy.css +2 -4
  68. package/components/input/input.css +8 -10
  69. package/components/input-size/input-size.css +4 -6
  70. package/components/input-size/input-size.stories.js +73 -0
  71. package/components/island/header.js +1 -1
  72. package/components/island/island.css +6 -7
  73. package/components/island-legacy/island-legacy.css +6 -8
  74. package/components/line/line.css +1 -3
  75. package/components/link/link.css +15 -39
  76. package/components/link/link.d.ts +6 -16
  77. package/components/link/link.js +6 -35
  78. package/components/list/consts.d.ts +13 -12
  79. package/components/list/consts.js +11 -15
  80. package/components/list/list.css +17 -20
  81. package/components/list/list.d.ts +15 -4
  82. package/components/list/list.js +9 -7
  83. package/components/list/list__item.js +3 -2
  84. package/components/loader/loader.css +1 -3
  85. package/components/loader/loader__core.js +6 -6
  86. package/components/loader-inline/loader-inline.css +5 -6
  87. package/components/login-dialog/login-dialog.css +1 -3
  88. package/components/login-dialog/service.js +5 -4
  89. package/components/markdown/markdown.css +53 -3
  90. package/components/markdown/markdown.d.ts +4 -7
  91. package/components/markdown/markdown.js +8 -27
  92. package/components/message/message.css +5 -8
  93. package/components/old-browsers-message/old-browsers-message.css +2 -4
  94. package/components/pager/pager.css +2 -4
  95. package/components/pager/pager.js +2 -8
  96. package/components/panel/panel.css +3 -5
  97. package/components/popup/popup.js +3 -3
  98. package/components/popup/position.js +4 -1
  99. package/components/popup-menu/popup-menu.d.ts +22 -2
  100. package/components/progress-bar/progress-bar.css +9 -4
  101. package/components/progress-bar/progress-bar.d.ts +6 -0
  102. package/components/progress-bar/progress-bar.js +9 -3
  103. package/components/query-assist/query-assist.css +3 -4
  104. package/components/query-assist/query-assist.d.ts +3 -28
  105. package/components/query-assist/query-assist.js +12 -5
  106. package/components/radio/radio.css +7 -10
  107. package/components/select/select-popup.css +23 -11
  108. package/components/select/select.css +13 -14
  109. package/components/select/select.d.ts +2 -28
  110. package/components/select/select.js +28 -28
  111. package/components/select/select__popup.js +5 -2
  112. package/components/sidebar/sidebar.css +13 -15
  113. package/components/table/table.css +15 -17
  114. package/components/table/table.js +1 -1
  115. package/components/table-legacy/table-legacy.css +22 -24
  116. package/components/table-legacy/table-legacy__toolbar.css +2 -4
  117. package/components/tabs/collapsible-more.js +1 -1
  118. package/components/tabs/collapsible-tab.js +1 -1
  119. package/components/tabs/collapsible-tabs.js +2 -2
  120. package/components/tabs/dumb-tabs.js +1 -1
  121. package/components/tabs/tab-link.js +7 -7
  122. package/components/tabs/tabs.css +3 -4
  123. package/components/tag/tag.css +12 -13
  124. package/components/tags-input/tags-input.css +1 -2
  125. package/components/tags-input/tags-input.d.ts +3 -28
  126. package/components/tags-input/tags-input.js +4 -1
  127. package/components/toggle/toggle.css +28 -23
  128. package/components/tooltip/tooltip.css +3 -5
  129. package/components/user-agreement/service.d.ts +3 -1
  130. package/components/user-agreement/service.js +8 -7
  131. package/components/user-agreement/user-agreement.css +2 -2
  132. package/components/user-agreement/user-agreement.d.ts +2 -3
  133. package/components/user-agreement/user-agreement.js +2 -4
  134. package/components/user-card/card.d.ts +2 -3
  135. package/components/user-card/card.js +8 -8
  136. package/components/user-card/user-card.css +3 -5
  137. package/package.json +82 -90
  138. package/typings.d.ts +0 -54
  139. package/webpack.config.js +1 -24
  140. package/components/analytics/analytics__fus-plugin.d.ts +0 -52
  141. package/components/analytics/analytics__fus-plugin.js +0 -22
  142. package/components/analytics/analytics__ga-plugin.d.ts +0 -27
  143. package/components/analytics/analytics__ga-plugin.js +0 -89
  144. package/components/analytics/analytics__plugin-utils.d.ts +0 -31
  145. package/components/analytics/analytics__plugin-utils.js +0 -92
  146. package/components/auth/landing-entry.d.ts +0 -3
  147. package/components/auth/landing-entry.js +0 -2
  148. package/components/auth/landing.d.ts +0 -2
  149. package/components/auth/landing.html +0 -12
  150. package/components/auth/landing.js +0 -26
  151. package/components/form/form.examples.js +0 -118
  152. package/components/input-size/input-size.examples.js +0 -72
  153. package/components/link/link__legacy.css +0 -29
  154. package/components/loader/__mocks__/loader__core.js +0 -5
  155. package/components/markdown/code.d.ts +0 -7
  156. package/components/markdown/code.js +0 -17
  157. package/components/markdown/heading.d.ts +0 -11
  158. package/components/markdown/heading.js +0 -9
  159. package/components/markdown/link.d.ts +0 -12
  160. package/components/markdown/link.js +0 -10
  161. package/components/old-browsers-message/__mocks__/old-browsers-message.js +0 -1
  162. package/dist/_helpers/_rollupPluginBabelHelpers.js +0 -657
  163. package/dist/_helpers/anchor.js +0 -31
  164. package/dist/_helpers/badge.js +0 -3
  165. package/dist/_helpers/button__classes.js +0 -24
  166. package/dist/_helpers/caption.js +0 -31
  167. package/dist/_helpers/card.js +0 -132
  168. package/dist/_helpers/date-picker.js +0 -3
  169. package/dist/_helpers/dialog__body-scroll-preventer.js +0 -55
  170. package/dist/_helpers/grid.js +0 -3
  171. package/dist/_helpers/header.js +0 -3
  172. package/dist/_helpers/icon__svg.js +0 -73
  173. package/dist/_helpers/input.js +0 -229
  174. package/dist/_helpers/island.js +0 -3
  175. package/dist/_helpers/list.js +0 -3
  176. package/dist/_helpers/query-assist__suggestions.js +0 -102
  177. package/dist/_helpers/select__filter.js +0 -94
  178. package/dist/_helpers/services-link.js +0 -50
  179. package/dist/_helpers/sidebar.js +0 -117
  180. package/dist/_helpers/tab-link.js +0 -36
  181. package/dist/_helpers/table.js +0 -3
  182. package/dist/_helpers/theme.js +0 -93
  183. package/dist/_helpers/title.js +0 -100
  184. package/dist/alert/alert.d.ts +0 -113
  185. package/dist/alert/alert.js +0 -281
  186. package/dist/alert/container.d.ts +0 -15
  187. package/dist/alert/container.js +0 -52
  188. package/dist/alert-service/alert-service.d.ts +0 -34
  189. package/dist/alert-service/alert-service.js +0 -221
  190. package/dist/analytics/analytics.d.ts +0 -38
  191. package/dist/analytics/analytics.js +0 -108
  192. package/dist/analytics/analytics__custom-plugin.d.ts +0 -29
  193. package/dist/analytics/analytics__custom-plugin.js +0 -95
  194. package/dist/analytics/analytics__fus-plugin.d.ts +0 -52
  195. package/dist/analytics/analytics__fus-plugin.js +0 -38
  196. package/dist/analytics/analytics__ga-plugin.d.ts +0 -27
  197. package/dist/analytics/analytics__ga-plugin.js +0 -118
  198. package/dist/analytics/analytics__plugin-utils.d.ts +0 -31
  199. package/dist/analytics/analytics__plugin-utils.js +0 -101
  200. package/dist/auth/auth.d.ts +0 -3
  201. package/dist/auth/auth.js +0 -135
  202. package/dist/auth/auth__core.d.ts +0 -236
  203. package/dist/auth/auth__core.js +0 -1656
  204. package/dist/auth/background-flow.d.ts +0 -31
  205. package/dist/auth/background-flow.js +0 -148
  206. package/dist/auth/down-notification.d.ts +0 -15
  207. package/dist/auth/down-notification.js +0 -158
  208. package/dist/auth/iframe-flow.d.ts +0 -20
  209. package/dist/auth/iframe-flow.js +0 -197
  210. package/dist/auth/landing-entry.d.ts +0 -3
  211. package/dist/auth/landing-entry.js +0 -5
  212. package/dist/auth/landing.d.ts +0 -2
  213. package/dist/auth/landing.js +0 -157
  214. package/dist/auth/request-builder.d.ts +0 -47
  215. package/dist/auth/request-builder.js +0 -103
  216. package/dist/auth/response-parser.d.ts +0 -70
  217. package/dist/auth/response-parser.js +0 -139
  218. package/dist/auth/storage.d.ts +0 -112
  219. package/dist/auth/storage.js +0 -427
  220. package/dist/auth/token-validator.d.ts +0 -93
  221. package/dist/auth/token-validator.js +0 -269
  222. package/dist/auth/window-flow.d.ts +0 -26
  223. package/dist/auth/window-flow.js +0 -155
  224. package/dist/auth-dialog/auth-dialog.d.ts +0 -60
  225. package/dist/auth-dialog/auth-dialog.js +0 -222
  226. package/dist/auth-dialog-service/auth-dialog-service.d.ts +0 -5
  227. package/dist/auth-dialog-service/auth-dialog-service.js +0 -92
  228. package/dist/avatar/avatar-example-datauri.d.ts +0 -1
  229. package/dist/avatar/avatar-example-datauri.js +0 -4
  230. package/dist/avatar/avatar.d.ts +0 -52
  231. package/dist/avatar/avatar.js +0 -184
  232. package/dist/avatar/fallback-avatar.d.ts +0 -17
  233. package/dist/avatar/fallback-avatar.js +0 -154
  234. package/dist/badge/badge.d.ts +0 -24
  235. package/dist/badge/badge.js +0 -55
  236. package/dist/button/button.d.ts +0 -67
  237. package/dist/button/button.js +0 -132
  238. package/dist/button/button__classes.d.ts +0 -2
  239. package/dist/button/button__classes.js +0 -3
  240. package/dist/button-group/button-group.d.ts +0 -18
  241. package/dist/button-group/button-group.js +0 -48
  242. package/dist/button-group/caption.d.ts +0 -8
  243. package/dist/button-group/caption.js +0 -5
  244. package/dist/button-set/button-set.d.ts +0 -16
  245. package/dist/button-set/button-set.js +0 -47
  246. package/dist/button-toolbar/button-toolbar.d.ts +0 -16
  247. package/dist/button-toolbar/button-toolbar.js +0 -46
  248. package/dist/caret/caret.d.ts +0 -66
  249. package/dist/caret/caret.js +0 -261
  250. package/dist/checkbox/checkbox.d.ts +0 -45
  251. package/dist/checkbox/checkbox.js +0 -131
  252. package/dist/clipboard/clipboard-fallback.d.ts +0 -2
  253. package/dist/clipboard/clipboard-fallback.js +0 -42
  254. package/dist/clipboard/clipboard.d.ts +0 -5
  255. package/dist/clipboard/clipboard.js +0 -185
  256. package/dist/code/code.d.ts +0 -43
  257. package/dist/code/code.js +0 -191
  258. package/dist/confirm/confirm.d.ts +0 -48
  259. package/dist/confirm/confirm.js +0 -155
  260. package/dist/confirm-service/confirm-service.d.ts +0 -21
  261. package/dist/confirm-service/confirm-service.js +0 -142
  262. package/dist/content-layout/content-layout.d.ts +0 -26
  263. package/dist/content-layout/content-layout.js +0 -77
  264. package/dist/content-layout/sidebar.d.ts +0 -31
  265. package/dist/content-layout/sidebar.js +0 -7
  266. package/dist/contenteditable/contenteditable.d.ts +0 -47
  267. package/dist/contenteditable/contenteditable.js +0 -84
  268. package/dist/control-label/control-label.d.ts +0 -11
  269. package/dist/control-label/control-label.js +0 -32
  270. package/dist/data-list/data-list.d.ts +0 -85
  271. package/dist/data-list/data-list.js +0 -249
  272. package/dist/data-list/data-list.mock.d.ts +0 -16
  273. package/dist/data-list/data-list.mock.js +0 -197
  274. package/dist/data-list/item.d.ts +0 -50
  275. package/dist/data-list/item.js +0 -236
  276. package/dist/data-list/selection.d.ts +0 -16
  277. package/dist/data-list/selection.js +0 -149
  278. package/dist/data-list/title.d.ts +0 -26
  279. package/dist/data-list/title.js +0 -29
  280. package/dist/date-picker/consts.d.ts +0 -99
  281. package/dist/date-picker/consts.js +0 -46
  282. package/dist/date-picker/date-input.d.ts +0 -48
  283. package/dist/date-picker/date-input.js +0 -180
  284. package/dist/date-picker/date-picker.d.ts +0 -77
  285. package/dist/date-picker/date-picker.js +0 -406
  286. package/dist/date-picker/date-popup.d.ts +0 -56
  287. package/dist/date-picker/date-popup.js +0 -488
  288. package/dist/date-picker/day.d.ts +0 -30
  289. package/dist/date-picker/day.js +0 -119
  290. package/dist/date-picker/formats.d.ts +0 -2
  291. package/dist/date-picker/formats.js +0 -3
  292. package/dist/date-picker/month-names.d.ts +0 -13
  293. package/dist/date-picker/month-names.js +0 -109
  294. package/dist/date-picker/month-slider.d.ts +0 -29
  295. package/dist/date-picker/month-slider.js +0 -92
  296. package/dist/date-picker/month.d.ts +0 -14
  297. package/dist/date-picker/month.js +0 -58
  298. package/dist/date-picker/months.d.ts +0 -11
  299. package/dist/date-picker/months.js +0 -134
  300. package/dist/date-picker/weekdays.d.ts +0 -13
  301. package/dist/date-picker/weekdays.js +0 -38
  302. package/dist/date-picker/years.d.ts +0 -25
  303. package/dist/date-picker/years.js +0 -133
  304. package/dist/dialog/dialog.d.ts +0 -64
  305. package/dist/dialog/dialog.js +0 -238
  306. package/dist/dialog/dialog__body-scroll-preventer.d.ts +0 -9
  307. package/dist/dialog/dialog__body-scroll-preventer.js +0 -7
  308. package/dist/dropdown/anchor.d.ts +0 -11
  309. package/dist/dropdown/anchor.js +0 -25
  310. package/dist/dropdown/dropdown.d.ts +0 -87
  311. package/dist/dropdown/dropdown.js +0 -246
  312. package/dist/dropdown-menu/dropdown-menu.d.ts +0 -26
  313. package/dist/dropdown-menu/dropdown-menu.js +0 -202
  314. package/dist/editable-heading/editable-heading.d.ts +0 -31
  315. package/dist/editable-heading/editable-heading.js +0 -203
  316. package/dist/error-bubble/error-bubble.d.ts +0 -18
  317. package/dist/error-bubble/error-bubble.js +0 -90
  318. package/dist/error-message/error-message.d.ts +0 -27
  319. package/dist/error-message/error-message.js +0 -79
  320. package/dist/footer/footer.d.ts +0 -28
  321. package/dist/footer/footer.js +0 -118
  322. package/dist/global/compose.d.ts +0 -7
  323. package/dist/global/compose.js +0 -17
  324. package/dist/global/composeRefs.d.ts +0 -3
  325. package/dist/global/composeRefs.js +0 -19
  326. package/dist/global/controls-height.d.ts +0 -9
  327. package/dist/global/controls-height.js +0 -19
  328. package/dist/global/create-stateful-context.d.ts +0 -27
  329. package/dist/global/create-stateful-context.js +0 -49
  330. package/dist/global/data-tests.d.ts +0 -3
  331. package/dist/global/data-tests.js +0 -30
  332. package/dist/global/dom.d.ts +0 -37
  333. package/dist/global/dom.js +0 -153
  334. package/dist/global/focus-sensor-hoc.d.ts +0 -19
  335. package/dist/global/focus-sensor-hoc.js +0 -165
  336. package/dist/global/fuzzy-highlight.d.ts +0 -11
  337. package/dist/global/fuzzy-highlight.js +0 -90
  338. package/dist/global/get-event-key.d.ts +0 -2
  339. package/dist/global/get-event-key.js +0 -101
  340. package/dist/global/get-uid.d.ts +0 -1
  341. package/dist/global/get-uid.js +0 -22
  342. package/dist/global/inject-styles.d.ts +0 -3
  343. package/dist/global/inject-styles.js +0 -22
  344. package/dist/global/linear-function.d.ts +0 -6
  345. package/dist/global/linear-function.js +0 -15
  346. package/dist/global/listeners.d.ts +0 -8
  347. package/dist/global/listeners.js +0 -59
  348. package/dist/global/memoize.d.ts +0 -1
  349. package/dist/global/memoize.js +0 -24
  350. package/dist/global/normalize-indent.d.ts +0 -1
  351. package/dist/global/normalize-indent.js +0 -61
  352. package/dist/global/promise-with-timeout.d.ts +0 -5
  353. package/dist/global/promise-with-timeout.js +0 -19
  354. package/dist/global/prop-types.d.ts +0 -4
  355. package/dist/global/prop-types.js +0 -9
  356. package/dist/global/react-dom-renderer.d.ts +0 -16
  357. package/dist/global/react-dom-renderer.js +0 -55
  358. package/dist/global/react-render-adapter.d.ts +0 -29
  359. package/dist/global/react-render-adapter.js +0 -36
  360. package/dist/global/rerender-hoc.d.ts +0 -41
  361. package/dist/global/rerender-hoc.js +0 -58
  362. package/dist/global/schedule-raf.d.ts +0 -1
  363. package/dist/global/schedule-raf.js +0 -28
  364. package/dist/global/sniffer.d.ts +0 -3
  365. package/dist/global/sniffer.js +0 -6
  366. package/dist/global/theme.d.ts +0 -21
  367. package/dist/global/theme.js +0 -44
  368. package/dist/global/trivial-template-tag.d.ts +0 -1
  369. package/dist/global/trivial-template-tag.js +0 -21
  370. package/dist/global/typescript-utils.d.ts +0 -2
  371. package/dist/global/typescript-utils.js +0 -8
  372. package/dist/global/url.d.ts +0 -57
  373. package/dist/global/url.js +0 -142
  374. package/dist/global/use-event-callback.d.ts +0 -1
  375. package/dist/global/use-event-callback.js +0 -17
  376. package/dist/global/variables.d.ts +0 -90
  377. package/dist/global/variables.js +0 -1
  378. package/dist/grid/col.d.ts +0 -31
  379. package/dist/grid/col.js +0 -81
  380. package/dist/grid/grid.d.ts +0 -14
  381. package/dist/grid/grid.js +0 -49
  382. package/dist/grid/row.d.ts +0 -40
  383. package/dist/grid/row.js +0 -68
  384. package/dist/group/group.d.ts +0 -12
  385. package/dist/group/group.js +0 -39
  386. package/dist/header/header.d.ts +0 -34
  387. package/dist/header/header.js +0 -191
  388. package/dist/header/logo.d.ts +0 -14
  389. package/dist/header/logo.js +0 -52
  390. package/dist/header/profile.d.ts +0 -75
  391. package/dist/header/profile.js +0 -258
  392. package/dist/header/services-link.d.ts +0 -25
  393. package/dist/header/services-link.js +0 -18
  394. package/dist/header/services.d.ts +0 -33
  395. package/dist/header/services.js +0 -173
  396. package/dist/header/smart-profile.d.ts +0 -36
  397. package/dist/header/smart-profile.js +0 -307
  398. package/dist/header/smart-services.d.ts +0 -25
  399. package/dist/header/smart-services.js +0 -194
  400. package/dist/header/tray-icon.d.ts +0 -32
  401. package/dist/header/tray-icon.js +0 -56
  402. package/dist/header/tray.d.ts +0 -9
  403. package/dist/header/tray.js +0 -41
  404. package/dist/heading/heading.d.ts +0 -25
  405. package/dist/heading/heading.js +0 -68
  406. package/dist/http/http.d.ts +0 -61
  407. package/dist/http/http.js +0 -399
  408. package/dist/http/http.mock.d.ts +0 -20
  409. package/dist/http/http.mock.js +0 -115
  410. package/dist/hub-source/hub-source.d.ts +0 -42
  411. package/dist/hub-source/hub-source.js +0 -217
  412. package/dist/hub-source/hub-source__user.d.ts +0 -4
  413. package/dist/hub-source/hub-source__user.js +0 -61
  414. package/dist/hub-source/hub-source__users-groups.d.ts +0 -24
  415. package/dist/hub-source/hub-source__users-groups.js +0 -87
  416. package/dist/i18n/i18n-context.d.ts +0 -13
  417. package/dist/i18n/i18n-context.js +0 -28
  418. package/dist/i18n/i18n.d.ts +0 -59
  419. package/dist/i18n/i18n.js +0 -140
  420. package/dist/icon/icon.d.ts +0 -43
  421. package/dist/icon/icon.js +0 -108
  422. package/dist/icon/icon__constants.d.ts +0 -30
  423. package/dist/icon/icon__constants.js +0 -34
  424. package/dist/icon/icon__svg.d.ts +0 -15
  425. package/dist/icon/icon__svg.js +0 -15
  426. package/dist/icon/index.d.ts +0 -2
  427. package/dist/icon/index.js +0 -18
  428. package/dist/input/input.d.ts +0 -77
  429. package/dist/input/input.js +0 -36
  430. package/dist/island/adaptive-island-hoc.d.ts +0 -61
  431. package/dist/island/adaptive-island-hoc.js +0 -53
  432. package/dist/island/content.d.ts +0 -43
  433. package/dist/island/content.js +0 -147
  434. package/dist/island/header.d.ts +0 -8
  435. package/dist/island/header.js +0 -97
  436. package/dist/island/island.d.ts +0 -78
  437. package/dist/island/island.js +0 -58
  438. package/dist/island-legacy/content-legacy.d.ts +0 -10
  439. package/dist/island-legacy/content-legacy.js +0 -34
  440. package/dist/island-legacy/header-legacy.d.ts +0 -10
  441. package/dist/island-legacy/header-legacy.js +0 -36
  442. package/dist/island-legacy/island-legacy.d.ts +0 -12
  443. package/dist/island-legacy/island-legacy.js +0 -36
  444. package/dist/link/clickableLink.d.ts +0 -20
  445. package/dist/link/clickableLink.js +0 -69
  446. package/dist/link/link.d.ts +0 -148
  447. package/dist/link/link.js +0 -122
  448. package/dist/list/consts.d.ts +0 -76
  449. package/dist/list/consts.js +0 -31
  450. package/dist/list/list.d.ts +0 -194
  451. package/dist/list/list.js +0 -801
  452. package/dist/list/list__custom.d.ts +0 -6
  453. package/dist/list/list__custom.js +0 -89
  454. package/dist/list/list__hint.d.ts +0 -15
  455. package/dist/list/list__hint.js +0 -33
  456. package/dist/list/list__item.d.ts +0 -8
  457. package/dist/list/list__item.js +0 -230
  458. package/dist/list/list__link.d.ts +0 -9
  459. package/dist/list/list__link.js +0 -78
  460. package/dist/list/list__separator.d.ts +0 -5
  461. package/dist/list/list__separator.js +0 -37
  462. package/dist/list/list__title.d.ts +0 -5
  463. package/dist/list/list__title.js +0 -46
  464. package/dist/list/list__users-groups-source.d.ts +0 -27
  465. package/dist/list/list__users-groups-source.js +0 -197
  466. package/dist/loader/loader.d.ts +0 -28
  467. package/dist/loader/loader.js +0 -95
  468. package/dist/loader/loader__core.d.ts +0 -75
  469. package/dist/loader/loader__core.js +0 -317
  470. package/dist/loader-inline/loader-inline.d.ts +0 -18
  471. package/dist/loader-inline/loader-inline.js +0 -50
  472. package/dist/loader-screen/loader-screen.d.ts +0 -17
  473. package/dist/loader-screen/loader-screen.js +0 -64
  474. package/dist/login-dialog/login-dialog.d.ts +0 -47
  475. package/dist/login-dialog/login-dialog.js +0 -218
  476. package/dist/login-dialog/service.d.ts +0 -2
  477. package/dist/login-dialog/service.js +0 -99
  478. package/dist/markdown/code.d.ts +0 -7
  479. package/dist/markdown/code.js +0 -54
  480. package/dist/markdown/heading.d.ts +0 -11
  481. package/dist/markdown/heading.js +0 -20
  482. package/dist/markdown/link.d.ts +0 -12
  483. package/dist/markdown/link.js +0 -34
  484. package/dist/markdown/markdown.d.ts +0 -15
  485. package/dist/markdown/markdown.js +0 -101
  486. package/dist/message/message.d.ts +0 -55
  487. package/dist/message/message.js +0 -255
  488. package/dist/old-browsers-message/old-browsers-message.d.ts +0 -2
  489. package/dist/old-browsers-message/old-browsers-message.js +0 -93
  490. package/dist/old-browsers-message/old-browsers-message__stop.d.ts +0 -1
  491. package/dist/old-browsers-message/old-browsers-message__stop.js +0 -12
  492. package/dist/old-browsers-message/white-list.d.ts +0 -2
  493. package/dist/old-browsers-message/white-list.js +0 -36
  494. package/dist/pager/pager.d.ts +0 -78
  495. package/dist/pager/pager.js +0 -394
  496. package/dist/panel/panel.d.ts +0 -12
  497. package/dist/panel/panel.js +0 -39
  498. package/dist/permissions/permissions.d.ts +0 -111
  499. package/dist/permissions/permissions.js +0 -221
  500. package/dist/permissions/permissions__cache.d.ts +0 -93
  501. package/dist/permissions/permissions__cache.js +0 -257
  502. package/dist/popup/popup.consts.d.ts +0 -37
  503. package/dist/popup/popup.consts.js +0 -44
  504. package/dist/popup/popup.d.ts +0 -147
  505. package/dist/popup/popup.js +0 -420
  506. package/dist/popup/popup.target.d.ts +0 -7
  507. package/dist/popup/popup.target.js +0 -24
  508. package/dist/popup/position.d.ts +0 -30
  509. package/dist/popup/position.js +0 -260
  510. package/dist/popup-menu/popup-menu.d.ts +0 -60
  511. package/dist/popup-menu/popup-menu.js +0 -144
  512. package/dist/progress-bar/progress-bar.d.ts +0 -58
  513. package/dist/progress-bar/progress-bar.js +0 -111
  514. package/dist/query-assist/query-assist.d.ts +0 -331
  515. package/dist/query-assist/query-assist.js +0 -1080
  516. package/dist/query-assist/query-assist__suggestions.d.ts +0 -29
  517. package/dist/query-assist/query-assist__suggestions.js +0 -77
  518. package/dist/radio/radio.d.ts +0 -18
  519. package/dist/radio/radio.js +0 -48
  520. package/dist/radio/radio__item.d.ts +0 -28
  521. package/dist/radio/radio__item.js +0 -88
  522. package/dist/select/select.d.ts +0 -302
  523. package/dist/select/select.js +0 -1281
  524. package/dist/select/select__filter.d.ts +0 -19
  525. package/dist/select/select__filter.js +0 -87
  526. package/dist/select/select__popup.d.ts +0 -166
  527. package/dist/select/select__popup.js +0 -625
  528. package/dist/shortcuts/core.d.ts +0 -74
  529. package/dist/shortcuts/core.js +0 -249
  530. package/dist/shortcuts/shortcut-title.d.ts +0 -1
  531. package/dist/shortcuts/shortcut-title.js +0 -56
  532. package/dist/shortcuts/shortcuts-hoc.d.ts +0 -65
  533. package/dist/shortcuts/shortcuts-hoc.js +0 -61
  534. package/dist/shortcuts/shortcuts.d.ts +0 -28
  535. package/dist/shortcuts/shortcuts.js +0 -92
  536. package/dist/storage/storage.d.ts +0 -18
  537. package/dist/storage/storage.js +0 -94
  538. package/dist/storage/storage__fallback.d.ts +0 -79
  539. package/dist/storage/storage__fallback.js +0 -254
  540. package/dist/storage/storage__local.d.ts +0 -38
  541. package/dist/storage/storage__local.js +0 -219
  542. package/dist/style.css +0 -1
  543. package/dist/tab-trap/tab-trap.d.ts +0 -43
  544. package/dist/tab-trap/tab-trap.js +0 -182
  545. package/dist/table/cell.d.ts +0 -13
  546. package/dist/table/cell.js +0 -37
  547. package/dist/table/disable-hover-hoc.d.ts +0 -64
  548. package/dist/table/disable-hover-hoc.js +0 -62
  549. package/dist/table/header-cell.d.ts +0 -43
  550. package/dist/table/header-cell.js +0 -105
  551. package/dist/table/header.d.ts +0 -56
  552. package/dist/table/header.js +0 -150
  553. package/dist/table/multitable.d.ts +0 -25
  554. package/dist/table/multitable.js +0 -140
  555. package/dist/table/row-with-focus-sensor.d.ts +0 -18
  556. package/dist/table/row-with-focus-sensor.js +0 -119
  557. package/dist/table/row.d.ts +0 -59
  558. package/dist/table/row.js +0 -294
  559. package/dist/table/selection-adapter.d.ts +0 -5
  560. package/dist/table/selection-adapter.js +0 -14
  561. package/dist/table/selection-shortcuts-hoc.d.ts +0 -17
  562. package/dist/table/selection-shortcuts-hoc.js +0 -206
  563. package/dist/table/selection.d.ts +0 -47
  564. package/dist/table/selection.js +0 -258
  565. package/dist/table/smart-table.d.ts +0 -64
  566. package/dist/table/smart-table.js +0 -151
  567. package/dist/table/table.d.ts +0 -159
  568. package/dist/table/table.js +0 -457
  569. package/dist/tabs/collapsible-more.d.ts +0 -29
  570. package/dist/tabs/collapsible-more.js +0 -226
  571. package/dist/tabs/collapsible-tab.d.ts +0 -16
  572. package/dist/tabs/collapsible-tab.js +0 -89
  573. package/dist/tabs/collapsible-tabs.d.ts +0 -43
  574. package/dist/tabs/collapsible-tabs.js +0 -355
  575. package/dist/tabs/custom-item.d.ts +0 -9
  576. package/dist/tabs/custom-item.js +0 -11
  577. package/dist/tabs/dumb-tabs.d.ts +0 -35
  578. package/dist/tabs/dumb-tabs.js +0 -191
  579. package/dist/tabs/smart-tabs.d.ts +0 -20
  580. package/dist/tabs/smart-tabs.js +0 -144
  581. package/dist/tabs/tab-link.d.ts +0 -18
  582. package/dist/tabs/tab-link.js +0 -18
  583. package/dist/tabs/tab.d.ts +0 -27
  584. package/dist/tabs/tab.js +0 -41
  585. package/dist/tabs/tabs.d.ts +0 -7
  586. package/dist/tabs/tabs.js +0 -102
  587. package/dist/tag/tag.d.ts +0 -64
  588. package/dist/tag/tag.js +0 -208
  589. package/dist/tags-input/tags-input.d.ts +0 -163
  590. package/dist/tags-input/tags-input.js +0 -532
  591. package/dist/tags-list/tags-list.d.ts +0 -46
  592. package/dist/tags-list/tags-list.js +0 -103
  593. package/dist/text/text.d.ts +0 -23
  594. package/dist/text/text.js +0 -54
  595. package/dist/toggle/toggle.d.ts +0 -39
  596. package/dist/toggle/toggle.js +0 -86
  597. package/dist/tooltip/tooltip.d.ts +0 -65
  598. package/dist/tooltip/tooltip.js +0 -229
  599. package/dist/user-agreement/service.d.ts +0 -67
  600. package/dist/user-agreement/service.js +0 -501
  601. package/dist/user-agreement/toolbox.eula.d.ts +0 -2
  602. package/dist/user-agreement/toolbox.eula.js +0 -3
  603. package/dist/user-agreement/user-agreement.d.ts +0 -61
  604. package/dist/user-agreement/user-agreement.js +0 -191
  605. package/dist/user-card/card.d.ts +0 -71
  606. package/dist/user-card/card.js +0 -82
  607. package/dist/user-card/smart-user-card-tooltip.d.ts +0 -20
  608. package/dist/user-card/smart-user-card-tooltip.js +0 -174
  609. package/dist/user-card/tooltip.d.ts +0 -36
  610. package/dist/user-card/tooltip.js +0 -146
  611. package/dist/user-card/user-card.d.ts +0 -11
  612. package/dist/user-card/user-card.js +0 -87
  613. /package/components/list/{list.examples.css → list.stories.css} +0 -0
  614. /package/components/table/{table.examples.json → table.stories.json} +0 -0
@@ -1,657 +0,0 @@
1
- function _iterableToArrayLimit(r, l) {
2
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
3
- if (null != t) {
4
- var e,
5
- n,
6
- i,
7
- u,
8
- a = [],
9
- f = !0,
10
- o = !1;
11
- try {
12
- if (i = (t = t.call(r)).next, 0 === l) {
13
- if (Object(t) !== t) return;
14
- f = !1;
15
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
16
- } catch (r) {
17
- o = !0, n = r;
18
- } finally {
19
- try {
20
- if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
21
- } finally {
22
- if (o) throw n;
23
- }
24
- }
25
- return a;
26
- }
27
- }
28
- function ownKeys(e, r) {
29
- var t = Object.keys(e);
30
- if (Object.getOwnPropertySymbols) {
31
- var o = Object.getOwnPropertySymbols(e);
32
- r && (o = o.filter(function (r) {
33
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
34
- })), t.push.apply(t, o);
35
- }
36
- return t;
37
- }
38
- function _objectSpread2(e) {
39
- for (var r = 1; r < arguments.length; r++) {
40
- var t = null != arguments[r] ? arguments[r] : {};
41
- r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
42
- _defineProperty(e, r, t[r]);
43
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
44
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
45
- });
46
- }
47
- return e;
48
- }
49
- function _regeneratorRuntime() {
50
- _regeneratorRuntime = function () {
51
- return e;
52
- };
53
- var t,
54
- e = {},
55
- r = Object.prototype,
56
- n = r.hasOwnProperty,
57
- o = Object.defineProperty || function (t, e, r) {
58
- t[e] = r.value;
59
- },
60
- i = "function" == typeof Symbol ? Symbol : {},
61
- a = i.iterator || "@@iterator",
62
- c = i.asyncIterator || "@@asyncIterator",
63
- u = i.toStringTag || "@@toStringTag";
64
- function define(t, e, r) {
65
- return Object.defineProperty(t, e, {
66
- value: r,
67
- enumerable: !0,
68
- configurable: !0,
69
- writable: !0
70
- }), t[e];
71
- }
72
- try {
73
- define({}, "");
74
- } catch (t) {
75
- define = function (t, e, r) {
76
- return t[e] = r;
77
- };
78
- }
79
- function wrap(t, e, r, n) {
80
- var i = e && e.prototype instanceof Generator ? e : Generator,
81
- a = Object.create(i.prototype),
82
- c = new Context(n || []);
83
- return o(a, "_invoke", {
84
- value: makeInvokeMethod(t, r, c)
85
- }), a;
86
- }
87
- function tryCatch(t, e, r) {
88
- try {
89
- return {
90
- type: "normal",
91
- arg: t.call(e, r)
92
- };
93
- } catch (t) {
94
- return {
95
- type: "throw",
96
- arg: t
97
- };
98
- }
99
- }
100
- e.wrap = wrap;
101
- var h = "suspendedStart",
102
- l = "suspendedYield",
103
- f = "executing",
104
- s = "completed",
105
- y = {};
106
- function Generator() {}
107
- function GeneratorFunction() {}
108
- function GeneratorFunctionPrototype() {}
109
- var p = {};
110
- define(p, a, function () {
111
- return this;
112
- });
113
- var d = Object.getPrototypeOf,
114
- v = d && d(d(values([])));
115
- v && v !== r && n.call(v, a) && (p = v);
116
- var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
117
- function defineIteratorMethods(t) {
118
- ["next", "throw", "return"].forEach(function (e) {
119
- define(t, e, function (t) {
120
- return this._invoke(e, t);
121
- });
122
- });
123
- }
124
- function AsyncIterator(t, e) {
125
- function invoke(r, o, i, a) {
126
- var c = tryCatch(t[r], t, o);
127
- if ("throw" !== c.type) {
128
- var u = c.arg,
129
- h = u.value;
130
- return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
131
- invoke("next", t, i, a);
132
- }, function (t) {
133
- invoke("throw", t, i, a);
134
- }) : e.resolve(h).then(function (t) {
135
- u.value = t, i(u);
136
- }, function (t) {
137
- return invoke("throw", t, i, a);
138
- });
139
- }
140
- a(c.arg);
141
- }
142
- var r;
143
- o(this, "_invoke", {
144
- value: function (t, n) {
145
- function callInvokeWithMethodAndArg() {
146
- return new e(function (e, r) {
147
- invoke(t, n, e, r);
148
- });
149
- }
150
- return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
151
- }
152
- });
153
- }
154
- function makeInvokeMethod(e, r, n) {
155
- var o = h;
156
- return function (i, a) {
157
- if (o === f) throw new Error("Generator is already running");
158
- if (o === s) {
159
- if ("throw" === i) throw a;
160
- return {
161
- value: t,
162
- done: !0
163
- };
164
- }
165
- for (n.method = i, n.arg = a;;) {
166
- var c = n.delegate;
167
- if (c) {
168
- var u = maybeInvokeDelegate(c, n);
169
- if (u) {
170
- if (u === y) continue;
171
- return u;
172
- }
173
- }
174
- if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
175
- if (o === h) throw o = s, n.arg;
176
- n.dispatchException(n.arg);
177
- } else "return" === n.method && n.abrupt("return", n.arg);
178
- o = f;
179
- var p = tryCatch(e, r, n);
180
- if ("normal" === p.type) {
181
- if (o = n.done ? s : l, p.arg === y) continue;
182
- return {
183
- value: p.arg,
184
- done: n.done
185
- };
186
- }
187
- "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
188
- }
189
- };
190
- }
191
- function maybeInvokeDelegate(e, r) {
192
- var n = r.method,
193
- o = e.iterator[n];
194
- if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
195
- var i = tryCatch(o, e.iterator, r.arg);
196
- if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
197
- var a = i.arg;
198
- return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
199
- }
200
- function pushTryEntry(t) {
201
- var e = {
202
- tryLoc: t[0]
203
- };
204
- 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
205
- }
206
- function resetTryEntry(t) {
207
- var e = t.completion || {};
208
- e.type = "normal", delete e.arg, t.completion = e;
209
- }
210
- function Context(t) {
211
- this.tryEntries = [{
212
- tryLoc: "root"
213
- }], t.forEach(pushTryEntry, this), this.reset(!0);
214
- }
215
- function values(e) {
216
- if (e || "" === e) {
217
- var r = e[a];
218
- if (r) return r.call(e);
219
- if ("function" == typeof e.next) return e;
220
- if (!isNaN(e.length)) {
221
- var o = -1,
222
- i = function next() {
223
- for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
224
- return next.value = t, next.done = !0, next;
225
- };
226
- return i.next = i;
227
- }
228
- }
229
- throw new TypeError(typeof e + " is not iterable");
230
- }
231
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
232
- value: GeneratorFunctionPrototype,
233
- configurable: !0
234
- }), o(GeneratorFunctionPrototype, "constructor", {
235
- value: GeneratorFunction,
236
- configurable: !0
237
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
238
- var e = "function" == typeof t && t.constructor;
239
- return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
240
- }, e.mark = function (t) {
241
- return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
242
- }, e.awrap = function (t) {
243
- return {
244
- __await: t
245
- };
246
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
247
- return this;
248
- }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
249
- void 0 === i && (i = Promise);
250
- var a = new AsyncIterator(wrap(t, r, n, o), i);
251
- return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
252
- return t.done ? t.value : a.next();
253
- });
254
- }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
255
- return this;
256
- }), define(g, "toString", function () {
257
- return "[object Generator]";
258
- }), e.keys = function (t) {
259
- var e = Object(t),
260
- r = [];
261
- for (var n in e) r.push(n);
262
- return r.reverse(), function next() {
263
- for (; r.length;) {
264
- var t = r.pop();
265
- if (t in e) return next.value = t, next.done = !1, next;
266
- }
267
- return next.done = !0, next;
268
- };
269
- }, e.values = values, Context.prototype = {
270
- constructor: Context,
271
- reset: function (e) {
272
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
273
- },
274
- stop: function () {
275
- this.done = !0;
276
- var t = this.tryEntries[0].completion;
277
- if ("throw" === t.type) throw t.arg;
278
- return this.rval;
279
- },
280
- dispatchException: function (e) {
281
- if (this.done) throw e;
282
- var r = this;
283
- function handle(n, o) {
284
- return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
285
- }
286
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
287
- var i = this.tryEntries[o],
288
- a = i.completion;
289
- if ("root" === i.tryLoc) return handle("end");
290
- if (i.tryLoc <= this.prev) {
291
- var c = n.call(i, "catchLoc"),
292
- u = n.call(i, "finallyLoc");
293
- if (c && u) {
294
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
295
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
296
- } else if (c) {
297
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
298
- } else {
299
- if (!u) throw new Error("try statement without catch or finally");
300
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
301
- }
302
- }
303
- }
304
- },
305
- abrupt: function (t, e) {
306
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
307
- var o = this.tryEntries[r];
308
- if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
309
- var i = o;
310
- break;
311
- }
312
- }
313
- i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
314
- var a = i ? i.completion : {};
315
- return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
316
- },
317
- complete: function (t, e) {
318
- if ("throw" === t.type) throw t.arg;
319
- return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
320
- },
321
- finish: function (t) {
322
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
323
- var r = this.tryEntries[e];
324
- if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
325
- }
326
- },
327
- catch: function (t) {
328
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
329
- var r = this.tryEntries[e];
330
- if (r.tryLoc === t) {
331
- var n = r.completion;
332
- if ("throw" === n.type) {
333
- var o = n.arg;
334
- resetTryEntry(r);
335
- }
336
- return o;
337
- }
338
- }
339
- throw new Error("illegal catch attempt");
340
- },
341
- delegateYield: function (e, r, n) {
342
- return this.delegate = {
343
- iterator: values(e),
344
- resultName: r,
345
- nextLoc: n
346
- }, "next" === this.method && (this.arg = t), y;
347
- }
348
- }, e;
349
- }
350
- function _typeof(o) {
351
- "@babel/helpers - typeof";
352
-
353
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
354
- return typeof o;
355
- } : function (o) {
356
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
357
- }, _typeof(o);
358
- }
359
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
360
- try {
361
- var info = gen[key](arg);
362
- var value = info.value;
363
- } catch (error) {
364
- reject(error);
365
- return;
366
- }
367
- if (info.done) {
368
- resolve(value);
369
- } else {
370
- Promise.resolve(value).then(_next, _throw);
371
- }
372
- }
373
- function _asyncToGenerator(fn) {
374
- return function () {
375
- var self = this,
376
- args = arguments;
377
- return new Promise(function (resolve, reject) {
378
- var gen = fn.apply(self, args);
379
- function _next(value) {
380
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
381
- }
382
- function _throw(err) {
383
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
384
- }
385
- _next(undefined);
386
- });
387
- };
388
- }
389
- function _classCallCheck(instance, Constructor) {
390
- if (!(instance instanceof Constructor)) {
391
- throw new TypeError("Cannot call a class as a function");
392
- }
393
- }
394
- function _defineProperties(target, props) {
395
- for (var i = 0; i < props.length; i++) {
396
- var descriptor = props[i];
397
- descriptor.enumerable = descriptor.enumerable || false;
398
- descriptor.configurable = true;
399
- if ("value" in descriptor) descriptor.writable = true;
400
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
401
- }
402
- }
403
- function _createClass(Constructor, protoProps, staticProps) {
404
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
405
- if (staticProps) _defineProperties(Constructor, staticProps);
406
- Object.defineProperty(Constructor, "prototype", {
407
- writable: false
408
- });
409
- return Constructor;
410
- }
411
- function _defineProperty(obj, key, value) {
412
- key = _toPropertyKey(key);
413
- if (key in obj) {
414
- Object.defineProperty(obj, key, {
415
- value: value,
416
- enumerable: true,
417
- configurable: true,
418
- writable: true
419
- });
420
- } else {
421
- obj[key] = value;
422
- }
423
- return obj;
424
- }
425
- function _extends() {
426
- _extends = Object.assign ? Object.assign.bind() : function (target) {
427
- for (var i = 1; i < arguments.length; i++) {
428
- var source = arguments[i];
429
- for (var key in source) {
430
- if (Object.prototype.hasOwnProperty.call(source, key)) {
431
- target[key] = source[key];
432
- }
433
- }
434
- }
435
- return target;
436
- };
437
- return _extends.apply(this, arguments);
438
- }
439
- function _inherits(subClass, superClass) {
440
- if (typeof superClass !== "function" && superClass !== null) {
441
- throw new TypeError("Super expression must either be null or a function");
442
- }
443
- subClass.prototype = Object.create(superClass && superClass.prototype, {
444
- constructor: {
445
- value: subClass,
446
- writable: true,
447
- configurable: true
448
- }
449
- });
450
- Object.defineProperty(subClass, "prototype", {
451
- writable: false
452
- });
453
- if (superClass) _setPrototypeOf(subClass, superClass);
454
- }
455
- function _getPrototypeOf(o) {
456
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
457
- return o.__proto__ || Object.getPrototypeOf(o);
458
- };
459
- return _getPrototypeOf(o);
460
- }
461
- function _setPrototypeOf(o, p) {
462
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
463
- o.__proto__ = p;
464
- return o;
465
- };
466
- return _setPrototypeOf(o, p);
467
- }
468
- function _isNativeReflectConstruct() {
469
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
470
- if (Reflect.construct.sham) return false;
471
- if (typeof Proxy === "function") return true;
472
- try {
473
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
474
- return true;
475
- } catch (e) {
476
- return false;
477
- }
478
- }
479
- function _objectWithoutPropertiesLoose(source, excluded) {
480
- if (source == null) return {};
481
- var target = {};
482
- var sourceKeys = Object.keys(source);
483
- var key, i;
484
- for (i = 0; i < sourceKeys.length; i++) {
485
- key = sourceKeys[i];
486
- if (excluded.indexOf(key) >= 0) continue;
487
- target[key] = source[key];
488
- }
489
- return target;
490
- }
491
- function _objectWithoutProperties(source, excluded) {
492
- if (source == null) return {};
493
- var target = _objectWithoutPropertiesLoose(source, excluded);
494
- var key, i;
495
- if (Object.getOwnPropertySymbols) {
496
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
497
- for (i = 0; i < sourceSymbolKeys.length; i++) {
498
- key = sourceSymbolKeys[i];
499
- if (excluded.indexOf(key) >= 0) continue;
500
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
501
- target[key] = source[key];
502
- }
503
- }
504
- return target;
505
- }
506
- function _assertThisInitialized(self) {
507
- if (self === void 0) {
508
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
509
- }
510
- return self;
511
- }
512
- function _possibleConstructorReturn(self, call) {
513
- if (call && (typeof call === "object" || typeof call === "function")) {
514
- return call;
515
- } else if (call !== void 0) {
516
- throw new TypeError("Derived constructors may only return object or undefined");
517
- }
518
- return _assertThisInitialized(self);
519
- }
520
- function _createSuper(Derived) {
521
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
522
- return function _createSuperInternal() {
523
- var Super = _getPrototypeOf(Derived),
524
- result;
525
- if (hasNativeReflectConstruct) {
526
- var NewTarget = _getPrototypeOf(this).constructor;
527
- result = Reflect.construct(Super, arguments, NewTarget);
528
- } else {
529
- result = Super.apply(this, arguments);
530
- }
531
- return _possibleConstructorReturn(this, result);
532
- };
533
- }
534
- function _superPropBase(object, property) {
535
- while (!Object.prototype.hasOwnProperty.call(object, property)) {
536
- object = _getPrototypeOf(object);
537
- if (object === null) break;
538
- }
539
- return object;
540
- }
541
- function _get() {
542
- if (typeof Reflect !== "undefined" && Reflect.get) {
543
- _get = Reflect.get.bind();
544
- } else {
545
- _get = function _get(target, property, receiver) {
546
- var base = _superPropBase(target, property);
547
- if (!base) return;
548
- var desc = Object.getOwnPropertyDescriptor(base, property);
549
- if (desc.get) {
550
- return desc.get.call(arguments.length < 3 ? target : receiver);
551
- }
552
- return desc.value;
553
- };
554
- }
555
- return _get.apply(this, arguments);
556
- }
557
- function _slicedToArray(arr, i) {
558
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
559
- }
560
- function _toConsumableArray(arr) {
561
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
562
- }
563
- function _arrayWithoutHoles(arr) {
564
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
565
- }
566
- function _arrayWithHoles(arr) {
567
- if (Array.isArray(arr)) return arr;
568
- }
569
- function _iterableToArray(iter) {
570
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
571
- }
572
- function _unsupportedIterableToArray(o, minLen) {
573
- if (!o) return;
574
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
575
- var n = Object.prototype.toString.call(o).slice(8, -1);
576
- if (n === "Object" && o.constructor) n = o.constructor.name;
577
- if (n === "Map" || n === "Set") return Array.from(o);
578
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
579
- }
580
- function _arrayLikeToArray(arr, len) {
581
- if (len == null || len > arr.length) len = arr.length;
582
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
583
- return arr2;
584
- }
585
- function _nonIterableSpread() {
586
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
587
- }
588
- function _nonIterableRest() {
589
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
590
- }
591
- function _createForOfIteratorHelper(o, allowArrayLike) {
592
- var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
593
- if (!it) {
594
- if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
595
- if (it) o = it;
596
- var i = 0;
597
- var F = function () {};
598
- return {
599
- s: F,
600
- n: function () {
601
- if (i >= o.length) return {
602
- done: true
603
- };
604
- return {
605
- done: false,
606
- value: o[i++]
607
- };
608
- },
609
- e: function (e) {
610
- throw e;
611
- },
612
- f: F
613
- };
614
- }
615
- throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
616
- }
617
- var normalCompletion = true,
618
- didErr = false,
619
- err;
620
- return {
621
- s: function () {
622
- it = it.call(o);
623
- },
624
- n: function () {
625
- var step = it.next();
626
- normalCompletion = step.done;
627
- return step;
628
- },
629
- e: function (e) {
630
- didErr = true;
631
- err = e;
632
- },
633
- f: function () {
634
- try {
635
- if (!normalCompletion && it.return != null) it.return();
636
- } finally {
637
- if (didErr) throw err;
638
- }
639
- }
640
- };
641
- }
642
- function _toPrimitive(input, hint) {
643
- if (typeof input !== "object" || input === null) return input;
644
- var prim = input[Symbol.toPrimitive];
645
- if (prim !== undefined) {
646
- var res = prim.call(input, hint || "default");
647
- if (typeof res !== "object") return res;
648
- throw new TypeError("@@toPrimitive must return a primitive value.");
649
- }
650
- return (hint === "string" ? String : Number)(input);
651
- }
652
- function _toPropertyKey(arg) {
653
- var key = _toPrimitive(arg, "string");
654
- return typeof key === "symbol" ? key : String(key);
655
- }
656
-
657
- export { _defineProperty as _, _inherits as a, _createSuper as b, _classCallCheck as c, _createClass as d, _objectWithoutProperties as e, _extends as f, _objectSpread2 as g, _asyncToGenerator as h, _regeneratorRuntime as i, _slicedToArray as j, _assertThisInitialized as k, _typeof as l, _toConsumableArray as m, _createForOfIteratorHelper as n, _get as o, _getPrototypeOf as p, _toPropertyKey as q };
@@ -1,31 +0,0 @@
1
- import { e as _objectWithoutProperties, f as _extends } from './_rollupPluginBabelHelpers.js';
2
- import React, { memo } from 'react';
3
- import PropTypes from 'prop-types';
4
- import chevronDown from '@jetbrains/icons/chevron-10px';
5
- import classNames from 'classnames';
6
- import Icon from '../icon/icon.js';
7
- import { Button } from '../button/button.js';
8
-
9
- var modules_d9414203 = {"light":"light_rui_2ac4","dropdown":"dropdown_rui_13c4","anchor":"anchor_rui_13c4","chevron":"chevron_rui_13c4"};
10
-
11
- var _excluded = ["children", "className"];
12
- var Anchor = function Anchor(_ref) {
13
- var children = _ref.children,
14
- className = _ref.className,
15
- restProps = _objectWithoutProperties(_ref, _excluded);
16
- return /*#__PURE__*/React.createElement(Button, _extends({
17
- "data-test-ring-dropdown-anchor": true,
18
- text: true,
19
- className: classNames(modules_d9414203.anchor, className)
20
- }, restProps), children, /*#__PURE__*/React.createElement(Icon, {
21
- glyph: chevronDown,
22
- className: modules_d9414203.chevron
23
- }));
24
- };
25
- Anchor.propTypes = {
26
- children: PropTypes.node,
27
- className: PropTypes.string
28
- };
29
- var Anchor$1 = /*#__PURE__*/memo(Anchor);
30
-
31
- export { Anchor$1 as A, modules_d9414203 as m };
@@ -1,3 +0,0 @@
1
- var modules_6c9187df = {"unit":"i__const_unit_0","light":"light_rui_2ac4","badge":"badge_rui_4b7d","gray":"gray_rui_4b7d","valid":"valid_rui_4b7d","invalid":"invalid_rui_4b7d","disabled":"disabled_rui_4b7d"};
2
-
3
- export { modules_6c9187df as m };