@jetbrains/ring-ui 7.0.62 → 7.0.63

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 (386) hide show
  1. package/components/alert/alert.css +1 -1
  2. package/components/alert/alert.d.ts +1 -1
  3. package/components/alert/alert.js +3 -3
  4. package/components/alert/container.css +2 -2
  5. package/components/alert/container.d.ts +1 -1
  6. package/components/alert/container.js +1 -1
  7. package/components/alert-service/alert-service.d.ts +2 -2
  8. package/components/analytics/{analytics__custom-plugin.d.ts → analytics-custom-plugin.d.ts} +1 -1
  9. package/components/analytics/{analytics__custom-plugin.js → analytics-custom-plugin.js} +2 -2
  10. package/components/auth/{auth__core.d.ts → auth-core.d.ts} +9 -8
  11. package/components/auth/{auth__core.js → auth-core.js} +14 -18
  12. package/components/auth/auth.d.ts +2 -2
  13. package/components/auth/auth.js +2 -2
  14. package/components/auth/background-flow.d.ts +2 -2
  15. package/components/auth/background-flow.js +0 -1
  16. package/components/auth/down-notification.css +1 -1
  17. package/components/auth/down-notification.js +1 -1
  18. package/components/auth/iframe-flow.d.ts +3 -3
  19. package/components/auth/iframe-flow.js +3 -5
  20. package/components/auth/request-builder.d.ts +2 -1
  21. package/components/auth/request-builder.js +1 -2
  22. package/components/auth/storage.d.ts +3 -3
  23. package/components/auth/storage.js +4 -8
  24. package/components/auth/token-validator.d.ts +2 -1
  25. package/components/auth/token-validator.js +6 -1
  26. package/components/auth/window-flow.d.ts +3 -3
  27. package/components/auth/window-flow.js +7 -7
  28. package/components/auth-dialog/auth-dialog.css +2 -2
  29. package/components/auth-dialog/auth-dialog.js +1 -1
  30. package/components/auth-dialog-service/auth-dialog-service.d.ts +1 -1
  31. package/components/avatar/avatar-info.d.ts +1 -1
  32. package/components/avatar/avatar.css +1 -1
  33. package/components/avatar/avatar.d.ts +1 -1
  34. package/components/avatar/avatar.figma.js +1 -1
  35. package/components/avatar/avatar.js +5 -7
  36. package/components/avatar/fallback-avatar.js +4 -8
  37. package/components/avatar-stack/avatar-stack.css +1 -1
  38. package/components/avatar-stack/avatar-stack.d.ts +3 -3
  39. package/components/avatar-stack/avatar-stack.figma.js +1 -1
  40. package/components/avatar-stack/avatar-stack.js +1 -1
  41. package/components/banner/banner.css +2 -2
  42. package/components/banner/banner.js +1 -1
  43. package/components/breadcrumbs/breadcrumbs.d.ts +1 -1
  44. package/components/breadcrumbs/breadcrumbs.figma.js +1 -1
  45. package/components/button/{button__classes.d.ts → button.classes.d.ts} +1 -1
  46. package/components/button/button.css +19 -16
  47. package/components/button/button.d.ts +4 -4
  48. package/components/button/button.figma.js +1 -1
  49. package/components/button/button.js +6 -6
  50. package/components/button-group/button-group.css +6 -6
  51. package/components/button-group/button-group.d.ts +1 -1
  52. package/components/button-group/button-group.js +1 -1
  53. package/components/button-group/caption.d.ts +1 -1
  54. package/components/button-set/button-set.css +2 -2
  55. package/components/button-set/button-set.d.ts +1 -1
  56. package/components/button-toolbar/button-toolbar.css +2 -2
  57. package/components/button-toolbar/button-toolbar.d.ts +1 -1
  58. package/components/caret/caret.js +23 -18
  59. package/components/checkbox/checkbox-group.figma.js +1 -1
  60. package/components/checkbox/checkbox.css +1 -1
  61. package/components/checkbox/checkbox.d.ts +1 -1
  62. package/components/checkbox/checkbox.figma.js +1 -1
  63. package/components/checkbox/checkbox.js +5 -5
  64. package/components/clipboard/clipboard.js +2 -2
  65. package/components/code/code.css +1 -1
  66. package/components/code/code.d.ts +1 -1
  67. package/components/code/code.js +5 -3
  68. package/components/collapse/collapse-content.d.ts +3 -3
  69. package/components/collapse/collapse-control.d.ts +2 -2
  70. package/components/collapse/collapse.css +1 -1
  71. package/components/collapse/collapse.d.ts +3 -3
  72. package/components/confirm/confirm.d.ts +1 -1
  73. package/components/confirm/confirm.js +1 -1
  74. package/components/confirm-service/confirm-service.d.ts +3 -3
  75. package/components/content-layout/content-layout.css +2 -2
  76. package/components/content-layout/content-layout.d.ts +1 -1
  77. package/components/content-layout/content-layout.js +2 -2
  78. package/components/content-layout/sidebar.d.ts +1 -1
  79. package/components/contenteditable/contenteditable.d.ts +1 -1
  80. package/components/contenteditable/contenteditable.js +2 -1
  81. package/components/control-help/control-help.css +1 -1
  82. package/components/control-help/control-help.d.ts +1 -1
  83. package/components/control-label/control-label.d.ts +1 -1
  84. package/components/data-list/data-list.css +1 -1
  85. package/components/data-list/data-list.d.ts +5 -5
  86. package/components/data-list/data-list.js +2 -2
  87. package/components/data-list/data-list.mock.d.ts +2 -2
  88. package/components/data-list/data-list.mock.js +20 -20
  89. package/components/data-list/item.d.ts +3 -3
  90. package/components/data-list/item.js +2 -2
  91. package/components/data-list/selection.d.ts +1 -1
  92. package/components/data-list/selection.js +8 -1
  93. package/components/data-list/title.d.ts +2 -2
  94. package/components/date-picker/consts.d.ts +1 -1
  95. package/components/date-picker/date-input.d.ts +1 -1
  96. package/components/date-picker/date-input.js +2 -2
  97. package/components/date-picker/date-picker.css +15 -15
  98. package/components/date-picker/date-picker.d.ts +5 -5
  99. package/components/date-picker/date-picker.js +17 -19
  100. package/components/date-picker/date-popup.d.ts +1 -1
  101. package/components/date-picker/date-popup.js +5 -3
  102. package/components/date-picker/day.d.ts +2 -2
  103. package/components/date-picker/day.js +4 -5
  104. package/components/date-picker/formats.js +1 -0
  105. package/components/date-picker/month-names.d.ts +1 -1
  106. package/components/date-picker/month-names.js +1 -1
  107. package/components/date-picker/month-slider.d.ts +2 -2
  108. package/components/date-picker/month-slider.js +1 -1
  109. package/components/date-picker/month.d.ts +1 -1
  110. package/components/date-picker/months.d.ts +1 -1
  111. package/components/date-picker/months.js +2 -2
  112. package/components/date-picker/years.d.ts +1 -1
  113. package/components/date-picker/years.js +2 -2
  114. package/components/dialog/{dialog__body-scroll-preventer.js → dialog-body-scroll-preventer.js} +6 -2
  115. package/components/dialog/dialog.css +5 -5
  116. package/components/dialog/dialog.d.ts +1 -1
  117. package/components/dialog/dialog.js +7 -7
  118. package/components/dropdown/anchor.d.ts +1 -1
  119. package/components/dropdown/dropdown.css +1 -1
  120. package/components/dropdown/dropdown.d.ts +2 -2
  121. package/components/dropdown/dropdown.js +2 -2
  122. package/components/dropdown-menu/dropdown-menu.d.ts +5 -5
  123. package/components/dropdown-menu/dropdown-menu.js +1 -1
  124. package/components/editable-heading/editable-heading.css +6 -8
  125. package/components/editable-heading/editable-heading.d.ts +1 -1
  126. package/components/editable-heading/editable-heading.js +3 -2
  127. package/components/error-bubble/error-bubble-legacy.css +3 -3
  128. package/components/error-bubble/error-bubble.css +5 -5
  129. package/components/error-bubble/error-bubble.d.ts +1 -1
  130. package/components/error-bubble/error-bubble.figma.js +1 -1
  131. package/components/error-bubble/error-bubble.js +2 -2
  132. package/components/error-message/error-message.css +1 -1
  133. package/components/error-message/error-message.d.ts +2 -2
  134. package/components/error-message/error-message.js +2 -2
  135. package/components/error-page/error-page.css +3 -3
  136. package/components/footer/footer.css +2 -2
  137. package/components/footer/footer.d.ts +1 -1
  138. package/components/footer/footer.js +1 -1
  139. package/components/form/form.css +3 -3
  140. package/components/global/compose-refs.d.ts +2 -0
  141. package/components/global/compose-refs.js +14 -0
  142. package/components/global/composeRefs.d.ts +6 -2
  143. package/components/global/composeRefs.js +7 -14
  144. package/components/global/create-stateful-context.d.ts +1 -1
  145. package/components/global/dom.d.ts +1 -1
  146. package/components/global/dom.js +2 -4
  147. package/components/global/focus-sensor-hoc.d.ts +1 -1
  148. package/components/global/focus-sensor-hoc.js +2 -2
  149. package/components/global/fuzzy-highlight.d.ts +2 -2
  150. package/components/global/get-event-key.d.ts +1 -1
  151. package/components/global/global.css +2 -2
  152. package/components/global/memoize.js +1 -1
  153. package/components/global/rerender-hoc.d.ts +1 -1
  154. package/components/global/rerender-hoc.js +2 -2
  155. package/components/global/theme.d.ts +1 -1
  156. package/components/global/theme.js +2 -2
  157. package/components/global/url.js +3 -3
  158. package/components/global/use-event-callback.js +1 -1
  159. package/components/global/variables.css +1 -1
  160. package/components/grid/col.d.ts +1 -1
  161. package/components/grid/col.js +1 -1
  162. package/components/grid/grid.css +4 -4
  163. package/components/grid/grid.d.ts +1 -1
  164. package/components/grid/grid.js +1 -1
  165. package/components/grid/row.d.ts +1 -1
  166. package/components/grid/row.js +1 -1
  167. package/components/group/group.css +1 -1
  168. package/components/group/group.d.ts +1 -1
  169. package/components/group/group.js +1 -1
  170. package/components/header/header-icon.d.ts +2 -2
  171. package/components/header/header.css +4 -4
  172. package/components/header/header.d.ts +1 -1
  173. package/components/header/links.d.ts +1 -1
  174. package/components/header/logo.d.ts +1 -1
  175. package/components/header/profile.d.ts +5 -5
  176. package/components/header/profile.js +3 -3
  177. package/components/header/services-link.d.ts +1 -1
  178. package/components/header/services-link.js +3 -3
  179. package/components/header/services.css +1 -1
  180. package/components/header/services.d.ts +2 -2
  181. package/components/header/services.js +3 -3
  182. package/components/header/smart-profile.d.ts +3 -3
  183. package/components/header/smart-profile.js +2 -1
  184. package/components/header/smart-services.d.ts +3 -3
  185. package/components/header/tray.d.ts +1 -1
  186. package/components/heading/heading.css +2 -2
  187. package/components/heading/heading.d.ts +1 -1
  188. package/components/http/http.mock.d.ts +1 -1
  189. package/components/hub-source/{hub-source__user.d.ts → hub-source-user.d.ts} +3 -2
  190. package/components/hub-source/{hub-source__users-groups.d.ts → hub-source-users-groups.d.ts} +3 -2
  191. package/components/hub-source/hub-source.d.ts +2 -2
  192. package/components/icon/{icon__svg.d.ts → icon-svg.d.ts} +1 -1
  193. package/components/icon/icon.css +5 -5
  194. package/components/icon/icon.d.ts +2 -2
  195. package/components/icon/icon.js +3 -3
  196. package/components/input/input-legacy.css +2 -2
  197. package/components/input/input.css +5 -5
  198. package/components/input/input.d.ts +3 -3
  199. package/components/input/input.figma.js +1 -1
  200. package/components/input/input.js +8 -8
  201. package/components/input-size/input-size.css +1 -1
  202. package/components/island/adaptive-island-hoc.d.ts +1 -1
  203. package/components/island/content.d.ts +1 -1
  204. package/components/island/content.js +2 -2
  205. package/components/island/header.d.ts +1 -1
  206. package/components/island/header.js +4 -4
  207. package/components/island/island.css +3 -3
  208. package/components/island/island.d.ts +1 -1
  209. package/components/line/line.css +1 -1
  210. package/components/link/clickable-link.d.ts +12 -0
  211. package/components/link/clickable-link.js +25 -0
  212. package/components/link/clickableLink.d.ts +11 -12
  213. package/components/link/clickableLink.js +4 -25
  214. package/components/link/link.css +1 -1
  215. package/components/link/link.d.ts +2 -2
  216. package/components/link/link.js +4 -4
  217. package/components/list/consts.d.ts +4 -5
  218. package/components/list/{list__custom.d.ts → list-custom.d.ts} +1 -1
  219. package/components/list/{list__custom.js → list-custom.js} +1 -1
  220. package/components/list/{list__hint.d.ts → list-hint.d.ts} +1 -1
  221. package/components/list/{list__hint.js → list-hint.js} +1 -1
  222. package/components/list/{list__item.d.ts → list-item.d.ts} +2 -2
  223. package/components/list/{list__item.js → list-item.js} +6 -5
  224. package/components/list/{list__separator.d.ts → list-separator.d.ts} +1 -1
  225. package/components/list/{list__separator.js → list-separator.js} +1 -1
  226. package/components/list/{list__title.d.ts → list-title.d.ts} +1 -1
  227. package/components/list/{list__title.js → list-title.js} +1 -1
  228. package/components/list/{list__users-groups-source.d.ts → list-users-groups-source.d.ts} +3 -2
  229. package/components/list/{list__users-groups-source.js → list-users-groups-source.js} +1 -1
  230. package/components/list/{list__classes.d.ts → list.classes.d.ts} +1 -1
  231. package/components/list/list.css +5 -5
  232. package/components/list/list.d.ts +7 -7
  233. package/components/list/list.js +34 -28
  234. package/components/loader/{loader__core.js → loader-core.js} +2 -2
  235. package/components/loader/loader.css +1 -1
  236. package/components/loader/loader.d.ts +2 -2
  237. package/components/loader/loader.js +1 -1
  238. package/components/loader-inline/loader-inline.css +2 -2
  239. package/components/loader-inline/loader-inline.d.ts +1 -1
  240. package/components/loader-screen/loader-screen.css +2 -2
  241. package/components/loader-screen/loader-screen.d.ts +1 -1
  242. package/components/login-dialog/login-dialog.css +2 -2
  243. package/components/login-dialog/login-dialog.d.ts +1 -1
  244. package/components/login-dialog/login-dialog.js +1 -1
  245. package/components/login-dialog/service.d.ts +1 -1
  246. package/components/markdown/markdown.css +3 -3
  247. package/components/markdown/markdown.d.ts +1 -1
  248. package/components/markdown/markdown.js +1 -1
  249. package/components/message/message.css +3 -3
  250. package/components/message/message.d.ts +4 -4
  251. package/components/message/message.js +3 -3
  252. package/components/old-browsers-message/old-browsers-message.css +2 -2
  253. package/components/old-browsers-message/old-browsers-message.js +1 -1
  254. package/components/pager/pager.css +1 -1
  255. package/components/pager/pager.d.ts +2 -2
  256. package/components/pager/pager.js +11 -12
  257. package/components/panel/panel.css +1 -1
  258. package/components/panel/panel.d.ts +1 -1
  259. package/components/panel/panel.js +1 -1
  260. package/components/permissions/{permissions__cache.js → permissions-cache.js} +4 -5
  261. package/components/permissions/permissions.d.ts +2 -2
  262. package/components/permissions/permissions.js +2 -4
  263. package/components/popup/popup.css +3 -3
  264. package/components/popup/popup.d.ts +2 -2
  265. package/components/popup/popup.js +6 -5
  266. package/components/popup/popup.target.d.ts +1 -1
  267. package/components/popup/position-css.js +6 -10
  268. package/components/popup/position.js +10 -10
  269. package/components/popup-menu/popup-menu.d.ts +4 -4
  270. package/components/progress-bar/progress-bar.css +6 -8
  271. package/components/progress-bar/progress-bar.d.ts +1 -1
  272. package/components/progress-bar/progress-bar.js +1 -1
  273. package/components/query-assist/{query-assist__suggestions.d.ts → query-assist-suggestions.d.ts} +1 -1
  274. package/components/query-assist/query-assist.css +11 -11
  275. package/components/query-assist/query-assist.d.ts +4 -4
  276. package/components/query-assist/query-assist.js +11 -11
  277. package/components/radio/{radio__item.d.ts → radio-item.d.ts} +1 -1
  278. package/components/radio/{radio__item.js → radio-item.js} +2 -2
  279. package/components/radio/radio.css +2 -2
  280. package/components/radio/radio.d.ts +2 -2
  281. package/components/radio/radio.js +1 -1
  282. package/components/scrollable-section/scrollable-section.d.ts +1 -1
  283. package/components/scrollable-section/scrollable-section.js +1 -1
  284. package/components/select/{select__filter.d.ts → select-filter.d.ts} +2 -2
  285. package/components/select/{select__filter.js → select-filter.js} +1 -1
  286. package/components/select/select-popup.css +5 -5
  287. package/components/select/{select__popup.d.ts → select-popup.d.ts} +8 -8
  288. package/components/select/{select__popup.js → select-popup.js} +11 -7
  289. package/components/select/select.css +10 -9
  290. package/components/select/select.d.ts +6 -6
  291. package/components/select/select.js +27 -25
  292. package/components/shortcuts/core.js +7 -7
  293. package/components/shortcuts/shortcuts-hoc.d.ts +2 -2
  294. package/components/shortcuts/shortcuts.d.ts +1 -1
  295. package/components/sidebar/sidebar.css +1 -1
  296. package/components/slider/slider.css +2 -2
  297. package/components/slider/slider.d.ts +5 -5
  298. package/components/slider/slider.js +5 -5
  299. package/components/slider/slider.utils.d.ts +1 -1
  300. package/components/slider/slider.utils.js +2 -4
  301. package/components/storage/{storage__local.d.ts → storage-local.d.ts} +1 -1
  302. package/components/storage/{storage__local.js → storage-local.js} +7 -7
  303. package/components/storage/storage.d.ts +1 -1
  304. package/components/storage/storage.js +1 -1
  305. package/components/tab-trap/tab-trap.css +1 -1
  306. package/components/tab-trap/tab-trap.d.ts +1 -1
  307. package/components/tab-trap/tab-trap.js +2 -5
  308. package/components/table/cell.d.ts +1 -1
  309. package/components/table/disable-hover-hoc.d.ts +1 -1
  310. package/components/table/header-cell.d.ts +1 -1
  311. package/components/table/header-cell.js +1 -1
  312. package/components/table/header.d.ts +2 -2
  313. package/components/table/header.js +2 -2
  314. package/components/table/multitable.d.ts +3 -3
  315. package/components/table/multitable.js +1 -1
  316. package/components/table/row-with-focus-sensor.d.ts +3 -3
  317. package/components/table/row.d.ts +4 -4
  318. package/components/table/row.js +1 -1
  319. package/components/table/selection-adapter.d.ts +2 -1
  320. package/components/table/selection-shortcuts-hoc.d.ts +4 -3
  321. package/components/table/selection-shortcuts-hoc.js +1 -3
  322. package/components/table/selection.js +4 -8
  323. package/components/table/simple-table.d.ts +2 -2
  324. package/components/table/smart-table.d.ts +2 -2
  325. package/components/table/table.css +6 -6
  326. package/components/table/table.d.ts +7 -7
  327. package/components/table/table.js +3 -3
  328. package/components/tabs/collapsible-more.d.ts +3 -3
  329. package/components/tabs/collapsible-more.js +2 -2
  330. package/components/tabs/collapsible-tab.d.ts +2 -2
  331. package/components/tabs/collapsible-tab.js +1 -1
  332. package/components/tabs/collapsible-tabs.d.ts +2 -2
  333. package/components/tabs/collapsible-tabs.js +6 -8
  334. package/components/tabs/custom-item.d.ts +2 -2
  335. package/components/tabs/dumb-tabs.d.ts +3 -3
  336. package/components/tabs/dumb-tabs.js +3 -3
  337. package/components/tabs/smart-tabs.d.ts +1 -1
  338. package/components/tabs/tab-link.d.ts +2 -2
  339. package/components/tabs/tab.d.ts +2 -2
  340. package/components/tabs/tabs.css +6 -6
  341. package/components/tag/tag.css +5 -5
  342. package/components/tag/tag.d.ts +2 -2
  343. package/components/tag/tag.js +2 -2
  344. package/components/tags-input/tags-input.css +3 -3
  345. package/components/tags-input/tags-input.d.ts +8 -8
  346. package/components/tags-input/tags-input.js +13 -7
  347. package/components/tags-list/tags-list.d.ts +2 -2
  348. package/components/tags-list/tags-list.js +1 -1
  349. package/components/text/text.css +1 -1
  350. package/components/text/text.d.ts +1 -1
  351. package/components/toggle/toggle.css +2 -2
  352. package/components/toggle/toggle.d.ts +1 -1
  353. package/components/toggle/toggle.js +1 -1
  354. package/components/tooltip/tooltip.css +1 -1
  355. package/components/tooltip/tooltip.d.ts +2 -2
  356. package/components/tooltip/tooltip.js +1 -1
  357. package/components/upload/upload.css +1 -1
  358. package/components/upload/upload.d.ts +3 -3
  359. package/components/upload/upload.js +2 -2
  360. package/components/user-agreement/service.d.ts +2 -2
  361. package/components/user-agreement/service.js +3 -5
  362. package/components/user-agreement/user-agreement.css +2 -2
  363. package/components/user-agreement/user-agreement.d.ts +1 -1
  364. package/components/user-agreement/user-agreement.js +1 -1
  365. package/components/user-card/card.d.ts +1 -1
  366. package/components/user-card/card.js +3 -2
  367. package/components/user-card/smart-user-card-tooltip.d.ts +2 -2
  368. package/components/user-card/smart-user-card-tooltip.js +1 -1
  369. package/components/user-card/tooltip.d.ts +3 -3
  370. package/components/user-card/user-card.css +1 -1
  371. package/package.json +4 -1
  372. /package/components/button/{button__classes.js → button.classes.js} +0 -0
  373. /package/components/dialog/{dialog__body-scroll-preventer.d.ts → dialog-body-scroll-preventer.d.ts} +0 -0
  374. /package/components/global/{variables.d.ts → variables.interface.d.ts} +0 -0
  375. /package/components/global/{variables.js → variables.interface.js} +0 -0
  376. /package/components/hub-source/{hub-source__user.js → hub-source-user.js} +0 -0
  377. /package/components/hub-source/{hub-source__users-groups.js → hub-source-users-groups.js} +0 -0
  378. /package/components/icon/{icon__svg.js → icon-svg.js} +0 -0
  379. /package/components/icon/{icon__constants.d.ts → icon.constants.d.ts} +0 -0
  380. /package/components/icon/{icon__constants.js → icon.constants.js} +0 -0
  381. /package/components/list/{list__classes.js → list.classes.js} +0 -0
  382. /package/components/loader/{loader__core.d.ts → loader-core.d.ts} +0 -0
  383. /package/components/old-browsers-message/{old-browsers-message__stop.d.ts → old-browsers-message-stop.d.ts} +0 -0
  384. /package/components/old-browsers-message/{old-browsers-message__stop.js → old-browsers-message-stop.js} +0 -0
  385. /package/components/permissions/{permissions__cache.d.ts → permissions-cache.d.ts} +0 -0
  386. /package/components/query-assist/{query-assist__suggestions.js → query-assist-suggestions.js} +0 -0
