@skyux/icons 8.0.0 → 8.2.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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [8.2.0](https://github.com/blackbaud/skyux-icons/compare/8.1.0...8.2.0) (2025-06-16)
4
+
5
+
6
+ ### Features
7
+
8
+ * add brands and usage updates ([#187](https://github.com/blackbaud/skyux-icons/issues/187)) ([da967ab](https://github.com/blackbaud/skyux-icons/commit/da967ab14789fddd0c9ea07e947389bacdd21226))
9
+
10
+ ## [8.1.0](https://github.com/blackbaud/skyux-icons/compare/8.0.0...8.1.0) (2025-06-04)
11
+
12
+
13
+ ### Features
14
+
15
+ * add building bank link icon ([#185](https://github.com/blackbaud/skyux-icons/issues/185)) ([13622b5](https://github.com/blackbaud/skyux-icons/commit/13622b548fb2afbba205054b2c32108743eb5abd))
16
+ * added arrow-split ([#179](https://github.com/blackbaud/skyux-icons/issues/179)) ([6bae483](https://github.com/blackbaud/skyux-icons/commit/6bae4830b95e8afe4fd2d590b18aaedb2cc4d063))
17
+
3
18
  ## [8.0.0](https://github.com/blackbaud/skyux-icons/compare/7.24.0...8.0.0) (2025-05-20)
4
19
 
5
20
 
package/README.md CHANGED
@@ -1,63 +1,81 @@
1
1
  # skyux-icons
2
2
 
3
- A glyph font and stylesheet for displaying SKY UX icons.
3
+ ## Overview
4
4
 
5
- ## Installation
5
+ SKY UX icons is a package that provides icon assets for the SKY UX framework.
6
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`
7
+ ## Usage
16
8
 
17
- `@import url("https://sky.blackbaudcdn.net/static/skyux-icons/<version>/assets/css/skyux-icons.min.css");`
9
+ To use SKY UX icons, use the [SKY UX icon component](https://developer.blackbaud.com/skyux/components/icon).
18
10
 
19
- If you are using the SKY UX icon font in a non-web-based project, you may install it via NPM:
11
+ ## Adding new icons
20
12
 
21
- `npm install @skyux/icons`
13
+ ### Adding Fluent icons
22
14
 
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.
15
+ 1. Add the icon name to the alphabetized list in `src/svg/fluent-icon-list.txt`
16
+ - Do not include any variant or size information
17
+ - Verify the icon name in the [Fluent icon GitHub repo](https://github.com/microsoft/fluentui-system-icons/tree/main/assets)
18
+ 2. Release the `skyux-icons` repo following the [release process](#release-process)
24
19
 
25
- ## Usage
20
+ ### Adding custom icons
26
21
 
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.
22
+ #### Single color icons
28
23
 
29
- `<i class="sky-i-calendar"></i>`
24
+ 1. Add SVG files to `src/svg` using file name format: `<name>-<size>-<variant>.svg`
25
+ 2. All sizes require both a solid and line variant
26
+ 3. SVG files should contain only one path
27
+ 4. SVG files must not contain:
28
+ - Classes
29
+ - `<style>` elements
30
+ - Inline styles
31
+ 5. Release the `skyux-icons` repo following the [release process](#release-process)
30
32
 
31
- If you are using SKY UX, use the `sky-icon` component documented [here](https://host.nxt.blackbaud.com/skyux-indicators/docs/icon).
33
+ #### Mutli-color icons
32
34
 
33
- `<sky-icon icon="calendar" iconType="skyux"></sky-icon>`
35
+ SKY UX icons can support 2 colors.
34
36
 
35
- ## Contributing
37
+ 1. Add SVG files to `src/svg` using file name format: `<name>-<size>-<variant>.svg`
38
+ 2. All sizes require both a solid and line variant
39
+ 3. Use these classes on each path for colors:
40
+ - Primary: `sky-i-path-1`
41
+ - Secondary: `sky-i-path-2`
42
+ 4. SVG files must not contain:
43
+ - `<style>` elements
44
+ - Inline styles
45
+ 5. Release the `skyux-icons` repo following the [release process](#release-process)
36
46
 
37
- The SKY UX icon font is generated using [Fontello](http://fontello.com/). To add new icons or change existing icons, follow these steps:
47
+ #### Branded icons
38
48
 
39
- - Clone or fork this repo, then create a branch for your changes.
49
+ Branded icons support maintaining brand color customization.
40
50
 
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.
51
+ 1. Add SVG files to `src/svg/branded` using file name format: `<name>-<size>-<variant>.svg`
52
+ 2. All sizes require both a solid and line variant
53
+ 3. SVG files must not contain:
54
+ - `<style>` elements
55
+ - Inline styles
56
+ 4. Release the `skyux-icons` repo following the [release process](#release-process)
42
57
 
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.
58
+ ## Release Process
44
59
 
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).
60
+ ### Minor Version
46
61
 
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!**
62
+ - Release `skyux-icons` only
48
63
 
49
- - When you have finished editing the icons, click the "Download webfont" button at the top of the page.
64
+ ### Major Version
50
65
 
51
- - Unzip the contents of the downloaded file and drop them in this project's `src` folder, overwriting any existing files.
66
+ 1. Release `skyux-icons`
67
+ 2. Update `@skyux/icon` component:
68
+ - `@skyux/icons` package version
69
+ - the major version in the CDN URL in `SkyIconSvgResolverService`
52
70
 
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.
71
+ ## Maintenance
54
72
 
55
- - Commit your changes to your branch and push them to GitHub, then create a pull request so they can be reviewed.
73
+ **Important:** All updates to the `@fluentui/svg-icons` package require a breaking change release due to potential visual changes in any version (major, minor, or patch).
56
74
 
57
- - Your work is now done. The owners of this repo will handle reviewing, merging and releasing your changes.
75
+ To create a breaking change, add `!` to your commit title, i.e. `feat!: update fluent icon version`
58
76
 
59
77
  ## Legal
60
78
 
61
- Icons which have an `owner` property in the `metadata.json` file are the property of the listed organization.
79
+ Icons that have an `owner` property in the `metadata.json` file are the property of the listed organization.
62
80
 
63
81
  Icons owned by `Webalys, LLC` must only be used within the context of the SKY UX user experience framework.
@@ -265,7 +265,9 @@
265
265
  {
266
266
  "name": "chevron-down",
267
267
  "usage": [
268
- "Expand"
268
+ "Expand",
269
+ "Next (down)",
270
+ "Collapse tree node"
269
271
  ],
270
272
  "faNames": [
271
273
  "chevron-down",
@@ -277,7 +279,8 @@
277
279
  {
278
280
  "name": "chevron-up",
279
281
  "usage": [
280
- "Collapse"
282
+ "Collapse",
283
+ "Previous (up)"
281
284
  ],
282
285
  "faNames": [
283
286
  "chevron-up",
@@ -289,7 +292,8 @@
289
292
  {
290
293
  "name": "chevron-right",
291
294
  "usage": [
292
- "Navigate to"
295
+ "Next",
296
+ "Expand tree node"
293
297
  ],
294
298
  "faNames": [
295
299
  "chevron-right",
@@ -301,7 +305,7 @@
301
305
  {
302
306
  "name": "chevron-left",
303
307
  "usage": [
304
- "Back to"
308
+ "Previous"
305
309
  ],
306
310
  "faNames": [
307
311
  "chevron-left",
@@ -313,7 +317,8 @@
313
317
  {
314
318
  "name": "double-chevron-left",
315
319
  "usage": [
316
- "Collapse navigation"
320
+ "Collapse navigation",
321
+ "Collapse field"
317
322
  ],
318
323
  "faNames": [
319
324
  "angle-double-left"
@@ -461,23 +466,23 @@
461
466
  {
462
467
  "name": "help-line",
463
468
  "usage": [
464
- "Help"
469
+ "Help",
470
+ "Information"
465
471
  ],
466
472
  "faNames": [
467
- "question-circle",
468
- "question-circle-o"
473
+ "info-circle"
469
474
  ],
470
- "iconName": "question-circle",
475
+ "iconName": "info",
471
476
  "code": 59434
472
477
  },
473
478
  {
474
479
  "name": "help-solid",
475
480
  "usage": [
476
- "Help"
481
+ "Help",
482
+ "Information"
477
483
  ],
478
484
  "faNames": [
479
- "question-circle",
480
- "question-circle-o"
485
+ "info-circle"
481
486
  ],
482
487
  "code": 59399
483
488
  },
@@ -1461,34 +1466,6 @@
1461
1466
  ],
1462
1467
  "code": 59529
1463
1468
  },
1464
- {
1465
- "name": "collapse-2-line",
1466
- "usage": [
1467
- "Collapse nav"
1468
- ],
1469
- "faNames": [
1470
- "angle-double-left"
1471
- ],
1472
- "owner": [
1473
- "Webalys, LLC"
1474
- ],
1475
- "iconName": "chevron-double-left",
1476
- "code": 59530
1477
- },
1478
- {
1479
- "name": "expand-2-line",
1480
- "usage": [
1481
- "Expand nav"
1482
- ],
1483
- "faNames": [
1484
- "angle-double-right"
1485
- ],
1486
- "owner": [
1487
- "Webalys, LLC"
1488
- ],
1489
- "iconName": "chevron-double-right",
1490
- "code": 59534
1491
- },
1492
1469
  {
1493
1470
  "name": "database-2-line",
1494
1471
  "usage": [
@@ -1916,6 +1893,7 @@
1916
1893
  "arrow-previous",
1917
1894
  "arrow-repeat-all",
1918
1895
  "arrow-right",
1896
+ "arrow-split",
1919
1897
  "arrow-sync",
1920
1898
  "arrow-trending",
1921
1899
  "arrow-trending-down",
@@ -1924,6 +1902,7 @@
1924
1902
  "bookmark",
1925
1903
  "bot",
1926
1904
  "branch-fork",
1905
+ "building-bank-link",
1927
1906
  "building-factory",
1928
1907
  "building-shop",
1929
1908
  "calculator",
@@ -2003,6 +1982,7 @@
2003
1982
  "news",
2004
1983
  "note",
2005
1984
  "options",
1985
+ "organization-horizontal",
2006
1986
  "paint-brush",
2007
1987
  "payment-wireless",
2008
1988
  "person-add",
@@ -2021,6 +2001,7 @@
2021
2001
  "power",
2022
2002
  "puzzle-piece",
2023
2003
  "question",
2004
+ "question-circle",
2024
2005
  "receipt",
2025
2006
  "recycle",
2026
2007
  "ribbon",