app/javascript/satis/controllers/index.js in satis-2.1.23 vs app/javascript/satis/controllers/index.js in satis-2.1.24

- old
+ new

@@ -40,10 +40,13 @@ application.register("satis-editor", EditorComponentController); import DialogComponentController from "satis/components/dialog/component_controller"; application.register("satis-dialog", DialogComponentController); +import ColorPickerComponentController from "satis/components/color_picker/component_controller"; +application.register("satis-color-picker", ColorPickerComponentController); + // Controllers import LinkController from "satis/controllers/link_controller"; application.register("satis-link", LinkController); @@ -54,9 +57,10 @@ application.register("satis-form", FormController); import FileController from "satis/controllers/file_controller"; application.register("satis-file", FileController); +// FIXME: This breaks convention, should be satis-phone-number import PhoneNumberController from "satis/controllers/phone_number_controller"; application.register("phone-number", PhoneNumberController); // See: https://github.com/hotwired/stimulus-rails/blob/main/app/assets/javascripts/stimulus-loading.js