{"id":18544491,"url":"https://github.com/instructure/ic-tabs","last_synced_at":"2025-04-09T19:30:45.477Z","repository":{"id":14663730,"uuid":"17382288","full_name":"instructure/ic-tabs","owner":"instructure","description":null,"archived":false,"fork":false,"pushed_at":"2014-03-29T20:50:59.000Z","size":2052,"stargazers_count":64,"open_issues_count":5,"forks_count":12,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-11T02:07:25.987Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/instructure.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-03T22:24:06.000Z","updated_at":"2024-09-02T16:19:30.000Z","dependencies_parsed_at":"2022-07-17T04:46:06.660Z","dependency_job_id":null,"html_url":"https://github.com/instructure/ic-tabs","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instructure%2Fic-tabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instructure%2Fic-tabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instructure%2Fic-tabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instructure%2Fic-tabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/instructure","download_url":"https://codeload.github.com/instructure/ic-tabs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223407796,"owners_count":17140563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T20:16:42.456Z","updated_at":"2024-11-06T20:16:43.005Z","avatar_url":"https://github.com/instructure.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ic-tabs\n=======\n\n[![Build Status](https://travis-ci.org/instructure/ic-tabs.png?branch=master)](https://travis-ci.org/instructure/ic-tabs)\n\n[WAI-ARIA][wai-aria] accessible tab component for [Ember.js][ember].\n\nDemo\n----\n\nhttp://instructure.github.io/ic-tabs\n\nInstallation\n------------\n\n```sh\n$ npm install ic-tabs\n```\n\nor ...\n\n```sh\n$ bower install ic-tabs\n```\n\nor just grab your preferred distribution from `dist/`.\n\nThen include the script(s) into your application:\n\n\n### npm+browserify\n\n`require('ic-tabs')`\n\n### amd\n\nRegister `ic-tabs` as a [package][rjspackage], then:\n\n`define(['ic-tabs'], ...)`\n\n### named-amd\n\nYou ought to know what you're doing if this is the case.\n\n### globals\n\n`\u003cscript src=\"bower_components/ic-styled/main.js\"\u003e\u003c/script\u003e`\n`\u003cscript src=\"bower_components/ic-tabs/dist/globals/main.js\"\u003e\u003c/script\u003e`\n\nUsage\n-----\n\n```handlebars\n{{#ic-tabs}}\n  {{#ic-tab-list}}\n    {{#ic-tab}}Foo{{/ic-tab}}\n    {{#ic-tab}}Bar{{/ic-tab}}\n    {{#ic-tab}}Baz{{/ic-tab}}\n  {{/ic-tab-list}}\n\n  {{#ic-tab-panel}}\n    \u003ch2\u003eFoo\u003c/h2\u003e\n  {{/ic-tab-panel}}\n\n  {{#ic-tab-panel}}\n    \u003ch2\u003eBar\u003c/h2\u003e\n  {{/ic-tab-panel}}\n\n  {{#ic-tab-panel}}\n    \u003ch2\u003eBaz\u003c/h2\u003e\n  {{/ic-tab-panel}}\n{{/ic-tabs}}\n```\n\n- associations between tabs and tab-panes are inferred by order.\n- `ic-tab-list` must be an immediate child of `ic-tabs`\n- `ic-tab` must be an immediate child of `ic-tab-list`\n- `ic-tab-panel` must be an immediate child of `ic-tabs`\n\nOptions\n-------\n\n- `{{ic-tabs selected-index=prop}}` - binds the active-index to prop,\n  mostly useful for `queryParams`.\n\nContributing\n------------\n\n```sh\n$ git clone \u003cthis repo\u003e\n$ npm install\n$ npm test\n# during dev\n$ broccoli serve\n# edit examples/ files and karma.conf to point to\n# localhost:4200/globals/main.js instead of dist/globals/main.js\n# new tab\n$ karma start\n```\n\nMake a new branch, send a pull request, squashing commits into one\nchange is preferred.\n\n\n\n  [rjspackage]:http://requirejs.org/docs/api.html#packages\n  [ember]:http://emberjs.com\n  [wai-aria]:http://www.w3.org/TR/wai-aria/roles#tab\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstructure%2Fic-tabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finstructure%2Fic-tabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstructure%2Fic-tabs/lists"}