mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 03:32:17 +08:00
DEV: Sort imports
Automatically generated by `eslint --fix` to satisfy the updated configuration
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import StyleguideExample from "../../styleguide-example";
|
||||
import I18n from "I18n";
|
||||
import StyleguideExample from "../../styleguide-example";
|
||||
|
||||
const t = I18n.t.bind(I18n);
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
import Component from "@glimmer/component";
|
||||
import { tracked } from "@glimmer/tracking";
|
||||
import { action } from "@ember/object";
|
||||
import { inject as service } from "@ember/service";
|
||||
import { tracked } from "@glimmer/tracking";
|
||||
import DummyComponent from "discourse/plugins/styleguide/discourse/components/dummy-component";
|
||||
import { htmlSafe } from "@ember/template";
|
||||
import { MENU } from "float-kit/lib/constants";
|
||||
import DummyComponent from "discourse/plugins/styleguide/discourse/components/dummy-component";
|
||||
|
||||
export default class Menus extends Component {
|
||||
@service menu;
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { action } from "@ember/object";
|
||||
import Component from "@glimmer/component";
|
||||
import { tracked } from "@glimmer/tracking";
|
||||
import { action } from "@ember/object";
|
||||
import { inject as service } from "@ember/service";
|
||||
import { TOAST } from "float-kit/lib/constants";
|
||||
import DummyComponent from "discourse/plugins/styleguide/discourse/components/dummy-component";
|
||||
|
@ -1,10 +1,10 @@
|
||||
import Component from "@glimmer/component";
|
||||
import { tracked } from "@glimmer/tracking";
|
||||
import { action } from "@ember/object";
|
||||
import { inject as service } from "@ember/service";
|
||||
import { tracked } from "@glimmer/tracking";
|
||||
import DummyComponent from "discourse/plugins/styleguide/discourse/components/dummy-component";
|
||||
import { TOOLTIP } from "float-kit/lib/constants";
|
||||
import { htmlSafe } from "@ember/template";
|
||||
import { TOOLTIP } from "float-kit/lib/constants";
|
||||
import DummyComponent from "discourse/plugins/styleguide/discourse/components/dummy-component";
|
||||
|
||||
export default class Tooltips extends Component {
|
||||
@service tooltip;
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { action } from "@ember/object";
|
||||
import Component from "@glimmer/component";
|
||||
import { tracked } from "@glimmer/tracking";
|
||||
import { action } from "@ember/object";
|
||||
import I18n from "I18n";
|
||||
|
||||
export default class extends Component {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import Component from "@ember/component";
|
||||
import { afterRender } from "discourse-common/utils/decorators";
|
||||
import { REPLACEMENTS } from "discourse-common/lib/icon-library";
|
||||
import discourseLater from "discourse-common/lib/later";
|
||||
import { afterRender } from "discourse-common/utils/decorators";
|
||||
|
||||
export default Component.extend({
|
||||
tagName: "section",
|
||||
|
@ -1,7 +1,7 @@
|
||||
import Component from "@glimmer/component";
|
||||
import { tracked } from "@glimmer/tracking";
|
||||
import { action } from "@ember/object";
|
||||
import { inject as service } from "@ember/service";
|
||||
import { tracked } from "@glimmer/tracking";
|
||||
import { loadColorSchemeStylesheet } from "discourse/lib/color-scheme-picker";
|
||||
import { currentThemeId } from "discourse/lib/theme-selector";
|
||||
|
||||
|
@ -15,13 +15,13 @@ import charCounter from "../components/sections/molecules/char-counter";
|
||||
import emptyState from "../components/sections/molecules/empty-state";
|
||||
import footerMessage from "../components/sections/molecules/footer-message";
|
||||
import headerIcons from "../components/sections/molecules/header-icons";
|
||||
import menus from "../components/sections/molecules/menus";
|
||||
import navigationBar from "../components/sections/molecules/navigation-bar";
|
||||
import navigationStacked from "../components/sections/molecules/navigation-stacked";
|
||||
import postMenu from "../components/sections/molecules/post-menu";
|
||||
import tooltips from "../components/sections/molecules/tooltips";
|
||||
import menus from "../components/sections/molecules/menus";
|
||||
import toasts from "../components/sections/molecules/toasts";
|
||||
import signupCta from "../components/sections/molecules/signup-cta";
|
||||
import toasts from "../components/sections/molecules/toasts";
|
||||
import tooltips from "../components/sections/molecules/tooltips";
|
||||
import topicListItem from "../components/sections/molecules/topic-list-item";
|
||||
import topicNotifications from "../components/sections/molecules/topic-notifications";
|
||||
import topicTimerInfo from "../components/sections/molecules/topic-timer-info";
|
||||
|
@ -1,6 +1,6 @@
|
||||
import Route from "@ember/routing/route";
|
||||
import { sectionById } from "discourse/plugins/styleguide/discourse/lib/styleguide";
|
||||
import { createData } from "discourse/plugins/styleguide/discourse/lib/dummy-data";
|
||||
import { sectionById } from "discourse/plugins/styleguide/discourse/lib/styleguide";
|
||||
|
||||
export default class StyleguideShow extends Route {
|
||||
model(params) {
|
||||
|
Reference in New Issue
Block a user