repo stringlengths 5 106 | file_url stringlengths 78 301 | file_path stringlengths 4 211 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:56:49 2026-01-05 02:23:25 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/examples/assets/show-examples.js | examples/assets/show-examples.js | $(document)
.ready(function() {
// add popup to show name
$('.ui:not(.container, .grid)').each(function() {
$(this)
.popup({
on : 'hover',
variation : 'small inverted',
exclusive : true,
content : $(this).attr('class')
})... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/examples/assets/library/jquery.min.js | examples/assets/library/jquery.min.js | /*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof windo... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | true |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/examples/assets/library/iframe.js | examples/assets/library/iframe.js | /*
* File: iframeResizer.js
* Desc: Force iframes to size to content.
* Requires: iframeResizer.contentWindow.js to be loaded into the target frame.
* Doc: https://github.com/davidjbradshaw/iframe-resizer
* Author: David J. Bradshaw - dave@bradshaw.net
* Contributor: Jure Mav - jure.mav@gmail.com
* Contributor: ... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/examples/assets/library/iframe-content.js | examples/assets/library/iframe-content.js | /*
* File: iframeResizer.contentWindow.js
* Desc: Include this file in any page being loaded into an iframe
* to force the iframe to resize to the content size.
* Requires: iframeResizer.js on host page.
* Doc: https://github.com/davidjbradshaw/iframe-resizer
* Author: David J. Bradshaw - dave@bradshaw.net
... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | true |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/semantic.min.js | dist/semantic.min.js | /*
* # Semantic UI - 2.5.0
* https://github.com/Semantic-Org/Semantic-UI
* http://www.semantic-ui.com/
*
* Copyright 2022 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
| javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | true |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/semantic.js | dist/semantic.js | /*
* # Semantic UI - 2.5.0
* https://github.com/Semantic-Org/Semantic-UI
* http://www.semantic-ui.com/
*
* Copyright 2022 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*!
* # Semantic UI 2.5.0 - Site
* http://github.com/semantic-org/semantic-ui/
*
*
* Released u... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | true |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/tab.js | dist/components/tab.js | /*!
* # Semantic UI 2.5.0 - Tab
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof self !... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | true |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/tab.min.js | dist/components/tab.min.js | !function(E,O,w,k){"use strict";O=void 0!==O&&O.Math==Math?O:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),E.fn.tab=function(r){var l,d=E.isFunction(this)?E(O):E(this),u=d.selector||"",b=(new Date).getTime(),g=[],f=r,F="string"==typeof f,S=[].slice.call(arguments,1),j=!1;return d.each(functio... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/sticky.min.js | dist/components/sticky.min.js | !function(T,w,B,P){"use strict";w=void 0!==w&&w.Math==Math?w:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),T.fn.sticky=function(b){var v,e=T(this),x=e.selector||"",S=(new Date).getTime(),C=[],y=b,k="string"==typeof y,z=[].slice.call(arguments,1);return e.each(function(){var n,i,e,t,m=T.isPlai... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/shape.min.js | dist/components/shape.min.js | !function(H,e,T,Z){"use strict";e=void 0!==e&&e.Math==Math?e:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),H.fn.shape=function(v){var b,x=H(this),y=(H("body"),(new Date).getTime()),S=[],w=v,C="string"==typeof w,W=[].slice.call(arguments,1),F=e.requestAnimationFrame||e.mozRequestAnimationFrame... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/visibility.min.js | dist/components/visibility.min.js | !function(O,z,A,w){"use strict";z=void 0!==z&&z.Math==Math?z:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),O.fn.visibility=function(h){var P,e=O(this),x=e.selector||"",C=(new Date).getTime(),y=[],S=h,R="string"==typeof S,V=[].slice.call(arguments,1),k=e.length,T=0;return e.each(function(){var... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/form.min.js | dist/components/form.min.js | !function(T,e,D,O){"use strict";e=void 0!==e&&e.Math==Math?e:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),T.fn.form=function(x){var k,E=T(this),w=E.selector||"",C=(new Date).getTime(),V=[],R=x,F=arguments[1],S="string"==typeof R,A=[].slice.call(arguments,1);return E.each(function(){var n,s,t... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/form.js | dist/components/form.js | /*!
* # Semantic UI 2.5.0 - Form Validation
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (t... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | true |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/rating.min.js | dist/components/rating.min.js | !function(C,e,T){"use strict";e=void 0!==e&&e.Math==Math?e:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),C.fn.rating=function(m){var f,v=C(this),p=v.selector||"",b=(new Date).getTime(),h=[],y=m,x="string"==typeof y,R=[].slice.call(arguments,1);return v.each(function(){var e,i=C.isPlainObject(... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/progress.js | dist/components/progress.js | /*!
* # Semantic UI 2.5.0 - Progress
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof s... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/search.min.js | dist/components/search.min.js | !function(q,A,E,D){"use strict";A=void 0!==A&&A.Math==Math?A:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),q.fn.search=function(o){var C,x=q(this),w=x.selector||"",S=(new Date).getTime(),F=[],j=o,T="string"==typeof j,k=[].slice.call(arguments,1);return q(this).each(function(){var u=q.isPlainO... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/dimmer.min.js | dist/components/dimmer.min.js | !function(x,e,F,T){"use strict";e=void 0!==e&&e.Math==Math?e:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),x.fn.dimmer=function(p){var b,v=x(this),h=(new Date).getTime(),y=[],C=p,w="string"==typeof C,S=[].slice.call(arguments,1);return v.each(function(){var a,i,r=x.isPlainObject(p)?x.extend(!... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/rating.js | dist/components/rating.js | /*!
* # Semantic UI 2.5.0 - Rating
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof sel... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/sidebar.min.js | dist/components/sidebar.min.js | !function(D,j,R,z){"use strict";j=void 0!==j&&j.Math==Math?j:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),D.fn.sidebar=function(C){var k,e=D(this),w=D(j),T=D(R),x=D("html"),S=D("head"),A=e.selector||"",F=(new Date).getTime(),O=[],P=C,E="string"==typeof P,H=[].slice.call(arguments,1),M=j.requ... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/modal.min.js | dist/components/modal.min.js | !function(j,q,L,N){"use strict";q=void 0!==q&&q.Math==Math?q:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),j.fn.modal=function(w){var C,e=j(this),F=j(q),M=j(L),x=j("body"),H=e.selector||"",A=(new Date).getTime(),O=[],D=w,T="string"==typeof D,z=[].slice.call(arguments,1),E=q.requestAnimationFr... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/nag.js | dist/components/nag.js | /*!
* # Semantic UI 2.5.0 - Nag
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof self !... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/checkbox.min.js | dist/components/checkbox.min.js | !function(D,S,E,O){"use strict";S=void 0!==S&&S.Math==Math?S:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),D.fn.checkbox=function(k){var m,e=D(this),v=e.selector||"",y=(new Date).getTime(),C=[],x=k,w="string"==typeof x,I=[].slice.call(arguments,1);return e.each(function(){var e,i=D.extend(!0,... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/accordion.min.js | dist/components/accordion.min.js | !function(F,A,q){"use strict";A=void 0!==A&&A.Math==Math?A:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),F.fn.accordion=function(a){var v,s=F(this),b=(new Date).getTime(),y=[],C=a,O="string"==typeof C,x=[].slice.call(arguments,1);A.requestAnimationFrame||A.mozRequestAnimationFrame||A.webkitRe... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/site.js | dist/components/site.js | /*!
* # Semantic UI 2.5.0 - Site
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
$.site = $.fn.site = function(parameters) {
var
time = new Date().getTime(),
performan... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/transition.min.js | dist/components/transition.min.js | !function(C,n,A,S){"use strict";n=void 0!==n&&n.Math==Math?n:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),C.fn.transition=function(){var u,r=C(this),p=r.selector||"",g=(new Date).getTime(),v=[],b=arguments,y=b[0],h=[].slice.call(arguments,1),w="string"==typeof y;n.requestAnimationFrame||n.mo... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/checkbox.js | dist/components/checkbox.js | /*!
* # Semantic UI 2.5.0 - Checkbox
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof s... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/video.js | dist/components/video.js | /*!
* # Semantic UI 2.0.0 - Video
* http://github.com/semantic-org/semantic-ui/
*
*
* Copyright 2014 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
"use strict";
$.fn.video = function(parameters) {
var
$allModules ... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/site.min.js | dist/components/site.min.js | !function(b,p,v,h){b.site=b.fn.site=function(e){var a,i=(new Date).getTime(),t=[],n=e,o="string"==typeof n,c=[].slice.call(arguments,1),l=b.isPlainObject(e)?b.extend(!0,{},b.site.settings,e):b.extend({},b.site.settings),s=l.namespace,u=l.error,r="module-"+s,m=b(v),d=this,g=m.data(r),f={initialize:function(){f.instantia... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/api.js | dist/components/api.js | /*!
* # Semantic UI 2.5.0 - API
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
var
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typ... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | true |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/popup.js | dist/components/popup.js | /*!
* # Semantic UI 2.5.0 - Popup
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof self... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | true |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/progress.min.js | dist/components/progress.min.js | !function(E,e,P,T){"use strict";void 0!==(e=void 0!==e&&e.Math==Math?e:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")())&&e.Math==Math||"undefined"!=typeof self&&self.Math==Math||Function("return this")();E.fn.progress=function(m){var b,e=E(this),h=e.selector||"",x=(new Date).getTime(),w=[],y=m,... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/transition.js | dist/components/transition.js | /*!
* # Semantic UI 2.5.0 - Transition
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | true |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/accordion.js | dist/components/accordion.js | /*!
* # Semantic UI 2.5.0 - Accordion
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof ... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/dropdown.js | dist/components/dropdown.js | /*!
* # Semantic UI 2.5.0 - Dropdown
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof s... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | true |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/modal.js | dist/components/modal.js | /*!
* # Semantic UI 2.5.0 - Modal
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof self... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/embed.min.js | dist/components/embed.min.js | !function(E,U,j){"use strict";U=void 0!==U&&U.Math==Math?U:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),E.fn.embed=function(h){var b,g=E(this),v=g.selector||"",y=(new Date).getTime(),w=[],P=h,C="string"==typeof P,D=[].slice.call(arguments,1);return g.each(function(){var t=E.isPlainObject(h)?... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/sticky.js | dist/components/sticky.js | /*!
* # Semantic UI 2.5.0 - Sticky
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof sel... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/api.min.js | dist/components/api.min.js | !function(j,O,w){"use strict";O=void 0!==O&&O.Math==Math?O:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();j.api=j.fn.api=function(q){var R,e=j.isFunction(this)?j(O):j(this),x=e.selector||"",S=(new Date).getTime(),A=[],k=q,T="string"==typeof k,P=[].slice.call(arguments,1);return e.each(function... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/video.min.js | dist/components/video.min.js | /*!
* # Semantic UI 2.0.0 - Video
* http://github.com/semantic-org/semantic-ui/
*
*
* Copyright 2014 Contributorss
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
!function(e,o,t,n){"use strict";e.fn.video=function(t){{var a,i=e(this),r=i.selector||"",l=(new Date).getTime(),c=[],u=ar... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/popup.min.js | dist/components/popup.min.js | !function(N,V,W,M){"use strict";V=void 0!==V&&V.Math==Math?V:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),N.fn.popup=function(x){var k,t=N(this),E=N(W),S=N(V),A=N("body"),F=t.selector||"",O=(new Date).getTime(),D=[],j=x,H="string"==typeof j,R=[].slice.call(arguments,1);return t.each(function... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/shape.js | dist/components/shape.js | /*!
* # Semantic UI 2.5.0 - Shape
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof self... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/search.js | dist/components/search.js | /*!
* # Semantic UI 2.5.0 - Search
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof sel... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | true |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/dropdown.min.js | dist/components/dropdown.min.js | !function(X,Y,G,J){"use strict";Y=void 0!==Y&&Y.Math==Math?Y:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),X.fn.dropdown=function(z){var P,H=X(this),j=X(G),N=H.selector||"",U="ontouchstart"in G.documentElement,K=(new Date).getTime(),W=[],B=z,$="string"==typeof B,Q=[].slice.call(arguments,1);r... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | true |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/nag.min.js | dist/components/nag.min.js | !function(y,k,S){"use strict";k=void 0!==k&&k.Math==Math?k:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),y.fn.nag=function(d){var u,e=y(this),m=e.selector||"",f=(new Date).getTime(),p=[],h=d,b="string"==typeof h,v=[].slice.call(arguments,1);return e.each(function(){var n=y.isPlainObject(d)?y.... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/embed.js | dist/components/embed.js | /*!
* # Semantic UI 2.5.0 - Embed
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
"use strict";
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof self... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/visibility.js | dist/components/visibility.js | /*!
* # Semantic UI 2.5.0 - Visibility
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | true |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/sidebar.js | dist/components/sidebar.js | /*!
* # Semantic UI 2.5.0 - Sidebar
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof se... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | true |
Semantic-Org/Semantic-UI | https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/dist/components/dimmer.js | dist/components/dimmer.js | /*!
* # Semantic UI 2.5.0 - Dimmer
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof sel... | javascript | MIT | 597843ab84d565cccfd8fd7719416350ae73e734 | 2026-01-04T14:57:20.563160Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/.eslintrc.js | .eslintrc.js | const fs = require('fs');
const path = require('path');
const prettierOptions = JSON.parse(
fs.readFileSync(path.resolve(__dirname, '.prettierrc'), 'utf8'),
);
module.exports = {
parser: 'babel-eslint',
extends: ['airbnb', 'prettier', 'prettier/react'],
plugins: ['prettier', 'redux-saga', 'react', 'react-hook... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/babel.config.js | babel.config.js | module.exports = {
presets: [
[
'@babel/preset-env',
{
modules: false,
},
],
'@babel/preset-react',
],
plugins: [
'styled-components',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-syntax-dynamic-import',
],
env: {
production: {
only: ['a... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/jest.config.js | jest.config.js | module.exports = {
collectCoverageFrom: [
'app/**/*.{js,jsx}',
'!app/**/*.test.{js,jsx}',
'!app/*/RbGenerated*/*.{js,jsx}',
'!app/app.js',
'!app/global-styles.js',
'!app/*/*/Loadable.{js,jsx}',
],
coverageThreshold: {
global: {
statements: 98,
branches: 91,
functions:... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/global-styles.js | app/global-styles.js | import { createGlobalStyle } from 'styled-components';
const GlobalStyle = createGlobalStyle`
html,
body {
height: 100%;
width: 100%;
line-height: 1.5;
}
body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
body.fontLoaded {
font-family: 'Open Sans', 'Helvetica Neue',... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/reducers.js | app/reducers.js | /**
* Combine all reducers in this file and export the combined reducers.
*/
import { combineReducers } from 'redux';
import { connectRouter } from 'connected-react-router';
import history from 'utils/history';
import globalReducer from 'containers/App/reducer';
import languageProviderReducer from 'containers/Langu... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/i18n.js | app/i18n.js | /**
* i18n.js
*
* This will setup the i18n language files and locale data for your app.
*
* IMPORTANT: This file is used by the internal build
* script `extract-intl`, and must use CommonJS module syntax
* You CANNOT use import/export in this file.
*/
const addLocaleData = require('react-intl').addLocaleD... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/configureStore.js | app/configureStore.js | /**
* Create the store with dynamic reducers
*/
import { createStore, applyMiddleware, compose } from 'redux';
import { routerMiddleware } from 'connected-react-router';
import createSagaMiddleware from 'redux-saga';
import createReducer from './reducers';
export default function configureStore(initialState = {}, h... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/app.js | app/app.js | /**
* app.js
*
* This is the entry file for the application, only setup and boilerplate
* code.
*/
// Needed for redux-saga es6 generator support
import '@babel/polyfill';
// Import all the third party stuff
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
impo... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/tests/i18n.test.js | app/tests/i18n.test.js | import { formatTranslationMessages } from '../i18n';
jest.mock('../translations/en.json', () => ({
message1: 'default message',
message2: 'default message 2',
}));
const esTranslationMessages = {
message1: 'mensaje predeterminado',
message2: '',
};
describe('formatTranslationMessages', () => {
it('should b... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/tests/store.test.js | app/tests/store.test.js | /**
* Test store addons
*/
import { browserHistory } from 'react-router-dom';
import configureStore from '../configureStore';
describe('configureStore', () => {
let store;
beforeAll(() => {
store = configureStore({}, browserHistory);
});
describe('injectedReducers', () => {
it('should contain an o... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/Toggle/Select.js | app/components/Toggle/Select.js | import styled from 'styled-components';
const Select = styled.select`
line-height: 1em;
background-color: transparent;
border-style: none;
`;
export default Select;
| javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/Toggle/index.js | app/components/Toggle/index.js | /**
*
* LocaleToggle
*
*/
import React from 'react';
import PropTypes from 'prop-types';
import Select from './Select';
import ToggleOption from '../ToggleOption';
function Toggle(props) {
let content = <option>--</option>;
// If we have items, render them
if (props.values) {
content = props.values.ma... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/Toggle/tests/index.test.js | app/components/Toggle/tests/index.test.js | import React from 'react';
import { render } from 'react-testing-library';
import { IntlProvider, defineMessages } from 'react-intl';
import Toggle from '../index';
describe('<Toggle />', () => {
it('should contain default text', () => {
const defaultEnMessage = 'someContent';
const defaultDeMessage = 'some... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/Toggle/tests/Select.test.js | app/components/Toggle/tests/Select.test.js | import React from 'react';
import { render } from 'react-testing-library';
import Select from '../Select';
describe('<Select />', () => {
it('should render an <select> tag', () => {
const { container } = render(<Select />);
expect(container.firstChild.tagName).toEqual('SELECT');
});
it('should have a c... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/Img/index.js | app/components/Img/index.js | /**
*
* Img.js
*
* Renders an image, enforcing the usage of the alt="" tag
*/
import React from 'react';
import PropTypes from 'prop-types';
function Img(props) {
return <img className={props.className} src={props.src} alt={props.alt} />;
}
// We require the use of src and alt, only enforced by react in dev m... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/Img/tests/index.test.js | app/components/Img/tests/index.test.js | import React from 'react';
import { render } from 'react-testing-library';
import Img from '../index';
const src = 'test.png';
const alt = 'test';
const renderComponent = (props = {}) =>
render(<Img src={src} alt={alt} {...props} />);
describe('<Img />', () => {
it('should render an <img> tag', () => {
const... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/List/index.js | app/components/List/index.js | import React from 'react';
import PropTypes from 'prop-types';
import Ul from './Ul';
import Wrapper from './Wrapper';
function List(props) {
const ComponentToRender = props.component;
let content = <div />;
// If we have items, render them
if (props.items) {
content = props.items.map(item => (
<Co... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/List/Wrapper.js | app/components/List/Wrapper.js | import styled from 'styled-components';
const Wrapper = styled.div`
padding: 0;
margin: 0;
width: 100%;
background-color: white;
border: 1px solid #ccc;
border-radius: 3px;
overflow: hidden;
`;
export default Wrapper;
| javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/List/Ul.js | app/components/List/Ul.js | import styled from 'styled-components';
const Ul = styled.ul`
list-style: none;
margin: 0;
width: 100%;
max-height: 30em;
overflow-y: auto;
padding: 0 1em;
`;
export default Ul;
| javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/List/tests/Wrapper.test.js | app/components/List/tests/Wrapper.test.js | import React from 'react';
import { render } from 'react-testing-library';
import Wrapper from '../Wrapper';
describe('<Wrapper />', () => {
it('should render an <div> tag', () => {
const { container } = render(<Wrapper />);
expect(container.firstElementChild.tagName).toEqual('DIV');
});
it('should hav... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/List/tests/index.test.js | app/components/List/tests/index.test.js | import React from 'react';
import { render } from 'react-testing-library';
import List from '../index';
describe('<List />', () => {
it('should render the passed component if no items are passed', () => {
const component = () => <li>test</li>; // eslint-disable-line react/prop-types
const { container } = re... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/List/tests/Ul.test.js | app/components/List/tests/Ul.test.js | import React from 'react';
import { render } from 'react-testing-library';
import Ul from '../Ul';
describe('<Ul />', () => {
it('should render an <ul> tag', () => {
const { container } = render(<Ul />);
const element = container.firstElementChild;
expect(element.tagName).toEqual('UL');
});
it('sho... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/A/index.js | app/components/A/index.js | /**
* A link to a certain page, an anchor tag
*/
import styled from 'styled-components';
const A = styled.a`
color: #41addd;
&:hover {
color: #6cc0e5;
}
`;
export default A;
| javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/A/tests/index.test.js | app/components/A/tests/index.test.js | /**
* Testing our link component
*/
import React from 'react';
import { render } from 'react-testing-library';
import A from '../index';
const href = 'http://mxstbr.com/';
const children = <h1>Test</h1>;
const renderComponent = (props = {}) =>
render(
<A href={href} {...props}>
{children}
</A>,
)... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/LoadingIndicator/Circle.js | app/components/LoadingIndicator/Circle.js | import React from 'react';
import PropTypes from 'prop-types';
import styled, { keyframes } from 'styled-components';
const circleFadeDelay = keyframes`
0%,
39%,
100% {
opacity: 0;
}
40% {
opacity: 1;
}
`;
const Circle = props => {
const CirclePrimitive = styled.div`
width: 100%;
height... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/LoadingIndicator/index.js | app/components/LoadingIndicator/index.js | import React from 'react';
import Circle from './Circle';
import Wrapper from './Wrapper';
const LoadingIndicator = () => (
<Wrapper>
<Circle />
<Circle rotate={30} delay={-1.1} />
<Circle rotate={60} delay={-1} />
<Circle rotate={90} delay={-0.9} />
<Circle rotate={120} delay={-0.8} />
<Cir... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/LoadingIndicator/Wrapper.js | app/components/LoadingIndicator/Wrapper.js | import styled from 'styled-components';
const Wrapper = styled.div`
margin: 2em auto;
width: 40px;
height: 40px;
position: relative;
`;
export default Wrapper;
| javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/LoadingIndicator/tests/Circle.test.js | app/components/LoadingIndicator/tests/Circle.test.js | import React from 'react';
import { render } from 'react-testing-library';
import Circle from '../Circle';
describe('<Circle />', () => {
it('should render an <div> tag', () => {
const { container } = render(<Circle />);
expect(container.firstChild.tagName).toEqual('DIV');
});
it('should have a class a... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/LoadingIndicator/tests/Wrapper.test.js | app/components/LoadingIndicator/tests/Wrapper.test.js | import React from 'react';
import { render } from 'react-testing-library';
import Wrapper from '../Wrapper';
describe('<Wrapper />', () => {
it('should render an <div> tag', () => {
const { container } = render(<Wrapper />);
expect(container.firstElementChild.tagName).toEqual('DIV');
});
it('should hav... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/LoadingIndicator/tests/index.test.js | app/components/LoadingIndicator/tests/index.test.js | import React from 'react';
import renderer from 'react-test-renderer';
import 'jest-styled-components';
import LoadingIndicator from '../index';
describe('<LoadingIndicator />', () => {
it('should match the snapshot', () => {
const renderedComponent = renderer.create(<LoadingIndicator />).toJSON();
expect(r... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/Footer/index.js | app/components/Footer/index.js | import React from 'react';
import { FormattedMessage } from 'react-intl';
import A from 'components/A';
import LocaleToggle from 'containers/LocaleToggle';
import Wrapper from './Wrapper';
import messages from './messages';
function Footer() {
return (
<Wrapper>
<section>
<FormattedMessage {...mes... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/Footer/messages.js | app/components/Footer/messages.js | /*
* Footer Messages
*
* This contains all the text for the Footer component.
*/
import { defineMessages } from 'react-intl';
export const scope = 'boilerplate.components.Footer';
export default defineMessages({
licenseMessage: {
id: `${scope}.license.message`,
defaultMessage: 'This project is licensed ... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/Footer/Wrapper.js | app/components/Footer/Wrapper.js | import styled from 'styled-components';
const Wrapper = styled.footer`
display: flex;
justify-content: space-between;
padding: 3em 0;
border-top: 1px solid #666;
`;
export default Wrapper;
| javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/Footer/tests/Wrapper.test.js | app/components/Footer/tests/Wrapper.test.js | import React from 'react';
import { render } from 'react-testing-library';
import Wrapper from '../Wrapper';
describe('<Wrapper />', () => {
it('should render an <footer> tag', () => {
const { container } = render(<Wrapper />);
expect(container.querySelector('footer')).not.toBeNull();
});
it('should ha... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/Footer/tests/index.test.js | app/components/Footer/tests/index.test.js | import React from 'react';
import renderer from 'react-test-renderer';
import { IntlProvider } from 'react-intl';
import { Provider } from 'react-redux';
import { browserHistory } from 'react-router-dom';
import Footer from '../index';
import configureStore from '../../../configureStore';
describe('<Footer />', () =>... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/H1/index.js | app/components/H1/index.js | import styled from 'styled-components';
const H1 = styled.h1`
font-size: 2em;
margin-bottom: 0.25em;
`;
export default H1;
| javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/H1/tests/index.test.js | app/components/H1/tests/index.test.js | import React from 'react';
import { render } from 'react-testing-library';
import H1 from '../index';
describe('<H1 />', () => {
it('should render a prop', () => {
const id = 'testId';
const { container } = render(<H1 id={id} />);
expect(container.querySelector('h1').id).toEqual(id);
});
it('should... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/ToggleOption/index.js | app/components/ToggleOption/index.js | /**
*
* ToggleOption
*
*/
import React from 'react';
import PropTypes from 'prop-types';
import { injectIntl, intlShape } from 'react-intl';
const ToggleOption = ({ value, message, intl }) => (
<option value={value}>{message ? intl.formatMessage(message) : value}</option>
);
ToggleOption.propTypes = {
value:... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/ToggleOption/tests/index.test.js | app/components/ToggleOption/tests/index.test.js | import React from 'react';
import { render } from 'react-testing-library';
import { IntlProvider, defineMessages } from 'react-intl';
import ToggleOption from '../index';
describe('<ToggleOption />', () => {
it('should render default language messages', () => {
const defaultEnMessage = 'someContent';
const ... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/H3/index.js | app/components/H3/index.js | import React from 'react';
function H3(props) {
return <h3 {...props} />;
}
export default H3;
| javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/H3/tests/index.test.js | app/components/H3/tests/index.test.js | import React from 'react';
import { render } from 'react-testing-library';
import H3 from '../index';
describe('<H3 />', () => {
it('should render a prop', () => {
const id = 'testId';
const { container } = render(<H3 id={id} />);
expect(container.querySelector('h3').id).toEqual(id);
});
it('should... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/ListItem/index.js | app/components/ListItem/index.js | import React from 'react';
import PropTypes from 'prop-types';
import Item from './Item';
import Wrapper from './Wrapper';
function ListItem(props) {
return (
<Wrapper>
<Item>{props.item}</Item>
</Wrapper>
);
}
ListItem.propTypes = {
item: PropTypes.any,
};
export default ListItem;
| javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/ListItem/Wrapper.js | app/components/ListItem/Wrapper.js | import styled from 'styled-components';
const Wrapper = styled.li`
width: 100%;
height: 3em;
display: flex;
align-items: center;
position: relative;
border-top: 1px solid #eee;
&:first-child {
border-top: none;
}
`;
export default Wrapper;
| javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/ListItem/Item.js | app/components/ListItem/Item.js | import styled from 'styled-components';
const Item = styled.div`
display: flex;
justify-content: space-between;
width: 100%;
height: 100%;
align-items: center;
`;
export default Item;
| javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/ListItem/tests/Wrapper.test.js | app/components/ListItem/tests/Wrapper.test.js | import React from 'react';
import { render } from 'react-testing-library';
import Wrapper from '../Wrapper';
describe('<Wrapper />', () => {
it('should render an <li> tag', () => {
const { container } = render(<Wrapper />);
const element = container.querySelector('li');
expect(element).not.toBeNull();
... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/ListItem/tests/index.test.js | app/components/ListItem/tests/index.test.js | import React from 'react';
import { render } from 'react-testing-library';
import 'jest-dom/extend-expect';
import ListItem from '../index';
describe('<ListItem />', () => {
it('should have a class', () => {
const { container } = render(<ListItem className="test" />);
expect(container.querySelector('li').ha... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/ListItem/tests/Item.test.js | app/components/ListItem/tests/Item.test.js | import React from 'react';
import { render } from 'react-testing-library';
import Item from '../Item';
describe('<Item />', () => {
it('should render an <div> tag', () => {
const { container } = render(<Item />);
expect(container.firstChild.tagName).toEqual('DIV');
});
it('should have a class attribute... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/IssueIcon/index.js | app/components/IssueIcon/index.js | import React from 'react';
import PropTypes from 'prop-types';
function IssueIcon(props) {
return (
<svg height="1em" width="0.875em" className={props.className} {...props}>
<path d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7S10.14 13.7 7 13.7 1.3 11.14 1.3 8s2.56-5.7 5.7-5.7m0-1.3C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 ... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/IssueIcon/tests/index.test.js | app/components/IssueIcon/tests/index.test.js | import React from 'react';
import { render } from 'react-testing-library';
import IssueIcon from '../index';
describe('<IssueIcon />', () => {
it('should render a SVG', () => {
const { container } = render(<IssueIcon />);
expect(container.querySelector('svg')).not.toBeNull();
});
});
| javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/H2/index.js | app/components/H2/index.js | import styled from 'styled-components';
const H2 = styled.h2`
font-size: 1.5em;
`;
export default H2;
| javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/H2/tests/index.test.js | app/components/H2/tests/index.test.js | import React from 'react';
import { render } from 'react-testing-library';
import H2 from '../index';
describe('<H2 />', () => {
it('should render a prop', () => {
const id = 'testId';
const { container } = render(<H2 id={id} />);
expect(container.querySelector('h2').id).toEqual(id);
});
it('should... | javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
react-boilerplate/react-boilerplate | https://github.com/react-boilerplate/react-boilerplate/blob/d19099afeff64ecfb09133c06c1cb18c0d40887e/app/components/Button/StyledButton.js | app/components/Button/StyledButton.js | import styled from 'styled-components';
import buttonStyles from './buttonStyles';
const StyledButton = styled.button`
${buttonStyles};
`;
export default StyledButton;
| javascript | MIT | d19099afeff64ecfb09133c06c1cb18c0d40887e | 2026-01-04T15:01:46.720890Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.