{"action":"created","comment":{"url":"https://api.github.com/repos/skbkontur/retail-ui/pulls/comments/212544499","pull_request_review_id":149202003,"id":212544499,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjU0NDQ5OQ==","diff_hunk":"@@ -0,0 +1,97 @@\n+import * as React from 'react';\n+\n+/** Состояние */\n+export interface ElementStateProps {\n+  /** неактивное состояние */\n+  disabled?: boolean;\n+  /** состояние ошибки */\n+  error?: boolean;\n+  /** состояние предупреждения */\n+  warning?: boolean;\n+}\n+\n+/** Размер */\n+export interface ElementSizeProp {\n+  size?: 'small' | 'medium' | 'large';\n+}\n+\n+export interface BaseInputProps<T = HTMLInputElement>\n+  extends ElementStateProps {\n+  /** передеается в DOM-элемент */\n+  id?: string;\n+  /** передеается в DOM-элемент */\n+  name?: string;\n+  /** передеается в DOM-элемент */\n+  title?: string;\n+  /** передеается в DOM-элемент */\n+  tabIndex?: number;\n+  /** передеается в DOM-элемент */\n+  spellCheck?: boolean;\n+  /** передеается в DOM-элемент */\n+  placeholder?: string;\n+  /** передеается в DOM-элемент */\n+  role?: string;\n+  /** передеается в DOM-элемент */\n+  autofocus?: boolean;\n+  /** передеается в DOM-элемент */\n+  maxLength?: number;\n+  checked?: boolean;\n+\n+  /** передеается в DOM-элемент */\n+  onKeyDown?: React.KeyboardEventHandler<T>;\n+  /** передеается в DOM-элемент */\n+  onKeyPress?: React.KeyboardEventHandler<T>;\n+  /** передеается в DOM-элемент */\n+  onKeyUp?: React.KeyboardEventHandler<T>;\n+\n+  /** передеается в label-обертку */\n+  onMouseEnter?: React.MouseEventHandler<HTMLLabelElement>;","path":"packages/retail-ui/typings/common.d.ts","position":48,"original_position":48,"commit_id":"de6d579dd8597dc6697dcb7f01d25d51390a24e1","original_commit_id":"de6d579dd8597dc6697dcb7f01d25d51390a24e1","user":{"login":"nanot1m","id":9278185,"node_id":"MDQ6VXNlcjkyNzgxODU=","avatar_url":"https://avatars2.githubusercontent.com/u/9278185?v=4","gravatar_id":"","url":"https://api.github.com/users/nanot1m","html_url":"https://github.com/nanot1m","followers_url":"https://api.github.com/users/nanot1m/followers","following_url":"https://api.github.com/users/nanot1m/following{/other_user}","gists_url":"https://api.github.com/users/nanot1m/gists{/gist_id}","starred_url":"https://api.github.com/users/nanot1m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanot1m/subscriptions","organizations_url":"https://api.github.com/users/nanot1m/orgs","repos_url":"https://api.github.com/users/nanot1m/repos","events_url":"https://api.github.com/users/nanot1m/events{/privacy}","received_events_url":"https://api.github.com/users/nanot1m/received_events","type":"User","site_admin":false},"body":"HTMLLabelElement лучше заменить на HTMLElement, так как может быть ситуация что контрол не обернут в Label","created_at":"2018-08-24T07:37:44Z","updated_at":"2018-08-24T07:46:04Z","html_url":"https://github.com/skbkontur/retail-ui/pull/684#discussion_r212544499","pull_request_url":"https://api.github.com/repos/skbkontur/retail-ui/pulls/684","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/skbkontur/retail-ui/pulls/comments/212544499"},"html":{"href":"https://github.com/skbkontur/retail-ui/pull/684#discussion_r212544499"},"pull_request":{"href":"https://api.github.com/repos/skbkontur/retail-ui/pulls/684"}}},"pull_request":{"url":"https://api.github.com/repos/skbkontur/retail-ui/pulls/684","id":210417689,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNDE3Njg5","html_url":"https://github.com/skbkontur/retail-ui/pull/684","diff_url":"https://github.com/skbkontur/retail-ui/pull/684.diff","patch_url":"https://github.com/skbkontur/retail-ui/pull/684.patch","issue_url":"https://api.github.com/repos/skbkontur/retail-ui/issues/684","number":684,"state":"open","locked":false,"title":"Retail ui docs","user":{"login":"21alexander21","id":12668989,"node_id":"MDQ6VXNlcjEyNjY4OTg5","avatar_url":"https://avatars1.githubusercontent.com/u/12668989?v=4","gravatar_id":"","url":"https://api.github.com/users/21alexander21","html_url":"https://github.com/21alexander21","followers_url":"https://api.github.com/users/21alexander21/followers","following_url":"https://api.github.com/users/21alexander21/following{/other_user}","gists_url":"https://api.github.com/users/21alexander21/gists{/gist_id}","starred_url":"https://api.github.com/users/21alexander21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/21alexander21/subscriptions","organizations_url":"https://api.github.com/users/21alexander21/orgs","repos_url":"https://api.github.com/users/21alexander21/repos","events_url":"https://api.github.com/users/21alexander21/events{/privacy}","received_events_url":"https://api.github.com/users/21alexander21/received_events","type":"User","site_admin":false},"body":"- Интерфейсы пропсов некоторых компонентов почищены от `HTMLAttributes`\r\n- Выделены общие интерфейсы для некоторых компонентов\r\n- Обновлен styleguidist","created_at":"2018-08-23T11:34:37Z","updated_at":"2018-08-24T07:46:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"123aee6657e6c42a84977d18c4cf025fe9ccafba","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/skbkontur/retail-ui/pulls/684/commits","review_comments_url":"https://api.github.com/repos/skbkontur/retail-ui/pulls/684/comments","review_comment_url":"https://api.github.com/repos/skbkontur/retail-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/skbkontur/retail-ui/issues/684/comments","statuses_url":"https://api.github.com/repos/skbkontur/retail-ui/statuses/de6d579dd8597dc6697dcb7f01d25d51390a24e1","head":{"label":"skbkontur:retail-ui-docs","ref":"retail-ui-docs","sha":"de6d579dd8597dc6697dcb7f01d25d51390a24e1","user":{"login":"skbkontur","id":5087073,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUwODcwNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/5087073?v=4","gravatar_id":"","url":"https://api.github.com/users/skbkontur","html_url":"https://github.com/skbkontur","followers_url":"https://api.github.com/users/skbkontur/followers","following_url":"https://api.github.com/users/skbkontur/following{/other_user}","gists_url":"https://api.github.com/users/skbkontur/gists{/gist_id}","starred_url":"https://api.github.com/users/skbkontur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skbkontur/subscriptions","organizations_url":"https://api.github.com/users/skbkontur/orgs","repos_url":"https://api.github.com/users/skbkontur/repos","events_url":"https://api.github.com/users/skbkontur/events{/privacy}","received_events_url":"https://api.github.com/users/skbkontur/received_events","type":"Organization","site_admin":false},"repo":{"id":71260457,"node_id":"MDEwOlJlcG9zaXRvcnk3MTI2MDQ1Nw==","name":"retail-ui","full_name":"skbkontur/retail-ui","owner":{"login":"skbkontur","id":5087073,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUwODcwNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/5087073?v=4","gravatar_id":"","url":"https://api.github.com/users/skbkontur","html_url":"https://github.com/skbkontur","followers_url":"https://api.github.com/users/skbkontur/followers","following_url":"https://api.github.com/users/skbkontur/following{/other_user}","gists_url":"https://api.github.com/users/skbkontur/gists{/gist_id}","starred_url":"https://api.github.com/users/skbkontur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skbkontur/subscriptions","organizations_url":"https://api.github.com/users/skbkontur/orgs","repos_url":"https://api.github.com/users/skbkontur/repos","events_url":"https://api.github.com/users/skbkontur/events{/privacy}","received_events_url":"https://api.github.com/users/skbkontur/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/skbkontur/retail-ui","description":"React controls to implement standards at https://guides.kontur.ru/","fork":false,"url":"https://api.github.com/repos/skbkontur/retail-ui","forks_url":"https://api.github.com/repos/skbkontur/retail-ui/forks","keys_url":"https://api.github.com/repos/skbkontur/retail-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skbkontur/retail-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skbkontur/retail-ui/teams","hooks_url":"https://api.github.com/repos/skbkontur/retail-ui/hooks","issue_events_url":"https://api.github.com/repos/skbkontur/retail-ui/issues/events{/number}","events_url":"https://api.github.com/repos/skbkontur/retail-ui/events","assignees_url":"https://api.github.com/repos/skbkontur/retail-ui/assignees{/user}","branches_url":"https://api.github.com/repos/skbkontur/retail-ui/branches{/branch}","tags_url":"https://api.github.com/repos/skbkontur/retail-ui/tags","blobs_url":"https://api.github.com/repos/skbkontur/retail-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skbkontur/retail-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skbkontur/retail-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/skbkontur/retail-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skbkontur/retail-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/skbkontur/retail-ui/languages","stargazers_url":"https://api.github.com/repos/skbkontur/retail-ui/stargazers","contributors_url":"https://api.github.com/repos/skbkontur/retail-ui/contributors","subscribers_url":"https://api.github.com/repos/skbkontur/retail-ui/subscribers","subscription_url":"https://api.github.com/repos/skbkontur/retail-ui/subscription","commits_url":"https://api.github.com/repos/skbkontur/retail-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/skbkontur/retail-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/skbkontur/retail-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/skbkontur/retail-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/skbkontur/retail-ui/contents/{+path}","compare_url":"https://api.github.com/repos/skbkontur/retail-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skbkontur/retail-ui/merges","archive_url":"https://api.github.com/repos/skbkontur/retail-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skbkontur/retail-ui/downloads","issues_url":"https://api.github.com/repos/skbkontur/retail-ui/issues{/number}","pulls_url":"https://api.github.com/repos/skbkontur/retail-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/skbkontur/retail-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/skbkontur/retail-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skbkontur/retail-ui/labels{/name}","releases_url":"https://api.github.com/repos/skbkontur/retail-ui/releases{/id}","deployments_url":"https://api.github.com/repos/skbkontur/retail-ui/deployments","created_at":"2016-10-18T15:05:07Z","updated_at":"2018-08-23T12:26:15Z","pushed_at":"2018-08-24T07:17:35Z","git_url":"git://github.com/skbkontur/retail-ui.git","ssh_url":"git@github.com:skbkontur/retail-ui.git","clone_url":"https://github.com/skbkontur/retail-ui.git","svn_url":"https://github.com/skbkontur/retail-ui","homepage":"http://tech.skbkontur.ru/react-ui/","size":83971,"stargazers_count":81,"watchers_count":81,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":63,"mirror_url":null,"archived":false,"open_issues_count":66,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":63,"open_issues":66,"watchers":81,"default_branch":"master"}},"base":{"label":"skbkontur:master","ref":"master","sha":"e46216bd77996bd6c903dec16d3af30a0a5c6907","user":{"login":"skbkontur","id":5087073,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUwODcwNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/5087073?v=4","gravatar_id":"","url":"https://api.github.com/users/skbkontur","html_url":"https://github.com/skbkontur","followers_url":"https://api.github.com/users/skbkontur/followers","following_url":"https://api.github.com/users/skbkontur/following{/other_user}","gists_url":"https://api.github.com/users/skbkontur/gists{/gist_id}","starred_url":"https://api.github.com/users/skbkontur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skbkontur/subscriptions","organizations_url":"https://api.github.com/users/skbkontur/orgs","repos_url":"https://api.github.com/users/skbkontur/repos","events_url":"https://api.github.com/users/skbkontur/events{/privacy}","received_events_url":"https://api.github.com/users/skbkontur/received_events","type":"Organization","site_admin":false},"repo":{"id":71260457,"node_id":"MDEwOlJlcG9zaXRvcnk3MTI2MDQ1Nw==","name":"retail-ui","full_name":"skbkontur/retail-ui","owner":{"login":"skbkontur","id":5087073,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUwODcwNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/5087073?v=4","gravatar_id":"","url":"https://api.github.com/users/skbkontur","html_url":"https://github.com/skbkontur","followers_url":"https://api.github.com/users/skbkontur/followers","following_url":"https://api.github.com/users/skbkontur/following{/other_user}","gists_url":"https://api.github.com/users/skbkontur/gists{/gist_id}","starred_url":"https://api.github.com/users/skbkontur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skbkontur/subscriptions","organizations_url":"https://api.github.com/users/skbkontur/orgs","repos_url":"https://api.github.com/users/skbkontur/repos","events_url":"https://api.github.com/users/skbkontur/events{/privacy}","received_events_url":"https://api.github.com/users/skbkontur/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/skbkontur/retail-ui","description":"React controls to implement standards at https://guides.kontur.ru/","fork":false,"url":"https://api.github.com/repos/skbkontur/retail-ui","forks_url":"https://api.github.com/repos/skbkontur/retail-ui/forks","keys_url":"https://api.github.com/repos/skbkontur/retail-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skbkontur/retail-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skbkontur/retail-ui/teams","hooks_url":"https://api.github.com/repos/skbkontur/retail-ui/hooks","issue_events_url":"https://api.github.com/repos/skbkontur/retail-ui/issues/events{/number}","events_url":"https://api.github.com/repos/skbkontur/retail-ui/events","assignees_url":"https://api.github.com/repos/skbkontur/retail-ui/assignees{/user}","branches_url":"https://api.github.com/repos/skbkontur/retail-ui/branches{/branch}","tags_url":"https://api.github.com/repos/skbkontur/retail-ui/tags","blobs_url":"https://api.github.com/repos/skbkontur/retail-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skbkontur/retail-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skbkontur/retail-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/skbkontur/retail-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skbkontur/retail-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/skbkontur/retail-ui/languages","stargazers_url":"https://api.github.com/repos/skbkontur/retail-ui/stargazers","contributors_url":"https://api.github.com/repos/skbkontur/retail-ui/contributors","subscribers_url":"https://api.github.com/repos/skbkontur/retail-ui/subscribers","subscription_url":"https://api.github.com/repos/skbkontur/retail-ui/subscription","commits_url":"https://api.github.com/repos/skbkontur/retail-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/skbkontur/retail-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/skbkontur/retail-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/skbkontur/retail-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/skbkontur/retail-ui/contents/{+path}","compare_url":"https://api.github.com/repos/skbkontur/retail-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skbkontur/retail-ui/merges","archive_url":"https://api.github.com/repos/skbkontur/retail-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skbkontur/retail-ui/downloads","issues_url":"https://api.github.com/repos/skbkontur/retail-ui/issues{/number}","pulls_url":"https://api.github.com/repos/skbkontur/retail-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/skbkontur/retail-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/skbkontur/retail-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skbkontur/retail-ui/labels{/name}","releases_url":"https://api.github.com/repos/skbkontur/retail-ui/releases{/id}","deployments_url":"https://api.github.com/repos/skbkontur/retail-ui/deployments","created_at":"2016-10-18T15:05:07Z","updated_at":"2018-08-23T12:26:15Z","pushed_at":"2018-08-24T07:17:35Z","git_url":"git://github.com/skbkontur/retail-ui.git","ssh_url":"git@github.com:skbkontur/retail-ui.git","clone_url":"https://github.com/skbkontur/retail-ui.git","svn_url":"https://github.com/skbkontur/retail-ui","homepage":"http://tech.skbkontur.ru/react-ui/","size":83971,"stargazers_count":81,"watchers_count":81,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":63,"mirror_url":null,"archived":false,"open_issues_count":66,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":63,"open_issues":66,"watchers":81,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/skbkontur/retail-ui/pulls/684"},"html":{"href":"https://github.com/skbkontur/retail-ui/pull/684"},"issue":{"href":"https://api.github.com/repos/skbkontur/retail-ui/issues/684"},"comments":{"href":"https://api.github.com/repos/skbkontur/retail-ui/issues/684/comments"},"review_comments":{"href":"https://api.github.com/repos/skbkontur/retail-ui/pulls/684/comments"},"review_comment":{"href":"https://api.github.com/repos/skbkontur/retail-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/skbkontur/retail-ui/pulls/684/commits"},"statuses":{"href":"https://api.github.com/repos/skbkontur/retail-ui/statuses/de6d579dd8597dc6697dcb7f01d25d51390a24e1"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"nanot1m"}}