@fortawesome/vue-fontawesome 3.0.0-5 → 3.0.0

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +6 -6
  3. package/index.d.ts +1 -1
  4. package/index.es.js +319 -222
  5. package/index.js +651 -554
  6. package/package.json +43 -21
  7. package/src/components/FontAwesomeIcon.js +45 -5
  8. package/src/utils.js +10 -1
  9. package/.babelrc +0 -3
  10. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -24
  11. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  12. package/.github/workflows/ci.yml +0 -29
  13. package/.tool-versions +0 -2
  14. package/CODE_OF_CONDUCT.md +0 -74
  15. package/CONTRIBUTING.md +0 -57
  16. package/DEVELOPMENT.md +0 -46
  17. package/bin/dev +0 -3
  18. package/bin/setup +0 -8
  19. package/examples/vue-awesome-example/.browserslistrc +0 -3
  20. package/examples/vue-awesome-example/.editorconfig +0 -7
  21. package/examples/vue-awesome-example/.eslintrc.js +0 -18
  22. package/examples/vue-awesome-example/babel.config.js +0 -5
  23. package/examples/vue-awesome-example/package-lock.json +0 -20468
  24. package/examples/vue-awesome-example/package.json +0 -38
  25. package/examples/vue-awesome-example/public/favicon.ico +0 -0
  26. package/examples/vue-awesome-example/public/index.html +0 -18
  27. package/examples/vue-awesome-example/src/App.vue +0 -74
  28. package/examples/vue-awesome-example/src/main.ts +0 -19
  29. package/examples/vue-awesome-example/src/shims-vue.d.ts +0 -5
  30. package/examples/vue-awesome-example/tsconfig.json +0 -39
  31. package/examples/vue-awesome-example/vue.config.js +0 -3
  32. package/rollup.config.js +0 -55
  33. package/src/components/__fixtures__/helpers.js +0 -10
  34. package/src/components/__fixtures__/icons.js +0 -23
  35. package/src/components/__tests__/FontAwesomeIcon.test.js +0 -299
  36. package/src/components/__tests__/FontAwesomeLayers.test.js +0 -83
  37. package/src/components/__tests__/FontAwesomeLayersText.test.js +0 -94
package/CHANGELOG.md CHANGED
@@ -5,6 +5,21 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
5
5
 
6
6
  ---
7
7
 
8
+ ## [3.0.0](https://github.com/FortAwesome/vue-fontawesome/releases/tag/3.0.0) - 2022-06-07
9
+
10
+ ### Added
11
+
12
+ * New animations for bounce and shake
13
+ * Feature to call icons using a string format
14
+
15
+ ### Fixed
16
+
17
+ * Animations for beat, fade, beat-fade, flash, spin-pulse, and spin-reverse
18
+ * Tee-shirt sizes to include 2xs, lg, xl, and 2xl
19
+ * Flip animation when used by itself
20
+
21
+ ---
22
+
8
23
  ## [3.0.0-5](https://github.com/FortAwesome/vue-fontawesome/releases/tag/3.0.0-5) - 2021-10-18
9
24
 
10
25
  ### Fixed
package/README.md CHANGED
@@ -214,7 +214,7 @@ Using the Pro packages requires [additional configuration](https://fontawesome.c
214
214
 
215
215
  ```javascript
216
216
  import { library } from '@fortawesome/fontawesome-svg-core'
217
- # Note we are using the Pro style here
217
+ // Note we are using the Pro style here
218
218
  import { faUserSecret } from '@fortawesome/pro-regular-svg-icons'
219
219
 
220
220
  library.add(faUserSecret)
@@ -228,7 +228,7 @@ library.add(faUserSecret)
228
228
 
229
229
  ```javascript
230
230
  import { library } from '@fortawesome/fontawesome-svg-core'
231
- # Note we are using the Pro style here
231
+ // Note we are using the Pro style here
232
232
  import { faUserSecret } from '@fortawesome/pro-light-svg-icons'
233
233
 
234
234
  library.add(faUserSecret)
@@ -242,7 +242,7 @@ library.add(faUserSecret)
242
242
 
243
243
  ```javascript
244
244
  import { library } from '@fortawesome/fontawesome-svg-core'
245
- # Note we are using the Pro style here
245
+ // Note we are using the Pro style here
246
246
  import { faUserSecret } from '@fortawesome/pro-duotone-svg-icons'
247
247
 
248
248
  library.add(faUserSecret)
@@ -298,8 +298,8 @@ The `icon` property of the `FontAwesomeIcon` component can be used in the follow
298
298
  <font-awesome-icon icon="spinner" />
299
299
  <font-awesome-icon icon="align-left" />
300
300
 
301
- <font-awesome-icon :icon="['fas', 'spinner']" /> # Same as above
302
- <font-awesome-icon :icon="['fas', 'align-left']" /> # Same as above
301
+ <font-awesome-icon :icon="['fas', 'spinner']" /> // Same as above
302
+ <font-awesome-icon :icon="['fas', 'align-left']" /> // Same as above
303
303
  ```
304
304
 
305
305
  For the above to work you must add the `spinner` and `align-left` icon to the library.
@@ -315,7 +315,7 @@ In the event that you are using an icon with a multi-word name please note that
315
315
  you would need to pass in the icon name using _kebab-case_ as opposed to _camelCase_.
316
316
 
317
317
  ```javascript
318
- <font-awesome-icon icon="address-card" /> # import { faAddressCard } from '@fortawesome/free-solid-svg-icons'
318
+ <font-awesome-icon icon="address-card" /> // import { faAddressCard } from '@fortawesome/free-solid-svg-icons'
319
319
  ```
320
320
 
321
321
  #### Explicit prefix (note the Vue bind shorthand because this uses an array)
package/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import { ComponentPublicInstance } from 'vue'
3
3
  interface FontAwesomeIconProps {
4
4
  border: boolean
5
5
  fixedWidth: boolean
6
- flip: 'horizontal' | 'vertical' | 'both' | null
6
+ flip: boolean | 'horizontal' | 'vertical' | 'both'
7
7
  icon: object | Array<string> | string
8
8
  mask: object | Array<string> | string | null
9
9
  listItem: boolean