path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
node_modules/react-icons/fa/share-square-o.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const FaShareSquareO = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m32.9 22.1v5.8q0 2.6-1.9 4.5t-4.5 1.9h-18.6q-2.6 0-4.5-1.9t-1.9-4.5v-18.6q0-2.7 1.9-4.6t4.5-1.8h5.7q0.3 0 0.5 0.2t0.2 0.5q0 0.6-0.5 0.7-1.8 0.6-3 1.3-0.2 0.1-0.4...
src/Catcher.js
awayken/2016-Christmas-Card
import React, { Component } from 'react'; import pokeball from './pokeball.png'; class Catcher extends Component { render() { const catcherClass = `catcher catcher--${this.props.quarryName}`; let ballClass = `catcher--ball animated`; if (this.props.isAnimatingCatch) { ballClass...
src/svg-icons/notification/do-not-disturb-alt.js
w01fgang/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...
packages/mineral-ui-icons/src/IconTransferWithinAStation.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconTransferWithinAStation(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon...
examples/async/containers/Root.js
eraviart/redux
import React, { Component } from 'react'; import { Provider } from 'react-redux'; import configureStore from '../store/configureStore'; import AsyncApp from './AsyncApp'; const store = configureStore(); export default class Root extends Component { render() { return ( <Provider store={store}> {() ...
packages/material-ui-icons/src/RoomSharp.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2....
src/components/molecules/extra-course.js
raulfdm/cv
import React from 'react'; import styled from 'styled-components'; import PropTypes from 'prop-types'; import CourseList from 'atoms/course-list'; const CompanyName = styled.h4``; const CourseItem = styled.li` margin: 0.4rem 0; ::before { content: '• '; } `; const Platform = styled.div``; const ExtraCour...
ajax/libs/radium/0.18.2/radium.min.js
pvnr0082t/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Radium=t(require("react")):e.Radium=t(e.React)}(this,function(e){return function(e){function t(n){if(r[n])return r[n].exports;var...
docs/src/app/components/pages/components/CircularProgress/ExampleDeterminate.js
IsenrichO/mui-with-arrows
import React from 'react'; import CircularProgress from 'material-ui/CircularProgress'; export default class CircularProgressExampleDeterminate extends React.Component { constructor(props) { super(props); this.state = { completed: 0, }; } componentDidMount() { this.timer = setTimeout(() ...
app/scripts/DraggableDiv.js
hms-dbmi/4DN_matrix-viewer
import { drag } from 'd3-drag'; import { event, mouse, select } from 'd3-selection'; import PropTypes from 'prop-types'; import React from 'react'; import withTheme from './hocs/with-theme'; import { THEME_DARK } from './configs'; import '../styles/DraggableDiv.module.scss'; class DraggableDiv extends React.Componen...
packages/material-ui-icons/src/PetsTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><circle cx="4.5" cy="9.5" r="2.5" /><circle cx="9" cy="5.5" r="2.5" /><circle cx="15" cy="5.5" r="2.5" /><circle cx="19.5" cy="9.5" r="2.5" /><path d="M17.34 14.86c-.87-1.02-1.6-1.89-2.48-2.91-...
packages/cf-component-icon/src/reactsvgs/Gear.js
jroyal/cf-ui
import React from 'react'; import PropTypes from 'prop-types'; const Gear = ({ className, label }) => ( <svg className={className} aria-label={label} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" > <path d="M15.12,6.381h-1.7a5.687,5.687,0,0,0-1.308-2.265l.851-1.474a7.293,7.293,0,0,0-2....
lib-es/components/panel/panel-tabs.js
bokuweb/re-bulma
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; import React, { Component } from 'react'; import PropTypes fr...
step-capstone/src/components/Sidebars/Finalized.js
googleinterns/step98-2020
import React from 'react'; import { useEffect, useState, useRef } from 'react'; import ReactDOM from 'react-dom'; import TimeLine from './TimeLine'; export default function Finalized(props) { /*date2Items maps the date to the list of items of that date */ const [displayDate, setDisplayDate] = useState(props.st...
introToBackbone/examples/code/snapshot09/backbone.js
everyding/screencasts
// Backbone.js 1.1.2 // (c) 2010-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors // Backbone may be freely distributed under the MIT license. // For all details and documentation: // http://backbonejs.org (function(root, factory) { // Set up Backbone appropriately for ...
src/library/Pagination/__tests__/Pagination.spec.js
mineral-ui/mineral-ui
/* @flow */ import React, { Component } from 'react'; import { mount } from 'enzyme'; import { ThemeProvider } from '../../themes'; import Button from '../../Button'; import { MenuItem } from '../../Menu'; import Select from '../../Select'; import SelectTrigger from '../../Select/SelectTrigger'; import Pagination from ...
ajax/libs/forerunnerdb/1.3.60/fdb-core.js
tonytomov/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/App/table.js
JohnTasto/housing-frontend
/* eslint-disable import/no-extraneous-dependencies */ // This should probably be the core component, containing, nav etc import React from 'react'; function Table({ rows }) { return ( <table> <tbody> {rows.map(row => ( <tr> {row.map(record => ( <td>{record}</td...
docs/pages/api-docs/link.js
lgollut/material-ui
import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import { prepareMarkdown } from 'docs/src/modules/utils/parseMarkdown'; const pageFilename = 'api/link'; const requireRaw = require.context('!raw-loader!./', false, /\/link\.md$/); export default function Page({ docs }) { ...
src/scripts/components/user/UserForm.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/routes/runners/update.js
tonimoeckel/lap-counter-react
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import Layout from '../../co...
test/pages/deployment-details-test.js
frigg/frigg-hq-frontend
/* eslint-env mocha */ import _ from 'lodash'; import React from 'react'; import TestUtils from 'react-addons-test-utils'; import {expect} from 'chai'; import Actions from '../../src/actions'; import {DeploymentDetailsPage} from '../../src/pages'; import BuildStore from '../../src/stores/build-store'; const deploymen...
ajax/libs/raven.js/3.24.2/angular/raven.js
jonobr1/cdnjs
/*! Raven.js 3.22.2 (1b6187b) | github.com/getsentry/raven-js */ /* * Includes TraceKit * https://github.com/getsentry/TraceKit * * Copyright 2018 Matt Robenolt and other contributors * Released under the BSD license * https://github.com/getsentry/raven-js/blob/master/LICENSE * */ (function (global, factory) ...
app/javascript/app/pages/my-climate-watch/my-cw-editor/plugins/side-toolbar-plugin/draft-js-side-toolbar-plugin/components/DefaultBlockTypeSelect/index.js
Vizzuality/climate-watch
/* eslint-disable */ import React from 'react'; import { HeadlineOneButton, HeadlineTwoButton, BlockquoteButton, CodeBlockButton, UnorderedListButton, OrderedListButton } from 'draft-js-buttons'; import BlockTypeSelect from '../BlockTypeSelect'; const DefaultBlockTypeSelect = ({ getEditorState, setEdito...
src/index.js
alexzherdev/pandemic
/* eslint-disable import/default */ import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import { Router, browserHistory } from 'react-router'; import { syncHistoryWithStore } from 'react-router-redux'; import ReactGA from 'react-ga'; import routes from './routes'; im...
packages/material-ui-icons/src/PhotoAlbum.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4zm0 15l3-3.86 2.14 2.58 3-3.86L18 19H6z" /></g> , 'PhotoAlbum');
packages/reactor-kitchensink/src/examples/PivotGrid/TabularLayout/TabularLayout.js
dbuhrman/extjs-reactor
import React, { Component } from 'react'; import { Container, PivotGrid, Toolbar, Button } from '@extjs/reactor/modern'; import SaleModel from '../SaleModel'; import { generateData } from '../generateSaleData'; export default class TabularLayout extends Component { store = Ext.create('Ext.data.Store', { ...
ajax/libs/jQRangeSlider/5.5.0/jQRangeSlider.js
zhangbg/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...
src/FormField/FormField.js
dimik/react-material-web-components
import React from 'react' import PropTypes from 'prop-types' import {MDCComponent} from '../MDCComponent' import {MDCFormField} from '@material/form-field/dist/mdc.formField' import classNames from 'classnames' class FormField extends MDCComponent { static displayName = 'FormField' static propTypes = { alignE...
ajax/libs/analytics.js/1.5.9/analytics.min.js
kellyselden/cdnjs
(function(){function require(path,parent,orig){var resolved=require.resolve(path);if(null==resolved){orig=orig||path;parent=parent||"root";var err=new Error('Failed to require "'+orig+'" from "'+parent+'"');err.path=orig;err.parent=parent;err.require=true;throw err}var module=require.modules[resolved];if(!module._resol...
sites/all/modules/contrib/jquery_update/replace/jquery/1.7/jquery.js
andrysobolev/Drupal-Base
/*! * 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. ...
Libraries/Components/WebView/WebView.ios.js
salanki/react-native
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
live2dw/lib/L2Dwidget.0.min.js
leer0/leer0.github.io
/*! https://github.com/xiazeyu/live2d-widget.js built@2019-4-6 09:38:17 */ webpackJsonpL2Dwidget([0],{76:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.captureFrame=e.theRealInit=void 0;var r,o=i(38),n=i(80),s=i(77),a=i(78),_=i(84),h=i(81),l=i(79),$=i(39),u=(r=$,r&&r.__esModule?r:{defau...
ajax/libs/material-ui/5.0.0-alpha.14/AvatarGroup/AvatarGroup.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import * as React from 'react'; import PropTypes from 'prop-types'; import { isFragment } from 'react-is'; import clsx from 'clsx'; import { chainPropTypes } fr...
actor-apps/app-web/src/app/components/sidebar/HeaderSection.react.js
taimur97/actor-platform
import _ from 'lodash'; import React from 'react'; import mixpanel from 'utils/Mixpanel'; import ReactMixin from 'react-mixin'; import { IntlMixin, FormattedMessage } from 'react-intl'; import classNames from 'classnames'; import MyProfileActions from 'actions/MyProfileActions'; import LoginActionCreators from 'action...
fields/types/cloudinaryimages/CloudinaryImagesField.js
Freakland/keystone
import _ from 'underscore'; import React from 'react'; import Field from '../Field'; import { Button, FormField, FormInput, FormNote } from 'elemental'; import Lightbox from '../../../admin/src/components/Lightbox'; const SUPPORTED_TYPES = ['image/gif', 'image/png', 'image/jpeg', 'image/bmp', 'image/x-icon', 'applicat...
docs/app/Examples/views/Statistic/Content/Labels.js
ben174/Semantic-UI-React
import React from 'react' import { Statistic } from 'semantic-ui-react' const { Label, Value } = Statistic const Labels = () => ( <div> <Statistic> <Value>2,204</Value> <Label>Views</Label> </Statistic> <Statistic> <Value value='2,204' /> <Label label='Views' /> </Statistic>...
SocialNotificationsActive.js
nodule/react-material-ui
module.exports = { description: "", ns: "react-material-ui", type: "ReactNode", dependencies: { npm: { "material-ui/svg-icons/social/notifications-active": require('material-ui/svg-icons/social/notifications-active') } }, name: "SocialNotificationsActive", ports: { input: {}, output:...
modules/__tests__/transitionHooks-test.js
frankleng/react-router
/*eslint-env mocha */ /*eslint react/prop-types: 0*/ import expect, { spyOn } from 'expect' import React from 'react' import createHistory from 'history/lib/createMemoryHistory' import execSteps from './execSteps' import Router from '../Router' describe('When a router enters a branch', function () { let node, Dashb...
packages/jQuery.1.8.2/Content/Scripts/jquery-1.8.2.js
ngpitt/CAPPamari
/*! * jQuery JavaScript Library v1.8.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Sep 20 2012 21:13:05 GMT-0400 (Eastern Daylight Time) */ (function(...
fields/types/datetime/DatetimeField.js
pr1ntr/keystone
import DateInput from '../../components/DateInput'; import Field from '../Field'; import moment from 'moment'; import React from 'react'; import { Button, FormField, FormInput, FormNote, InputGroup } from 'elemental'; module.exports = Field.create({ displayName: 'DatetimeField', statics: { type: 'Datetime', }, ...
ajax/libs/forerunnerdb/1.3.365/fdb-all.min.js
kennynaoh/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
src/components/loading-indicators/loading-repository-profile.component.js
housseindjirdeh/git-point
// @flow import React, { Component } from 'react'; import { StyleSheet, Text, View, Animated } from 'react-native'; import { Icon } from 'react-native-elements'; import { colors, fonts, normalize } from 'config'; import { loadingAnimation } from 'utils'; const styles = StyleSheet.create({ container: { flex: 1,...
008-react/src/app.js
GDGJihlava/gdg-coding-dojo-jihlava
import React from 'react'; import ReactDOM from 'react-dom'; class Counter extends React.Component { render() { return <div> <h1>{this.props.value}</h1> <button onClick={this.props.onIncrement}>+</button> </div> } componentDidUpdate(){ console.log("update ", this.props.index); } sho...
ajax/libs/video.js/4.12.8/video.dev.js
WilliamRen/cdnjs
/** * @fileoverview Main function src. */ // HTML5 Shiv. Must be in <head> to support older browsers. document.createElement('video'); document.createElement('audio'); document.createElement('track'); /** * Doubles as the main function for users to create a player instance and also * the main library object. * ...
app/javascript/mastodon/features/ui/components/__tests__/column-test.js
cobodo/mastodon
import { render, fireEvent, screen } from '@testing-library/react'; import React from 'react'; import Column from '../column'; describe('<Column />', () => { describe('<ColumnHeader /> click handler', () => { it('runs the scroll animation if the column contains scrollable content', () => { const scrollToMo...
packages/material-ui-icons/lib/esm/LooksTwo.js
mbrookes/material-ui
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4 8c0 1.11-.9 2-2 2h-2v2h4v2H9v-4c0-1.11.9-2 2-2h2V9H9V7h4c1.1 0 2 .89 2 2v2z"...
packages/material-ui-icons/src/AvTimer.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M11 17c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1zm0-14v4h2V5.08c3.39.49 6 3.39 6 6.92 0 3.87-3.13 7-7 7s-7-3.13-7-7c0-1.68.59-3.22 1.58-4.42L12 13l1.41-1.41-6.8-6.8v.02C4.42 6.45 3 9.05 3 12c0 4...
src/App.js
poc-cookies/reactjs-redux-todo
import React, { Component } from 'react'; import logo from './logo.svg'; import './App.css'; class App extends Component { render() { return ( <div className="App"> <div className="App-header"> <img src={logo} className="App-logo" alt="logo" /> <h2>Welcome to React</h2> ...
packages/material-ui-icons/src/Send.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z" /><path fill="none" d="M0 0h24v24H0z" /></React.Fragment> , 'Send');
packages/material-ui-icons/src/RedoOutlined.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="M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"...
files/rxjs/2.3.14/rx.lite.extras.js
l3dlp/jsdelivr
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'unde...
__tests__/index.android.js
jpsierens/budget
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 /> ); });
ajax/libs/inferno/1.0.0-beta33/inferno-compat.min.js
hare1039/cdnjs
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("./inferno-component"),require("./inferno")):"function"==typeof define&&define.amd?define(["exports","inferno-component","inferno"],e):e(n.Inferno=n.Inferno||{},n.Inferno.Component,n.Inferno)}(this,function(n,e,r){"use strict";functio...
app/components/Buttons/ClearButton.js
rakasiwi23/currency-converter
import React from 'react'; import PropTypes from 'prop-types'; import { TouchableOpacity, View, Text, Image } from 'react-native'; import styles from './styles'; const icon = require('./images/icon.png'); const ClearButton = ({ text, onPress }) => ( <TouchableOpacity style={styles.container} onPress={onPress}> ...
shared/fee/big.js
RalphSleigh/bookings
import React from 'react' import Moment from 'moment' import update from 'immutability-helper'; import cloneDeep from "lodash/cloneDeep"; import map from 'lodash/map'; import reduce from 'lodash/reduce'; import ReactMarkdown from 'react-markdown' //this implements a pricing policy for large camps import FontAwesomeIco...
node_modules/redux-form/lib/__tests__/reducer.spec.js
geng890518/editor-ui
'use strict'; var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; function _interopRequireDefault(obj) { return ...
src/js/components/icons/base/Indicator.js
kylebyerly-hp/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
lib/IconButton/IconButton.js
folio-org/stripes-components
/** * Icon Button */ import React from 'react'; import classNames from 'classnames'; import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; import Icon from '../Icon'; import css from './IconButton.css'; import Badge from '../Badge'; const IconButton = React.forwardRef(({ icon, autoFocus, ...
src/containers/DevTools.js
dfala/high-club
import React from 'react' import { createDevTools } from 'redux-devtools' import LogMonitor from 'redux-devtools-log-monitor' import DockMonitor from 'redux-devtools-dock-monitor' export default createDevTools( <DockMonitor toggleVisibilityKey='ctrl-h' changePositionKey='ctrl-q' > <LogMonitor theme='twil...
src/modules/AdminPortal/components/MenuSidebar.js
nnnoel/graphql-apollo-resource-manager
import React from 'react'; import { connect } from 'react-redux'; import { logoutAdmin } from '../actions'; import Header from 'grommet/components/Header'; import Footer from 'grommet/components/Footer'; import Title from 'grommet/components/Title'; import Menu from 'grommet/components/Menu'; import Anchor from 'gromme...
ajax/libs/yui/3.1.1/loader/loader-base-debug.js
saitheexplorer/cdnjs
YUI.add('loader-base', function(Y) { /** * The YUI loader core * @module loader * @submodule loader-base */ (function() { var VERSION = Y.version, CONFIG = Y.config, BUILD = '/build/', ROOT = VERSION + BUILD, CDN_BASE = Y.Env.base, GALLERY_VERSION = ...
node_modules/rx/dist/rx.js
luchesar/emibg
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; ...
src/shared/components/dumb/Scroller.js
vesparny/widget
'use strict'; import React from 'react'; import Line from './Line'; import shouldPureComponentUpdate from '../../utils/shouldPureComponentUpdate'; import _ from 'lodash'; const ADDITIONAL_VISIBLE_LINES = 2; class Scroller extends React.Component { shouldComponentUpdate = shouldPureComponentUpdate; render() { ...
src/elements/expressionElements.js
EtherTyper/react-lang
import React from 'react' import { generateAST } from '..'; const Expressions = (Super = Object) => class BasicElements extends Super { static expression(element, props, children) { return generateAST(<node {...props} />); } static super(element, props, children) { return generateAST(<node...
app/containers/App/index.js
brettmorris/YouTubeVideoAggregator
import React from 'react'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import getMuiTheme from 'material-ui/styles/getMuiTheme'; export default class App extends React.PureComponent { // eslint-disable-line react/prefer-stateless-function static propTypes = { children: React.PropTypes.no...
packages/neos-ui-editors/src/Image/Components/Secondary/MediaSelectionScreen/index.js
dimaip/neos-ui
import React from 'react'; import PropTypes from 'prop-types'; import style from './style.css'; const MediaSelectionScreen = props => { // TODO: Media package refactoring window.NeosMediaBrowserCallbacks = { assetChosen: assetIdentifier => { props.onComplete(assetIdentifier); } ...
ajax/libs/can.js/5.17.1/core.min.js
extend1994/cdnjs
!function(e,t){"undefined"==typeof process&&(e.process={argv:[],cwd:function(){return""},browser:!0,env:{NODE_ENV:"development"},version:"",platform:e.navigator&&e.navigator.userAgent&&/Windows/.test(e.navigator.userAgent)?"win":""})}("object"==typeof self&&self.Object==Object?self:"object"==typeof process&&"[object pr...
src/routes.js
andgiu/lin.bert
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './components/App'; import HomePage from './components/home/HomePage'; import About from './components/about/About'; import Press from './components/press/Press'; export default ( <Route component={App}> <Route path="ab...
src/components/Logo.js
nataly87s/rx-snake
import React from 'react' import glamorous from 'glamorous'; import { SOLUTO_BLUE } from '../resources/colors'; const Svg = glamorous.svg({ fill: SOLUTO_BLUE, width: '8vmin', position: 'absolute', top: '0.8em', left: '0.8em', }); const LogoSvg = props => ( <Svg x="0px" y="0px" viewBox="0 0 60.3 59.4" {......
src/js/higherorder/clickaway.js
IveWong/react-ui
'use strict' import React from 'react' import * as Events from '../utils/events' import { isDescendant } from '../utils/dom' export default function clickAway(Component) { Component.prototype.getClickAwayEvent = function () { let fn = this.state.checkClickAwayMethod if (!fn) { const self = this ...
docs/app/Examples/modules/Dropdown/index.js
jcarbo/stardust
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' import { Message } from 'stardust' const DropdownExamples = () => ( <div> <ExampleSection title='Types'> <ComponentExample...
app/scripts/question-types/small-multiple-options.js
kouryuu/react-questionnaire
import React from 'react' import {store} from '../store.js' /* This React Component is used to render a small array of options that could have one or more answers */ export default class SmallMultipleOptions extends React.Component{ constructor(){ super(); } render(){ let _generateOptions = (function(opt...
public/component---src-pages-index-js-b85a631324b71d450c0f.js
paulosznaider/paulosznaider.github.io
webpackJsonp([35783957827783],[,,,function(t,e){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function r(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!...
ajax/libs/yui/3.5.0pr2/datatable-body/datatable-body.js
steadiest/cdnjs
YUI.add('datatable-body', function(Y) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. Translates the provided `modelList` into a rendered `<tbody>` based on the data in the constituent Models, altered or amme...
src/componentAnimation.js
roffelund/flow-navigation
import React, { Component } from 'react'; import { Animated, StyleSheet, View } from 'react-native'; import PropTypes from 'prop-types'; import { flowClearInjections } from './flowRedux' class ContentAnimation extends Component { constructor(props) { super(props); this.state = { animatedValue: new Ani...
app/javascript/mastodon/features/blocks/index.js
pfm-eyesightjp/mastodon
import React from 'react'; import { connect } from 'react-redux'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import LoadingIndicator from '../../components/loading_indicator'; import { ScrollContainer } from 'react-router-scroll'; import Column from '../ui/components...
frontend/src/Settings/Profiles/Quality/QualityProfileFormatItems.js
geogolem/Radarr
import _ from 'lodash'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import FormGroup from 'Components/Form/FormGroup'; import FormInputHelpText from 'Components/Form/FormInputHelpText'; import FormLabel from 'Components/Form/FormLabel'; import Link from 'Components/Link/Link'; import {...
ajax/libs/angular-data/0.6.0/angular-data.js
dhowe/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file angular-data.js * @version 0.6.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...
BuyDemo/Component/Home/ZPHomeMiddleBottomView.js
HAPENLY/ReactNative-Source-code-Demo
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; // 导入外部的json数据 var Home_D4 = require('../../LocalData/XMG_Home_D4.json'); // 引入外部的组件类 var CommonView = ...
client/extensions/woocommerce/app/store-stats/referrers/index.js
Automattic/woocommerce-connect-client
/** @format */ /** * External dependencies */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { find } from 'lodash'; import { localize } from 'i18n-calypso'; import page from 'page'; /** * Internal dependencies */ import QuerySiteStats ...
mobile/ClubLife/src/views/clubEvents.js
Bcpoole/ClubLife
import React, { Component } from 'react'; import { StyleSheet, Text, View, ScrollView, TextInput, TouchableNativeFeedback, Image, TouchableOpacity, Platform, } from 'react-native'; import LoadingView from '../components/loadingview'; //import TabNavigator from 'react-native-tab-navigator'; import Comm...
admin/client/App/screens/List/components/ItemsTable/ItemsTableRow.js
webteckie/keystone
import React from 'react'; import classnames from 'classnames'; import Columns from '../../../../../fields/columns'; import ListControl from '../ListControl'; import { DropTarget, DragSource } from 'react-dnd'; import { setDragBase, resetItems, reorderItems, setRowAlert, moveItem, } from '../../actions'; const...
ajax/libs/jssip/0.6.6/jssip.js
BenjaminVanRyseghem/cdnjs
/* * JsSIP.js 0.6.6 * the Javascript SIP library * Copyright 2012-2015 José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan) * Homepage: http://jssip.net * License MIT */ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define....
packages/widgets/sso-login/src/components/LoginBox/LoginBox.js
tocco/tocco-client
import PropTypes from 'prop-types' import React from 'react' import styled from 'styled-components' import {openLoginWindow} from '../../utils/loginWindow' import ProviderButton from '../ProviderButton/ProviderButton' const StyledButtonContainer = styled.div` width: 100%; margin-top: 3rem; display: grid; grid...
stories/Menu.js
City-Bus-Stops/search-route
import React from 'react'; import { storiesOf } from '@kadira/storybook'; import Menu from '../src/components/Menu/Menu'; storiesOf('Menu', module) .add('Default menu', () => ( <Menu pathname="search-route" userName="Denis Krivichanin" /> ));
src/parser/shared/modules/spells/VantusRune.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import { formatNumber } from 'common/format'; import Statistic from 'interface/statistics/Statistic'; import { STATISTIC_ORDER } from 'interface/others/StatisticBox'; import BoringItemValueText from 'interface/statistics/components/BoringItemValueText'; import ITEMS from 'common/ITEMS/inde...
src/server.js
jfairbank/example-react-contact-manager
import path from 'path'; import { template } from 'lodash'; import express from 'express'; import React from 'react'; import createLocation from 'history/lib/createLocation' import { renderToString } from 'react-dom/server' import { Route, RoutingContext, match } from 'react-router' import routes from './routes' import...
packages/react-scripts/fixtures/kitchensink/src/features/webpack/UnknownExtInclusion.js
bttf/create-react-app
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ import Rea...
src/routes/user/List.js
ykx456654/hr_admin
import React from 'react' import PropTypes from 'prop-types' import { Table, Modal } from 'antd' import styles from './List.less' import classnames from 'classnames' import AnimTableBody from '../../components/DataTable/AnimTableBody' import { DropOption } from '../../components' import { Link } from 'dva/router' cons...
packages/material-ui-icons/src/FormatBold.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 ...
ajax/libs/material-ui/4.9.4/esm/TableBody/TableBody.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import withStyles from '../styles/withStyles'; import Tablelvl2Context from '../Ta...
client/components/reddit/RedditComment/index.js
jinchen93/bundle-app
// @flow import React, { Component } from 'react'; import MetaData from './MetaData'; type Props = { alternateColor: boolean, topComment: boolean, comment: Object, }; type State = { childrenHidden: boolean, }; class RedditComment extends Component<Props, State> { handleMinimizeClick: Function; construct...
react_ui/components/SubjectView/index.js
chop-dbhi/biorepo-portal
// jscs:disable requireCamelCaseOrUpperCaseIdentifiers // jscs:disable maximumLineLength import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Divider, Header, Image, Segment } from 'semantic-ui-react' import BackButton from '../BackButton'; import LoadingGif fro...
src/components/Removed.js
manovotny/recon
import React from 'react'; const Removed = () => <main> <h2>{'Removed'}</h2> </main>; Removed.displayName = 'Removed'; export default Removed;
packages/icons/src/md/action/RemoveShoppingCart.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdRemoveShoppingCart(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M46.46 43.92l-2.54 2.54-5.68-5.68c-.73 1.01-1.91 1.68-3.24 1.68-2.2 0-3.98-1.8-3.98-4 0-1.33.66-2.51 1.66-3.24l-2.76-2.76H15c-2.2 0-4-1.8-...
src/components/GifList.js
selfberry/selfberry-web
import React, { Component } from 'react'; import { Card, CardMedia, CardTitle, CardText, CardActions } from 'material-ui/Card'; import Avatar from 'material-ui/Avatar'; import Chip from 'material-ui/Chip'; import { purple900, deepPurple900, blue300 } from 'material-ui/styles/colors'; import { ListItem } from 'material...
src/component/PhotoBack.js
munyrasirio/mss-chat
import React, { Component } from 'react'; import { StyleSheet, TouchableOpacity, Image, View } from 'react-native'; import Icon from 'react-native-vector-icons/Entypo'; export default class PhotoBack extends Component { render() { return ( <TouchableOpacity style={styles.back} onPress={this.props.onPress}> ...
client/modules/MixedMain/pages/MixedMainPage.js
XuHaoJun/tiamat
import React from 'react'; import qs from 'qs'; import { fromJS } from 'immutable'; import { connect } from 'react-redux'; import Helmet from 'react-helmet'; import { hot } from 'react-hot-loader'; import compose from 'recompose/compose'; import { withStyles } from '@material-ui/core/styles'; import slideHeightStyle f...
web/js/jquery_jquery-1.10.2_1.js
dnna/psonio
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function( window, undefined ) { // ...