@@ -1,13 +1,13 @@
1
- import { PropsWithChildren } from 'react';
1
+ import { type PropsWithChildren } from 'react';
2
2
  import * as React from 'react';
3
- type Props = {
3
+ interface Props {
4
4
  onChange?: (collapsed: boolean) => void;
5
5
  duration?: number;
6
6
  disableAnimation?: boolean;
7
7
  className?: string;
8
8
  defaultCollapsed?: boolean;
9
9
  collapsed?: boolean | null;
10
- };
10
+ }
11
11
  /**
12
12
  * @name Collapse
13
13
  */
@@ -1,4 +1,4 @@
1
- import { PureComponent, ReactNode } from 'react';
1
+ import { PureComponent, type ReactNode } from 'react';
2
2
  import * as React from 'react';
3
3
  export interface ConfirmProps {
4
4
  text: string;
@@ -27,6 +27,6 @@ export default class Confirm extends PureComponent {
27
27
  };
28
28
  render() {
29
29
  const { show, className, inProgress, cancelIsDefault, text, description, confirmLabel, rejectLabel, onConfirm, onReject, native, } = this.props;
30
- return (_jsxs(Dialog, { label: text || (typeof description === 'string' ? description : undefined), className: className, onEscPress: this.onEscPress, show: show, trapFocus: true, "data-test": "ring-confirm", native: native, children: [text && _jsx(Header, { children: text }), description && _jsx(Content, { children: description }), _jsxs(Panel, { children: [_jsx(Button, { "data-test": "confirm-ok-button", primary: !cancelIsDefault, loader: inProgress, disabled: inProgress, onClick: onConfirm, children: confirmLabel }), _jsx(Button, { "data-test": "confirm-reject-button", onClick: onReject, disabled: inProgress, primary: cancelIsDefault, children: rejectLabel })] })] }));
30
+ return (_jsxs(Dialog, { label: text || (typeof description === 'string' ? description : undefined), className: className, onEscPress: this.onEscPress, show: show, trapFocus: true, "data-test": 'ring-confirm', native: native, children: [text && _jsx(Header, { children: text }), description && _jsx(Content, { children: description }), _jsxs(Panel, { children: [_jsx(Button, { "data-test": 'confirm-ok-button', primary: !cancelIsDefault, loader: inProgress, disabled: inProgress, onClick: onConfirm, children: confirmLabel }), _jsx(Button, { "data-test": 'confirm-reject-button', onClick: onReject, disabled: inProgress, primary: cancelIsDefault, children: rejectLabel })] })] }));
31
31
  }
32
32
  }
