Skip to content

Commit

Permalink
Merge pull request #164 from pxblue/dev
Browse files Browse the repository at this point in the history
Go BLUI
  • Loading branch information
jeffvg authored Nov 3, 2021
2 parents a9d7a07 + 281b469 commit c971405
Show file tree
Hide file tree
Showing 206 changed files with 1,873 additions and 1,937 deletions.
24 changes: 12 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@ jobs:
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run:
name: Publish @pxblue/icons
name: Publish @brightlayer-ui/icons
command: yarn publish:package -b $CIRCLE_BRANCH
- run:
name: Publish @pxblue/icons-svg
name: Publish @brightlayer-ui/icons-svg
command: cd svg && yarn publish:package -b $CIRCLE_BRANCH
- run:
name: Publish @pxblue/icons-mui
name: Publish @brightlayer-ui/icons-mui
command: cd mui && yarn publish:package -b $CIRCLE_BRANCH
- run:
name: Publish @pxblue/react-native-vector-icons
name: Publish @brightlayer-ui/react-native-vector-icons
command: cd rn-vector && yarn publish:package -b $CIRCLE_BRANCH

tag:
Expand All @@ -77,17 +77,17 @@ jobs:
at: .
- gh/setup
- run:
name: Tag @pxblue/icons
command: yarn tag:package -b $CIRCLE_BRANCH
name: Tag @brightlayer-ui/icons
command: yarn tag:package -b $CIRCLE_BRANCH -s -blui-icons
- run:
name: Tag @pxblue/icons-svg
command: cd svg && yarn tag:package -b $CIRCLE_BRANCH
name: Tag @brightlayer-ui/icons-svg
command: cd svg && yarn tag:package -b $CIRCLE_BRANCH -s -blui-icons-svg
- run:
name: Tag @pxblue/icons-mui
command: cd mui && yarn tag:package -b $CIRCLE_BRANCH
name: Tag @brightlayer-ui/icons-mui
command: cd mui && yarn tag:package -b $CIRCLE_BRANCH -s -blui-icons-mui
- run:
name: Tag @pxblue/react-native-vector-icons
command: cd rn-vector && yarn tag:package -b $CIRCLE_BRANCH
name: Tag @brightlayer-ui/react-native-vector-icons
command: cd rn-vector && yarn tag:package -b $CIRCLE_BRANCH -s -blui-react-native-vector-icons
workflows:
version: 2
icons:
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## v1.7.1 (November 3, 2021)

### Changed

- Changed package namespace from `@pxblue` to `@brightlayer-ui`.

## Package Migration Notice

Previous versions listed after this indicator refer to our deprecated `@pxblue` packages.

---

## v1.7.1 (October 27, 2021)

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions PUBLISHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ This package is published to NPM automatically by CircleCI when code is merged i

If you need to publish a package manually, you can run the following commands from the root folder:

### @pxblue/icons
### @brightlayer-ui/icons
```
yarn build
yarn publish:package
```

