app/pb_kits/playbook/vendor.js in playbook_ui-6.8.2.pre.alpha1 vs app/pb_kits/playbook/vendor.js in playbook_ui-7.0.0.pre.alpha1
- old
+ new
@@ -3,14 +3,10 @@
window.pbChart = pbChart
// Forms
import './pb_form/pb_form_validation'
-// Date Picker
-import datePickerHelper from './pb_date_picker/date_picker_helper.js'
-window.datePickerHelper = datePickerHelper
-
// Lazy image loading
import 'lazysizes'
import PbPopover from './pb_popover'
PbPopover.start()
@@ -22,6 +18,9 @@
PbTypeahead.start()
import PbTable from './pb_table'
PbTable.start()
-import 'flatpickr'
+// React-Rendered Rails Kits =====
+import WebpackerReact from 'webpacker-react'
+import * as ReactRailsPBKits from './react_rails_kits.js'
+WebpackerReact.setup({ ...ReactRailsPBKits })