{"action":"created","comment":{"url":"https://api.github.com/repos/twilio-labs/paste/pulls/comments/359478028","pull_request_review_id":334145588,"id":359478028,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM1OTQ3ODAyOA==","diff_hunk":"@@ -0,0 +1,30 @@\n+import {\n+  LAYOUT_PROPS,\n+  SPACE_PROPS,\n+  BACKGROUND_PROPS,\n+  BORDER_PROPS,\n+  SHADOW_PROPS,\n+  POSITION_PROPS,\n+  FLEXBOX_PROPS,\n+} from '@twilio-paste/style-props';\n+\n+export const BOX_PROPS_TO_BLOCK = [\n+  ...LAYOUT_PROPS,\n+  ...SPACE_PROPS,\n+  ...BACKGROUND_PROPS,\n+  ...BORDER_PROPS,\n+  ...SHADOW_PROPS,\n+  ...POSITION_PROPS,\n+  ...FLEXBOX_PROPS,\n+  'backgroundColor',\n+  'borderColor',\n+  'className',\n+  'style',\n+];\n+\n+export const safelySpreadBoxProps = (props: {}, compName: string): void => {\n+  const badProps = Object.keys(props).filter(prop => BOX_PROPS_TO_BLOCK.includes(prop));\n+  if (badProps.length > 0) {\n+    throw new Error(`${badProps.join(', ')} cannot be restyled for the ${compName} component`);","path":"packages/paste-core/utilities/box/src/SafelySpreadProps.ts","position":28,"original_position":28,"commit_id":"31ad885985450fa95e4d96cee7d5fbad629de331","original_commit_id":"31ad885985450fa95e4d96cee7d5fbad629de331","user":{"login":"SiTaggart","id":368249,"node_id":"MDQ6VXNlcjM2ODI0OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/368249?v=4","gravatar_id":"","url":"https://api.github.com/users/SiTaggart","html_url":"https://github.com/SiTaggart","followers_url":"https://api.github.com/users/SiTaggart/followers","following_url":"https://api.github.com/users/SiTaggart/following{/other_user}","gists_url":"https://api.github.com/users/SiTaggart/gists{/gist_id}","starred_url":"https://api.github.com/users/SiTaggart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SiTaggart/subscriptions","organizations_url":"https://api.github.com/users/SiTaggart/orgs","repos_url":"https://api.github.com/users/SiTaggart/repos","events_url":"https://api.github.com/users/SiTaggart/events{/privacy}","received_events_url":"https://api.github.com/users/SiTaggart/received_events","type":"User","site_admin":false},"body":"OK, so back to mutating the object. That works for me","created_at":"2019-12-18T17:36:29Z","updated_at":"2019-12-18T17:36:29Z","html_url":"https://github.com/twilio-labs/paste/pull/221#discussion_r359478028","pull_request_url":"https://api.github.com/repos/twilio-labs/paste/pulls/221","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/twilio-labs/paste/pulls/comments/359478028"},"html":{"href":"https://github.com/twilio-labs/paste/pull/221#discussion_r359478028"},"pull_request":{"href":"https://api.github.com/repos/twilio-labs/paste/pulls/221"}},"in_reply_to_id":359083423},"pull_request":{"url":"https://api.github.com/repos/twilio-labs/paste/pulls/221","id":349211160,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQ5MjExMTYw","html_url":"https://github.com/twilio-labs/paste/pull/221","diff_url":"https://github.com/twilio-labs/paste/pull/221.diff","patch_url":"https://github.com/twilio-labs/paste/pull/221.patch","issue_url":"https://api.github.com/repos/twilio-labs/paste/issues/221","number":221,"state":"open","locked":false,"title":"feat(list): create the list component package","user":{"login":"SiTaggart","id":368249,"node_id":"MDQ6VXNlcjM2ODI0OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/368249?v=4","gravatar_id":"","url":"https://api.github.com/users/SiTaggart","html_url":"https://github.com/SiTaggart","followers_url":"https://api.github.com/users/SiTaggart/followers","following_url":"https://api.github.com/users/SiTaggart/following{/other_user}","gists_url":"https://api.github.com/users/SiTaggart/gists{/gist_id}","starred_url":"https://api.github.com/users/SiTaggart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SiTaggart/subscriptions","organizations_url":"https://api.github.com/users/SiTaggart/orgs","repos_url":"https://api.github.com/users/SiTaggart/repos","events_url":"https://api.github.com/users/SiTaggart/events{/privacy}","received_events_url":"https://api.github.com/users/SiTaggart/received_events","type":"User","site_admin":false},"body":"Create the list component package\r\n\r\n- [x] Create the package\r\n- [x] Create stories\r\n- [x] Tests","created_at":"2019-12-05T01:36:39Z","updated_at":"2019-12-18T17:36:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"15bb28f72ece97d1f030bd6d78ec23a3cafaeba4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/twilio-labs/paste/pulls/221/commits","review_comments_url":"https://api.github.com/repos/twilio-labs/paste/pulls/221/comments","review_comment_url":"https://api.github.com/repos/twilio-labs/paste/pulls/comments{/number}","comments_url":"https://api.github.com/repos/twilio-labs/paste/issues/221/comments","statuses_url":"https://api.github.com/repos/twilio-labs/paste/statuses/31ad885985450fa95e4d96cee7d5fbad629de331","head":{"label":"twilio-labs:feat/list","ref":"feat/list","sha":"31ad885985450fa95e4d96cee7d5fbad629de331","user":{"login":"twilio-labs","id":45860984,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1ODYwOTg0","avatar_url":"https://avatars1.githubusercontent.com/u/45860984?v=4","gravatar_id":"","url":"https://api.github.com/users/twilio-labs","html_url":"https://github.com/twilio-labs","followers_url":"https://api.github.com/users/twilio-labs/followers","following_url":"https://api.github.com/users/twilio-labs/following{/other_user}","gists_url":"https://api.github.com/users/twilio-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/twilio-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twilio-labs/subscriptions","organizations_url":"https://api.github.com/users/twilio-labs/orgs","repos_url":"https://api.github.com/users/twilio-labs/repos","events_url":"https://api.github.com/users/twilio-labs/events{/privacy}","received_events_url":"https://api.github.com/users/twilio-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":198508610,"node_id":"MDEwOlJlcG9zaXRvcnkxOTg1MDg2MTA=","name":"paste","full_name":"twilio-labs/paste","private":false,"owner":{"login":"twilio-labs","id":45860984,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1ODYwOTg0","avatar_url":"https://avatars1.githubusercontent.com/u/45860984?v=4","gravatar_id":"","url":"https://api.github.com/users/twilio-labs","html_url":"https://github.com/twilio-labs","followers_url":"https://api.github.com/users/twilio-labs/followers","following_url":"https://api.github.com/users/twilio-labs/following{/other_user}","gists_url":"https://api.github.com/users/twilio-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/twilio-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twilio-labs/subscriptions","organizations_url":"https://api.github.com/users/twilio-labs/orgs","repos_url":"https://api.github.com/users/twilio-labs/repos","events_url":"https://api.github.com/users/twilio-labs/events{/privacy}","received_events_url":"https://api.github.com/users/twilio-labs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/twilio-labs/paste","description":"Paste is a design system for designing and building consistent experiences at Twilio.","fork":false,"url":"https://api.github.com/repos/twilio-labs/paste","forks_url":"https://api.github.com/repos/twilio-labs/paste/forks","keys_url":"https://api.github.com/repos/twilio-labs/paste/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twilio-labs/paste/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twilio-labs/paste/teams","hooks_url":"https://api.github.com/repos/twilio-labs/paste/hooks","issue_events_url":"https://api.github.com/repos/twilio-labs/paste/issues/events{/number}","events_url":"https://api.github.com/repos/twilio-labs/paste/events","assignees_url":"https://api.github.com/repos/twilio-labs/paste/assignees{/user}","branches_url":"https://api.github.com/repos/twilio-labs/paste/branches{/branch}","tags_url":"https://api.github.com/repos/twilio-labs/paste/tags","blobs_url":"https://api.github.com/repos/twilio-labs/paste/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twilio-labs/paste/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twilio-labs/paste/git/refs{/sha}","trees_url":"https://api.github.com/repos/twilio-labs/paste/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twilio-labs/paste/statuses/{sha}","languages_url":"https://api.github.com/repos/twilio-labs/paste/languages","stargazers_url":"https://api.github.com/repos/twilio-labs/paste/stargazers","contributors_url":"https://api.github.com/repos/twilio-labs/paste/contributors","subscribers_url":"https://api.github.com/repos/twilio-labs/paste/subscribers","subscription_url":"https://api.github.com/repos/twilio-labs/paste/subscription","commits_url":"https://api.github.com/repos/twilio-labs/paste/commits{/sha}","git_commits_url":"https://api.github.com/repos/twilio-labs/paste/git/commits{/sha}","comments_url":"https://api.github.com/repos/twilio-labs/paste/comments{/number}","issue_comment_url":"https://api.github.com/repos/twilio-labs/paste/issues/comments{/number}","contents_url":"https://api.github.com/repos/twilio-labs/paste/contents/{+path}","compare_url":"https://api.github.com/repos/twilio-labs/paste/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twilio-labs/paste/merges","archive_url":"https://api.github.com/repos/twilio-labs/paste/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twilio-labs/paste/downloads","issues_url":"https://api.github.com/repos/twilio-labs/paste/issues{/number}","pulls_url":"https://api.github.com/repos/twilio-labs/paste/pulls{/number}","milestones_url":"https://api.github.com/repos/twilio-labs/paste/milestones{/number}","notifications_url":"https://api.github.com/repos/twilio-labs/paste/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twilio-labs/paste/labels{/name}","releases_url":"https://api.github.com/repos/twilio-labs/paste/releases{/id}","deployments_url":"https://api.github.com/repos/twilio-labs/paste/deployments","created_at":"2019-07-23T21:09:36Z","updated_at":"2019-12-18T17:21:42Z","pushed_at":"2019-12-18T17:22:11Z","git_url":"git://github.com/twilio-labs/paste.git","ssh_url":"git@github.com:twilio-labs/paste.git","clone_url":"https://github.com/twilio-labs/paste.git","svn_url":"https://github.com/twilio-labs/paste","homepage":"https://paste.twilio.design","size":23076,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":21,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":18,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":21,"open_issues":18,"watchers":16,"default_branch":"master"}},"base":{"label":"twilio-labs:master","ref":"master","sha":"f27094574ec09776ed896584ef6fb24d1c8233d5","user":{"login":"twilio-labs","id":45860984,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1ODYwOTg0","avatar_url":"https://avatars1.githubusercontent.com/u/45860984?v=4","gravatar_id":"","url":"https://api.github.com/users/twilio-labs","html_url":"https://github.com/twilio-labs","followers_url":"https://api.github.com/users/twilio-labs/followers","following_url":"https://api.github.com/users/twilio-labs/following{/other_user}","gists_url":"https://api.github.com/users/twilio-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/twilio-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twilio-labs/subscriptions","organizations_url":"https://api.github.com/users/twilio-labs/orgs","repos_url":"https://api.github.com/users/twilio-labs/repos","events_url":"https://api.github.com/users/twilio-labs/events{/privacy}","received_events_url":"https://api.github.com/users/twilio-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":198508610,"node_id":"MDEwOlJlcG9zaXRvcnkxOTg1MDg2MTA=","name":"paste","full_name":"twilio-labs/paste","private":false,"owner":{"login":"twilio-labs","id":45860984,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1ODYwOTg0","avatar_url":"https://avatars1.githubusercontent.com/u/45860984?v=4","gravatar_id":"","url":"https://api.github.com/users/twilio-labs","html_url":"https://github.com/twilio-labs","followers_url":"https://api.github.com/users/twilio-labs/followers","following_url":"https://api.github.com/users/twilio-labs/following{/other_user}","gists_url":"https://api.github.com/users/twilio-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/twilio-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twilio-labs/subscriptions","organizations_url":"https://api.github.com/users/twilio-labs/orgs","repos_url":"https://api.github.com/users/twilio-labs/repos","events_url":"https://api.github.com/users/twilio-labs/events{/privacy}","received_events_url":"https://api.github.com/users/twilio-labs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/twilio-labs/paste","description":"Paste is a design system for designing and building consistent experiences at Twilio.","fork":false,"url":"https://api.github.com/repos/twilio-labs/paste","forks_url":"https://api.github.com/repos/twilio-labs/paste/forks","keys_url":"https://api.github.com/repos/twilio-labs/paste/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twilio-labs/paste/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twilio-labs/paste/teams","hooks_url":"https://api.github.com/repos/twilio-labs/paste/hooks","issue_events_url":"https://api.github.com/repos/twilio-labs/paste/issues/events{/number}","events_url":"https://api.github.com/repos/twilio-labs/paste/events","assignees_url":"https://api.github.com/repos/twilio-labs/paste/assignees{/user}","branches_url":"https://api.github.com/repos/twilio-labs/paste/branches{/branch}","tags_url":"https://api.github.com/repos/twilio-labs/paste/tags","blobs_url":"https://api.github.com/repos/twilio-labs/paste/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twilio-labs/paste/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twilio-labs/paste/git/refs{/sha}","trees_url":"https://api.github.com/repos/twilio-labs/paste/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twilio-labs/paste/statuses/{sha}","languages_url":"https://api.github.com/repos/twilio-labs/paste/languages","stargazers_url":"https://api.github.com/repos/twilio-labs/paste/stargazers","contributors_url":"https://api.github.com/repos/twilio-labs/paste/contributors","subscribers_url":"https://api.github.com/repos/twilio-labs/paste/subscribers","subscription_url":"https://api.github.com/repos/twilio-labs/paste/subscription","commits_url":"https://api.github.com/repos/twilio-labs/paste/commits{/sha}","git_commits_url":"https://api.github.com/repos/twilio-labs/paste/git/commits{/sha}","comments_url":"https://api.github.com/repos/twilio-labs/paste/comments{/number}","issue_comment_url":"https://api.github.com/repos/twilio-labs/paste/issues/comments{/number}","contents_url":"https://api.github.com/repos/twilio-labs/paste/contents/{+path}","compare_url":"https://api.github.com/repos/twilio-labs/paste/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twilio-labs/paste/merges","archive_url":"https://api.github.com/repos/twilio-labs/paste/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twilio-labs/paste/downloads","issues_url":"https://api.github.com/repos/twilio-labs/paste/issues{/number}","pulls_url":"https://api.github.com/repos/twilio-labs/paste/pulls{/number}","milestones_url":"https://api.github.com/repos/twilio-labs/paste/milestones{/number}","notifications_url":"https://api.github.com/repos/twilio-labs/paste/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twilio-labs/paste/labels{/name}","releases_url":"https://api.github.com/repos/twilio-labs/paste/releases{/id}","deployments_url":"https://api.github.com/repos/twilio-labs/paste/deployments","created_at":"2019-07-23T21:09:36Z","updated_at":"2019-12-18T17:21:42Z","pushed_at":"2019-12-18T17:22:11Z","git_url":"git://github.com/twilio-labs/paste.git","ssh_url":"git@github.com:twilio-labs/paste.git","clone_url":"https://github.com/twilio-labs/paste.git","svn_url":"https://github.com/twilio-labs/paste","homepage":"https://paste.twilio.design","size":23076,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":21,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":18,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":21,"open_issues":18,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/twilio-labs/paste/pulls/221"},"html":{"href":"https://github.com/twilio-labs/paste/pull/221"},"issue":{"href":"https://api.github.com/repos/twilio-labs/paste/issues/221"},"comments":{"href":"https://api.github.com/repos/twilio-labs/paste/issues/221/comments"},"review_comments":{"href":"https://api.github.com/repos/twilio-labs/paste/pulls/221/comments"},"review_comment":{"href":"https://api.github.com/repos/twilio-labs/paste/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/twilio-labs/paste/pulls/221/commits"},"statuses":{"href":"https://api.github.com/repos/twilio-labs/paste/statuses/31ad885985450fa95e4d96cee7d5fbad629de331"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"SiTaggart"}}