### @pxblue/icons-svg
### @brightlayer-ui/icons-svg
```
yarn build:all
cd svg
Expand Down
44 changes: 22 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# PX Blue Supplemental Icons
# Brightlayer UI Supplemental Icons

[![](https://img.shields.io/npm/v/@pxblue/icons.svg?label=@pxblue/icons&style=flat)](https://www.npmjs.com/package/@pxblue/icons)
[![](https://img.shields.io/npm/v/@pxblue/icons-svg.svg?label=@pxblue/icons-svg&style=flat)](https://www.npmjs.com/package/@pxblue/icons-svg)
[![](https://img.shields.io/circleci/project/github/pxblue/icons/master.svg?style=flat)](https://circleci.com/gh/pxblue/icons/tree/master)
[![](https://img.shields.io/npm/v/@brightlayer-ui/icons.svg?label=@brightlayer-ui/icons&style=flat)](https://www.npmjs.com/package/@brightlayer-ui/icons)
[![](https://img.shields.io/npm/v/@brightlayer-ui/icons-svg.svg?label=@brightlayer-ui/icons-svg&style=flat)](https://www.npmjs.com/package/@brightlayer-ui/icons-svg)
[![](https://img.shields.io/circleci/project/github/brightlayer-ui/icons/master.svg?style=flat)](https://circleci.com/gh/brightlayer-ui/icons/tree/master)

This is a library of supplemental icons, to be used in conjunction with the standard Material Design icons in PX Blue applications.
This is a library of supplemental icons, to be used in conjunction with the standard Material Design icons in Brightlayer UI applications.

## Installation

To install the PX Blue icon font from NPM as a dependency for your project, you can run one of the following commands in your project root:
To install the Brightlayer UI icon font from NPM as a dependency for your project, you can run one of the following commands in your project root:

```
npm install --save @pxblue/icons
npm install --save @brightlayer-ui/icons
or
yarn add @pxblue/icons
yarn add @brightlayer-ui/icons
```

You then need to reference the font in your application so that it is available for use.
Expand All @@ -25,7 +25,7 @@ In order to use the icon font, you will need to modify your angular.json file "s
```
"styles": [
"src/styles.scss",
"./node_modules/@pxblue/icons/iconfont/PXBlueIcons.css"
"./node_modules/@brightlayer-ui/icons/iconfont/BrightlayerUIIcons.css"
],
```

Expand All @@ -34,46 +34,46 @@ In order to use the icon font, you will need to modify your angular.json file "s
For React, you'll need to require the font in your top-level JS file (typically index.js).

```
require('@pxblue/icons/iconfont/PXBlueIcons.css');
require('@brightlayer-ui/icons/iconfont/BrightlayerUIIcons.css');
```

## Using the icon font in your application

This will make the PX Blue icons available to your code by using the appropriate class name (className for React) on a `<i>` element, e.g.:
This will make the Brightlayer UI icons available to your code by using the appropriate class name (className for React) on a `<i>` element, e.g.:

```
<i class="pxb-ICONNAME"></i>
<i class="blui-ICONNAME"></i>
```

### Applying Different Colors

To change the color of the icon you are using, simply set the CSS color property. This property is inheritable, so if the property is not set on your icon, it will be inherited from the parent container.

```
<i class="pxb-ICONNAME" style="color: red"></i>
<i class="blui-ICONNAME" style="color: red"></i>
```

### Available Icons

See the [Iconography](https://pxblue.github.io/style/iconography) on pxblue.github.io for a list of currently available icons.
See the [Iconography](https://brightlayer-ui.github.io/style/iconography) on brightlayer-ui.github.io for a list of currently available icons.

## Usage Alternatives

The icon font is a great way to include lots of icons in your application. If you only need a few, you can also check out these alternative packages:

- [SVG Icons](https://www.npmjs.com/package/@pxblue/icons-svg)
- [React Components](https://www.npmjs.com/package/@pxblue/icons-mui)
- [React Native Vector Icons](https://www.npmjs.com/package/@pxblue/react-native-vector-icons)
- [SVG Icons](https://www.npmjs.com/package/@brightlayer-ui/icons-svg)
- [React Components](https://www.npmjs.com/package/@brightlayer-ui/icons-mui)
- [React Native Vector Icons](https://www.npmjs.com/package/@brightlayer-ui/react-native-vector-icons)

We also have PX Blue oneline symbols (ported from PX Blue 1.0) available:
We also have Brightlayer UI one-line symbols (ported from Brightlayer UI 1.0) available:

- [SVG Symbols](https://www.npmjs.com/package/@pxblue/symbols)
- [React Components](https://www.npmjs.com/package/@pxblue/symbols-mui)
- [SVG Symbols](https://www.npmjs.com/package/@brightlayer-ui/symbols)
- [React Components](https://www.npmjs.com/package/@brightlayer-ui/symbols-mui)

Our library of dynamic progress icons has been split off into a dedicated repository:

- [Progress Icons](https://github.com/pxblue/progress-icons)
- [Progress Icons](https://github.com/brightlayer-ui/progress-icons)

# For Icon Creators

Please read the instructions in the [Design](https://github.com/pxblue/icons/blob/master/design/README.md) folder before creating or submitting new icons.
Please read the instructions in the [Design](https://github.com/brightlayer-ui/icons/blob/master/design/README.md) folder before creating or submitting new icons.
2 changes: 1 addition & 1 deletion design/.svgsus
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"tags":{"px_stop_24px.svg":["stop","stopping"],"px_stopping_24px.svg":["stop","stopping process"],"contextualinquiry.svg":[]},"notes":""}
{"tags":{"blui_stop_24px.svg":["stop","stopping"],"blui_stopping_24px.svg":["stop","stopping process"],"contextualinquiry.svg":[]},"notes":""}
1 change: 0 additions & 1 deletion design/Agriculture/Leaf/leaf.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion design/Devices/Bearing/bearing.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion design/Devices/Breaker/breaker.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion design/Devices/Camera/camera.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion design/Devices/Capacitor/capacitor_large.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion design/Devices/Computer/computer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion design/Devices/Contactor/contactor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion design/Devices/Device/device.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion design/Devices/Ephesus Fixture/ephesus_fixture.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion design/Devices/Ephesus Gateway/ephesus_gateway.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion design/Devices/Fan/fan.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion design/Devices/Generator/generator_off.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion design/Devices/Network Switch/network_switch.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion design/Devices/PDU/pdu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion design/Devices/Pump/pump.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c971405

Please sign in to comment.