@@ -1,6 +1,6 @@
1
- import { ReactNode } from 'react';
2
- import { ConfirmAttributes } from '../confirm/confirm';
3
- import { ControlsHeight } from '../global/controls-height';
1
+ import { type ReactNode } from 'react';
2
+ import { type ConfirmAttributes } from '../confirm/confirm';
3
+ import { type ControlsHeight } from '../global/controls-height';
4
4
  /**
5
5
  * @name Confirm Service
6
6
  */
@@ -1,6 +1,6 @@
1
- @import "../global/variables.css";
1
+ @import '../global/variables.css';
2
2
 
3
- @value extra-small-screen-media, small-screen-media from "../global/global.css";
3
+ @value extra-small-screen-media, small-screen-media from '../global/global.css';
4
4
 
5
5
  .contentLayout {
6
6
  --ring-content-layout-sidebar-width: calc(var(--ring-unit) * 30);
@@ -1,4 +1,4 @@
1
- import { Component, HTMLAttributes } from 'react';
1
+ import { Component, type HTMLAttributes } from 'react';
2
2
  export interface ContentLayoutProps extends HTMLAttributes<HTMLElement> {
3
3
  responsive: boolean;
4
4
  contentClassName?: string | null | undefined;
@@ -23,13 +23,13 @@ export default class ContentLayout extends Component {
23
23
  });
24
24
  const contentClasses = classNames(styles.contentLayoutContent, contentClassName);
25
25
  const childrenArray = Children.toArray(children);
26
- const sidebarChild = childrenArray.filter((child) => child != null && typeof child === 'object' && 'type' in child && child.type === Sidebar)[0];
26
+ const sidebarChild = childrenArray.filter((child) => !!child && typeof child === 'object' && 'type' in child && child.type === Sidebar)[0];
27
27
  const sidebar = sidebarChild &&
28
28
  cloneElement(sidebarChild, {
29
29
  contentNode: this.state.contentNode,
30
30
  });
31
31
  const contentChildren = childrenArray.filter(child => child !== sidebarChild);
32
- return (_jsxs("div", { "data-test": "content-layout", ...restProps, className: classes, children: [sidebar, _jsx("main", { className: contentClasses, ref: this.saveContentNode, children: contentChildren })] }));
32
+ return (_jsxs("div", { "data-test": 'content-layout', ...restProps, className: classes, children: [sidebar, _jsx("main", { className: contentClasses, ref: this.saveContentNode, children: contentChildren })] }));
33
33
  }
