datetimepicker: Add flatpickr lib as dependancy.

This commit is contained in:
Aditya Bansal 2018-01-13 03:45:17 +05:30 committed by showell
parent 9efc1b08a1
commit 76f6f7cb47
5 changed files with 1076 additions and 621 deletions

View File

@ -88,6 +88,7 @@
"hash_util": false,
"message_list": false,
"Filter": false,
"flatpickr": false,
"pointer": false,
"util": false,
"MessageListView": false,

View File

@ -15,6 +15,7 @@
"emoji-datasource-google": "3.0.0",
"emoji-datasource-twitter": "3.0.0",
"expose-loader": "0.7.3",
"flatpickr": "4.2.3",
"fuzzysearch": "1.0.3",
"handlebars": "4.0.10",
"i18next": "3.4.4",

View File

@ -77,7 +77,11 @@ subprocess.check_call(['cp', '-R', 'node_modules/katex/dist/fonts',
'node_modules/katex/dist/fonts')],
stdout=fp, stderr=fp)
CSS_FILES = ['node_modules/perfect-scrollbar/dist/css/perfect-scrollbar.css']
CSS_FILES = [
'node_modules/perfect-scrollbar/dist/css/perfect-scrollbar.css',
'node_modules/flatpickr/dist/flatpickr.css',
'node_modules/flatpickr/dist/plugins/confirmDate/confirmDate.css',
]
# Copy CSS files in node_modules to prod-static/serve
for css_file in CSS_FILES:

1683
yarn.lock

File diff suppressed because it is too large Load Diff

View File

@ -843,6 +843,8 @@ PIPELINE = {
'third/spectrum/spectrum.css',
'third/thirdparty-fonts.css',
'generated/icons/style.css',
'node_modules/flatpickr/dist/flatpickr.css',
'node_modules/flatpickr/dist/plugins/confirmDate/confirmDate.css',
'styles/components.css',
'styles/app_components.css',
'styles/zulip.css',
@ -874,6 +876,8 @@ PIPELINE = {
'third/thirdparty-fonts.css',
'generated/icons/style.css',
'node_modules/katex/dist/katex.css',
'node_modules/flatpickr/dist/flatpickr.css',
'node_modules/flatpickr/dist/plugins/confirmDate/confirmDate.css',
'styles/components.css',
'styles/app_components.css',
'styles/zulip.css',
@ -960,6 +964,8 @@ JS_SPECS = {
'node_modules/winchan/winchan.js',
'node_modules/handlebars/dist/handlebars.runtime.js',
'node_modules/to-markdown/dist/to-markdown.js',
'node_modules/flatpickr/dist/flatpickr.js',
'node_modules/flatpickr/dist/plugins/confirmDate/confirmDate.js',
'third/marked/lib/marked.js',
'generated/emoji/emoji_codes.js',
'generated/pygments_data.js',