Ghost/ghost/admin/app/mixins
Kevin Ansfield aa229973ec Remove ember-one-way-controls (#959)
closes https://github.com/TryGhost/Ghost/issues/9386
- remove usage of `{{one-way-checkbox}}` in favour of direct HTML+handlebars
- add `{{gh-text-input}}` that inherits from Ember's built-in `TextInput` component along with our custom `TextInput` mixin
- swap all uses of `{{gh-input}}` for `{{gh-text-input}}
- remove `{{gh-input}}` component
- update `{{gh-textarea}}` to inherit from Ember's `TextArea` component instead of `OneWayTextarea` and update all component uses accordingly
- update `{{gh-trim-focus-input}}` to inherit from `{{gh-text-input}}` and update all component uses accordingly
- standardize on using the `focus-out` action naming rather than `focusOut` for all text inputs, this is because the text input components (especially `{{gh-trim-focus-input}}`) have their own `focusOut` handler which gets overridden if consumers supply their own `focusOut` attr
- drop `ember-one-way-controls` package
- add `ember-one-way-select` package
2018-02-28 11:44:03 +00:00
..
body-event-listener.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00
current-user-settings.js Contributor Role (#948) 2018-02-07 10:42:46 +01:00
dropdown-mixin.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
pagination.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00
settings-menu-component.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
shortcuts-route.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
shortcuts.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
slug-url.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
style-body.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
text-input.js Remove ember-one-way-controls (#959) 2018-02-28 11:44:03 +00:00
unauthenticated-route-mixin.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00
validation-engine.js 🎨 Enabled Unsplash integration by default (#862) 2017-09-20 12:19:48 +02:00
validation-state.js ESLint: Don't use observers if possible 2018-01-12 12:17:56 +00:00