UNPKG

@jupyterlab/git

Version:

A JupyterLab extension for version control using git

105 lines (104 loc) 3.23 kB
import { LabIcon } from '@jupyterlab/ui-components'; // icon svg import statements import addSvg from '../../style/icons/add.svg'; import branchSvg from '../../style/icons/branch.svg'; import clockSvg from '../../style/icons/clock.svg'; import cloneSvg from '../../style/icons/clone.svg'; import compareWithSelectedSvg from '../../style/icons/compare-with-selected.svg'; import deletionsMadeSvg from '../../style/icons/deletions.svg'; import desktopSvg from '../../style/icons/desktop.svg'; import diffSvg from '../../style/icons/diff.svg'; import discardSvg from '../../style/icons/discard.svg'; import gitSvg from '../../style/icons/git.svg'; import insertionsMadeSvg from '../../style/icons/insertions.svg'; import mergeSvg from '../../style/icons/merge.svg'; import openSvg from '../../style/icons/open-file.svg'; import pullSvg from '../../style/icons/pull.svg'; import pushSvg from '../../style/icons/push.svg'; import removeSvg from '../../style/icons/remove.svg'; import rewindSvg from '../../style/icons/rewind.svg'; import selectForCompareSvg from '../../style/icons/select-for-compare.svg'; import tagSvg from '../../style/icons/tag.svg'; import trashSvg from '../../style/icons/trash.svg'; import verticalMoreSvg from '../../style/icons/vertical-more.svg'; export const gitIcon = new LabIcon({ name: 'git', svgstr: gitSvg }); export const addIcon = new LabIcon({ name: 'git:add', svgstr: addSvg }); export const branchIcon = new LabIcon({ name: 'git:branch', svgstr: branchSvg }); export const cloneIcon = new LabIcon({ name: 'git:clone', svgstr: cloneSvg }); export const compareWithSelectedIcon = new LabIcon({ name: 'git:compare-with-selected', svgstr: compareWithSelectedSvg }); export const deletionsMadeIcon = new LabIcon({ name: 'git:deletions', svgstr: deletionsMadeSvg }); export const desktopIcon = new LabIcon({ name: 'git:desktop', svgstr: desktopSvg }); export const diffIcon = new LabIcon({ name: 'git:diff', svgstr: diffSvg }); export const discardIcon = new LabIcon({ name: 'git:discard', svgstr: discardSvg }); export const insertionsMadeIcon = new LabIcon({ name: 'git:insertions', svgstr: insertionsMadeSvg }); export const historyIcon = new LabIcon({ name: 'git:history', svgstr: clockSvg }); export const mergeIcon = new LabIcon({ name: 'git:merge', svgstr: mergeSvg }); export const openIcon = new LabIcon({ name: 'git:open-file', svgstr: openSvg }); export const pullIcon = new LabIcon({ name: 'git:pull', svgstr: pullSvg }); export const pushIcon = new LabIcon({ name: 'git:push', svgstr: pushSvg }); export const removeIcon = new LabIcon({ name: 'git:remove', svgstr: removeSvg }); export const rewindIcon = new LabIcon({ name: 'git:rewind', svgstr: rewindSvg }); export const selectForCompareIcon = new LabIcon({ name: 'git:select-for-compare', svgstr: selectForCompareSvg }); export const tagIcon = new LabIcon({ name: 'git:tag', svgstr: tagSvg }); export const trashIcon = new LabIcon({ name: 'git:trash', svgstr: trashSvg }); export const verticalMoreIcon = new LabIcon({ name: 'git:vertical-more', svgstr: verticalMoreSvg });