Skip to content

Commit

Permalink
[chore] Replace react-datepicker with fork (#715)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Apr 4, 2018
1 parent c78e6cb commit 64f9968
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/@sanity/components/package.json
Expand Up @@ -20,10 +20,11 @@
"sanity-plugin"
],
"dependencies": {
"@bjoerge/react-popper": "^0.9.2",
"@sanity/date-input": "0.128.3",
"@sanity/imagetool": "0.128.5",
"@sanity/observable": "0.128.3",
"@sanity/react-tippy": "^1.2.4",
"@sanity/react-tippy": "1.2.6",
"attr-accept": "^1.1.0",
"canvas-to-blob": "^0.0.0",
"chance": "^1.0.4",
Expand Down Expand Up @@ -51,7 +52,6 @@
"react-dropzone": "^3.9.2",
"react-element-query": "^3.0.2",
"react-ink": "^6.1.0",
"react-popper": "^0.8.2",
"react-sortable-hoc": "^0.6.3",
"react-split-pane": "^0.1.63",
"scroll": "^2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/@sanity/components/src/buttons/DropDownButton.js
Expand Up @@ -9,7 +9,7 @@ import {omit} from 'lodash'
import {Portal} from '../utilities/Portal'
import Stacked from '../utilities/Stacked'
import Escapable from '../utilities/Escapable'
import {Manager, Target, Popper} from 'react-popper'
import {Manager, Target, Popper} from '@bjoerge/react-popper'

export default class DropDownButton extends React.PureComponent {
static propTypes = {
Expand Down
2 changes: 1 addition & 1 deletion packages/@sanity/components/src/dialogs/PopOver.js
Expand Up @@ -7,7 +7,7 @@ import {Portal} from '../utilities/Portal'
import Stacked from '../utilities/Stacked'
import CaptureOutsideClicks from '../utilities/CaptureOutsideClicks'
import Escapable from '../utilities/Escapable'
import {Manager, Target, Popper, Arrow} from 'react-popper'
import {Manager, Target, Popper, Arrow} from '@bjoerge/react-popper'

export default class EditItemPopOver extends React.PureComponent {
static propTypes = {
Expand Down
Expand Up @@ -11,7 +11,7 @@ import Stacked from '../utilities/Stacked'
import CaptureOutsideClicks from '../utilities/CaptureOutsideClicks'
import Escapable from '../utilities/Escapable'
import {Portal} from '../utilities/Portal'
import {Manager, Target, Popper} from 'react-popper'
import {Manager, Target, Popper} from '@bjoerge/react-popper'
import {get} from 'lodash'

const noop = () => {}
Expand Down
2 changes: 1 addition & 1 deletion packages/@sanity/desk-tool/package.json
Expand Up @@ -27,7 +27,7 @@
"@sanity/form-builder": "0.128.7",
"@sanity/mutator": "0.128.3",
"@sanity/observable": "0.128.3",
"@sanity/react-tippy": "^1.2.4",
"@sanity/react-tippy": "1.2.6",
"@sanity/uuid": "0.128.3",
"@sanity/validation": "0.128.3",
"classnames": "^2.2.5",
Expand Down
3 changes: 2 additions & 1 deletion packages/@sanity/form-builder/package.json
Expand Up @@ -46,8 +46,9 @@
"moment": "^2.19.1",
"nano-pubsub": "^1.0.2",
"object-inspect": "^1.3.0",
"popper.js": "1.14.1",
"react-click-outside": "^2.3.1",
"react-datepicker": "^1.0.4",
"react-datepicker": "1.3.0",
"shallow-equals": "^1.0.0",
"slate": "^0.25.2",
"slate-base64-serializer": "^0.1.9",
Expand Down

0 comments on commit 64f9968

Please sign in to comment.