@fortawesome/vue-fontawesome 0.1.0-4 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/ISSUE_TEMPLATE/bug-report.md +13 -0
- package/.github/ISSUE_TEMPLATE/feature-request.md +25 -0
- package/CHANGELOG.md +28 -0
- package/CODE_OF_CONDUCT.md +74 -0
- package/CONTRIBUTING.md +57 -0
- package/DEVELOPMENT.md +23 -0
- package/README.md +292 -41
- package/UPGRADING.md +7 -7
- package/examples/vue-cli/package.json +25 -25
- package/examples/vue-cli/src/App.vue +1 -1
- package/index.es.js +501 -0
- package/index.js +2 -2
- package/package.json +14 -4
- package/src/components/FontAwesomeLayersText.js +2 -2
- package/src/components/__tests__/FontAwesomeIcon.test.js +2 -2
- package/src/components/__tests__/FontAwesomeLayersText.test.js +7 -0
- package/yarn.lock +2008 -971
- package/examples/vue-cli/config/index.js +0 -69
- package/yarn-error.log +0 -3994
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
### Describe the problem
|
|
2
|
+
|
|
3
|
+
<!--- What happened? What are you seeing? How did you arrive here? -->
|
|
4
|
+
|
|
5
|
+
### What did you expect?
|
|
6
|
+
|
|
7
|
+
<!--- How would you like this to work instead? -->
|
|
8
|
+
|
|
9
|
+
### Reproducible test case
|
|
10
|
+
|
|
11
|
+
<!--- Insert a URL to your test case on StackBlitz.com -->
|
|
12
|
+
|
|
13
|
+
<!--- Describe any details about the test case that we need to know like "whatever you do, don't click the red button" -->
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
### Describe the problem you'd like to see solved or task you'd like to see made easier
|
|
2
|
+
|
|
3
|
+
<!--- What steps or tasks are you trying to complete along the way? -->
|
|
4
|
+
|
|
5
|
+
### Is this in relation to an existing part of vue-fontawesome or something new?
|
|
6
|
+
|
|
7
|
+
<!--- If so, what part of Font Awesome? -->
|
|
8
|
+
|
|
9
|
+
### What is 1 thing that we can do when building this feature that will guarantee that it is awesome?
|
|
10
|
+
|
|
11
|
+
<!--- e.g. make the API super-convenient -->
|
|
12
|
+
|
|
13
|
+
### Why would other vue-fontawesome users care about this?
|
|
14
|
+
|
|
15
|
+
<!--- e.g. because everyone wants icons that fly -->
|
|
16
|
+
|
|
17
|
+
### On a scale of 1 (sometime in the future) to 10 (absolutely right now), how soon would you recommend we make this feature?
|
|
18
|
+
|
|
19
|
+
<!--- e.g. 5 - "while we're young" -->
|
|
20
|
+
|
|
21
|
+
### Feature request checklist
|
|
22
|
+
|
|
23
|
+
- [ ] This is a single feature (i.e. not a re-write of all of Font Awesome)
|
|
24
|
+
- [ ] The title starts with "Feature request: " and is followed by a clear feature name (Ex: `Feature request: moar cowbell`)
|
|
25
|
+
- [ ] I have [searched for existing issues](https://github.com/FortAwesome/vue-fontawesome/issues) and to the best of my knowledge this is not a duplicate
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,34 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [0.1.2](https://github.com/FortAwesome/vue-fontawesome/releases/tag/0.1.2) - 2018-10-29
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
* Adding ES module to package
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## [0.1.1](https://github.com/FortAwesome/vue-fontawesome/releases/tag/0.1.1) - 2018-07-16
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
* LayersText can use a number as it's value #115
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## [0.1.0](https://github.com/FortAwesome/vue-fontawesome/releases/tag/0.1.0) - 2018-06-20
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
* Upgraded to the newer Font Awesome 5.1 packages
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## [0.0.23](https://github.com/FortAwesome/vue-fontawesome/releases/tag/0.0.23) - 2018-06-04
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
* Update Vue dependency version to support > 2.4
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
8
36
|
## [0.0.22](https://github.com/FortAwesome/vue-fontawesome/releases/tag/0.0.22) - 2017-12-19
|
|
9
37
|
|
|
10
38
|
### Changed
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
|
10
|
+
orientation.
|
|
11
|
+
|
|
12
|
+
## Our Standards
|
|
13
|
+
|
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
|
15
|
+
include:
|
|
16
|
+
|
|
17
|
+
* Using welcoming and inclusive language
|
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
|
19
|
+
* Gracefully accepting constructive criticism
|
|
20
|
+
* Focusing on what is best for the community
|
|
21
|
+
* Showing empathy towards other community members
|
|
22
|
+
|
|
23
|
+
Examples of unacceptable behavior by participants include:
|
|
24
|
+
|
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
|
26
|
+
advances
|
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
|
28
|
+
* Public or private harassment
|
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
|
30
|
+
address, without explicit permission
|
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
32
|
+
professional setting
|
|
33
|
+
|
|
34
|
+
## Our Responsibilities
|
|
35
|
+
|
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
|
38
|
+
response to any instances of unacceptable behavior.
|
|
39
|
+
|
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
|
44
|
+
threatening, offensive, or harmful.
|
|
45
|
+
|
|
46
|
+
## Scope
|
|
47
|
+
|
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
|
49
|
+
when an individual is representing the project or its community. Examples of
|
|
50
|
+
representing a project or community include using an official project e-mail
|
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
|
53
|
+
further defined and clarified by project maintainers.
|
|
54
|
+
|
|
55
|
+
## Enforcement
|
|
56
|
+
|
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
58
|
+
reported by contacting the project team at <hello@fontawesome.com>. All
|
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
|
63
|
+
|
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
|
66
|
+
members of the project's leadership.
|
|
67
|
+
|
|
68
|
+
## Attribution
|
|
69
|
+
|
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
|
71
|
+
available at [https://contributor-covenant.org/version/1/4][version]
|
|
72
|
+
|
|
73
|
+
[homepage]: https://contributor-covenant.org
|
|
74
|
+
[version]: https://contributor-covenant.org/version/1/4/
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
This is the repository for the _official_ Font Awesome Angular component, _initialized_ by the team behind Font Awesome,
|
|
2
|
+
but intended to evolve over time with _community_ contributions.
|
|
3
|
+
|
|
4
|
+
# Ways to Contribute
|
|
5
|
+
|
|
6
|
+
## Ask a Question
|
|
7
|
+
|
|
8
|
+
Trying to figure out how to make it work? Or how to use it in your scenario?
|
|
9
|
+
|
|
10
|
+
1. Review the [README](README.md)
|
|
11
|
+
1. Get familiar with the documentation for the [SVG with JavaScript](https://fontawesome.com/how-to-use/svg-with-js) implementation,
|
|
12
|
+
the framework upon which this component is built. Sometimes the answers you need may be there.
|
|
13
|
+
1. Post any remaining questions on [StackOverflow](https://stackoverflow.com/questions/tagged/vue-fontawesome) with the tag `vue-fontawesome`.
|
|
14
|
+
|
|
15
|
+
## Report a Bug
|
|
16
|
+
|
|
17
|
+
1. Create a test case that reproduces the unexpected behavior using [codesandbox.io](https://codesandbox.io)
|
|
18
|
+
1. [Open a new issue with this template](https://github.com/FortAwesome/vue-fontawesome/issues/new?template=bug-report.md),
|
|
19
|
+
and be sure to include a link to the reproduction you made with StackBlitz.
|
|
20
|
+
|
|
21
|
+
## Submit a Pull Request
|
|
22
|
+
|
|
23
|
+
Add tests if you add code.
|
|
24
|
+
|
|
25
|
+
## Everything Else
|
|
26
|
+
|
|
27
|
+
* [Request a feature](https://github.com/FortAwesome/vue-fontawesome/issues/new??title=Feature%20request:feature-name&template=feature-request.md)
|
|
28
|
+
* [Request a new icon](https://github.com/FortAwesome/Font-Awesome/issues/new?title=Icon%20request:%20icon-name&template=icon-request.md)
|
|
29
|
+
|
|
30
|
+
# Project Goals
|
|
31
|
+
|
|
32
|
+
1. Achieve and maintain feature parity with Font Awesome's [SVG with JavaScript](https://fontawesome.com/how-to-use/svg-with-js) method.
|
|
33
|
+
|
|
34
|
+
1. Keep with best practices in the Angular development community.
|
|
35
|
+
|
|
36
|
+
1. Stay current with major developments in Angular and Angular-CLI
|
|
37
|
+
|
|
38
|
+
1. Maintain a reasonable level of consistency between this component and the other Font Awesome official JavaScript
|
|
39
|
+
framework components ([Vue](https://github.com/FortAwesome/angular-fontawesome), [React](https://github.com/FortAwesome/react-fontawesome), [Ember](https://github.com/FortAwesome/ember-fontawesome))
|
|
40
|
+
|
|
41
|
+
1. Sharing responsibility: The Font Awesome team will continue to be involved in ongoing development, hoping to _propel_
|
|
42
|
+
the project's momentum as we make _our_ contributions, while minimizing any bottle-necking that may happen as we balance
|
|
43
|
+
our own priorities across various projects. Ideally, members of the community will enjoy lending a hand to help keep
|
|
44
|
+
the project moving forward by responding to issues, answering questions on StackOverflow, reviewing and merging pull
|
|
45
|
+
requests, and publishing npm updates.
|
|
46
|
+
|
|
47
|
+
# Code of Conduct
|
|
48
|
+
|
|
49
|
+
We'll contribute according to the [Code of Conduct](CODE_OF_CONDUCT.md).
|
|
50
|
+
|
|
51
|
+
# Wanted: Core Contributors
|
|
52
|
+
|
|
53
|
+
We're seeking core contributors to help drive this project. Core contributors:
|
|
54
|
+
1. Share these goals
|
|
55
|
+
1. Demonstrate competence through contributions
|
|
56
|
+
1. Contribute with conduct fitting with our code of conduct
|
|
57
|
+
1. Want to make this project awesome
|
package/DEVELOPMENT.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Developing vue-fontawesome
|
|
2
|
+
|
|
3
|
+
## Tasks
|
|
4
|
+
|
|
5
|
+
The following commands are available through `npm run` or `yarn`:
|
|
6
|
+
|
|
7
|
+
Command | Purpose
|
|
8
|
+
--- | ---
|
|
9
|
+
build | Build a development version of the library using Rollup
|
|
10
|
+
dist | Build a production version of the library using Rollup
|
|
11
|
+
test | Execute unit tests
|
|
12
|
+
|
|
13
|
+
## Release this project
|
|
14
|
+
<a name="release"></a>
|
|
15
|
+
|
|
16
|
+
1. Update `package.json` and change `version`
|
|
17
|
+
1. Update `README.md` and add any contributors
|
|
18
|
+
1. Update the `CHANGELOG.md`
|
|
19
|
+
1. `npm publish`
|
|
20
|
+
1. `git add index.js index.es.js`
|
|
21
|
+
1. `git commit -a -m 'Release VERSION'`
|
|
22
|
+
1. `git push`
|
|
23
|
+
1. Create a [new release](https://github.com/FortAwesome/vue-fontawesome/releases/new) with CHANGELOG details
|