34
34
  }
35
35
  export { default as Sidebar } from './sidebar';
@@ -1,4 +1,4 @@
1
- import { Component, HTMLAttributes } from 'react';
1
+ import { Component, type HTMLAttributes } from 'react';
2
2
  import { Waypoint } from 'react-waypoint';
3
3
  export interface SidebarProps extends HTMLAttributes<HTMLElement> {
4
4
  right?: boolean | null | undefined;
@@ -1,4 +1,4 @@
1
- import { Component, HTMLAttributes, Ref } from 'react';
1
+ import { Component, type HTMLAttributes, type Ref } from 'react';
2
2
  /**
3
3
  * @name ContentEditable
4
4
  */
@@ -13,6 +13,7 @@ class ContentEditableBase extends Component {
13
13
  onComponentUpdate: noop,
14
14
  };
15
15
  shouldComponentUpdate(nextProps) {
16
+ // eslint-disable-next-line no-underscore-dangle
16
17
  return nextProps.disabled !== this.props.disabled || nextProps.__html !== this.props.__html;
17
18
  }
18
19
  componentDidUpdate(prevProps) {
@@ -23,7 +24,7 @@ class ContentEditableBase extends Component {
23
24
  return (_jsx("div", { ...props, ref: inputRef,
24
25
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
25
26
  // @ts-ignore
26
- disabled: disabled, role: "textbox", tabIndex: disabled ? undefined : tabIndex, contentEditable: !this.props.disabled, dangerouslySetInnerHTML: { __html } }));
27
+ disabled: disabled, role: 'textbox', tabIndex: disabled ? undefined : tabIndex, contentEditable: !this.props.disabled, dangerouslySetInnerHTML: { __html } }));
27
28
  }
