https://github.com/emberjs/ember-legacy-built-in-components
https://github.com/emberjs/ember-legacy-built-in-components
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/emberjs/ember-legacy-built-in-components
- Owner: emberjs
- License: mit
- Created: 2021-02-08T22:08:04.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-05-11T14:23:38.000Z (about 1 year ago)
- Last Synced: 2025-10-20T18:34:56.143Z (8 months ago)
- Language: TypeScript
- Size: 2.19 MB
- Stars: 5
- Watchers: 11
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
@ember/legacy-built-in-components
==============================================================================
Provides the legacy implementation of the `Checkbox`, `LinkComponent`,
`TextArea` and `TextField` component classes as specified in [RFC #671][rfc].
[rfc]: https://github.com/emberjs/rfcs/blob/master/text/0671-modernize-built-in-components-1.md
Compatibility
------------------------------------------------------------------------------
* Ember.js v4.0 or above
* Ember CLI v4.0 or above
* Node.js v16 or above
Installation
------------------------------------------------------------------------------
```
ember install @ember/legacy-built-in-components
```
Usage
------------------------------------------------------------------------------
```js
import {
Checkbox,
LinkComponent,
TextArea,
TextField
} from '@ember/legacy-built-in-components';
export const MyCheckbox = Checkbox.extend({ ... });
export const MyLink = LinkComponent.extend({ ... });
export const MyTextArea = TextArea.extend({ ... });
export const MyTextField = TextField.extend({ ... });
```
Contributing
------------------------------------------------------------------------------
See the [Contributing](CONTRIBUTING.md) guide for details.
Releasing
------------------------------------------------------------------------------
```
yarn
yarn run test
npx np --no-tests
```
License
------------------------------------------------------------------------------
This project is licensed under the [MIT License](LICENSE.md).