@skyux/icons 6.8.1 → 6.10.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.
- package/CHANGELOG.md +165 -146
- package/README.md +63 -63
- package/assets/css/animation.css +85 -85
- package/assets/css/skyux-icons-codes.css +189 -187
- package/assets/css/skyux-icons-codes.min.css +1 -1
- package/assets/css/skyux-icons-embedded.css +253 -251
- package/assets/css/skyux-icons-embedded.min.css +1 -1
- package/assets/css/skyux-icons-ie7-codes.css +189 -187
- package/assets/css/skyux-icons-ie7-codes.min.css +1 -1
- package/assets/css/skyux-icons-ie7.css +200 -198
- package/assets/css/skyux-icons-ie7.min.css +1 -1
- package/assets/css/skyux-icons.css +250 -248
- package/assets/css/skyux-icons.min.css +1 -1
- package/assets/font/skyux-icons.eot +0 -0
- package/assets/font/skyux-icons.svg +386 -382
- package/assets/font/skyux-icons.ttf +0 -0
- package/assets/font/skyux-icons.woff +0 -0
- package/assets/font/skyux-icons.woff2 +0 -0
- package/assets/manifest.json +86 -8
- package/index.d.ts +4 -4
- package/index.js +22 -22
- package/module/__get-icon-manifest.d.ts +5 -5
- package/module/__get-icon-manifest.js +10 -10
- package/module/icon-manifest-glyph.d.ts +42 -42
- package/module/icon-manifest-glyph.js +2 -2
- package/module/icon-manifest.d.ts +18 -18
- package/module/icon-manifest.js +2 -2
- package/module/version.d.ts +14 -14
- package/module/version.js +21 -21
- package/package.json +96 -96
package/CHANGELOG.md
CHANGED
|
@@ -1,146 +1,165 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## [6.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
###
|
|
7
|
-
|
|
8
|
-
* add
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## 6.6.1 (
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
-
|
|
143
|
-
|
|
144
|
-
## 3.0.0-
|
|
145
|
-
|
|
146
|
-
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [6.10.0](https://github.com/blackbaud/skyux-icons/compare/6.9.0...6.10.0) (2024-02-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add up arrow ([#82](https://github.com/blackbaud/skyux-icons/issues/82)) ([e132990](https://github.com/blackbaud/skyux-icons/commit/e132990e6132f6228454d64c2998486fb96dba1f))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* add missing icon metadata ([#82](https://github.com/blackbaud/skyux-icons/issues/82)) ([e132990](https://github.com/blackbaud/skyux-icons/commit/e132990e6132f6228454d64c2998486fb96dba1f))
|
|
14
|
+
|
|
15
|
+
## [6.9.0](https://github.com/blackbaud/skyux-icons/compare/6.8.1...6.9.0) (2024-02-02)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* add map marker ([#79](https://github.com/blackbaud/skyux-icons/issues/79)) ([10dc898](https://github.com/blackbaud/skyux-icons/commit/10dc89849d726814e70e2ae4b382c1f39e5ff8ee))
|
|
21
|
+
|
|
22
|
+
## [6.8.1](https://github.com/blackbaud/skyux-icons/compare/6.8.0...6.8.1) (2024-01-23)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* add attribution for Streamline font ([#74](https://github.com/blackbaud/skyux-icons/issues/74)) ([eedb49e](https://github.com/blackbaud/skyux-icons/commit/eedb49e74d3a6d49eff41f064fd7650261b7356c))
|
|
28
|
+
|
|
29
|
+
## 6.8.0 (2024-01-17)
|
|
30
|
+
|
|
31
|
+
- Added icons for FE RE IA. [#72](https://github.com/blackbaud/skyux-icons/pull/72)
|
|
32
|
+
|
|
33
|
+
## 6.7.0 (2023-12-07)
|
|
34
|
+
|
|
35
|
+
- Added Copilot icons. [#70](https://github.com/blackbaud/skyux-icons/pull/70)
|
|
36
|
+
|
|
37
|
+
## 6.6.2 (2023-12-05)
|
|
38
|
+
|
|
39
|
+
- Swapped names and aliases for Online learning, Donations, and Volunteering. [#68](https://github.com/blackbaud/skyux-icons/pull/68)
|
|
40
|
+
|
|
41
|
+
## 6.6.1 (2023-12-04)
|
|
42
|
+
|
|
43
|
+
- Updated variant names for Online learning, Donations, and Volunteering. [#67](https://github.com/blackbaud/skyux-icons/pull/67)
|
|
44
|
+
|
|
45
|
+
## 6.6.0 (2023-11-28)
|
|
46
|
+
|
|
47
|
+
- Added variant icons for Online learning, Donations, and Volunteering. [#66](https://github.com/blackbaud/skyux-icons/pull/66)
|
|
48
|
+
|
|
49
|
+
## 6.5.0 (2023-11-03)
|
|
50
|
+
|
|
51
|
+
- Added MobilePay icons. [#63](https://github.com/blackbaud/skyux-icons/pull/63)
|
|
52
|
+
|
|
53
|
+
## 6.4.0 (2023-09-26)
|
|
54
|
+
|
|
55
|
+
- Added `faNames` property to manifest and deprecated `faName` [#61](https://github.com/blackbaud/skyux-icons/pull/61)
|
|
56
|
+
|
|
57
|
+
## 6.3.0 (2023-09-19)
|
|
58
|
+
|
|
59
|
+
- Added a `VERSION` object to the public exports API. [#59](https://github.com/blackbaud/skyux-icons/pull/59)
|
|
60
|
+
|
|
61
|
+
## 6.2.4 (2023-09-14)
|
|
62
|
+
|
|
63
|
+
- Restored table icon [#58](https://github.com/blackbaud/skyux-icons/pull/58)
|
|
64
|
+
|
|
65
|
+
## 6.2.3 (2023-09-12)
|
|
66
|
+
|
|
67
|
+
- Removed duplicates and grouped icons categorically [#57](https://github.com/blackbaud/skyux-icons/pull/57)
|
|
68
|
+
|
|
69
|
+
## 6.2.2 (2023-09-11)
|
|
70
|
+
|
|
71
|
+
- Resolved publishing issue in 6.2.1. [#55](https://github.com/blackbaud/skyux-icons/pull/55)
|
|
72
|
+
|
|
73
|
+
## 6.2.1 (2023-09-08)
|
|
74
|
+
|
|
75
|
+
- Included unknown file type icon. [#54](https://github.com/blackbaud/skyux-icons/pull/54)
|
|
76
|
+
|
|
77
|
+
## 6.2.0 (2023-09-06)
|
|
78
|
+
|
|
79
|
+
- Added additional file type icons and updated star icon. [#53](https://github.com/blackbaud/skyux-icons/pull/53)
|
|
80
|
+
|
|
81
|
+
## 6.1.2 (2023-09-05)
|
|
82
|
+
|
|
83
|
+
- Revert Font Awesome alias for star icon to current common usage and decouple file type icons until all of them are completed. [#52](https://github.com/blackbaud/skyux-icons/pull/52)
|
|
84
|
+
|
|
85
|
+
## 6.1.1 (2023-08-25)
|
|
86
|
+
|
|
87
|
+
- Added stack icons to manifest. [#51](https://github.com/blackbaud/skyux-icons/pull/51)
|
|
88
|
+
|
|
89
|
+
## 6.0.0 (2023-04-07)
|
|
90
|
+
|
|
91
|
+
- Added alternate Font Awesome icons for use in SKY UX default theme. [#47](https://github.com/blackbaud/skyux-icons/pull/47)
|
|
92
|
+
- Removed `Theme` from TypeScript type names. [#48](https://github.com/blackbaud/skyux-icons/pull/48)
|
|
93
|
+
|
|
94
|
+
## 5.3.1 (2023-03-13)
|
|
95
|
+
|
|
96
|
+
- Set TypeScript module from `ES2022` to `CommonJs`. [#46](https://github.com/blackbaud/skyux-icons/pull/46)
|
|
97
|
+
|
|
98
|
+
## 5.3.0 (2023-03-13)
|
|
99
|
+
|
|
100
|
+
- Added a JavaScript module to the public exports API. [#45](https://github.com/blackbaud/skyux-icons/pull/45)
|
|
101
|
+
|
|
102
|
+
## 5.2.0 (2023-02-16)
|
|
103
|
+
|
|
104
|
+
- Added new line and solid icons for left nav and modern omnibar. [#41](https://github.com/blackbaud/skyux-icons/pull/41)
|
|
105
|
+
|
|
106
|
+
## 5.1.1 (2022-09-07)
|
|
107
|
+
|
|
108
|
+
- Replaced link glyph with correct glyph and added attach icon. [#38](https://github.com/blackbaud/skyux-icons/pull/38)
|
|
109
|
+
|
|
110
|
+
## 5.1.0 (2022-04-27)
|
|
111
|
+
|
|
112
|
+
- Added Blackbaud brandmark and download icons. [#34](https://github.com/blackbaud/skyux-icons/pull/34)
|
|
113
|
+
- Added show/hide icons. [#35](https://github.com/blackbaud/skyux-icons/pull/35)
|
|
114
|
+
- Reconciled duplicate glyphs and added new icons. [#33](https://github.com/blackbaud/skyux-icons/pull/33)
|
|
115
|
+
|
|
116
|
+
## 5.0.0 (2021-09-27)
|
|
117
|
+
|
|
118
|
+
- Initial 5.0.0 release. [#32](https://github.com/blackbaud/skyux-icons/pull/32)
|
|
119
|
+
|
|
120
|
+
## 4.0.0-beta.5 (2021-07-27)
|
|
121
|
+
|
|
122
|
+
- Added indent/outdent and undo/redo icons. [#30](https://github.com/blackbaud/skyux-icons/pull/30)
|
|
123
|
+
|
|
124
|
+
## 4.0.0-beta.4 (2021-07-21)
|
|
125
|
+
|
|
126
|
+
- Added new icons to support text editing. [#28](https://github.com/blackbaud/skyux-icons/pull/28)
|
|
127
|
+
|
|
128
|
+
## 4.0.0-beta.3 (2021-06-15)
|
|
129
|
+
|
|
130
|
+
- Added new icons to support charting, text editing, and global navigation. [#25](https://github.com/blackbaud/skyux-icons/pull/25)
|
|
131
|
+
|
|
132
|
+
## 4.0.0-beta.2 (2021-03-02)
|
|
133
|
+
|
|
134
|
+
- Fixed an issue that kept the list of icons from displaying in the SKY UX documentation. [#20](https://github.com/blackbaud/skyux-icons/pull/20)
|
|
135
|
+
|
|
136
|
+
## 4.0.0-beta.1 (2021-03-02)
|
|
137
|
+
|
|
138
|
+
- Added new icons. [#17](https://github.com/blackbaud/skyux-icons/pull/17)
|
|
139
|
+
|
|
140
|
+
## 4.0.0-beta.0 (2020-06-30)
|
|
141
|
+
|
|
142
|
+
- Fixed an issue where some icons displayed diagonal lines on pages in Chrome on Windows. [#14](https://github.com/blackbaud/skyux-icons/pull/14)
|
|
143
|
+
|
|
144
|
+
## 3.0.0-beta.2 (2020-05-28)
|
|
145
|
+
|
|
146
|
+
- Removed unused icons and cleaned up icon names. [#10](https://github.com/blackbaud/skyux-icons/pull/10)
|
|
147
|
+
|
|
148
|
+
## 3.0.0-beta.1 (2020-04-01)
|
|
149
|
+
|
|
150
|
+
- Added icon usage documentation to the manifest file. [#5](https://github.com/blackbaud/skyux-icons/pull/5)
|
|
151
|
+
- Removed the left and right margins from icons. [#5](https://github.com/blackbaud/skyux-icons/pull/5)
|
|
152
|
+
|
|
153
|
+
## 3.0.0-beta.0 (2020-03-26)
|
|
154
|
+
|
|
155
|
+
- Initial beta release. [#4](https://github.com/blackbaud/skyux-icons/pull/4)
|
|
156
|
+
|
|
157
|
+
## 3.0.0-alpha.1 (2020-03-25)
|
|
158
|
+
|
|
159
|
+
- Moved all files to the `dist/assets` folder so they can be picked up by the NPM publish step. [#2](https://github.com/blackbaud/skyux-icons/pull/2)
|
|
160
|
+
- Added a `manifest.json` file containing metadata about the glyph font to `dist/assets`. [#2](https://github.com/blackbaud/skyux-icons/pull/2)
|
|
161
|
+
- Added minified versions of all CSS files to `dist/assets`. [#2](https://github.com/blackbaud/skyux-icons/pull/2)
|
|
162
|
+
|
|
163
|
+
## 3.0.0-alpha.0 (2020-03-24)
|
|
164
|
+
|
|
165
|
+
- Initial alpha release. [#1](https://github.com/blackbaud/skyux-icons/pull/1)
|
package/README.md
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
# skyux-icons
|
|
2
|
-
|
|
3
|
-
A glyph font and stylesheet for displaying SKY UX icons.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
The primary method of consuming the SKY UX icon font on the web is via the Blackbaud CDN. In the following examples, you should replace `<version>` with the specific version in this project's `package.json`. As new versions are released, previous versions will continue to be hosted on the CDN for backwards compatibility.
|
|
8
|
-
|
|
9
|
-
The URLs in the examples point to minified files. If you would like to load the non-minified file for debugging, remove the `.min` portion of the file name before the extension.
|
|
10
|
-
|
|
11
|
-
### Importing the stylesheet via HTML
|
|
12
|
-
|
|
13
|
-
`<link rel="stylesheet" href="https://sky.blackbaudcdn.net/static/skyux-icons/<version>/assets/skyux-icons.min.css">`
|
|
14
|
-
|
|
15
|
-
### Importing the stylesheet via CSS `@import`
|
|
16
|
-
|
|
17
|
-
`@import url("https://sky.blackbaudcdn.net/static/skyux-icons/<version>/assets/css/skyux-icons.min.css");`
|
|
18
|
-
|
|
19
|
-
If you are using the SKY UX icon font in a non-web-based project, you may install it via NPM:
|
|
20
|
-
|
|
21
|
-
`npm install @skyux/icons`
|
|
22
|
-
|
|
23
|
-
If you are using SKY UX icons in a [SKY UX](https://developer.blackbaud.com/skyux/) project, the icon font will already be imported for you.
|
|
24
|
-
|
|
25
|
-
## Usage
|
|
26
|
-
|
|
27
|
-
To display an icon on an HTML page, specify an element with the CSS class `sky-i-` followed by the name of the icon. It is typical to use an `i` element for displaying icons from an icon font.
|
|
28
|
-
|
|
29
|
-
`<i class="sky-i-calendar"></i>`
|
|
30
|
-
|
|
31
|
-
If you are using SKY UX, use the `sky-icon` component documented [here](https://host.nxt.blackbaud.com/skyux-indicators/docs/icon).
|
|
32
|
-
|
|
33
|
-
`<sky-icon icon="calendar" iconType="skyux"></sky-icon>`
|
|
34
|
-
|
|
35
|
-
## Contributing
|
|
36
|
-
|
|
37
|
-
The SKY UX icon font is generated using [Fontello](http://fontello.com/). To add new icons or change existing icons, follow these steps:
|
|
38
|
-
|
|
39
|
-
- Clone or fork this repo, then create a branch for your changes.
|
|
40
|
-
|
|
41
|
-
- Navigate to [fontello.com](http://fontello.com/) and drag the `config.json` file in this project's `src` folder onto Fontello's homepage. This will load the font project for editing.
|
|
42
|
-
|
|
43
|
-
- You will notice that the fist icon selected is blank and is named `__do_not_delete`. **DO NOT DELETE THIS ICON!** Without it, the SPA will not be able to detect that the font is loaded, causing rendering to be delayed by 3 seconds.
|
|
44
|
-
|
|
45
|
-
- To add a new icon, drag the SVG file onto Fontello's homepage, then switch to the "Customize Names" tab and give the icon a name that follows the [kebab-case](https://medium.com/better-programming/string-case-styles-camel-pascal-snake-and-kebab-case-981407998841) convention (where each word is all lowercase and separated by a hyphen).
|
|
46
|
-
|
|
47
|
-
- To edit an existing icon, take note of the existing icon's name on the "Customize Names" tab and the character code on the "Customize Codes" tab on Fontello's homepage. Return to the "Select Icons" tab and drag the new icon's SVG file onto the page, then delete the existing icon. Change the new icon's name and character codes to the same values as the icon you are replacing. **When changing an existing icon, it is imperitave that you use the same name and character code for its replacement; otherwise you will break the font for consumers!**
|
|
48
|
-
|
|
49
|
-
- When you have finished editing the icons, click the "Download webfont" button at the top of the page.
|
|
50
|
-
|
|
51
|
-
- Unzip the contents of the downloaded file and drop them in this project's `src` folder, overwriting any existing files.
|
|
52
|
-
|
|
53
|
-
- Update the `metadata.json` file at the root of this project with your added or updated icons, following the existing pattern in that file. Each new icon should be listed in this file with a `usage` property which lists the scenarios where the new icon should be used. Documentation is generated from this file, so if an icon is not listed, it will not be listed in the documentation and therefore hidden from consumers. If you are deprecating an icon, you can remove it from the list which will remove it from the documentation but not affect any code that already uses this icon. This is a way to "remove" an icon while not breaking existing consumers.
|
|
54
|
-
|
|
55
|
-
- Commit your changes to your branch and push them to GitHub, then create a pull request so they can be reviewed.
|
|
56
|
-
|
|
57
|
-
- Your work is now done. The owners of this repo will handle reviewing, merging and releasing your changes.
|
|
58
|
-
|
|
59
|
-
## Legal
|
|
60
|
-
|
|
61
|
-
Icons which have an `owner` property in the `metadata.json` file are the property of the listed organization.
|
|
62
|
-
|
|
63
|
-
Icons owned by `Webalys, LLC` must only be used within the context of the SKY UX user experience framework.
|
|
1
|
+
# skyux-icons
|
|
2
|
+
|
|
3
|
+
A glyph font and stylesheet for displaying SKY UX icons.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
The primary method of consuming the SKY UX icon font on the web is via the Blackbaud CDN. In the following examples, you should replace `<version>` with the specific version in this project's `package.json`. As new versions are released, previous versions will continue to be hosted on the CDN for backwards compatibility.
|
|
8
|
+
|
|
9
|
+
The URLs in the examples point to minified files. If you would like to load the non-minified file for debugging, remove the `.min` portion of the file name before the extension.
|
|
10
|
+
|
|
11
|
+
### Importing the stylesheet via HTML
|
|
12
|
+
|
|
13
|
+
`<link rel="stylesheet" href="https://sky.blackbaudcdn.net/static/skyux-icons/<version>/assets/skyux-icons.min.css">`
|
|
14
|
+
|
|
15
|
+
### Importing the stylesheet via CSS `@import`
|
|
16
|
+
|
|
17
|
+
`@import url("https://sky.blackbaudcdn.net/static/skyux-icons/<version>/assets/css/skyux-icons.min.css");`
|
|
18
|
+
|
|
19
|
+
If you are using the SKY UX icon font in a non-web-based project, you may install it via NPM:
|
|
20
|
+
|
|
21
|
+
`npm install @skyux/icons`
|
|
22
|
+
|
|
23
|
+
If you are using SKY UX icons in a [SKY UX](https://developer.blackbaud.com/skyux/) project, the icon font will already be imported for you.
|
|
24
|
+
|
|
25
|
+
## Usage
|
|
26
|
+
|
|
27
|
+
To display an icon on an HTML page, specify an element with the CSS class `sky-i-` followed by the name of the icon. It is typical to use an `i` element for displaying icons from an icon font.
|
|
28
|
+
|
|
29
|
+
`<i class="sky-i-calendar"></i>`
|
|
30
|
+
|
|
31
|
+
If you are using SKY UX, use the `sky-icon` component documented [here](https://host.nxt.blackbaud.com/skyux-indicators/docs/icon).
|
|
32
|
+
|
|
33
|
+
`<sky-icon icon="calendar" iconType="skyux"></sky-icon>`
|
|
34
|
+
|
|
35
|
+
## Contributing
|
|
36
|
+
|
|
37
|
+
The SKY UX icon font is generated using [Fontello](http://fontello.com/). To add new icons or change existing icons, follow these steps:
|
|
38
|
+
|
|
39
|
+
- Clone or fork this repo, then create a branch for your changes.
|
|
40
|
+
|
|
41
|
+
- Navigate to [fontello.com](http://fontello.com/) and drag the `config.json` file in this project's `src` folder onto Fontello's homepage. This will load the font project for editing.
|
|
42
|
+
|
|
43
|
+
- You will notice that the fist icon selected is blank and is named `__do_not_delete`. **DO NOT DELETE THIS ICON!** Without it, the SPA will not be able to detect that the font is loaded, causing rendering to be delayed by 3 seconds.
|
|
44
|
+
|
|
45
|
+
- To add a new icon, drag the SVG file onto Fontello's homepage, then switch to the "Customize Names" tab and give the icon a name that follows the [kebab-case](https://medium.com/better-programming/string-case-styles-camel-pascal-snake-and-kebab-case-981407998841) convention (where each word is all lowercase and separated by a hyphen).
|
|
46
|
+
|
|
47
|
+
- To edit an existing icon, take note of the existing icon's name on the "Customize Names" tab and the character code on the "Customize Codes" tab on Fontello's homepage. Return to the "Select Icons" tab and drag the new icon's SVG file onto the page, then delete the existing icon. Change the new icon's name and character codes to the same values as the icon you are replacing. **When changing an existing icon, it is imperitave that you use the same name and character code for its replacement; otherwise you will break the font for consumers!**
|
|
48
|
+
|
|
49
|
+
- When you have finished editing the icons, click the "Download webfont" button at the top of the page.
|
|
50
|
+
|
|
51
|
+
- Unzip the contents of the downloaded file and drop them in this project's `src` folder, overwriting any existing files.
|
|
52
|
+
|
|
53
|
+
- Update the `metadata.json` file at the root of this project with your added or updated icons, following the existing pattern in that file. Each new icon should be listed in this file with a `usage` property which lists the scenarios where the new icon should be used. Documentation is generated from this file, so if an icon is not listed, it will not be listed in the documentation and therefore hidden from consumers. If you are deprecating an icon, you can remove it from the list which will remove it from the documentation but not affect any code that already uses this icon. This is a way to "remove" an icon while not breaking existing consumers.
|
|
54
|
+
|
|
55
|
+
- Commit your changes to your branch and push them to GitHub, then create a pull request so they can be reviewed.
|
|
56
|
+
|
|
57
|
+
- Your work is now done. The owners of this repo will handle reviewing, merging and releasing your changes.
|
|
58
|
+
|
|
59
|
+
## Legal
|
|
60
|
+
|
|
61
|
+
Icons which have an `owner` property in the `metadata.json` file are the property of the listed organization.
|
|
62
|
+
|
|
63
|
+
Icons owned by `Webalys, LLC` must only be used within the context of the SKY UX user experience framework.
|
package/assets/css/animation.css
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Animation example, for spinners
|
|
3
|
-
*/
|
|
4
|
-
.animate-spin {
|
|
5
|
-
-moz-animation: spin 2s infinite linear;
|
|
6
|
-
-o-animation: spin 2s infinite linear;
|
|
7
|
-
-webkit-animation: spin 2s infinite linear;
|
|
8
|
-
animation: spin 2s infinite linear;
|
|
9
|
-
display: inline-block;
|
|
10
|
-
}
|
|
11
|
-
@-moz-keyframes spin {
|
|
12
|
-
0% {
|
|
13
|
-
-moz-transform: rotate(0deg);
|
|
14
|
-
-o-transform: rotate(0deg);
|
|
15
|
-
-webkit-transform: rotate(0deg);
|
|
16
|
-
transform: rotate(0deg);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
100% {
|
|
20
|
-
-moz-transform: rotate(359deg);
|
|
21
|
-
-o-transform: rotate(359deg);
|
|
22
|
-
-webkit-transform: rotate(359deg);
|
|
23
|
-
transform: rotate(359deg);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
@-webkit-keyframes spin {
|
|
27
|
-
0% {
|
|
28
|
-
-moz-transform: rotate(0deg);
|
|
29
|
-
-o-transform: rotate(0deg);
|
|
30
|
-
-webkit-transform: rotate(0deg);
|
|
31
|
-
transform: rotate(0deg);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
100% {
|
|
35
|
-
-moz-transform: rotate(359deg);
|
|
36
|
-
-o-transform: rotate(359deg);
|
|
37
|
-
-webkit-transform: rotate(359deg);
|
|
38
|
-
transform: rotate(359deg);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
@-o-keyframes spin {
|
|
42
|
-
0% {
|
|
43
|
-
-moz-transform: rotate(0deg);
|
|
44
|
-
-o-transform: rotate(0deg);
|
|
45
|
-
-webkit-transform: rotate(0deg);
|
|
46
|
-
transform: rotate(0deg);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
100% {
|
|
50
|
-
-moz-transform: rotate(359deg);
|
|
51
|
-
-o-transform: rotate(359deg);
|
|
52
|
-
-webkit-transform: rotate(359deg);
|
|
53
|
-
transform: rotate(359deg);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
@-ms-keyframes spin {
|
|
57
|
-
0% {
|
|
58
|
-
-moz-transform: rotate(0deg);
|
|
59
|
-
-o-transform: rotate(0deg);
|
|
60
|
-
-webkit-transform: rotate(0deg);
|
|
61
|
-
transform: rotate(0deg);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
100% {
|
|
65
|
-
-moz-transform: rotate(359deg);
|
|
66
|
-
-o-transform: rotate(359deg);
|
|
67
|
-
-webkit-transform: rotate(359deg);
|
|
68
|
-
transform: rotate(359deg);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
@keyframes spin {
|
|
72
|
-
0% {
|
|
73
|
-
-moz-transform: rotate(0deg);
|
|
74
|
-
-o-transform: rotate(0deg);
|
|
75
|
-
-webkit-transform: rotate(0deg);
|
|
76
|
-
transform: rotate(0deg);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
100% {
|
|
80
|
-
-moz-transform: rotate(359deg);
|
|
81
|
-
-o-transform: rotate(359deg);
|
|
82
|
-
-webkit-transform: rotate(359deg);
|
|
83
|
-
transform: rotate(359deg);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
Animation example, for spinners
|
|
3
|
+
*/
|
|
4
|
+
.animate-spin {
|
|
5
|
+
-moz-animation: spin 2s infinite linear;
|
|
6
|
+
-o-animation: spin 2s infinite linear;
|
|
7
|
+
-webkit-animation: spin 2s infinite linear;
|
|
8
|
+
animation: spin 2s infinite linear;
|
|
9
|
+
display: inline-block;
|
|
10
|
+
}
|
|
11
|
+
@-moz-keyframes spin {
|
|
12
|
+
0% {
|
|
13
|
+
-moz-transform: rotate(0deg);
|
|
14
|
+
-o-transform: rotate(0deg);
|
|
15
|
+
-webkit-transform: rotate(0deg);
|
|
16
|
+
transform: rotate(0deg);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
100% {
|
|
20
|
+
-moz-transform: rotate(359deg);
|
|
21
|
+
-o-transform: rotate(359deg);
|
|
22
|
+
-webkit-transform: rotate(359deg);
|
|
23
|
+
transform: rotate(359deg);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
@-webkit-keyframes spin {
|
|
27
|
+
0% {
|
|
28
|
+
-moz-transform: rotate(0deg);
|
|
29
|
+
-o-transform: rotate(0deg);
|
|
30
|
+
-webkit-transform: rotate(0deg);
|
|
31
|
+
transform: rotate(0deg);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
100% {
|
|
35
|
+
-moz-transform: rotate(359deg);
|
|
36
|
+
-o-transform: rotate(359deg);
|
|
37
|
+
-webkit-transform: rotate(359deg);
|
|
38
|
+
transform: rotate(359deg);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
@-o-keyframes spin {
|
|
42
|
+
0% {
|
|
43
|
+
-moz-transform: rotate(0deg);
|
|
44
|
+
-o-transform: rotate(0deg);
|
|
45
|
+
-webkit-transform: rotate(0deg);
|
|
46
|
+
transform: rotate(0deg);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
100% {
|
|
50
|
+
-moz-transform: rotate(359deg);
|
|
51
|
+
-o-transform: rotate(359deg);
|
|
52
|
+
-webkit-transform: rotate(359deg);
|
|
53
|
+
transform: rotate(359deg);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
@-ms-keyframes spin {
|
|
57
|
+
0% {
|
|
58
|
+
-moz-transform: rotate(0deg);
|
|
59
|
+
-o-transform: rotate(0deg);
|
|
60
|
+
-webkit-transform: rotate(0deg);
|
|
61
|
+
transform: rotate(0deg);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
100% {
|
|
65
|
+
-moz-transform: rotate(359deg);
|
|
66
|
+
-o-transform: rotate(359deg);
|
|
67
|
+
-webkit-transform: rotate(359deg);
|
|
68
|
+
transform: rotate(359deg);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
@keyframes spin {
|
|
72
|
+
0% {
|
|
73
|
+
-moz-transform: rotate(0deg);
|
|
74
|
+
-o-transform: rotate(0deg);
|
|
75
|
+
-webkit-transform: rotate(0deg);
|
|
76
|
+
transform: rotate(0deg);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
100% {
|
|
80
|
+
-moz-transform: rotate(359deg);
|
|
81
|
+
-o-transform: rotate(359deg);
|
|
82
|
+
-webkit-transform: rotate(359deg);
|
|
83
|
+
transform: rotate(359deg);
|
|
84
|
+
}
|
|
85
|
+
}
|