{"_id":"@alex1712/react-bootstrap-datetimepicker","_rev":"3-e6c3a95e9c9fedc92832faab2cd9250d","name":"@alex1712/react-bootstrap-datetimepicker","description":"A bootstrap datetime picker component for React.js","dist-tags":{"latest":"0.0.15"},"versions":{"0.0.15":{"name":"@alex1712/react-bootstrap-datetimepicker","version":"0.0.15","description":"A bootstrap datetime picker component for React.js","repository":{"type":"git","url":"http://github.com/alex1712/react-bootstrap-datetimepicker"},"main":"./lib/DateTimeField.js","scripts":{"build-npm":"jsx -x jsx ./src/ ./lib/","build":"NODE_ENV=production webpack --output-file react-bootstrap-datetimepicker.js","build-min":"NODE_ENV=production COMPRESS=1 webpack --output-file react-bootstrap-datetimepicker.min.js","examples":"webpack-dev-server --config ./examples/webpack.config.js","test-watch":"grunt watch 2>&1 >/dev/null & karma start karma.dev.js","test":"grunt build && karma start karma.ci.js"},"keywords":["react","react-component","bootstrap","datetimepicker","datetime"],"author":{"name":"Alex"},"license":"MIT","peerDependencies":{"react":">=0.12"},"devDependencies":{"envify":"~3.2.0","grunt":"~0.4.2","grunt-amd-wrap":"^1.0.1","grunt-browserify":"~1.3.0","grunt-cli":"~0.1.13","grunt-contrib-clean":"~0.5.0","grunt-contrib-copy":"~0.5.0","grunt-contrib-requirejs":"~0.4.1","grunt-contrib-uglify":"~0.3.2","grunt-contrib-watch":"~0.5.3","grunt-react":"~0.10.0","grunt-shell":"~0.6.4","html-webpack-plugin":"^1.1.0","jsx-loader":"^0.12.2","react":">=0.12","react-tools":"^0.12.2","requirejs":"~2.1.9","webpack":"^1.5.1","webpack-dev-server":"^1.7.0"},"dependencies":{"moment":"^2.8.2","react-bootstrap":"^0.16.1"},"gitHead":"35e77d4c16cedf71b89724862787eec71fd93561","bugs":{"url":"https://github.com/alex1712/react-bootstrap-datetimepicker/issues"},"homepage":"https://github.com/alex1712/react-bootstrap-datetimepicker","_id":"@alex1712/react-bootstrap-datetimepicker@0.0.15","_shasum":"d06b3f7cf43a782a53fe5bbfde0cde4fc4ba1d1a","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"alex1712","email":"alex1712@gmail.com"},"dist":{"shasum":"d06b3f7cf43a782a53fe5bbfde0cde4fc4ba1d1a","tarball":"https://registry.npmjs.org/@alex1712/react-bootstrap-datetimepicker/-/react-bootstrap-datetimepicker-0.0.15.tgz","integrity":"sha512-unrMGmfP9sWJJRJ5e9jXQowSC0q27VRD960LkcL2iM0lh1lQwL56KHZfUM669/0KhBg6TeCcSC2TAjUgIjr7ig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKV769J4gRLQlLbT8EArqvIM7TRv+/1RUmScPsX233iQIhAKY+ewq51JlHTYgGkilCrG2ZmlpfNpns393hewc1nJ46"}]},"maintainers":[{"name":"alex1712","email":"alex1712@gmail.com"}]}},"readme":"react-bootstrap-datetimepicker\n===============================\n\nThis project is a port of https://github.com/Eonasdan/bootstrap-datetimepicker for React.js\n\nUsage\n===============================\n\nInstallation :\n```\nnpm install react-bootstrap-datetimepicker\n```\n\nThen\n```javascript\nrequire('react-bootstrap-datetimepicker');\n\n...\n\nrender: function() {\n  return <DateTimeField />;\n}\n```\nSee [Examples](examples/README.md) for more details.\n\nAPI\n===============================\n\nDateTimeField\n========\n\n| Name         | Type    | Default | Description |\n| ------------ | ------- | ------- | ----------- |\n| **dateTime** | string  | moment().format('x') | Represents the inital dateTime, this string is then parsed by moment.js |\n| **format**   | string  | \"x\"     | Defines the format moment.js should use to parse and output the date to onChange |\n| **inputFormat** | string | \"MM/DD/YY h:mm A\" | Defines the way the date is represented in the HTML input |\n| **onChange** | function | x => console.log(x) | Callback trigger when the date changes |\n| **showToday** | boolean | true | Highlights today's date |\n| **daysOfWeekDisabled** | array of integer | [] | Disables clicking on some days. Goes from 0 (Sunday) to 6 (Saturday). |\n| **viewMode** | string or number | 'days' | The default view to display when the picker is shown. ('years', 'months', 'days') |\n| **inputProps** | object | undefined | Defines additional attributes for the input element of the component. |\n\nUpdate Warning\n===============================\nStarting from 0.0.6, the 3 github repositories `react-bootstrap-datetimepicker`, `react-bootstrap-datetimepicker-npm` and `react-bootstrap-datetimepicker-bower` are merged in a single one. The build process changed but the API is the same.\nHowever now the package exports DateTimeField directly, no need to do :\n```javascript\nvar DateTimeField = require('react-bootstrap-datetimepicker').DateTimeField;\n```\ninstead use :\n```javascript\nvar DateTimeField = require('react-bootstrap-datetimepicker');\n```\n\nContributions\n===============================\nThere is still plenty of features missing compared to the original date time picker, hence contributions would be highly appreciated.\n","maintainers":[{"name":"alex1712","email":"alex1712@gmail.com"}],"time":{"modified":"2022-06-12T14:28:03.949Z","created":"2015-04-23T15:22:56.916Z","0.0.15":"2015-04-23T15:22:56.916Z"},"homepage":"https://github.com/alex1712/react-bootstrap-datetimepicker","keywords":["react","react-component","bootstrap","datetimepicker","datetime"],"repository":{"type":"git","url":"http://github.com/alex1712/react-bootstrap-datetimepicker"},"author":{"name":"Alex"},"bugs":{"url":"https://github.com/alex1712/react-bootstrap-datetimepicker/issues"},"license":"MIT","readmeFilename":"README.md"}