path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
node_modules/rx/dist/rx.lite.extras.compat.js
jairoiglesias/hacka-intervalor
// Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'function': true, 'object': true }; function checkGlobal(value) { return (value && value.Object === Object) ? value : null; } var freeExports ...
src/svg-icons/image/audiotrack.js
hwo411/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageAudiotrack = (props) => ( <SvgIcon {...props}> <path d="M12 3v9.28c-.47-.17-.97-.28-1.5-.28C8.01 12 6 14.01 6 16.5S8.01 21 10.5 21c2.31 0 4.2-1.75 4.45-4H15V6h4V3h-7z"/> </SvgIcon> ); ImageAudiotrack = p...
ajax/libs/angular-data/0.5.0/angular-data.js
humbletim/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file angular-data.js * @version 0.5.0 - Homepage <http://jmdobry.github.io/angular-data/> * @copyright (c) 2014 Jason Dobry <https://github.com/jmdobry/angular-data> * @license MIT <https://github.com/jmdobry/angular-data/blob/master/LICENSE> * * @overview Dat...
ajax/libs/preact/7.0.2/preact.js
pvnr0082t/cdnjs
!function(global, factory) { 'object' == typeof exports && 'undefined' != typeof module ? factory(exports) : 'function' == typeof define && define.amd ? define([ 'exports' ], factory) : factory(global.preact = global.preact || {}); }(this, function(exports) { function VNode(nodeName, attributes, children) { ...
packages/material-ui-icons/src/ShareOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-...
Sources/EPiServer.Reference.Commerce.Site/CSRExtensibility/react-app/config/webpack.extension.config.js
episerver/Quicksilver
'use strict'; const fs = require('fs'); const path = require('path'); const webpack = require('webpack'); const resolve = require('resolve'); const PnpWebpackPlugin = require('pnp-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const CaseSensitivePathsPlugin = require('case-sensitive-paths-...
ajax/libs/yasgui/1.0.16/yasgui.bundled.min.js
billybonz1/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASGUI=e()}}(function(){var e;return function t(e,n,r...
ajax/libs/muicss/0.9.1/extra/mui-react-combined.js
froala/cdnjs
(function (global) { var babelHelpers = global.babelHelpers = {}; babelHelpers.classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; babelHelpers.createClass = function () { function define...
ajax/libs/mobx-react/3.4.0-beta.1/native.min.js
pvnr0082t/cdnjs
!function(){function e(e,t,o){function n(e){return o?o.findDOMNode(e):null}function r(e){var t=n(e);t&&l.set(t,e),u.emit({event:"render",renderTime:e.__$mobRenderEnd-e.__$mobRenderStart,totalTime:Date.now()-e.__$mobRenderStart,component:e,node:t})}function i(){if("undefined"==typeof WeakMap)throw new Error("[mobx-react...
src/components/BooksList.js
PunxNotDead/takemybook-frontend
import React, { Component } from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { loadBooks } from '../actions/books'; import Book from './Book'; const mapStateToProps = state => ({ books: state.books.list, listLoading: state.bo...
ajax/libs/angular.js/1.0.1/angular-scenario.js
mikesir87/cdnjs
/*! * jQuery JavaScript Library v1.7.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
packages/material-ui-icons/src/BatteryCharging80.js
lgollut/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fillOpacity=".3" d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33V9h4.93L13 7v2h4V5.33C17 4.6 16.4 4 15.67 4z" /><path d="M13 12.5h2L11 20v-5.5H9L11.93 9H7v11.67C7 21.4 7.6 22 8.33 22h7.33c....
ajax/libs/react-cookie/0.1.7/react-cookie.js
itvsai/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
spec/components/drawer.js
showings/react-toolbox
import React from 'react'; import Button from '../../components/button'; import Drawer from '../../components/drawer'; import style from '../style.css'; class DrawerTest extends React.Component { state = { leftActive: false, rightActive: false, }; handleToggleLeft = () => { this.setState({ leftActiv...
src/components/Form.js
wdavew/king-pong
import React, { Component } from 'react'; function Form(props) { return ( <div className='row'> <form onSubmit={props.handleSubmit} type='submit'> <div className='col-xs-6'> <input type='text' className='login-user' placeholder='Username' onChange={props.handleUserChange} /> </div...
packages/react-scripts/template/src/App.js
lolaent/create-react-app
import React, { Component } from 'react'; import logo from './logo.svg'; import './App.css'; class App extends Component { render() { return ( <div className="App"> <header className="App-header"> <img src={logo} className="App-logo" alt="logo" /> <h1 className="App-title">Welco...
ajax/libs/6to5/2.13.5/browser-polyfill.js
davidbau/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
ajax/libs/yui/3.10.3/event-custom-base/event-custom-base.js
ZaValera/cdnjs
YUI.add('event-custom-base', function (Y, NAME) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @mo...
src/elements/Label/LabelDetail.js
Semantic-Org/Semantic-UI-React
import cx from 'clsx' import PropTypes from 'prop-types' import React from 'react' import { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps, } from '../../lib' function LabelDetail(props) { const { children, className, content } = props const classes = cx('detai...
client/views/admin/info/TextSeparator.js
VoiSmart/Rocket.Chat
import { Box } from '@rocket.chat/fuselage'; import React from 'react'; import DotLeader from '../../../components/DotLeader'; const TextSeparator = ({ label, value }) => ( <Box display='flex' flexDirection='row' mb='x4'> <Box display='inline-flex' alignItems='center'> {label} </Box> <DotLeader /> <span>{...
packages/reaction-email-templates/package.js
ehughestaylor/commerceapp
// Email Templates Package.describe({ summary: "Reaction Email Templates - set of basic email templates", name: "reactioncommerce:reaction-email-templates", documentation: "README.md", version: "0.1.2" }); Package.onUse(function (api) { api.versionsFrom("METEOR@1.2"); api.use("ecmascript"); api.use("chec...
src/modules/dashboard/components/BarChart/index.js
burakince/d3js-react-examples
import React, { Component } from 'react'; import { scaleLinear } from 'd3-scale'; import { max } from 'd3-array'; import { select } from 'd3-selection'; import './BarChart.css'; class BarChartComponent extends Component { constructor(props){ super(props) this.createBarChart = this.createBarChart.bind(t...
src/parser/warlock/destruction/modules/azerite/Accelerant.js
FaideWW/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import SPELLS from 'common/SPELLS'; import { calculateAzeriteEffects } from 'common/stats'; import { formatPercentage } from 'common/format'; import TraitStatisticBox from 'interface/others/TraitStatisticBox'; const accelerantStats = traits => ...
app/pages/notifications/notification-section.spec.js
zooniverse/Panoptes-Front-End
import React from 'react'; import assert from 'assert'; import sinon from 'sinon'; import { shallow } from 'enzyme'; import NotificationSection from './notification-section'; const notifications = [ { notification: { id: '123', source_type: 'DataRequest', url: '/', message: 'test message', create...
project/src/scenes/Admin/DashboardLanding.js
strues/boldr
/* @flow */ import React from 'react'; import { connect } from 'react-redux'; import Heading from '@boldr/ui/Heading'; import ContentPromo from '@boldr/ui/ContentPromo'; // import Tabs from '@boldr/ui/Tabs'; import type { CurrentUser } from '../../types/boldr'; export type Props = { currentUser: CurrentUser, }; /...
app/containers/RequestsPage/RequestList/RequestListItem.js
kevinnorris/bookTrading
import React from 'react'; import styled from 'styled-components'; import { Row, Col } from 'react-bootstrap'; import { primary, actionColor, actionHover, deleteColor, deleteHover } from 'utils/colors'; const Wrapper = styled(Row)` display: flex; align-items: center; text-align: center; border-bottom: 1px sol...
src/Parser/Priest/Shadow/Modules/Spells/VampiricTouch.js
enragednuke/WoWAnalyzer
import React from 'react'; import Analyzer from 'Parser/Core/Analyzer'; import Enemies from 'Parser/Core/Modules/Enemies'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import SpellIcon from 'common/SpellIcon'; import { formatPercentage } from 'common/format'; import SmallStatisticBox,...
ajax/libs/primereact/7.0.0/fileupload/fileupload.cjs.js
cdnjs/cdnjs
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var React = require('react'); var button = require('primereact/button'); var messages = require('primereact/messages'); var progressbar = require('primereact/progressbar'); var utils = require('primereact/utils'); var ripple = require('prime...
ajax/libs/react-instantsearch/5.2.1/Connectors.js
seogi1004/cdnjs
/*! React InstantSearch 5.2.1 | © Algolia, inc. | https://community.algolia.com/react-instantsearch */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) : typeof define === 'function' && define.amd ? define(['exports',...
client/src/components/Task/TaskProfileList.js
DemocracyGuardians/DGTeam
import React from 'react'; import { withRouter } from 'react-router-dom' import PropTypes from 'prop-types' import TaskProfileEntries from './TaskProfileEntries' import resizeTextarea from '../../util/resizeTextarea' import './TaskProfileList.css' class TaskProfileListEntry extends React.Component { constructor(pro...
ajax/libs/oojs-ui/0.22.3/oojs-ui-windows.js
wout/cdnjs
/*! * OOjs UI v0.22.3 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2017 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * * Date: 2017-07-11T22:12:33Z */ ( function ( OO ) { 'use strict'; /** * An ActionWidget is a {@link OO.ui.ButtonWidget ...
client/src/components/instructor/InstructorSave.js
yegor-sytnyk/contoso-express
import React from 'react'; import {connect} from 'react-redux'; import {bindActionCreators} from 'redux'; import {Modal, Button} from 'react-bootstrap'; import _ from 'lodash'; import helper from '../../helpers/uiHelper'; import * as instructorActions from '../../actions/instructorActions'; import {loadCourses} from '....
app/components/Dashboard/PanesRoot.js
VonIobro/ab-web
import React from 'react'; import PropTypes from 'prop-types'; const PanesRoot = ({ panes, paneType, paneProps }) => { if (!paneType) { return null; } const SpecifiedPane = panes[paneType]; return <SpecifiedPane name="dashboard-root" {...paneProps} />; }; PanesRoot.propTypes = { panes: PropTypes.object.i...
packages/material-ui-icons/src/SpaOutlined.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M15.49 9.63c-.18-2.79-1.31-5.51-3.43-7.63-2.14 2.14-3.32 4.86-3.55 7.63 1.28.68 2.46 1.56 3.49 2.63 1.03-1.06 2.21-1.94 3.49-2.63zm-3.44-4.44c.6...
clients/tests/unit/render/Fields/Mocks/MockFileFieldRenderer.js
CalderaWP/Caldera-Forms
import {FileInput} from "../../../../../render/components/Fields/FileInput"; import React from 'react'; export class MockFileFieldRenderer extends React.Component { constructor(props) { super(props); this.state = { value: props.field.fieldValue, message: '', error: false, isInvalid: false, shouldD...
app/components/About.js
MarcinJarecki/React-js-Sticky-Notes
import React from 'react'; import {aFont, pFont} from '../styles'; export default class About extends React.Component { render() { const header = this.props.route.header; return ( <div className="container"> <h2> About {header}</h2> <div className="lead"></div> <div className="r...
ajax/libs/react-data-grid/1.0.61/react-data-grid.ui-plugins.min.js
nolsherry/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],e):"object"==typeof exports?exports.ReactDataGrid=e(require("react"),require("react-dom")):t.ReactDataGrid=e(t.React,t.ReactDOM)}(th...
ajax/libs/highcharts/5.0.1/js/highstock.src.js
iwdmb/cdnjs
/** * @license Highstock JS v5.0.1 (2016-10-26) * * (c) 2009-2016 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; (function(root, factory) { if (typeof module === 'object' && module.exports) { module.exports = root.document ? factory(root) : factory; ...
src/client/story.js
mkobar/hacker-menu
import React from 'react' export default class Story extends React.Component { markAsRead () { this.props.onMarkAsRead(this.props.story.id) } openUrl (url) { this.props.onUrlClick(url) } handleYurlOnClick (e) { e.preventDefault() this.openUrl(this.props.story.yurl) } handleByOnClick (e...
frontend/src/components/partners/profile/overview/partnerOverviewSummary.js
unicef/un-partner-portal
import React from 'react'; import R from 'ramda'; import { browserHistory as history } from 'react-router'; import PropTypes from 'prop-types'; import Typography from 'material-ui/Typography'; import Button from 'material-ui/Button'; import Grid from 'material-ui/Grid'; import HeaderList from '../../../common/list/head...
server/renderPage.js
TheModevShop/craft-app
import React from 'react'; import {renderToString} from 'react-dom/server'; import {RouterContext, match} from 'react-router'; import {getStartMarkup, getEndMarkup} from './getMarkup'; import { Provider } from 'react-redux'; function errorPage(req, res) { res.status(500) res.send('Error!'); } function redirectPag...
app/javascript/mastodon/components/intersection_observer_article.js
TheInventrix/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import scheduleIdleTask from '../features/ui/util/schedule_idle_task'; import getRectFromEntry from '../features/ui/util/get_rect_from_entry'; import { is } from 'immutable'; // Diff these props in the "rendered" state const updateOnPropsForRendered = ['id...
src/views/DisplayView.js
andrewSRahn/pickban
import React from 'react' export default function DisplayView(props){ return ( <div id='display'> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scramb...
src/svg-icons/editor/format-shapes.js
manchesergit/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorFormatShapes = (props) => ( <SvgIcon {...props}> <path d="M23 7V1h-6v2H7V1H1v6h2v10H1v6h6v-2h10v2h6v-6h-2V7h2zM3 3h2v2H3V3zm2 18H3v-2h2v2zm12-2H7v-2H5V7h2V5h10v2h2v10h-2v2zm4 2h-2v-2h2v2zM19 5V3h2v2h-2zm-...
examples/todomvc/index.js
ellbee/redux-devtools
import React from 'react'; import App from './containers/App'; import 'todomvc-app-css/index.css'; React.render( <App />, document.getElementById('root') );
src/TodoList.js
RubenSloote/todo-react
import React from 'react' import $ from 'jquery' class TodoList extends React.Component { constructor() { super() this.state = { todos: [] } } loadTodos() { $.get("http://localhost:3001/todos.json", (function(data) { this.setState({ todos: data, }) }).bind(this)) ...
react/PageBlock/PageBlock.js
seek-oss/seek-style-guide
import styles from './PageBlock.less'; import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; export default function PageBlock({ children, className, ...restProps }) { return ( <div {...restProps} className={classnames(className)}> <div className={styles.conte...
src/client/Utils/LinkButton.js
KleeGroup/interactive-box
import React from 'react'; var LinkButton = React.createClass({ render: function(){ var labelStyle = { fontSize: '200%', textTransform: 'none', verticalAlign: 'middle', }; // Au click, le bouton appelle la fonction définie dans sa props "handleLinkClick" ret...
web/src/components/instance-group.js
squaremo/ambergreen
import React from 'react'; import classnames from 'classnames'; import PrometheusChart from './charts/prometheus-chart'; import { formatMetric, plural } from '../utils/string-utils'; export default class InstanceGroup extends React.Component { render() { const { group, heroMetrics } = this.props; const coun...
docs/src/examples/views/Item/Content/ItemExampleLink.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Image, Item } from 'semantic-ui-react' const paragraph = <Image src='/images/wireframe/short-paragraph.png' /> const ItemExampleLink = () => ( <Item.Group> <Item> <Item.Image size='tiny' src='/images/wireframe/image.png' /> <Item.Content> <Item.Header>Arro...
src/svg-icons/action/speaker-notes-off.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSpeakerNotesOff = (props) => ( <SvgIcon {...props}> <path d="M10.54 11l-.54-.54L7.54 8 6 6.46 2.38 2.84 1.27 1.73 0 3l2.01 2.01L2 22l4-4h9l5.73 5.73L22 22.46 17.54 18l-7-7zM8 14H6v-2h2v2zm-2-3V9l2 2H6zm14...
src/Parser/Paladin/Retribution/Modules/Traits/HighlordsJudgment.js
enragednuke/WoWAnalyzer
import React from 'react'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Core/Modules/Combatants'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; import { formatPercentage } from 'common/format'; import getDamageBon...
src/client/test/components/TruckInfoWindow.spec.js
urbantumbleweed/food-truck-locator
import expect from 'expect' import React from 'react' import TestUtils from 'react-addons-test-utils' import TruckInfoWindow from '../../components/TruckInfoWindow' function setup( editing = false ) { const props = { todo: { id: 0, text: 'Use Redux', completed: false }, editTodo: expect...
app/routes.js
kassyn/me
import React from 'react'; import { Route } from 'react-router'; import App from './components/App'; import Home from './components/Home'; import Registration from './components/Registration'; export default ( <Route component={App}> <Route guid="home" path='/' component={Home} /> <Route guid="user" path='/add' c...
src/svg-icons/maps/local-shipping.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalShipping = (props) => ( <SvgIcon {...props}> <path d="M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4zM6 18.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-...
skins/base/views/molecules/RoomHeader.js
davidar/vector-web
/* Copyright 2015 OpenMarket Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software ...
ajax/libs/video.js/5.2.1/video.js
LeaYeh/cdnjs
/** * @license * Video.js 5.2.1 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License Versi...
src/lib/theme/pure/__tests__/Button-test.js
panlw/react-lab
import React from 'react'; import ReactDOMServer from 'react-dom/server'; import Button from '../Button'; describe('Pure', () => { describe('Button', () => { it('should be: <button type="button" class="pure-button pure-button-primary"></button>', () => { const h = ReactDOMServer.renderToStaticMarkup(<But...
app/javascript/mastodon/features/account_timeline/index.js
anon5r/mastonon
import React from 'react'; import { connect } from 'react-redux'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import { fetchAccount } from '../../actions/accounts'; import { expandAccountFeaturedTimeline, expandAccountTimeline } from '../../actions/timelines'; import ...
web/ducks/dataStores.js
mrcnc/spatialconnect-server
import * as request from 'superagent-bluebird-promise'; import { API_URL } from 'config'; import { push } from 'react-router-redux'; import keyBy from 'lodash/keyBy'; import { initStore } from '../utils'; // define action types export const LOAD = 'sc/dataStores/LOAD'; export const LOAD_STORES = 'sc/dataStores/LOAD_ST...
src/svg-icons/notification/disc-full.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationDiscFull = (props) => ( <SvgIcon {...props}> <path d="M20 16h2v-2h-2v2zm0-9v5h2V7h-2zM10 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 10c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/> ...
src/svg-icons/device/bluetooth-searching.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBluetoothSearching = (props) => ( <SvgIcon {...props}> <path d="M14.24 12.01l2.32 2.32c.28-.72.44-1.51.44-2.33 0-.82-.16-1.59-.43-2.31l-2.33 2.32zm5.29-5.3l-1.26 1.26c.63 1.21.98 2.57.98 4.02s-.36 2.82-.9...
docs/app/Examples/elements/Segment/Variations/SegmentExampleSizes.js
Rohanhacker/Semantic-UI-React
import React from 'react' import { Segment } from 'semantic-ui-react' const SegmentExampleSizes = () => { const sizes = ['mini', 'tiny', 'small', 'large', 'big', 'huge', 'massive'] return ( <div> {sizes.map(size => ( <Segment key={size} size={size}> It's a {size} segment </Segm...
app/javascript/mastodon/components/load_pending.js
lindwurm/mastodon
import React from 'react'; import { FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; export default class LoadPending extends React.PureComponent { static propTypes = { onClick: PropTypes.func, count: PropTypes.number, } render() { const { count } = this.props; return ...
docs/src/pages/premium-themes/onepirate/Privacy.js
kybarg/material-ui
import withRoot from './modules/withRoot'; // --- Post bootstrap ----- import React from 'react'; import Container from '@material-ui/core/Container'; import Box from '@material-ui/core/Box'; import Markdown from './modules/components/Markdown'; import Typography from './modules/components/Typography'; import AppAppBar...
apps/mk-app-trace-action/action.js
ziaochina/mk-demo
import React from 'react' import { fromJS } from 'immutable' import { action as MetaAction, AppLoader } from 'mk-meta-engine' import config from './config' import jsonHelp from 'mk-utils/lib/json' class action { constructor(option) { this.metaAction = option.metaAction this.config = config.current ...
ajax/libs/flat-ui/2.1.2/js/jquery-1.8.3.min.js
jonathantneal/cdnjs
/*! jQuery v1.8.3 jquery.com | jquery.org/license */ (function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==...
src/svg-icons/notification/do-not-disturb-alt.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationDoNotDisturbAlt = (props) => ( <SvgIcon {...props}> <path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zM4 12c0-4.4 3.6-8 8-8 1.8 0 3.5.6 4.9 1.7L5.7 16.9C4.6 15.5 4 13.8 4 12zm8 8...
src/components/About/index.js
TerryCapan/twitchBot
import React from 'react'; /* component styles */ import { styles } from './styles.scss'; const emoChart = require('./assets/emotionChart.jpg'); const socChart = require('./assets/socialChart.jpg'); export function About() { return ( <div className="top"> <section className={`${styles}`}> <div clas...
misc/tabledrag.js
ManatiCR/yo-soy-gobierno-abierto
(function ($) { /** * Drag and drop table rows with field manipulation. * * Using the drupal_add_tabledrag() function, any table with weights or parent * relationships may be made into draggable tables. Columns containing a field * may optionally be hidden, providing a better user experience. * * Created tableD...
src/svg-icons/maps/local-grocery-store.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalGroceryStore = (props) => ( <SvgIcon {...props}> <path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-...
app/react-icons/fa/modx.js
scampersand/sonos-front
import React from 'react'; import IconBase from 'react-icon-base'; export default class FaModx extends React.Component { render() { return ( <IconBase viewBox="0 0 40 40" {...this.props}> <g><path d="m31.9 15.8l-13.8-8.6 2.1-3.4h19.1z m-22.9 5.9l-4.1-2.5v-19.2l26.4 16.6z m22.8-3...
node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/node_modules/yui/event-focus/event-focus.js
quattromani/placewise
YUI.add('event-focus', function (Y, NAME) { /** * Adds bubbling and delegation support to DOM events focus and blur. * * @module event * @submodule event-focus */ var Event = Y.Event, YLang = Y.Lang, isString = YLang.isString, arrayIndex = Y.Array.indexOf, useActivate = (function() { ...
src/client.js
ipbrennan90/movesort-app
/** * THIS IS THE ENTRY POINT FOR THE CLIENT, JUST LIKE server.js IS THE ENTRY POINT FOR THE SERVER. */ import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import createStore from './redux/create'; import ApiClient from './helpers/ApiClient'; import io from 'socket.io-client'; import...
node_modules/babel-plugin-react-transform/test/fixtures/code-ignore/expected.js
jasonlarue/react-native-flashcards
import React from 'react'; const First = React.createNotClass({ displayName: 'First' }); class Second extends React.NotComponent {}
src/scripts/components/app/App.component.js
ModuloM/kodokojo-ui
/** * Kodo Kojo - Software factory done right * Copyright © 2016 Kodo Kojo (infos@kodokojo.io) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at ...
src/components/UIShell/HeaderGlobalAction.js
joshblack/carbon-components-react
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { settings } from 'carbon-components'; import cx from 'classnames'; import React from 'react'; import PropTypes from 'prop-types'; imp...
__tests__/index.android.js
budasuyasa/warungapp
import 'react-native'; import React from 'react'; import Index from '../index.android.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
src/components/loading/index.js
chuckharmston/testpilot-contribute
import classnames from 'classnames'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import './index.css'; export default class Loading extends Component { static propTypes = { extraClass: PropTypes.string }; static defaultProps = { extraClass: '' }; classNames() { ...
src/containers/home_page.js
liuboshuo/react-native-food
import React from 'react' import { View, Text, StyleSheet, TouchableOpacity, ScrollView, Image, Animated } from 'react-native' import {connect} from 'react-redux' import {getBannerDatas,getTagDatas,getMainDatas} from "./../actions/home_action"; import Home_Top_Banner from "./../component/hom...
packages/material-ui-icons/legacy/EditLocation.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M12 2C8.14 2 5 5.14 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.86-3.14-7-7-7zm-1.56 10H9v-1.44l3.35-3.34 1.43 1.43L10.44 12zm4.45-4.45l-.7.7-1.44-1.44.7-.7c.15-.15.39-.15.54 0l.9.9c.15.15.15.39 0 .54z" /> ,...
src/routes/dashboard/components/user.js
hhj679/mybition-web
import React from 'react' import PropTypes from 'prop-types' import { Button } from 'antd' import styles from './user.less' import CountUp from 'react-countup' import { color } from '../../../utils' const countUpProps = { start: 0, duration: 2.75, useEasing: true, useGrouping: true, separator: ',', } functio...
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/node_modules/antd/es/menu/MenuItem.js
bhathiya/test
import React from 'react'; import { Item } from 'rc-menu'; import PropTypes from 'prop-types'; import Tooltip from '../tooltip'; var MenuItem = function MenuItem(props, _ref) { var inlineCollapsed = _ref.inlineCollapsed; return React.createElement( Tooltip, { title: inlineCollapsed && props.lev...
packages/core/admin/admin/src/content-manager/components/DynamicTable/TableRows/index.js
wistityhq/strapi
import React from 'react'; import PropTypes from 'prop-types'; import { BaseCheckbox } from '@strapi/design-system/BaseCheckbox'; import { Box } from '@strapi/design-system/Box'; import { IconButton } from '@strapi/design-system/IconButton'; import { Tbody, Td, Tr } from '@strapi/design-system/Table'; import { Flex } f...
src/components/decorators/withRelayMutations.js
mixcloud/relay-helpers
/* @flow */ import React from 'react'; import {wraps} from '../../utils'; import {RelayEnvContextType} from '../RelayEnvProvider'; import type {Mutate} from '../../mutate'; import type {WrappedComponent} from '../../utils'; import type {RelayEnvContext} from "../RelayEnvProvider"; type Mutations = { [name: string...
ajax/libs/yui/3.16.0/event-custom-base/event-custom-base.js
jtushar53/cdnjs
/* YUI 3.16.0 (build 76f0e08) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('event-custom-base', function (Y, NAME) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.En...
examples/huge-apps/routes/Calendar/components/Calendar.js
bs1180/react-router
import React from 'react' class Calendar extends React.Component { render() { const events = [ { id: 0, title: 'essay due' } ] return ( <div> <h2>Calendar</h2> <ul> {events.map(event => ( <li key={event.id}>{event.title}</li> ))} </ul> ...
packages/cockpit/ui/src/components/Communication.js
iurimatias/embark-framework
import PropTypes from "prop-types"; import React, { Component } from 'react'; import { Button, Card, CardBody, CardHeader, Col, FormGroup, Input, Row, Label, ListGroup, ListGroupItem } from 'reactstrap'; import Error from "./Error"; class Communication extends Component { constructor(props) { ...
stories/VisualPicker.js
propertybase/react-lds
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { boolean, select } from '@storybook/addon-knobs'; import { VisualPicker, VisualPickerTileCaption, VisualPickerTileIcon, VisualPickerTileText, VisualPickerContainer, VisualPicke...
app/static/src/performer/NewDiagnosisForm.js
SnowBeaver/Vision
import React from 'react'; import FormControl from 'react-bootstrap/lib/FormControl'; import FormGroup from 'react-bootstrap/lib/FormGroup'; import {NotificationContainer, NotificationManager} from 'react-notifications'; import OverlayTrigger from 'react-bootstrap/lib/OverlayTrigger'; import Tooltip from 'react-bootstr...
src/panes/components/CustomProvider.js
trezy/eidetica
// Module imports import React from 'react' // Component imports import { updateCustomProvider } from '../../modules/common' import Provider from './Provider' // Component constants const fieldsToRender = [ { key: 'sshSource', title: 'SSH Source', }, { key: 'username', title: 'Username',...
tgui/packages/tgui/interfaces/ApcControl.js
anconfuzedrock/tgstation
import { map, sortBy } from 'common/collections'; import { flow } from 'common/fp'; import { pureComponentHooks } from 'common/react'; import { useBackend, useLocalState } from '../backend'; import { Box, Button, Dimmer, Flex, Icon, Table, Tabs } from '../components'; import { Fragment, Window } from '../layouts'; impo...
definitions/npm/styled-components_v3.x.x/flow_v0.75.x-/test_styled-components_v3.x.x.js
orlandoc01/flow-typed
// @flow import {renderToString} from 'react-dom/server' import styled, { css, ThemeProvider, withTheme, keyframes, ServerStyleSheet, StyleSheetManager } from 'styled-components' import React from 'react' import type { Theme, Interpolation, ReactComponentFunctional, ReactComponentFunctionalUndefined...
src/renderer/components/preferences/components/shortcut-input.js
buttercup-pw/buttercup
// thanks to kap // https://github.com/wulkano/kap/blob/master/renderer/components/preferences/shortcut-input.js import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import styled from 'styled-components'; import { LabelWrapper, ResetButton } from './ui-elements'; import {...
app/javascript/mastodon/components/autosuggest_hashtag.js
Kirishima21/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ShortNumber from 'mastodon/components/short_number'; import { FormattedMessage } from 'react-intl'; export default class AutosuggestHashtag extends React.PureComponent { static propTypes = { tag: PropTypes.shape({ name: PropTypes.string...
src/components/Swiper.js
errotu/digital-vernisage
import React from 'react'; import SingleImage from './SingleImage' import ons from 'onsenui'; import { CarouselItem, Carousel, Modal, Button } from 'react-onsenui' export default class Swiper extends React.Component { constructor(props) { super(); this.state = {index: (props.index === undefin...
app/components/Icons/icons/icon-system.js
code4romania/monitorizare-vot-votanti-client
import React from 'react'; function IconSystem() { return ( <svg version="1.1" id="icon-system" x="0px" y="0px" viewBox="-41 164.9 512 512"> <g> <path d="M151,491.8l-3.6,34.4c-0.3,2.8,0.6,5.5,2.5,7.6s4.5,3.3,7.3,3.3h104.1c2.8,0,5.5-1.2,7.3-3.3c1.9-2.1,2.8-4.8,2.5-7.6l-3.6-34.4h129.6c20.2,0,36.6-16....
ajax/libs/forerunnerdb/1.3.533/fdb-core.js
ahocevar/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
src/components/gameComponent/gameComponent.js
craigbilner/quizapp
'use strict'; import React from 'react'; import radium from 'radium'; import QuestionAnswerComponent from '../questionAnswerComponent/questionAnswerComponent'; import GameTimingComponent from '../gameTimingComponent/gameTimingComponent'; import GameTableComponent from '../gameTableComponent/gameTableComponent'; import...
lib/components/common/EditableInput.js
OhJia/react-color
'use strict'; var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProp...