Skip to content

Commit

Permalink
Clockface/package buttons (#11805)
Browse files Browse the repository at this point in the history
* Add Clockface dependency

* Import clockface styles

* Remove existing Button component

* Update references to Old Button with Button from package

* Update snapshot
  • Loading branch information
alexpaxton authored Feb 12, 2019
1 parent 512af6e commit f7b9312
Show file tree
Hide file tree
Showing 86 changed files with 199 additions and 540 deletions.
14 changes: 14 additions & 0 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,9 @@
"typescript": "^3.1.3"
},
"dependencies": {
"@influxdata/clockface": "0.0.2",
"@influxdata/influx": "^0.2.3",
"@influxdata/react-custom-scrollbars": "4.3.8",
"@influxdata/influx": "^0.2.5",
"axios": "^0.18.0",
"babel-polyfill": "^6.26.0",
"bignumber.js": "^4.0.2",
Expand Down
208 changes: 0 additions & 208 deletions ui/src/clockface/components/Button/Button.scss

This file was deleted.

117 changes: 0 additions & 117 deletions ui/src/clockface/components/Button/index.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, {Component, RefObject} from 'react'
import classnames from 'classnames'

// Components
import Button from 'src/clockface/components/Button/index'
import {Button} from '@influxdata/clockface'
import {ClickOutside} from 'src/shared/components/ClickOutside'

// Types
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import {mount} from 'enzyme'

import ConfirmationButton from 'src/clockface/components/confirmation_button/ConfirmationButton'
import Button from 'src/clockface/components/Button'
import {Button} from '@influxdata/clockface'

describe('ConfirmationButton', () => {
let wrapper
Expand Down
Loading

0 comments on commit f7b9312

Please sign in to comment.