path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
sites/all/libraries/tinymce/jscripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js
ogredude/super-drupal
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing * * This plugin will force TinyMCE to produce deprecated legacy output such as font elements, u...
python/cross_service/photo_analyzer/frontend/src/index.js
awsdocs/aws-doc-sdk-examples
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 /** * The base rendering of the React application. */ import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import 'bootstrap/dist/css/bootstrap.min.css'; // The REST servic...
renderer/components/ColorSetInput.js
mjswensen/themer-gui
import React from 'react'; import classnames from 'classnames'; import css from './ColorSetInput.css'; import { Droplet } from './Icons'; export default ({ colorKey, labelColor, inputBackgroundColor, inputTextColor, inputBorderColor, inputBorderRadius, textInputValue, colorInputValue, onChange, }) =>...
src/container/contact.js
ftmatsumoto/crss
import React, { Component } from 'react'; import messengerlogo from '../asset/messenger.svg'; import mailoutline from '../asset/mailoutline.svg'; import phone from '../asset/phone.svg'; import whatsapp from '../asset/whatsapp.svg'; import Paper from 'material-ui/Paper'; import RaisedButton from 'material-ui/RaisedBut...
src/components/SvgIcon/Key.js
sk-iv/iva-app
import React from 'react'; import SvgIcon from './SvgIcon'; import classNames from 'classnames'; /** * @ignore - internal component. */ let Key = props => ( <SvgIcon {...props} className={classNames('icon--size24', props.className)}> <path d="M8.9,14.1L21.3,1.8 M10.2,17.3L10.2,17.3c0-2.5-2.1-4.6-4.6-4.6h0c-2.5...
Lumino/js/components/WrappedComponents/TextInput.js
evonove/lumino
import React from 'react'; import PropTypes from 'prop-types'; import styles from './style'; import { TextInput as NativeTextInput, Text, View } from 'react-native'; /** * Wrapper around textinput to work with redux */ const TextInput = (props) => { const { input, meta: { touched, error }, ...inputProps } = props;...
src/components/catalog/Title.js
dloret/support-hub
import React from 'react'; import {Tile} from './Tile'; import './Title.css'; export const Title = (props) => { return ( <div className='section'> <h2>{props.title}</h2> {props.items .filter((item) => item.category === props.title) .map((item) => <Tile key={item.id} ...
src/js/redux/containers/DevTools.js
daigof/react-examples
import React from 'react' // Exported from redux-devtools import {createDevTools} from 'redux-devtools' // Monitors are separate packages, and you can make a custom one import LogMonitor from 'redux-devtools-log-monitor' import DockMonitor from 'redux-devtools-dock-monitor' // createDevTools takes a monitor and prod...
src/views/GestionsComponents/Scooters/Geolocaliser/Map.js
Cruis-R/GestionOutil
import React, { Component } from 'react'; import L from 'leaflet'; import classnames from 'classnames'; import Select from 'react-select'; import 'react-select/dist/react-select.css'; import 'react-datetime/css/react-datetime.css' import DateTime from 'react-datetime'; import { TabContent, TabPane, Nav, NavItem, NavLin...
ajax/libs/clappr/0.0.33/clappr.js
fredericksilva/cdnjs
require=(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);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o]...
client2/src/components/whiteboard/colorbox.js
ibulmer/Board
import React, { Component } from 'react'; import InputColor from 'react-input-color' export default (props) => { const texty = { 'color': 'white', 'marginRight': '5px', 'width': '150px' }; return ( <div className="app animated slideInLeft"> <span style={texty}>Tool: </span> <input ...
ajax/libs/es6-shim/0.20.1/es6-shim.js
taydakov/cdnjs
/*! * https://github.com/paulmillr/es6-shim * @license es6-shim Copyright 2013-2014 by Paul Miller (http://paulmillr.com) * and contributors, MIT License * es6-shim: v0.20.1 * see https://github.com/paulmillr/es6-shim/blob/master/LICENSE * Details and documentation: * https://github.com/paulmillr/es6-...
src/index.js
michaelcontento/redux-middleware-react-native-appstate
import { createAction } from 'redux-actions'; import createOneShotMiddleware from 'redux-middleware-oneshot'; import { AppStateIOS } from 'react-native'; export const TYPE = 'REDUX_MIDDLEWARE_REACT_NATIVE_APPSTATE'; export const action = createAction(TYPE); export const middleware = createOneShotMiddleware((dispatch) ...
_src/src/components/Contact/SocialIcons.js
YannickDot/yannickdot.github.io
import React from 'react' import { config } from 'config' import { rhythm } from 'utils/typography' const social = [ { name: 'Email', url: 'mailto:yannick.l.spark@gmail.com', icon: 'fa-envelope-o' }, { name: 'Twitter', icon: 'fa-twitter', url: 'https://twitter.com/yannickdot' }, { ...
client/ui/organisms/login-form.js
LestaD/InstaClone
/* eslint-disable react/no-unused-prop-types */ import React from 'react' import PropTypes from 'prop-types' import { compose, withHandlers, withState } from 'recompose' import { Button, Card, Layout, Logo } from '../atoms' import { Field } from '../molecules' const enhance = compose( withState('valueUsername', 'u...
public/js/minificado/all.js
barcadictni/farmadescuento
!function(e,t){function n(e){var t=e.length,n=ct.type(e);return ct.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=kt[e]={};return ct.each(e.match(pt)||[],function(e,n){t[n]=!0}),t}function i(e,n,r,i){if(ct.acceptData(e)){var o,a,s=ct.expan...
ajax/libs/yui/3.18.1/event-focus/event-focus-min.js
emijrp/cdnjs
YUI.add("event-focus",function(e,t){function u(t,r,u){var a="_"+t+"Notifiers";e.Event.define(t,{_useActivate:o,_attach:function(i,s,o){return e.DOM.isWindow(i)?n._attach([t,function(e){s.fire(e)},i]):n._attach([r,this._proxy,i,this,s,o],{capture:!0})},_proxy:function(t,r,i){var s=t.target,f=t.currentTarget,l=s.getData(...
src/peers/LoadablePeersPage.js
ipfs/webui
import React from 'react' import Loadable from '@loadable/component' import ComponentLoader from '../loader/ComponentLoader.js' const LoadablePeersPage = Loadable(() => import('./PeersPage'), { fallback: <ComponentLoader/> } ) export default LoadablePeersPage
src/components/LogoAlt.js
qubbit/gopal.io
import React from 'react'; const LogoAlt = props => ( <svg viewBox="0 0 154.9 196.5" {...props}> <path d="M123.8 190.4v-78.6c0-30.6.5-52.7 1.9-75.9l-.8-.3c-9.3 19.9-21.6 40.9-34.4 61.4l-58.4 93.4H8V6.4h22.4v77c0 28.7-.5 51.1-2.7 75.6l.5.3c8.7-18.8 19.4-38.2 33-59.8l59-93.1h25.9v184h-22.3zm22.4-97.8V115H40.5V92.6...
ajax/libs/clappr/0.0.18/clappr.js
simudream/cdnjs
require=(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);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o]...
examples/todos/components/App.js
leoasis/redux
import React from 'react' import Footer from './Footer' import AddTodo from '../containers/AddTodo' import VisibleTodoList from '../containers/VisibleTodoList' const App = () => ( <div> <AddTodo /> <VisibleTodoList /> <Footer /> </div> ) export default App
utils/typography.js
mackybeltran/magic_mark_static_website
import ReactDOM from 'react-dom/server' import React from 'react' import Typography from 'typography' import CodePlugin from 'typography-plugin-code' import { MOBILE_MEDIA_QUERY } from 'typography-breakpoint-constants' const options = { baseFontSize: '18px', baseLineHeight: 1.45, scaleRatio: 2.25, plugins: [ne...
client/TaskStats.js
npasserini/redux-workshop
import React from 'react'; export default class TaskStats extends React.Component { render() { let total = this.props.stats.reduce((accum, stat) => accum + stat.count, 0); let stats = this.props.stats.map( (stat) => ({...stat, avg: percent(stat.count, total) }) ); let statsLegend = stats.map( stat => ...
electron/app/containers/EditorLeftPanel.js
zindlerb/motif
import React from 'react'; import { connect } from 'react-redux'; import FormLabel from '../components/forms/FormLabel'; import TextField from '../components/forms/TextField'; import ComponentTreeContainer from '../components/ComponentTreeContainer'; import HorizontalSelect from '../components/HorizontalSelect'; impor...
react-vr/v3-forest/components/Forest.js
nikgraf/webvr-experiments
import React from 'react'; import {asset, View} from 'react-vr'; import {range, map, xprod, flatten} from 'ramda'; import Tree from './Tree'; const randomPosition = () => Math.floor(Math.random() * 10) - 5; const randomHeight = () => Math.random() - 1; const randomScale = () => Math.random() * 0.25 + 1; const grid = ...
src/components/Header.js
caesai/medialeaks
import React from 'react'; import logo from '../img/ML_Logo.png'; import searchicon from '../img/private-eye-magnifying-glass.png' export default class Header extends React.Component { render() { return( <header> <div className="header_container"> <div className="mobile-menu"> ...
docs/app/Examples/addons/Select/Types/SelectExample.js
shengnian/shengnian-ui-react
import React from 'react' import { Select } from 'shengnian-ui-react' import { countryOptions } from '../common' // [{ key: 'af', value: 'af', flag: 'af', text: 'Afghanistan' }, ...{}] const SelectExample = () => ( <Select placeholder='Select your country' options={countryOptions} /> ) export default SelectExample...
ForceJS/src/App.js
ForceProject/ROS-ForceJS
import React, { Component } from 'react'; import './App.css'; import NavBar from './NavBar.jsx' import ControllerContainer from './ControllerContainer.jsx' import {TileAdderHandler} from './TileAdderHandler.jsx' import DimensionsDialog from './DimensionsDialog.jsx' import baseTheme from 'material-ui/styles/baseThemes...
components/Selector.js
BipinBhandari/react-native-item-picker
import React from 'react' import { View, Text } from 'react-native' import styles from './Styles/SelectorStyle' import Ticker from './Ticker' export default class Selector extends React.Component { constructor(props){ super(props); this.state={ collection: props.collection.map((item, in...
app/app.js
prajapati-parth/glitchy
import React from 'react' import ReactDOM from 'react-dom' //import application main component import AppComponent from '../app/components/app_component' class App extends React.Component { render() { return ( <AppComponent /> ) } } //render back to mark-up file ReactDOM.render( ...
actor-apps/app-web/src/app/components/modals/create-group/Form.react.js
jiguoling/actor-platform
import _ from 'lodash'; import Immutable from 'immutable'; import keymirror from 'keymirror'; import React from 'react'; import { Styles, TextField, FlatButton } from 'material-ui'; import CreateGroupActionCreators from 'actions/CreateGroupActionCreators'; import ContactStore from 'stores/ContactStore'; import Cont...
website/src/components/readnext.js
honnibal/spaCy
import React from 'react' import PropTypes from 'prop-types' import Icon from './icon' import Link from './link' import { Label } from './typography' import classes from '../styles/readnext.module.sass' export default function ReadNext({ title, to }) { return ( <div className={classes.root}> ...
node_modules/material-ui/svg-icons/editor/insert-link.js
acalabano/get-committed
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
src/components/common/svg-icons/toggle/star-half.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ToggleStarHalf = (props) => ( <SvgIcon {...props}> <path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15....
src/svg-icons/av/surround-sound.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvSurroundSound = (props) => ( <SvgIcon {...props}> <path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7.76 16.24l-1.41 1.41C4.78 16.1 4 14.05 4 12c0-2.05.78-4.1 2.34-5.66l1.4...
test/specs/modules/Progress/Progress-test.js
vageeshb/Semantic-UI-React
import _ from 'lodash' import React from 'react' import { SUI } from 'src/lib' import Progress from 'src/modules/Progress/Progress' import * as common from 'test/specs/commonTests' describe('Progress', () => { common.isConformant(Progress) common.hasUIClassName(Progress) common.rendersChildren(Progress) comm...
src/components/ActivityPanel/ActivityRow.js
nambawan/g-old
import React from 'react'; import PropTypes from 'prop-types'; import { FormattedDate } from 'react-intl'; import TableRow from '../TableRow'; import UserThumbnail from '../UserThumbnail'; function ActivityTableRow({ type, onClickMenu, verb, actor, createdAt }) { /* eslint-disable react/no-danger */ /* eslint-di...
src/html.js
qkevinto/kevinto.me
import React from 'react'; import PropTypes from 'prop-types'; import { Helmet } from 'react-helmet'; export default class HTML extends React.Component { static propTypes = { body: PropTypes.string } render() { const head = Helmet.rewind() return ( <html lang="en"> <head> <m...
examples/library/src/containers/Foobar.js
carteb/carte-blanche
/* @flow weak */ import React from 'react'; import { Grid, Row, } from 'react-bootstrap'; import { Button, } from '../components'; const Root = () => <Grid> <Row> <Button>Here is a sample button</Button> </Row> <Row> <Button bsStyle="primary">Here is a primary button</Button> </Row...
src/svg-icons/device/battery-full.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBatteryFull = (props) => ( <SvgIcon {...props}> <path d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"/> </SvgIcon> ); ...
src/js/components/EdgeServer/partial/LandingPage.js
ajainsyn/project
import React from 'react'; import apiNotification from '../../../../assets/images/apinotification.png'; const LandingPage = ({...props}) => ( <section className="section" id="emailService"> <div className="container"> <div className="row align-items-center"> <div className="col-s...
examples/js/basic/borderless-table.js
pvoznyuk/react-bootstrap-table
/* eslint max-len: 0 */ import React from 'react'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; const products = []; function addProducts(quantity) { const startId = products.length; for (let i = 0; i < quantity; i++) { const id = startId + i; products.push({ id: id, ...
src/interface/home/Page.js
sMteX/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Trans } from '@lingui/macro'; import { Link, Route, Switch } from 'react-router-dom'; import lazyLoadComponent from 'common/lazyLoadComponent'; import retryingPromise from 'common/retryingPromise'; import New...
src/svg-icons/action/eject.js
hwo411/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionEject = (props) => ( <SvgIcon {...props}> <path d="M5 17h14v2H5zm7-12L5.33 15h13.34z"/> </SvgIcon> ); ActionEject = pure(ActionEject); ActionEject.displayName = 'ActionEject'; ActionEject.muiName = 'Svg...
src/docs/examples/TextInput/ExampleOptional.js
rajeshpillai/zs-react-pattern-lib
import React from 'react'; import TextInput from 'zs-react/TextInput'; /** Optional TextBox */ export default class ExampleOptional extends React.Component { render() { return ( <TextInput htmlId="example-optional" label="First Name" name="firstname" onChange={() => {}} ...
src/components/order/CommentsModal.js
terryli1643/daoke-react-c
import React from 'react' import PropTypes from 'prop-types' import { Input, Modal, Row, Col, Button, Icon } from 'antd' class CommentsModal extends React.Component { state = { comments: '' } handleOk = () => { this.props.onOk(this.refs.myInput.props.value) } handleCancel = () => { this.props.onCance...
src/svg-icons/content/flag.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentFlag = (props) => ( <SvgIcon {...props}> <path d="M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"/> </SvgIcon> ); ContentFlag = pure(ContentFlag); ContentFlag.displayName = 'ContentFlag'; ContentFlag.muiName = '...
ajax/libs/js-data/1.5.1/js-data-debug.js
paleozogt/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file dist/js-data-debug.js * @version 1.5.1 - Homepage <http://www.js-data.io/> * @copyright (c) 2014 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Data store. */ !function(e){if("object"==typeof exports&&"undefine...
src/svg-icons/navigation/check.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NavigationCheck = (props) => ( <SvgIcon {...props}> <path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/> </SvgIcon> ); NavigationCheck = pure(NavigationCheck); NavigationCheck.displayName = 'Navigati...
src/components/App.js
batazor/labelMap
import React from 'react' import { Link, browserHistory } from 'react-router' export default function App({ children }) { return ( <div> <header> Links: {' '} <Link to="/">Home</Link> {' '} <Link to="/foo">Foo</Link> {' '} <Link to="/bar">Bar</Link> ...
webpack/components/Content/Details/ContentDetailRepositoryTableSchema.js
pmoravec/katello
import React from 'react'; import { urlBuilder } from 'foremanReact/common/urlHelpers'; import { translate as __ } from 'foremanReact/common/I18n'; import { headerFormatter, cellFormatter, } from '../../../move_to_foreman/components/common/table'; const TableSchema = [ { property: 'name', header: { ...
client/pages/ForgotPassword.js
homanbromand/node-react-bootstrap
import React from 'react' import ForgotPasswordForm from 'client/components/ForgotPasswordForm' export default class ForgotPassword extends React.Component { render() { return ( <div class="bb-page bb-page-forgot-password"> <h1 class="bb-h1">Forgot password</h1> <ForgotPasswordForm /> </div> ) } }...
src/ChallengeMeta7/index.js
DuckyTeam/ducky-components
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import Icon from '../Icon'; import ChallengeMeta4 from '../ChallengeMeta4'; import styles from './styles.css'; function ChallengeMeta7(props) { return ( <div className={classNames(styles.wrapper, { [props.cl...
src/app/keyring/KeyGrid.js
mailvelope/mailvelope
/** * Copyright (C) 2012-2017 Mailvelope GmbH * Licensed under the GNU Affero General Public License version 3 */ import React from 'react'; import PropTypes from 'prop-types'; import * as l10n from '../../lib/l10n'; import {KeyringOptions} from './KeyringOptions'; import Spinner from '../../components/util/Spinner...
pkg/interface/publish/src/js/components/lib/group-item.js
jfranklin9000/urbit
import React, { Component } from 'react'; import { NotebookItem } from './notebook-item'; export class GroupItem extends Component { render() { const { props, state } = this; let association = !!props.association ? props.association : {}; let title = association["app-path"] ? association["app-path"] : "...
react/features/conference/components/Conference.js
bickelj/jitsi-meet
import React, { Component } from 'react'; import { connect as reactReduxConnect } from 'react-redux'; import { connect, disconnect } from '../../base/connection'; import { Container } from '../../base/react'; import { FilmStrip } from '../../filmStrip'; import { LargeVideo } from '../../largeVideo'; import { T...
fixtures/kitchensink/src/features/webpack/JsonInclusion.js
altiore/webpack-react
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import { abstract } from './assets/abstract.json'; export default () => ( <summary id="feature-json-inclus...
docs/src/components/Home/Hero/ButtonsPreview/ButtonsPreview.js
seekinternational/seek-asia-style-guide
import styles from './ButtonsPreview.less'; import React from 'react'; import { Button } from 'seek-asia-style-guide/react'; export default function ButtonsPreview() { return ( <div className={styles.root}> <div> <Button color="primary" className={styles.button}>Primary</Button> </div> ...
src/App.js
TutorFox/TutorFox
import React, { Component } from 'react'; import { NICE, SUPER_NICE } from './colors'; import Router from 'react-router'; let { RouteHandler } = Router; export class App extends Component { render() { return ( <div> <RouteHandler/> </div> ); } }
src/components/error-boundary/index.js
rognan/chrome-extension-custom-new-tab
import React from 'react'; import PropTypes from 'prop-types'; class ErrorBoundary extends React.Component { constructor(props) { super(props); this.state = {hasError: false}; } // eslint-disable-next-line no-unused-vars static getDerivedStateFromError(ignored) { return { hasError: true }; } re...
src/settings/FeeFinesTable/ChargeNotice.js
folio-org/ui-users
import _ from 'lodash'; import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { Field } from 'react-final-form'; import { Button, Row, Col, Select, } from '@folio/stripes/components'; import stripesFinalForm from '@folio/stripes/final-form'; impor...
js/jquery.js
21cDawn/fenixer
/*! jQuery v1.11.1 | (c) 2005, 2014 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 wind...
ajax/libs/mediaelement/2.6.5/jquery.js
wil93/cdnjs
/*! * jQuery JavaScript Library v1.7 * 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. *...
src/svg-icons/av/video-call.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvVideoCall = (props) => ( <SvgIcon {...props}> <path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4zM14 13h-3v3H9v-3H6v-2h3V8h2v3h3v2z"/> </SvgIcon> )...
src/Stepper/Stepper.spec.js
mmrtnz/material-ui
/* eslint-env mocha */ import React from 'react'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import Step from './Step'; import StepConnector from './StepConnector'; import Stepper from './Stepper'; import FontIcon from '../FontIcon'; import getMuiTheme from '../styles/getMuiTheme'; describe('<Steppe...
app/components/Dashboard/AssetBalancesPanel/index.js
CityOfZion/neon-wallet
// @flow import React from 'react' import { FormattedMessage } from 'react-intl' import { compose } from 'recompose' import { values, omit, get } from 'lodash-es' import { withActions, withData } from 'spunky' import AssetBalancesPanel from './AssetBalancesPanel' import assetBalancesPanelActions from '../../../actions...
app/addons/documents/mango/components/ExecutionStats.js
apache/couchdb-fauxton
// 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 // distributed un...
fields/types/color/ColorField.js
rafmsou/keystone
import { SketchPicker } from 'react-color'; import { css, StyleSheet } from 'aphrodite/no-important'; import Field from '../Field'; import React from 'react'; import { Button, FormInput, InlineGroup as Group, InlineGroupSection as Section, } from '../../../admin/client/App/elemental'; import transparentSwatch from ...
node_modules/react-router/es6/IndexRedirect.js
amybingzhao/savings-planner-web
import React from 'react'; import warning from './routerWarning'; import invariant from 'invariant'; import Redirect from './Redirect'; import { falsy } from './InternalPropTypes'; var _React$PropTypes = React.PropTypes; var string = _React$PropTypes.string; var object = _React$PropTypes.object; /** * An <IndexRedir...
app/components/AddTask/index.js
prudhvisays/season
import React from 'react'; import './AddStyle.css'; import ButtonStyle from './ButtonStyle'; import TaskTab from './TaskTab'; import TaskMap from './TaskMap'; import Select from './Select'; import TeamSelect from './TeamSelect'; export default class AddTask extends React.Component { //eslint-disable-line constructor(p...
src/layouts/index.js
nennes/nenn_es
import React from 'react' import PropTypes from 'prop-types' import Helmet from 'react-helmet' import Header from '../components/organisms/Header' import './index.css' const Layout = ({ children, data }) => ( <div> <Helmet title={data.site.siteMetadata.title} meta={[ { name: 'description', c...
packages/material-ui-icons/src/BorderAllTwoTone.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M21 3H3v18h18V3zM11 19H5v-6h6v6zm0-8H5V5h6v6zm8 8h-6v-6h6v6zm0-8h-6V5h6v6z" /></g></React.Fragment> , 'BorderAllTwoTone');
src/shared-components/AppFooter.js
jch254/audio-insights
import React from 'react'; import { Link } from 'react-router'; import { Box } from 'reflexbox'; import moment from 'moment'; import { Toolbar, Space, NavItem, } from 'rebass'; const AppFooter = () => ( <Box style={{ flex: 'none' }}> <Toolbar backgroundColor="black"> <Space auto /> <NavItem is=...
src/components/PartnersPage/PartnersPage.js
hack-duke/hackduke-ideate-website
import React from 'react' import classes from './PartnersPage.scss' import PartnersItem from 'components/PartnersItem' import { Row, Col } from 'react-bootstrap' import diveplane from 'static/partners/diveplane.png' import dukeArt from 'static/partners/duke_art.jpg' import zapier from 'static/partners/zapier.png' clas...
ajax/libs/vue-smart-table/2.6.0-beta5/vue-smart-table.min.js
extend1994/cdnjs
!function(u,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("Vue")):"function"==typeof define&&define.amd?define(["Vue"],n):"object"==typeof exports?exports.SmartTable=n(require("Vue")):u.SmartTable=n(u.Vue)}(this,function(u){return function(u){function n(e){if(t[e])return t[e].exports;var...
ajax/libs/foundation/4.1.2/js/vendor/jquery.min.js
melvinchien/cdnjs
(function(e,t){function n(e){var t=e.length,n=lt.type(e);return lt.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function i(e){var t=wt[e]={};return lt.each(e.match(ut)||[],function(e,n){t[n]=!0}),t}function r(e,n,i,r){if(lt.acceptData(e)){var o,a,s=lt.expan...
pootle/static/js/admin/app.js
iafan/zing
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import 'imports?Backbone=>require("backbone")!backbone-mov...
site/build/site/js/vendor/jquery-1.10.2.min.js
boostrack/ari
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
src/js/analytics/Footer.js
TTFG-Analytics/commonground
import React from 'react' import { Modal, Button } from 'react-bootstrap'; export default class Footer extends React.Component{ render() { return ( <Modal.Footer> <Button onClick={this.props.toggleModal}>Close</Button> </Modal.Footer> ) } }
__tests__/App.js
yarikgenza/gainster
import 'react-native'; import React from 'react'; import App from '../App'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <App /> ); });
ajax/libs/react-slick/0.3.6/react-slick.js
TerryMooreII/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["Slider"] = factory(...
src/components/Modal/Modal.js
Bandwidth/shared-components
import React from 'react'; import PropTypes from 'prop-types'; import * as styles from './styles'; /** * Unlike traditional modal dialogs, Modal doesn't include functionality for closing or opening. * It's recommended that you render Modal as a state in your application or * as a route in your React application wit...
src/static/containers/Nav/GuestNav/index.js
spiskommg/mm-v2
import React from 'react'; import { connect } from 'react-redux'; import { push } from 'react-router-redux'; import classNames from 'classnames'; import PropTypes from 'prop-types'; import { authLogoutAndRedirect } from '../../../actions/auth'; import '../../../styles/main.scss'; class GuestNav extends React.Componen...
client/views/teams/contextualBar/info/Leave/StepTwo.js
VoiSmart/Rocket.Chat
import React from 'react'; import GenericModal from '../../../../../components/GenericModal'; import { useTranslation } from '../../../../../contexts/TranslationContext'; import RoomLinkList from '../../RoomLinkList'; export const StepTwo = ({ lastOwnerRooms, keptRooms, onConfirm, onCancel, onClose }) => { const t =...
ajax/libs/js-data/2.8.0/js-data.js
sufuf3/cdnjs
/*! * js-data * @version 2.8.0 - Homepage <http://www.js-data.io/> * @author Jason Dobry <jason.dobry@gmail.com> * @copyright (c) 2014-2015 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Robust framework-agnostic data store. */ (function webpackUniversalModul...
test/index.js
romainberger/react-portal-tooltip
import React from 'react' import assert from 'assert' import ReactShallowRenderer from 'react-test-renderer/shallow' import Tooltip from '../src' const renderer = (Component) => { const shallowRenderer = new ReactShallowRenderer() shallowRenderer.render(Component) return shallowRenderer.getRenderOutput() } desc...
actor-apps/app-web/src/app/components/Install.react.js
daodaoliang/actor-platform
import React from 'react'; export default class Install extends React.Component { render() { return ( <section className="mobile-placeholder col-xs row center-xs middle-xs"> <div> <img alt="Actor messenger" className="logo" src="assets/img/logo.png" ...
ajax/libs/backbone-react-component/0.7.3/backbone-react-component.js
jieter/cdnjs
// Backbone React Component // ======================== // // Backbone.React.Component v0.7.3 // // (c) 2014 "Magalhas" José Magalhães <magalhas@gmail.com> // Backbone.React.Component can be freely distributed under the MIT license. // // // `Backbone.React.Component` is a mixin that glues [Backbone](http:/...
.storybook/stories/playground/forms.stories.js
teamleadercrm/teamleader-ui
import React from 'react'; import { addStoryInGroup, PLAYGROUND } from '../../utils'; import { Box, Button, ButtonGroup, Input, NumericInput, Label, Textarea } from '../../../src'; export default { title: addStoryInGroup(PLAYGROUND, 'Forms'), parameters: { info: { source: false, propTables: false,...
ajax/libs/intl-tel-input/3.8.0/js/intlTelInput.js
honestree/cdnjs
/* International Telephone Input v3.8.0 https://github.com/Bluefieldscom/intl-tel-input.git */ // wrap in UMD - see https://github.com/umdjs/umd/blob/master/jqueryPlugin.js (function(factory) { if (typeof define === "function" && define.amd) { define([ "jquery" ], function($) { factory($, window...
src/components/Tabs/Tabs-story.js
wfp/ui
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { withKnobs, number, text } from '@storybook/addon-knobs'; import Tabs from '../Tabs'; import Tab from '../Tab'; import Tag from '../Tag'; import TabsSkeleton from '../Tabs/Tabs.Skeleton'; ...
packages/vulcan-core/lib/modules/containers/withEdit.js
rtluu/immersive
/* Generic mutation wrapper to edit a document in a collection. Sample mutation: mutation moviesEdit($documentId: String, $set: MoviesInput, $unset: MoviesUnset) { moviesEdit(documentId: $documentId, set: $set, unset: $unset) { ...MoviesEditFormFragment } } Arguments: - documentId: the id of...
src/icons/IosBasketballOutline.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class IosBasketballOutline extends React.Component { render() { if(this.props.bare) { return <g> <path d="M256,48C141.137,48,48,141.136,48,256s93.137,208,208,208c114.871,0,208-93.138,208-208S370.871,48,256,48z M446...
tests/react_native_tests/test_data/native_code/ToolbarWithActions/storybook/stories/MessagesIcon/index.js
ibhubs/sketch-components
import React from 'react' import { storiesOf } from '@storybook/react-native' import { action } from '@storybook/addon-actions' import { linkTo } from '@storybook/addon-links' import SvgComponent from 'app/icons/MessagesIcon' storiesOf('MessagesIcon', module) .add('default', () => ( <MessagesIcon></MessagesIcon>))
src/svg-icons/image/filter-6.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilter6 = (props) => ( <SvgIcon {...props}> <path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-8-2h2c1.1 0 2-.89 2-2v-2...
app/rpg_battlemap/priv/www/contrib/jquery-1.8.0.min.js
Morgul/rpg_battlemap
/*! jQuery v@1.8.0 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d=...
client/verification-portal/components/services-group.js
HelpAssistHer/help-assist-her
import React from 'react' import injectSheet from 'react-jss' import Spacer from '../../components/spacer' import ServiceFields from './service-fields' const ServicesGroup = ({ classes, heading, listOfServices }) => { return ( <div className={classes.group}> <div className={classes.heading}>{heading}</div> <...
src/Footer.js
pebutler3/new-site
import React, { Component } from 'react'; class Footer extends Component { render() { return ( <footer> <ul> <li><a href={this.props.email}>Email</a></li> <li><a href={this.props.twitter}>Twitter</a></li> <li><a href={this.props.linkedin}>Linkedin</a></li> <l...
dist/assets/app.js
malecki/gcmeme
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/assets/",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}n(130);var o=n(5),i=r(o),a=n(1...
ajax/libs/jQRangeSlider/5.7.2/jQRangeSlider.js
sufuf3/cdnjs
/** * jQRangeSlider * A javascript slider selector that supports dates * * Copyright (C) Guillaume Gautreau 2012 * Dual licensed under the MIT or GPL Version 2 licenses. * */ (function ($, undefined) { "use strict"; $.widget("ui.rangeSlider", { options: { bounds: {min:0, max:100}, defaultValues: {min...