<commit_before>/**
	A icon that acts like a button. The icon image is specified by setting the src property to a url.

		{kind: "onyx.IconButton", src: "images/search.png", ontap: "buttonTap"}
	
	If an icon should be combined with text inside a button, use an <a href="#onyx.Icon">onyx.Icon</a> inside an <a href="#onyx.Button">onyx.Button</a>.

		{kind: "onyx.Button", ontap: "buttonTap", components: [
			{kind: "onyx.Icon", src: "images/search.png"},
			{content: "Button"}
		]}

*/
enyo.kind({
	name: "onyx.IconButton",
	kind: "onyx.Icon",
	published: {
		active: false
	},
	classes: "onyx-icon-button",
	//* @protected
	rendered: function() {
		this.inherited(arguments);
		this.activeChanged();
	},
	tap: function() {
		this.setActive(true);
	},
	activeChanged: function() {
		this.bubble("onActivate");
	}
});<commit_msg>Add documentation about expected 32x64 image size for IconButtons<commit_after>/**
	A icon that acts like a button. The icon image is specified by setting the src property to a url.

		{kind: "onyx.IconButton", src: "images/search.png", ontap: "buttonTap"}
	
	If an icon should be combined with text inside a button, use an 
	<a href="#onyx.Icon">onyx.Icon</a> inside an <a	href="#onyx.Button">onyx.Button</a>.

		{kind: "onyx.Button", ontap: "buttonTap", components: [
			{kind: "onyx.Icon", src: "images/search.png"},
			{content: "Button"}
		]}

	The image associated with the src property of the onyx.IconButton  is
	assumed to be 32x64 pixel strip with the top image showing normally, and
	the bottom one showing with the button is hovered over or active.
*/
enyo.kind({
	name: "onyx.IconButton",
	kind: "onyx.Icon",
	published: {
		active: false
	},
	classes: "onyx-icon-button",
	//* @protected
	rendered: function() {
		this.inherited(arguments);
		this.activeChanged();
	},
	tap: function() {
		this.setActive(true);
	},
	activeChanged: function() {
		this.bubble("onActivate");
	}
});
{'fraction_non_alphanumeric': 0.15556711758584807, 'fraction_numerical': 0.004162330905306972, 'mean_word_length': 4.1554959785522785, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4379249', 'n_tokens_mistral': 702, 'n_tokens_neox': 657, 'n_words': 200}