{"action":"opened","issue":{"url":"https://api.github.com/repos/wix/stylable-intelligence/issues/179","repository_url":"https://api.github.com/repos/wix/stylable-intelligence","labels_url":"https://api.github.com/repos/wix/stylable-intelligence/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/wix/stylable-intelligence/issues/179/comments","events_url":"https://api.github.com/repos/wix/stylable-intelligence/issues/179/events","html_url":"https://github.com/wix/stylable-intelligence/issues/179","id":295169147,"number":179,"title":"Support pseudo states with params","user":{"login":"tomrav","id":6399886,"avatar_url":"https://avatars1.githubusercontent.com/u/6399886?v=4","gravatar_id":"","url":"https://api.github.com/users/tomrav","html_url":"https://github.com/tomrav","followers_url":"https://api.github.com/users/tomrav/followers","following_url":"https://api.github.com/users/tomrav/following{/other_user}","gists_url":"https://api.github.com/users/tomrav/gists{/gist_id}","starred_url":"https://api.github.com/users/tomrav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomrav/subscriptions","organizations_url":"https://api.github.com/users/tomrav/orgs","repos_url":"https://api.github.com/users/tomrav/repos","events_url":"https://api.github.com/users/tomrav/events{/privacy}","received_events_url":"https://api.github.com/users/tomrav/received_events","type":"User","site_admin":false},"labels":[{"id":680623491,"url":"https://api.github.com/repos/wix/stylable-intelligence/labels/feature","name":"feature","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-07T14:59:51Z","updated_at":"2018-02-07T14:59:51Z","closed_at":null,"author_association":"NONE","body":"Example:\r\n\r\n```css\r\n.myClass {\r\n  -st-states: myState( string( minLength(3), regex(\"^user\"), contains(name) );\r\n}\r\n\r\n.myClass:myState(username);\r\n```\r\n\r\nIn definition:\r\n- completions:\r\n  - available types\r\n  - available validators for a given type (allowing repeating validators)\r\n- signature hinting:\r\n  - available validators for a given type\r\n  - inside each validator hint their arguments (currently limited to a single argument)\r\n\r\nIn usage:\r\n- completions:\r\n  - state name\r\n  - for enum type, suggest possible parameter values\r\n- signature hinting:\r\n  - show type signature with defined validators\r\n- go to definition (make sure we don't break it)"}}
{"actor":{"display_login":"tomrav"}}