@benefex/icons 0.7.0 → 0.8.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/README.md +18 -16
- package/dist/AngleUpThin.d.ts +4 -0
- package/dist/AngleUpThin.js +5 -0
- package/dist/ArrowUpLight.d.ts +4 -0
- package/dist/ArrowUpLight.js +5 -0
- package/dist/DownloadRegular.d.ts +4 -0
- package/dist/DownloadRegular.js +5 -0
- package/dist/MicrophoneRegular.d.ts +4 -0
- package/dist/MicrophoneRegular.js +5 -0
- package/dist/SnoozeRegular.d.ts +4 -0
- package/dist/SnoozeRegular.js +5 -0
- package/dist/SpinnerRegular.d.ts +4 -0
- package/dist/SpinnerRegular.js +5 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/package.json +16 -2
package/README.md
CHANGED
|
@@ -8,29 +8,31 @@ SVGs are automatically converted to TSX using [svgr](https://react-svgr.com/)
|
|
|
8
8
|
- Make sure it has `fill="currentColor` or `stroke="currentColor"`
|
|
9
9
|
- Make sure it has a viewBox (width, height will be removed)
|
|
10
10
|
|
|
11
|
-
###
|
|
12
|
-
|
|
13
|
-
All version deployments are handled by circleCI. To begin developing a new version you will need to create a branch.
|
|
14
|
-
|
|
15
|
-
Use [`npm version`](https://docs.npmjs.com/cli/version) with the feature branch checked out to create a new version commit. This will automatically update the version number in `package.json` and other relevant files. Code is linted and tested before a version is created.
|
|
16
|
-
|
|
17
|
-
Use [semantic versioning](https://semver.org) where possible:
|
|
18
|
-
|
|
11
|
+
### Versioning
|
|
12
|
+
Use [semantic versioning](https://semver.org):
|
|
19
13
|
- `major` version when you make incompatible API changes
|
|
20
14
|
- `minor` version when you add functionality in a backwards-compatible manner
|
|
21
15
|
- `patch` version when you make backwards-compatible bug fixes
|
|
22
16
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
17
|
+
All latest version deployments are handled by [semantic-release](https://github.com/semantic-release/semantic-release) which is triggered in CircleCI's `main` pipeline. _semantic-release_ will look at your commit message and determine how to increment the version based on its format. See [here](https://github.com/TrigenSoftware/simple-release/blob/main/GUIDE.md) for more details on how this works. [commitlint](https://commitlint.js.org/) hook is used to ensure your commit message is correct before pushing.
|
|
18
|
+
|
|
19
|
+
To summarise:
|
|
20
|
+
- `feat` is a minor version bump
|
|
21
|
+
- `fix` is a patch version bump
|
|
22
|
+
- `perf` is a patch version bump
|
|
23
|
+
- commit with `!` after the type (or scope) is a major version bump. Eg: `feat!: add image` or `feat(new)!: add image`
|
|
24
|
+
- all other types do not cause any version bump
|
|
25
|
+
|
|
26
|
+
_*This is fully customizable so can be updated to better suit our needs if required_
|
|
28
27
|
|
|
29
|
-
|
|
28
|
+
When the pull request is merged to main, the CircleCI main workflow runs which will perform all of the necessary npm publishing and git tagging, along with creating a Github release containing release notes.
|
|
30
29
|
|
|
31
|
-
|
|
30
|
+
#### Beta deployments
|
|
31
|
+
All pull requests will deploy a beta version as part of the PR pipeline. This allows for easy testing without having to merge your PR. The version deployed will be `{CURRENT_MAJOR_VERSION}.0.0-PR${PULL_REQUEST_NUMBER}-BN${BUILD_NUM}`. For example: `7.0.0-PR100-BN150`
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
#### Check the version your branch is using
|
|
34
|
+
We do not keep track of the current version in package.json due to it not being necessary ([Why isn't it necessary?](https://semantic-release.gitbook.io/semantic-release/support/faq#it-is-not-needed-for-semantic-release-to-do-its-job)).
|
|
35
|
+
However, to print out the package version your branch is using, run `npm run check-version`
|
|
34
36
|
|
|
35
37
|
## Usage
|
|
36
38
|
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
const AngleUpThin = ({ title, titleId, ...props }) => (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", "aria-labelledby": titleId, ...props },
|
|
3
|
+
title ? React.createElement("title", { id: titleId }, title) : null,
|
|
4
|
+
React.createElement("path", { fill: "currentColor", d: "M218.3 146.3c3.1-3.1 8.2-3.1 11.3 0l176 176c3.1 3.1 3.1 8.2 0 11.3s-8.2 3.1-11.3 0L224 163.3 53.7 333.7c-3.1 3.1-8.2 3.1-11.3 0s-3.1-8.2 0-11.3l176-176z" })));
|
|
5
|
+
export default AngleUpThin;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
const ArrowUpLight = ({ title, titleId, ...props }) => (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 384 512", "aria-labelledby": titleId, ...props },
|
|
3
|
+
title ? React.createElement("title", { id: titleId }, title) : null,
|
|
4
|
+
React.createElement("path", { fill: "currentColor", d: "M203.3 36.7c-6.2-6.2-16.4-6.2-22.6 0l-176 176c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L176 86.6V464c0 8.8 7.2 16 16 16s16-7.2 16-16V86.6l148.7 148.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6z" })));
|
|
5
|
+
export default ArrowUpLight;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
const DownloadRegular = ({ title, titleId, ...props }) => (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", "aria-labelledby": titleId, ...props },
|
|
3
|
+
title ? React.createElement("title", { id: titleId }, title) : null,
|
|
4
|
+
React.createElement("path", { fill: "currentColor", d: "M280 24c0-13.3-10.7-24-24-24s-24 10.7-24 24v270.1l-95-95c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 369c9.4 9.4 24.6 9.4 33.9 0L409 233c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-95 95V24zM128.8 304H64c-35.3 0-64 28.7-64 64v80c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64v-80c0-35.3-28.7-64-64-64h-64.8l-48 48H448c8.8 0 16 7.2 16 16v80c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16v-80c0-8.8 7.2-16 16-16h112.8zM432 408a24 24 0 1 0-48 0 24 24 0 1 0 48 0" })));
|
|
5
|
+
export default DownloadRegular;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
const MicrophoneRegular = ({ title, titleId, ...props }) => (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 384 512", "aria-labelledby": titleId, ...props },
|
|
3
|
+
title ? React.createElement("title", { id: titleId }, title) : null,
|
|
4
|
+
React.createElement("path", { fill: "currentColor", d: "M240 96v160c0 26.5-21.5 48-48 48s-48-21.5-48-48V96c0-26.5 21.5-48 48-48s48 21.5 48 48M96 96v160c0 53 43 96 96 96s96-43 96-96V96c0-53-43-96-96-96S96 43 96 96M64 216c0-13.3-10.7-24-24-24s-24 10.7-24 24v40c0 89.1 66.2 162.7 152 174.4V464h-48c-13.3 0-24 10.7-24 24s10.7 24 24 24h144c13.3 0 24-10.7 24-24s-10.7-24-24-24h-48v-33.6c85.8-11.7 152-85.3 152-174.4v-40c0-13.3-10.7-24-24-24s-24 10.7-24 24v40c0 70.7-57.3 128-128 128S64 326.7 64 256z" })));
|
|
5
|
+
export default MicrophoneRegular;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
const SnoozeRegular = ({ title, titleId, ...props }) => (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", "aria-labelledby": titleId, ...props },
|
|
3
|
+
title ? React.createElement("title", { id: titleId }, title) : null,
|
|
4
|
+
React.createElement("path", { fill: "currentColor", d: "M184 0c-13.3 0-24 10.7-24 24s10.7 24 24 24h59.1l-77.2 88.2c-6.2 7.1-7.7 17.1-3.8 25.7S174.6 176 184 176h112c13.3 0 24-10.7 24-24s-10.7-24-24-24h-59.1l77.2-88.2c6.2-7.1 7.7-17.1 3.8-25.7S305.4 0 296 0zm128 224c-13.3 0-24 10.7-24 24s10.7 24 24 24h62.9l-81.8 105.3c-5.6 7.2-6.6 17-2.6 25.3s12.4 13.5 21.6 13.5H424c13.3 0 24-10.7 24-24s-10.7-24-24-24h-62.9L443 262.8c5.6-7.2 6.6-17 2.6-25.3S433.2 224 424 224zm-288 0c-13.3 0-24 10.7-24 24s10.7 24 24 24h128.6L4.6 473.8c-5.3 7.3-6.1 17-2.1 25S15 512 24 512h176c13.3 0 24-10.7 24-24s-10.7-24-24-24H71.4l148-201.8c5.3-7.3 6.1-17 2.1-25S209 224 200 224z" })));
|
|
5
|
+
export default SnoozeRegular;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
const SpinnerRegular = ({ title, titleId, ...props }) => (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", "aria-labelledby": titleId, ...props },
|
|
3
|
+
title ? React.createElement("title", { id: titleId }, title) : null,
|
|
4
|
+
React.createElement("path", { fill: "currentColor", d: "M288 32a32 32 0 1 0-64 0 32 32 0 1 0 64 0m0 448a32 32 0 1 0-64 0 32 32 0 1 0 64 0m160-224a32 32 0 1 0 64 0 32 32 0 1 0-64 0M32 288a32 32 0 1 0 0-64 32 32 0 1 0 0 64m43 149a32 32 0 1 0 45.3-45.3A32 32 0 1 0 75 437m316.8 0a32 32 0 1 0 45.2-45.2 32 32 0 1 0-45.2 45.2M75 75a32 32 0 1 0 45.3 45.3A32 32 0 1 0 75 75" })));
|
|
5
|
+
export default SpinnerRegular;
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { default as AngleLeftThin } from './AngleLeftThin';
|
|
|
5
5
|
export { default as AngleRightLight } from './AngleRightLight';
|
|
6
6
|
export { default as AngleRightThin } from './AngleRightThin';
|
|
7
7
|
export { default as AngleUpLight } from './AngleUpLight';
|
|
8
|
+
export { default as AngleUpThin } from './AngleUpThin';
|
|
8
9
|
export { default as ArrowLeftLight } from './ArrowLeftLight';
|
|
9
10
|
export { default as ArrowPointerRegular } from './ArrowPointerRegular';
|
|
10
11
|
export { default as ArrowPointerThin } from './ArrowPointerThin';
|
|
@@ -13,6 +14,7 @@ export { default as ArrowRightFromBracketThin } from './ArrowRightFromBracketThi
|
|
|
13
14
|
export { default as ArrowRightLight } from './ArrowRightLight';
|
|
14
15
|
export { default as ArrowRotateRightLight } from './ArrowRotateRightLight';
|
|
15
16
|
export { default as ArrowTrendUpLight } from './ArrowTrendUpLight';
|
|
17
|
+
export { default as ArrowUpLight } from './ArrowUpLight';
|
|
16
18
|
export { default as ArrowUpRightAndArrowDownLeftFromCenterLight } from './ArrowUpRightAndArrowDownLeftFromCenterLight';
|
|
17
19
|
export { default as ArrowUpRightFromSquareLight } from './ArrowUpRightFromSquareLight';
|
|
18
20
|
export { default as ArrowsRotateLight } from './ArrowsRotateLight';
|
|
@@ -89,6 +91,7 @@ export { default as CreditCardThin } from './CreditCardThin';
|
|
|
89
91
|
export { default as DesktopLight } from './DesktopLight';
|
|
90
92
|
export { default as DiagramCellsLight } from './DiagramCellsLight';
|
|
91
93
|
export { default as DownloadLight } from './DownloadLight';
|
|
94
|
+
export { default as DownloadRegular } from './DownloadRegular';
|
|
92
95
|
export { default as EarListenLight } from './EarListenLight';
|
|
93
96
|
export { default as EarthAfricaLight } from './EarthAfricaLight';
|
|
94
97
|
export { default as EllipsisLight } from './EllipsisLight';
|
|
@@ -208,6 +211,7 @@ export { default as MessageTextLight } from './MessageTextLight';
|
|
|
208
211
|
export { default as MessageTextThin } from './MessageTextThin';
|
|
209
212
|
export { default as MessageThin } from './MessageThin';
|
|
210
213
|
export { default as MessagesLight } from './MessagesLight';
|
|
214
|
+
export { default as MicrophoneRegular } from './MicrophoneRegular';
|
|
211
215
|
export { default as MinusLight } from './MinusLight';
|
|
212
216
|
export { default as MobileLight } from './MobileLight';
|
|
213
217
|
export { default as MoneyBillTransferLight } from './MoneyBillTransferLight';
|
|
@@ -271,6 +275,7 @@ export { default as SidebarLight } from './SidebarLight';
|
|
|
271
275
|
export { default as SitemapLight } from './SitemapLight';
|
|
272
276
|
export { default as SkypeBrands } from './SkypeBrands';
|
|
273
277
|
export { default as SlackBrands } from './SlackBrands';
|
|
278
|
+
export { default as SnoozeRegular } from './SnoozeRegular';
|
|
274
279
|
export { default as SnowflakeLight } from './SnowflakeLight';
|
|
275
280
|
export { default as SortDownLight } from './SortDownLight';
|
|
276
281
|
export { default as SortLight } from './SortLight';
|
|
@@ -278,6 +283,7 @@ export { default as SortUpLight } from './SortUpLight';
|
|
|
278
283
|
export { default as SparklesLight } from './SparklesLight';
|
|
279
284
|
export { default as SparklesRegular } from './SparklesRegular';
|
|
280
285
|
export { default as SparklesSolid } from './SparklesSolid';
|
|
286
|
+
export { default as SpinnerRegular } from './SpinnerRegular';
|
|
281
287
|
export { default as SpinnerThirdDuotoneSolid } from './SpinnerThirdDuotoneSolid';
|
|
282
288
|
export { default as SpotifyBrands } from './SpotifyBrands';
|
|
283
289
|
export { default as SquareArrowUpRightLight } from './SquareArrowUpRightLight';
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,7 @@ export { default as AngleLeftThin } from './AngleLeftThin';
|
|
|
5
5
|
export { default as AngleRightLight } from './AngleRightLight';
|
|
6
6
|
export { default as AngleRightThin } from './AngleRightThin';
|
|
7
7
|
export { default as AngleUpLight } from './AngleUpLight';
|
|
8
|
+
export { default as AngleUpThin } from './AngleUpThin';
|
|
8
9
|
export { default as ArrowLeftLight } from './ArrowLeftLight';
|
|
9
10
|
export { default as ArrowPointerRegular } from './ArrowPointerRegular';
|
|
10
11
|
export { default as ArrowPointerThin } from './ArrowPointerThin';
|
|
@@ -13,6 +14,7 @@ export { default as ArrowRightFromBracketThin } from './ArrowRightFromBracketThi
|
|
|
13
14
|
export { default as ArrowRightLight } from './ArrowRightLight';
|
|
14
15
|
export { default as ArrowRotateRightLight } from './ArrowRotateRightLight';
|
|
15
16
|
export { default as ArrowTrendUpLight } from './ArrowTrendUpLight';
|
|
17
|
+
export { default as ArrowUpLight } from './ArrowUpLight';
|
|
16
18
|
export { default as ArrowUpRightAndArrowDownLeftFromCenterLight } from './ArrowUpRightAndArrowDownLeftFromCenterLight';
|
|
17
19
|
export { default as ArrowUpRightFromSquareLight } from './ArrowUpRightFromSquareLight';
|
|
18
20
|
export { default as ArrowsRotateLight } from './ArrowsRotateLight';
|
|
@@ -89,6 +91,7 @@ export { default as CreditCardThin } from './CreditCardThin';
|
|
|
89
91
|
export { default as DesktopLight } from './DesktopLight';
|
|
90
92
|
export { default as DiagramCellsLight } from './DiagramCellsLight';
|
|
91
93
|
export { default as DownloadLight } from './DownloadLight';
|
|
94
|
+
export { default as DownloadRegular } from './DownloadRegular';
|
|
92
95
|
export { default as EarListenLight } from './EarListenLight';
|
|
93
96
|
export { default as EarthAfricaLight } from './EarthAfricaLight';
|
|
94
97
|
export { default as EllipsisLight } from './EllipsisLight';
|
|
@@ -208,6 +211,7 @@ export { default as MessageTextLight } from './MessageTextLight';
|
|
|
208
211
|
export { default as MessageTextThin } from './MessageTextThin';
|
|
209
212
|
export { default as MessageThin } from './MessageThin';
|
|
210
213
|
export { default as MessagesLight } from './MessagesLight';
|
|
214
|
+
export { default as MicrophoneRegular } from './MicrophoneRegular';
|
|
211
215
|
export { default as MinusLight } from './MinusLight';
|
|
212
216
|
export { default as MobileLight } from './MobileLight';
|
|
213
217
|
export { default as MoneyBillTransferLight } from './MoneyBillTransferLight';
|
|
@@ -271,6 +275,7 @@ export { default as SidebarLight } from './SidebarLight';
|
|
|
271
275
|
export { default as SitemapLight } from './SitemapLight';
|
|
272
276
|
export { default as SkypeBrands } from './SkypeBrands';
|
|
273
277
|
export { default as SlackBrands } from './SlackBrands';
|
|
278
|
+
export { default as SnoozeRegular } from './SnoozeRegular';
|
|
274
279
|
export { default as SnowflakeLight } from './SnowflakeLight';
|
|
275
280
|
export { default as SortDownLight } from './SortDownLight';
|
|
276
281
|
export { default as SortLight } from './SortLight';
|
|
@@ -278,6 +283,7 @@ export { default as SortUpLight } from './SortUpLight';
|
|
|
278
283
|
export { default as SparklesLight } from './SparklesLight';
|
|
279
284
|
export { default as SparklesRegular } from './SparklesRegular';
|
|
280
285
|
export { default as SparklesSolid } from './SparklesSolid';
|
|
286
|
+
export { default as SpinnerRegular } from './SpinnerRegular';
|
|
281
287
|
export { default as SpinnerThirdDuotoneSolid } from './SpinnerThirdDuotoneSolid';
|
|
282
288
|
export { default as SpotifyBrands } from './SpotifyBrands';
|
|
283
289
|
export { default as SquareArrowUpRightLight } from './SquareArrowUpRightLight';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@benefex/icons",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Benefex icon package",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"scripts": {
|
|
12
12
|
"test": "npx jest --coverage",
|
|
13
|
+
"ci-test": "CI=true npm test -- --coverage --ci --runInBand",
|
|
13
14
|
"lint": "echo 'No linting'",
|
|
14
15
|
"clean": "rm -rf ./generated && rm -rf ./dist",
|
|
15
16
|
"build:icons": "npx @svgr/cli --out-dir generated ./src/svgs/ && cp src/svgr.ts generated",
|
|
@@ -17,7 +18,14 @@
|
|
|
17
18
|
"build": "npm run clean && npm run build:icons && npm run build:tsc",
|
|
18
19
|
"prepublishOnly": "npm run build",
|
|
19
20
|
"storybook": "npm run build && storybook dev -p 6006",
|
|
20
|
-
"build-storybook": "npm run build && storybook build"
|
|
21
|
+
"build-storybook": "npm run build && storybook build",
|
|
22
|
+
"prepare": "husky",
|
|
23
|
+
"check-version": "git fetch --tags && git describe --tags --abbrev=0"
|
|
24
|
+
},
|
|
25
|
+
"commitlint": {
|
|
26
|
+
"extends": [
|
|
27
|
+
"@commitlint/config-conventional"
|
|
28
|
+
]
|
|
21
29
|
},
|
|
22
30
|
"repository": {
|
|
23
31
|
"type": "git",
|
|
@@ -34,6 +42,8 @@
|
|
|
34
42
|
},
|
|
35
43
|
"homepage": "https://github.com/BenefexLtd/onehub-icons#readme",
|
|
36
44
|
"devDependencies": {
|
|
45
|
+
"@commitlint/cli": "^19.8.1",
|
|
46
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
37
47
|
"@storybook/addon-essentials": "^8.1.10",
|
|
38
48
|
"@storybook/addon-links": "^8.1.10",
|
|
39
49
|
"@storybook/blocks": "^8.1.10",
|
|
@@ -43,6 +53,7 @@
|
|
|
43
53
|
"@types/react": "^18.3.3",
|
|
44
54
|
"@types/react-dom": "^18.3.0",
|
|
45
55
|
"camelcase": "^8.0.0",
|
|
56
|
+
"husky": "^9.1.6",
|
|
46
57
|
"jest": "^29.7.0",
|
|
47
58
|
"react": "^18.3.1",
|
|
48
59
|
"react-dom": "^18.3.1",
|
|
@@ -51,5 +62,8 @@
|
|
|
51
62
|
},
|
|
52
63
|
"peerDependencies": {
|
|
53
64
|
"react": "16 - 18"
|
|
65
|
+
},
|
|
66
|
+
"dependencies": {
|
|
67
|
+
"conventional-changelog-conventionalcommits": "^9.1.0"
|
|
54
68
|
}
|
|
55
69
|
}
|