discourse/plugins/styleguide/assets/javascripts/discourse
David Taylor b3a23bd9d6
DEV: Introduce new component-based DModal API (#21304)
Ember 4.x will be removing the 'named outlet' feature, which were previously relying on to render modal 'controllers' and their associated templates. This commit updates the modal.show API to accept a component class, and also introduces a declarative API which can be used by including the <DModal component directly in your template.

For more information on the API design, and conversion instructions from the current API, see these Meta topics:

DModal API: https://meta.discourse.org/t/268304
Conversion: https://meta.discourse.org/t/268057
2023-07-03 10:51:27 +01:00
..
components DEV: Introduce new component-based DModal API (#21304) 2023-07-03 10:51:27 +01:00
controllers DEV: Remove `renderTemplate` from the styleguide (#21660) 2023-05-25 11:22:36 +02:00
helpers DEV: Use Ember imports in the styleguide code (#16123) 2022-03-07 21:38:09 +01:00
lib DEV: Introduce new component-based DModal API (#21304) 2023-07-03 10:51:27 +01:00
pre-initializers DEV: Remove `renderTemplate` from the styleguide (#21660) 2023-05-25 11:22:36 +02:00
routes DEV: Remove `renderTemplate` from the styleguide (#21660) 2023-05-25 11:22:36 +02:00
templates DEV: Remove `renderTemplate` from the styleguide (#21660) 2023-05-25 11:22:36 +02:00
styleguide-route-map.js DEV: Remove `.es6` extensions from core (#14912) 2021-11-13 12:51:53 +01:00