28
29
  }
29
30
  const ContentEditable = ({ children, ...props }) => (_jsx(ContentEditableBase, { ...props, __html: renderToStaticMarkup(children) }));
@@ -1,4 +1,4 @@
1
- @import "../global/variables.css";
1
+ @import '../global/variables.css';
2
2
 
3
3
  .help {
4
4
  color: var(--ring-secondary-color);
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes } from 'react';
1
+ import { type HTMLAttributes } from 'react';
2
2
  type ControlHelpProps = HTMLAttributes<HTMLDivElement>;
3
3
  export default function ControlHelp({ className, ...restProps }: ControlHelpProps): import("react/jsx-runtime").JSX.Element;
4
4
  export {};
@@ -1,4 +1,4 @@
1
- import { LabelHTMLAttributes } from 'react';
1
+ import { type LabelHTMLAttributes } from 'react';
2
2
  import * as React from 'react';
3
3
  export declare enum LabelType {
4
4
  SECONDARY = "secondary",
@@ -1,4 +1,4 @@
1
- @import "../global/variables.css";
1
+ @import '../global/variables.css';
2
2
 
3
3
  .dataListWrapper {
4
4
  --ring-table-compensate: 2px;
@@ -2,11 +2,11 @@
2
2
  * @name Data List
3
3
  */
4
4
  import { Component } from 'react';
5
- import { FocusSensorOuterProps } from '../global/focus-sensor-hoc';
6
- import { SelectionShortcutsAddProps, SelectionShortcutsOuterProps } from '../table/selection-shortcuts-hoc';
7
- import { DisableHoverAddProps } from '../table/disable-hover-hoc';
8
- import { SelectionItem } from '../table/selection';
9
- import { FormattedItem, moreLessButtonStates } from './item';
5
+ import { type FocusSensorOuterProps } from '../global/focus-sensor-hoc';
6
+ import { type SelectionShortcutsAddProps, type SelectionShortcutsOuterProps } from '../table/selection-shortcuts-hoc';
7
+ import { type DisableHoverAddProps } from '../table/disable-hover-hoc';
8
+ import { type SelectionItem } from '../table/selection';
9
+ import { type FormattedItem, moreLessButtonStates } from './item';
10
10
  export interface DataListBaseProps<T extends SelectionItem> {
11
11
  data: readonly T[];
12
12
  itemFormatter: (item: T) => FormattedItem<T>;
@@ -45,7 +45,7 @@ class DataList extends PureComponent {
45
45
  onEqualPress = () => {
46
46
  const { selection, itemFormatter } = this.props;
47
47
  const focused = selection.getFocused();
48
- if (focused == null) {
48
+ if (!focused) {
49
49
  throw new Error('No focused item');
50
50
  }
51
51
  const item = itemFormatter(focused);
@@ -67,7 +67,7 @@ class DataList extends PureComponent {
67
67
  [styles.disabledHover]: disabledHover,
68
68
  [styles.multiSelection]: selection.getSelected().size > 0,
69
69
  });
70
- return (_jsxs("div", { className: styles.dataListWrapper, "data-test": "ring-data-list", ref: innerRef, children: [focused && _jsx(Shortcuts, { map: shortcutsMap, scope: this.shortcutsScope }), _jsx("ul", { className: classes, children: data.map(model => {
70
+ return (_jsxs("div", { className: styles.dataListWrapper, "data-test": 'ring-data-list', ref: innerRef, children: [focused && _jsx(Shortcuts, { map: shortcutsMap, scope: this.shortcutsScope }), _jsx("ul", { className: classes, children: data.map(model => {
71
71
  const item = itemFormatter(model);
72
72
  const { id, key, title, items } = item;
73
73
  const showMoreLessButton = this.props.itemMoreLessState?.(item);
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { SelectionItem } from '../table/selection';
1
+ import { type ReactNode } from 'react';
2
+ import { type SelectionItem } from '../table/selection';
3
3
  export interface Item extends SelectionItem {
4
4
  title: ReactNode;
5
5
  collapsible?: boolean;
@@ -17,27 +17,27 @@ const items = [
17
17
  {
18
18
  id: 111,
19
19
  selectable: true,
20
- title: _jsx(Link, { href: "#", children: "TeamCity" }),
20
+ title: _jsx(Link, { href: '#', children: "TeamCity" }),
21
21
  },
22
22
  {
23
23
  id: 112,
24
24
  selectable: true,
25
- title: _jsx(Link, { href: "#", children: "YouTrack" }),
25
+ title: _jsx(Link, { href: '#', children: "YouTrack" }),
26
26
  },
27
27
  {
28
28
  id: 113,
29
29
  selectable: true,
30
- title: _jsx(Link, { href: "#", children: "Sandbox" }),
30
+ title: _jsx(Link, { href: '#', children: "Sandbox" }),
31
31
  },
32
32
  {
33
33
  id: 114,
34
34
  selectable: true,
35
- title: _jsx(Link, { href: "#", children: "Exception Analyzer" }),
35
+ title: _jsx(Link, { href: '#', children: "Exception Analyzer" }),
36
36
  },
37
37
  {
38
38
  id: 115,
39
39
  selectable: true,
40
- title: _jsx(Link, { href: "#", children: "MPS" }),
40
+ title: _jsx(Link, { href: '#', children: "MPS" }),
41
41
  },
42
42
  ],
43
43
  },
@@ -52,7 +52,7 @@ const items = [
52
52
  {
53
53
  id: 21,
54
54
  selectable: true,
55
- title: (_jsxs("span", { children: [_jsx(Link, { href: "#", children: "JetProfile" }), _jsx("span", { children: " " }), _jsx(Tag, { children: "duplicate" })] })),
55
+ title: (_jsxs("span", { children: [_jsx(Link, { href: '#', children: "JetProfile" }), _jsx("span", { children: " " }), _jsx(Tag, { children: "duplicate" })] })),
56
56
  },
57
57
  {
58
58
  id: 22,
@@ -62,34 +62,34 @@ const items = [
62
62
  {
63
63
  id: 221,
64
64
  collapsible: true,
65
- title: _jsx(Link, { href: "#", children: "TeamCity" }),
65
+ title: _jsx(Link, { href: '#', children: "TeamCity" }),
66
66
  },
67
67
  {
68
68
  id: 222,
69
69
  collapsible: true,
70
- title: _jsx(Link, { href: "#", children: "YouTrack" }),
70
+ title: _jsx(Link, { href: '#', children: "YouTrack" }),
71
71
  },
72
72
  {
73
73
  id: 223,
74
74
  collapsible: true,
75
- title: _jsx(Link, { href: "#", children: "Sandbox" }),
75
+ title: _jsx(Link, { href: '#', children: "Sandbox" }),
76
76
  },
77
77
  {
78
78
  id: 224,
79
79
  collapsible: true,
80
- title: _jsx(Link, { href: "#", children: "Exception Analyzer" }),
80
+ title: _jsx(Link, { href: '#', children: "Exception Analyzer" }),
81
81
  },
82
82
  {
83
83
  id: 225,
84
84
  collapsible: true,
85
- title: _jsx(Link, { href: "#", children: "MPS" }),
85
+ title: _jsx(Link, { href: '#', children: "MPS" }),
86
86
  },
87
87
  ],
88
88
  },
89
89
  {
90
90
  id: 23,
91
91
  collapsible: true,
92
- title: (_jsxs("span", { children: [_jsx(Link, { href: "#", children: "CustomJDK" }), _jsx("span", { children: ": as a member of ide-developers" })] })),
92
+ title: (_jsxs("span", { children: [_jsx(Link, { href: '#', children: "CustomJDK" }), _jsx("span", { children: ": as a member of ide-developers" })] })),
93
93
  },
94
94
  ],
95
95
  },
@@ -102,12 +102,12 @@ const items = [
102
102
  {
103
103
  id: 31,
104
104
  collapsible: true,
105
- title: (_jsxs("span", { children: [_jsx(Link, { href: "#", children: "ide-frontend" }), _jsx("span", { children: ": as a member of ide-developers" })] })),
105
+ title: (_jsxs("span", { children: [_jsx(Link, { href: '#', children: "ide-frontend" }), _jsx("span", { children: ": as a member of ide-developers" })] })),
106
106
  },
107
107
  {
108
108
  id: 32,
109
109
  collapsible: true,
110
- title: (_jsxs("span", { children: [_jsx(Link, { href: "#", children: "ide-frontend" }), _jsx("span", { children: ": as a member of ide-frontend Code Viewers" })] })),
110
+ title: (_jsxs("span", { children: [_jsx(Link, { href: '#', children: "ide-frontend" }), _jsx("span", { children: ": as a member of ide-frontend Code Viewers" })] })),
111
111
  },
112
112
  ],
113
113
  },
@@ -119,12 +119,12 @@ const items = [
119
119
  {
120
120
  id: 41,
121
121
  collapsible: true,
122
- title: (_jsxs("span", { children: [_jsx(Link, { href: "#", children: "Intellij IDEA" }), _jsx("span", { children: ": as a member of Registered Users" })] })),
122
+ title: (_jsxs("span", { children: [_jsx(Link, { href: '#', children: "Intellij IDEA" }), _jsx("span", { children: ": as a member of Registered Users" })] })),
123
123
  },
124
124
  {
125
125
  id: 42,
126
126
  collapsible: true,
127
- title: (_jsxs("span", { children: [_jsx(Link, { href: "#", children: "YouTrack Backlog" }), _jsx("span", { children: ": as a member of jetbrains-team" })] })),
127
+ title: (_jsxs("span", { children: [_jsx(Link, { href: '#', children: "YouTrack Backlog" }), _jsx("span", { children: ": as a member of jetbrains-team" })] })),
128
128
  },
129
129
  ],
130
130
  },
@@ -137,14 +137,14 @@ const items = [
137
137
  id: 51,
138
138
  selectable: true,
139
139
  collapsible: true,
140
- title: _jsx(Link, { href: "#", children: "Wasabi" }),
140
+ title: _jsx(Link, { href: '#', children: "Wasabi" }),
141
141
  },
142
142
  ],
143
143
  },
144
144
  {
145
145
  id: 6,
146
146
  collapsible: true,
147
- title: (_jsxs("span", { children: [_jsx("strong", { children: "Git Hosting Admin" }), _jsx("span", { children: " in project " }), _jsx(Link, { href: "#", children: "Hackathon 2016" }), _jsx("span", { children: ": as a member of jetbrains-team" })] })),
147
+ title: (_jsxs("span", { children: [_jsx("strong", { children: "Git Hosting Admin" }), _jsx("span", { children: " in project " }), _jsx(Link, { href: '#', children: "Hackathon 2016" }), _jsx("span", { children: ": as a member of jetbrains-team" })] })),
148
148
  },
149
149
  {
150
150
  id: 7,
@@ -158,13 +158,13 @@ export const moreItems = [
158
158
  id: 91,
159
159
  selectable: true,
160
160
  collapsible: true,
161
- title: (_jsxs("span", { children: [_jsx(Link, { href: "#", children: "More item 1" }), _jsx("span", { children: " " }), _jsx(Tag, { children: "duplicate" })] })),
161
+ title: (_jsxs("span", { children: [_jsx(Link, { href: '#', children: "More item 1" }), _jsx("span", { children: " " }), _jsx(Tag, { children: "duplicate" })] })),
162
162
  },
163
163
  {
164
164
  id: 92,
165
165
  selectable: true,
166
166
  collapsible: true,
167
- title: (_jsxs("span", { children: [_jsx(Link, { href: "#", children: "More item 2" }), _jsx("span", { children: " " }), _jsx(Tag, { children: "duplicate" })] })),
167
+ title: (_jsxs("span", { children: [_jsx(Link, { href: '#', children: "More item 2" }), _jsx("span", { children: " " }), _jsx(Tag, { children: "duplicate" })] })),
168
168
  },
169
169
  ];
170
170
  export default items;
@@ -1,6 +1,6 @@
1
- import { PureComponent, ReactNode } from 'react';
2
- import { SelectionItem } from '../table/selection';
3
- import Selection from './selection';
1
+ import { PureComponent, type ReactNode } from 'react';
2
+ import { type SelectionItem } from '../table/selection';
3
+ import type Selection from './selection';
4
4
  export declare enum moreLessButtonStates {
5
5
  UNUSED = 0,
6
6
  MORE = 1,
@@ -58,10 +58,10 @@ export default class Item extends PureComponent {
58
58
  let collapserExpander = null;
59
59
  if (collapsible) {
60
60
  if (collapsed) {
61
- collapserExpander = (_jsx(Button, { title: "Expand", onClick: onExpand, icon: chevronRightIcon, className: styles.collapseButton, iconClassName: styles.collapseIcon, "data-test": "ring-data-list-expand" }));
61
+ collapserExpander = (_jsx(Button, { title: 'Expand', onClick: onExpand, icon: chevronRightIcon, className: styles.collapseButton, iconClassName: styles.collapseIcon, "data-test": 'ring-data-list-expand' }));
62
62
  }
63
63
  else {
64
- collapserExpander = (_jsx(Button, { title: "Collapse", onClick: onCollapse, icon: chevronDownIcon, className: styles.collapseButton, iconClassName: styles.collapseIcon, "data-test": "ring-data-list-collapse" }));
64
+ collapserExpander = (_jsx(Button, { title: 'Collapse', onClick: onCollapse, icon: chevronDownIcon, className: styles.collapseButton, iconClassName: styles.collapseIcon, "data-test": 'ring-data-list-collapse' }));
65
65
  }
66
66
  }
67
67
  const itemIsEmpty = !items?.length || (collapsible && collapsed);
@@ -1,4 +1,4 @@
1
- import TableSelection, { CloneWithConfig, SelectionItem, TableSelectionConfig } from '../table/selection';
1
+ import TableSelection, { type CloneWithConfig, type SelectionItem, type TableSelectionConfig } from '../table/selection';
2
2
  interface DataListSelectionConfig<T extends SelectionItem> extends TableSelectionConfig<T> {
3
3
  partialSelected?: Set<T> | undefined;
4
4
  }
@@ -9,6 +9,7 @@ export default class Selection extends TableSelection {
9
9
  return new Set(this._getDescendants(data));
10
10
  }
11
11
  _buildSelected(data, selected) {
12
+ // eslint-disable-next-line no-underscore-dangle
12
13
  const _selected = new Set(selected);
13
14
  [...data].forEach(item => {
14
15
  if (_selected.has(item)) {
@@ -90,7 +91,7 @@ export default class Selection extends TableSelection {
90
91
  return this.cloneWith({ selected, partialSelected });
91
92
  }
92
93
  isPartialSelected(value) {
93
- return value != null && this._partialSelected.has(value);
94
+ return value !== null && value !== undefined && this._partialSelected.has(value);
94
95
  }
95
96
  focus(value) {
96
97
  return super.focus(value);
@@ -101,11 +102,17 @@ export default class Selection extends TableSelection {
101
102
  cloneWith({ partialSelected = this._partialSelected, ...rest }) {
102
103
  const parentClone = super.cloneWith(rest);
103
104
  return new this.constructor({
105
+ // eslint-disable-next-line no-underscore-dangle
104
106
  data: parentClone._rawData,
107
+ // eslint-disable-next-line no-underscore-dangle
105
108
  selected: parentClone._selected,
109
+ // eslint-disable-next-line no-underscore-dangle
106
110
  focused: parentClone._focused,
111
+ // eslint-disable-next-line no-underscore-dangle
107
112
  getKey: parentClone._getKey,
113
+ // eslint-disable-next-line no-underscore-dangle
108
114
  getChildren: parentClone._getChildren,
115
+ // eslint-disable-next-line no-underscore-dangle
109
116
  isItemSelectable: parentClone._isItemSelectable,
110
117
  partialSelected,
111
118
  });
@@ -1,5 +1,5 @@
1
- import { PureComponent, ReactNode } from 'react';
2
- import { FocusSensorAddProps } from '../global/focus-sensor-hoc';
1
+ import { PureComponent, type ReactNode } from 'react';
2
+ import { type FocusSensorAddProps } from '../global/focus-sensor-hoc';
3
3
  export interface TitleProps extends FocusSensorAddProps<HTMLDivElement> {
4
4
  onSelect: (selected: boolean) => void;
5
5
  selectable?: boolean | undefined;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  import type { Locale } from 'date-fns';
3
3
  declare const units: {
4
4
  unit: number;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { DatePopupBaseProps, Field } from './consts';
2
+ import { type DatePopupBaseProps, type Field } from './consts';
3
3
  export interface UpdateInputConfig {
4
4
  active: boolean;
5
5
  text: string | null;
@@ -53,7 +53,7 @@ export default class DateInput extends React.PureComponent {
53
53
  if (active && hoverDate) {
54
54
  displayText = displayFormat(hoverDate, locale);
55
55
  }
56
- else if (active && text != null) {
56
+ else if (active && text !== null && text !== undefined) {
57
57
  displayText = text;
58
58
  }
59
59
  else if (date) {
@@ -77,6 +77,6 @@ export default class DateInput extends React.PureComponent {
77
77
  }
78
78
  })();
79
79
  const classes = classNames(styles.filter, styles[`${name}Input`], divider && styles[`${name}InputWithDivider`], 'ring-js-shortcuts');
80
- return (_jsx(Input, { autoComplete: "off", borderless: true, height: ControlsHeight.L, "data-name": name, inputRef: this.inputRef, className: classes, value: displayText, onChange: this.handleChange, onFocus: onActivate, onKeyDown: this.handleKeyDown, onClear: onClear, placeholder: placeholder }));
80
+ return (_jsx(Input, { autoComplete: 'off', borderless: true, height: ControlsHeight.L, "data-name": name, inputRef: this.inputRef, className: classes, value: displayText, onChange: this.handleChange, onFocus: onActivate, onKeyDown: this.handleKeyDown, onClear: onClear, placeholder: placeholder }));
81
81
  }
82
82
  }
@@ -1,8 +1,8 @@
1
- @import "../global/variables.css";
2
- @import "../global/global.css";
1
+ @import '../global/variables.css';
2
+ @import '../global/global.css';
3
3
 
4
4
  /* ensure styles order */
5
- @import "../input/input.css";
5
+ @import '../input/input.css';
6
6
 
7
7
  :root,
8
8
  :host {
@@ -101,7 +101,7 @@
101
101
  }
102
102
 
103
103
  .filterWrapper {
104
- composes: filterWrapper from "../select/select-popup.css";
104
+ composes: filterWrapper from '../select/select-popup.css';
105
105
 
106
106
  display: flex;
107
107
 
@@ -109,7 +109,7 @@
109
109
  }
110
110
 
111
111
  .filter {
112
- composes: filter from "../select/select-popup.css";
112
+ composes: filter from '../select/select-popup.css';
113
113
  }
114
114
 
115
115
  .calendarIcon {
@@ -158,7 +158,7 @@
158
158
  top: 0;
159
159
  right: var(--ring-unit);
160
160
 
161
- content: "";
161
+ content: '';
162
162
 
163
163
  line-height: calc(4 * var(--ring-unit) - 2px);
164
164
  }
@@ -185,7 +185,7 @@
185
185
  position: absolute;
186
186
  left: calc(-1 * var(--ring-unit));
187
187
 
188
- content: ",";
188
+ content: ',';
189
189
 
190
190
  line-height: calc(4 * var(--ring-unit) - 3px);
191
191
  }
@@ -272,7 +272,7 @@
272
272
  }
273
273
 
274
274
  .day {
275
- composes: resetButton from "../global/global.css";
275
+ composes: resetButton from '../global/global.css';
276
276
  }
277
277
 
278
278
  .day.day {
@@ -348,7 +348,7 @@
348
348
  width: calc(var(--ring-unit) * 2);
349
349
  height: 100%;
350
350
 
351
- content: "";
351
+ content: '';
352
352
  transition: background-color var(--ring-ease);
353
353
  }
354
354
 
@@ -391,7 +391,7 @@
391
391
  width: calc(var(--ring-unit) * 23);
392
392
  height: calc(var(--ring-unit) * 8);
393
393
 
394
- content: "";
394
+ content: '';
395
395
  transition: background-color var(--ring-ease);
396
396
  }
397
397
 
@@ -423,7 +423,7 @@
423
423
  width: calc(var(--ring-unit) * 2);
424
424
  height: 100%;
425
425
 
426
- content: "";
426
+ content: '';
427
427
  transition: background-color var(--ring-ease);
428
428
  }
429
429
  }
@@ -475,7 +475,7 @@
475
475
  top: 0;
476
476
  left: calc(var(--ring-unit) * 0.5);
477
477
 
478
- content: "";
478
+ content: '';
479
479
 
480
480
  font-size: var(--ring-font-size-smaller);
481
481
  }
@@ -508,7 +508,7 @@
508
508
 
509
509
  .monthName {
510
510
  composes: hoverable;
511
- composes: resetButton from "../global/global.css";
511
+ composes: resetButton from '../global/global.css';
512
512
  }
513
513
 
514
514
  .monthName.monthName {
@@ -525,7 +525,7 @@
525
525
  }
526
526
 
527
527
  .monthSlider {
528
- composes: resetButton from "../global/global.css";
528
+ composes: resetButton from '../global/global.css';
529
529
  }
530
530
 
531
531
  .monthSlider.monthSlider {
@@ -578,7 +578,7 @@
578
578
 
579
579
  .year {
580
580
  composes: hoverable;
581
- composes: resetButton from "../global/global.css";
581
+ composes: resetButton from '../global/global.css';
582
582
  }
583
583
 
584
584
  .year.year {
@@ -1,11 +1,11 @@
1
- import { PureComponent, ButtonHTMLAttributes } from 'react';
1
+ import { PureComponent, type ButtonHTMLAttributes } from 'react';
2
2
  import * as React from 'react';
3
- import type { Locale } from 'date-fns';
4
3
  import Popup from '../popup/popup';
5
- import { DropdownAttrs } from '../dropdown/dropdown';
4
+ import { type DropdownAttrs } from '../dropdown/dropdown';
6
5
  import { Size } from '../input/input';
7
- import { DatePopupProps } from './date-popup';
8
- import { DateInputTranslations, DatePickerChange } from './consts';
6
+ import { type DatePopupProps } from './date-popup';
7
+ import { type DateInputTranslations, type DatePickerChange } from './consts';
8
+ import type { Locale } from 'date-fns';
9
9
  export interface DatePickerTranslations extends Partial<DateInputTranslations> {
10
10
  setDate: string;
11
11
  setDateTime: string;