From e48b7d8332d9b8fa94747d409a04af432301fb72 Mon Sep 17 00:00:00 2001 From: jeffvg Date: Fri, 19 Nov 2021 11:14:40 -0500 Subject: [PATCH] add brightlayer refs --- .circleci/config.yml | 10 +- .eslintrc.js | 2 +- .github/config.yml | 2 +- README.md | 16 +- cypress/support/README.md | 2 +- package.json | 21 +- public/index.html | 6 +- public/manifest.json | 6 +- scripts/crawl/sitemap.json | 10 +- src/__configuration__/community/index.tsx | 16 +- .../contributors/contributors.ts | 2 +- src/__configuration__/design/resources.tsx | 12 +- src/__configuration__/landingPage/cardData.ts | 18 +- .../markdown/markdownMapping.tsx | 2 +- .../navigationMenu/navigation.tsx | 14 +- src/__configuration__/resources/index.tsx | 178 +- src/__configuration__/style/index.tsx | 8 +- src/__configuration__/themes/christmas.ts | 6 +- src/__configuration__/themes/default.ts | 2 +- src/__configuration__/themes/diwali.ts | 6 +- src/__configuration__/themes/earth-day.ts | 4 +- src/__configuration__/themes/halloween.ts | 4 +- src/__configuration__/themes/hanukkah.ts | 6 +- .../themes/independence-day.ts | 6 +- src/__configuration__/themes/kwanzaa.ts | 6 +- .../themes/may-the-fourth.ts | 4 +- .../themes/mid-autumn-festival.ts | 6 +- src/__configuration__/themes/new-years.ts | 4 +- .../themes/spring-festival.ts | 4 +- .../themes/st-patricks-day.ts | 4 +- src/__configuration__/themes/thanksgiving.ts | 6 +- src/__configuration__/themes/types.ts | 2 +- src/__configuration__/themes/women-s-day.ts | 4 +- src/app/api/index.tsx | 12 +- ...mity.svg => brightlayer-ui-conformity.svg} | 0 src/app/assets/icons/PXBLogo.tsx | 6 +- src/app/components/colors/Colors.tsx | 8 +- .../components/colors/HeadlineWithToggle.tsx | 2 +- .../contributors/MaintainersCards.tsx | 2 +- src/app/components/docsUtil/DemoCard.tsx | 8 +- .../docsUtil/MaterialDesignDescription.tsx | 2 +- .../icons/CopyToClipboardButton.tsx | 2 +- src/app/components/icons/IconBrowser.tsx | 20 +- src/app/components/icons/IconDrawer.tsx | 9 +- src/app/components/icons/IconGrid.tsx | 4 +- src/app/components/icons/ProgressIconCard.tsx | 12 +- src/app/components/icons/utilityFunctions.tsx | 30 +- src/app/components/layout/CardCarousel.tsx | 2 +- src/app/components/layout/PageContent.tsx | 4 +- src/app/components/navigation/FooterLinks.tsx | 12 +- .../components/navigation/SharedToolbar.tsx | 6 +- src/app/components/resources/ButtonRow.tsx | 10 +- src/app/components/resources/ResourceRow.tsx | 8 +- .../resources/buttons/BugsButton.tsx | 2 +- .../resources/buttons/BuildButton.tsx | 2 +- .../resources/buttons/DemoButton.tsx | 2 +- src/app/components/theme/ThemeExplorer.tsx | 4 +- src/app/components/theme/demos/AppBarDemo.tsx | 4 +- .../theme/demos/BottomNavigationDemo.tsx | 2 +- src/app/components/theme/demos/DialogDemo.tsx | 2 +- .../components/theme/demos/EmptyStateDemo.tsx | 2 +- src/app/components/theme/demos/ListDemo.tsx | 6 +- .../components/theme/demos/ScoreCardDemo.tsx | 6 +- src/app/pages/LandingPage.tsx | 8 +- src/app/pages/MarkdownPage.tsx | 2 +- src/app/pages/Roadmap.tsx | 10 +- src/app/pages/SearchBar.tsx | 2 +- src/app/router/index.tsx | 4 +- src/app/router/navigationDrawer.tsx | 6 +- src/database/index-database.json | 4 +- src/database/sitemap-database.json | 90 +- src/docs/community/bugs.mdx | 10 +- src/docs/community/contactus.mdx | 6 +- src/docs/community/faq.mdx | 44 +- src/docs/community/features.mdx | 6 +- src/docs/community/home.mdx | 2 +- src/docs/community/innersourcing.mdx | 14 +- src/docs/community/license.mdx | 6 +- src/docs/community/our-team.mdx | 20 +- src/docs/community/rebrand.mdx | 14 +- src/docs/design/accessibility.mdx | 8 +- src/docs/design/anatomy.mdx | 20 +- src/docs/design/intro.mdx | 14 +- src/docs/design/project-identity.mdx | 32 +- src/docs/design/websites.mdx | 8 +- src/docs/development/cli.mdx | 20 +- src/docs/development/environment.mdx | 2 +- .../development/frameworks-mobile/cordova.mdx | 2 +- .../development/frameworks-mobile/intro.mdx | 6 +- .../development/frameworks-mobile/ionic.mdx | 32 +- .../frameworks-mobile/react-native.mdx | 58 +- .../development/frameworks-web/angular.mdx | 64 +- src/docs/development/frameworks-web/intro.mdx | 6 +- src/docs/development/frameworks-web/react.mdx | 60 +- src/docs/development/testing.mdx | 8 +- src/docs/get-started/mobile.mdx | 4 +- src/docs/get-started/web.mdx | 4 +- src/docs/overview.mdx | 24 +- src/docs/patterns/account-menu.mdx | 34 +- src/docs/patterns/appbar.mdx | 38 +- src/docs/patterns/empty-states.mdx | 16 +- src/docs/patterns/forms.mdx | 30 +- src/docs/patterns/home.mdx | 2 +- src/docs/patterns/internationalization.mdx | 10 +- src/docs/patterns/layout.mdx | 2 +- src/docs/patterns/lists.mdx | 58 +- src/docs/patterns/loading.mdx | 20 +- src/docs/patterns/navigation.mdx | 16 +- src/docs/patterns/overlay.mdx | 20 +- src/docs/patterns/steppers.mdx | 10 +- src/docs/patterns/user-auth.mdx | 14 +- src/docs/patterns/visualizations.mdx | 30 +- src/docs/release-notes/R10/R10.mdx | 16 +- src/docs/release-notes/R11/R11.mdx | 6 +- src/docs/release-notes/R11/Summary.mdx | 2 +- src/docs/release-notes/R12/R12.mdx | 6 +- src/docs/release-notes/R13/R13.mdx | 6 +- src/docs/release-notes/R14/R14.mdx | 4 +- src/docs/release-notes/R14/Summary.mdx | 2 +- src/docs/release-notes/R15/R15.mdx | 8 +- src/docs/release-notes/R15/Summary.mdx | 4 +- src/docs/release-notes/R16/R16.mdx | 16 +- src/docs/release-notes/R16/Summary.mdx | 2 +- src/docs/release-notes/R17/R17.mdx | 20 +- src/docs/release-notes/R17/Summary.mdx | 2 +- src/docs/release-notes/R18/R18.mdx | 8 +- src/docs/release-notes/R18/Summary.mdx | 2 +- src/docs/release-notes/R19/R19.mdx | 12 +- src/docs/release-notes/R19/Summary.mdx | 2 +- src/docs/release-notes/R20/R20.mdx | 8 +- src/docs/release-notes/R21/R21.mdx | 48 +- src/docs/release-notes/R7/R7.mdx | 10 +- src/docs/release-notes/R7/Summary.mdx | 2 +- src/docs/release-notes/R8/R8.mdx | 4 +- src/docs/release-notes/R8/Summary.mdx | 2 +- src/docs/release-notes/R9/R9.mdx | 6 +- src/docs/release-notes/R9/Summary.mdx | 4 +- src/docs/resources/designer.mdx | 2 +- src/docs/style/color.mdx | 16 +- src/docs/style/home.mdx | 2 +- src/docs/style/iconography.mdx | 14 +- src/docs/style/illustrations.mdx | 2 +- src/docs/style/themes.mdx | 28 +- src/docs/style/typography.mdx | 16 +- src/index.tsx | 6 +- yarn.lock | 6018 ++++++++--------- 146 files changed, 3883 insertions(+), 3933 deletions(-) rename src/app/assets/{pxblue-conformity.svg => brightlayer-ui-conformity.svg} (100%) diff --git a/.circleci/config.yml b/.circleci/config.yml index 33c7f3c30..a5e79fac8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,11 +8,11 @@ jobs: - MASTER_BRANCH: master - DEV_BRANCH: dev - DEV_TARGET: https://github.com/px-blue/px-blue.github.io - - MASTER_TARGET: https://github.com/pxblue/pxblue.github.io + - MASTER_TARGET: https://github.com/brightlayer-ui/brightlayer-ui.github.io - BLUI_DEV_TARGET: https://github.com/brightlayer-ui-dev/brightlayer-ui-dev.github.io - BLUI_MASTER_TARGET: https://github.com/brightlayer-ui/brightlayer-ui.github.io - - GH_EMAIL: pxblue@eaton.com - - GH_NAME: PX Blue Agent + - GH_EMAIL: brightlayer-ui@eaton.com + - GH_NAME: Brightlayer UI Agent steps: - checkout - restore_cache: @@ -22,7 +22,7 @@ jobs: name: Install dependencies command: | yarn install - yarn upgrade @pxblue/icons-mui + yarn upgrade @brightlayer-ui/icons-mui - save_cache: paths: - node_modules @@ -90,7 +90,7 @@ jobs: git config --global user.name "$GH_NAME" if [ $CIRCLE_BRANCH == $MASTER_BRANCH ]; then - echo "Not publishing yet since org 'pxblue' has not changed name yet." + echo "Not publishing yet since org 'brightlayer-ui' has not changed name yet." # git clone $BLUI_MASTER_TARGET out-blui else git clone $BLUI_DEV_TARGET out-blui diff --git a/.eslintrc.js b/.eslintrc.js index c960478bb..e6279669c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,6 +1,6 @@ module.exports = { parser: '@typescript-eslint/parser', - extends: ['@pxblue/eslint-config/tsx'], + extends: ['@brightlayer-ui/eslint-config/tsx'], parserOptions: { project: './tsconfig.json', }, diff --git a/.github/config.yml b/.github/config.yml index a9294ecfd..ebeca4b1f 100644 --- a/.github/config.yml +++ b/.github/config.yml @@ -16,6 +16,6 @@ newPRWelcomeComment: > # Comment to be posted to on pull requests merged by a first time user firstPRMergeComment: > - Congrats on merging your first pull request 👍! Welcome to the PX Blue community 🤗! + Congrats on merging your first pull request 👍! Welcome to the Brightlayer UI community 🤗! # It is recommend to include as many gifs and emojis as possible diff --git a/README.md b/README.md index 3477a4435..14329b1ff 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ -# Doc-It (a.k.a. pxblue.github.io) +# Doc-It (a.k.a. brightlayer-ui.github.io) -[![CircleCI](https://circleci.com/gh/pxblue/doc-it/tree/master.svg?style=shield&circle-token=fc2656a76d70b4ff9cdc66cccc758c0dfbf89d25)](https://circleci.com/gh/pxblue/doc-it/tree/master) +[![CircleCI](https://circleci.com/gh/brightlayer-ui/doc-it/tree/master.svg?style=shield&circle-token=fc2656a76d70b4ff9cdc66cccc758c0dfbf89d25)](https://circleci.com/gh/brightlayer-ui/doc-it/tree/master) -Doc-It is the source code for the pxblue.github.io documentation site for Power Xpert Blue. The site is built to both provide documentation on how to use the system, but also as an example of how to use it. The entire site is using using the PX Blue design system - built with React+Redux, Material UI, and the PX Blue component library. +Doc-It is the source code for the brightlayer-ui.github.io documentation site for Brightlayer UI. The site is built to both provide documentation on how to use the system, but also as an example of how to use it. The entire site is using using the Brightlayer UI design system - built with React+Redux, Material UI, and the Brightlayer UI component library. ## Contributing To contribute to the documentation site, you will need to clone a local copy of the repository: ``` -git clone https://github.com/pxblue/doc-it +git clone https://github.com/brightlayer-ui/doc-it ``` You can then install the necessary dependencies and run a local instance with the following commands: @@ -51,9 +51,9 @@ The folder structure of the application is segregated to keep the application an │ └── /shared // extra utility functions | └── /docs // markdown-based page definitions - |── /community // information on how to be a part of PX Blue - |── /design // information for designers using PX Blue - |── /development // information for developers using PX Blue + |── /community // information on how to be a part of Brightlayer UI + |── /design // information for designers using Brightlayer UI + |── /development // information for developers using Brightlayer UI |── /get-started // information on getting started with a project |── /patterns // design patterns and sample code |── /release-notes // information about past releases @@ -66,7 +66,7 @@ The Doc-it project is configured with automated builds and deployment scripts. When changes are committed to the dev branch, they are automatically run through the test scripts and if the tests pass, the site is deployed to the staging server. -When changes are committed to the master branch and the tests pass, the changes are automatically deployed to pxblue.github.io. +When changes are committed to the master branch and the tests pass, the changes are automatically deployed to brightlayer-ui.github.io. ## Browsers support diff --git a/cypress/support/README.md b/cypress/support/README.md index f2fa0e17d..f32b385c6 100644 --- a/cypress/support/README.md +++ b/cypress/support/README.md @@ -1,5 +1,5 @@ Applitools admin console test results https://auth.applitools.com/users/login -Authentication located in Teams wiki PX Blue Logistical. +Authentication located in Teams wiki Brightlayer UI Logistical. Cypress.io and Applitools eyes-cypress package are configured to run out of the integration folder. UI tests are defined by vs-test-name.spec.js and normal cypress tests are test-name.spec.js diff --git a/package.json b/package.json index 2705a63b1..ce3dc5e6b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "doc-it", - "author": "PX Blue ", + "author": "Brightlayer UI ", "version": "2.4.2", "private": true, "scripts": { @@ -22,19 +22,20 @@ "indexer": "cd scripts/crawl && node crawler.js && node indexer.js && cd ../.. && prettier \"src/database/*.json\" --write", "analyze": "source-map-explorer 'build/static/js/*.js'" }, - "prettier": "@pxblue/prettier-config", + "prettier": "@brightlayer-ui/prettier-config", "dependencies": { "@brainhubeu/react-carousel": "1.12.15", + "@brightlayer-ui/colors": "^3.0.1", + "@brightlayer-ui/colors-branding": "^3.1.0", + "@brightlayer-ui/icons-mui": "^2.7.0", + "@brightlayer-ui/react-components": "^5.3.2", + "@brightlayer-ui/react-progress-icons": "^2.1.1", + "@brightlayer-ui/react-themes": "^6.1.0", "@fontsource/roboto-mono": "^4.1.1", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.11.2", "@material-ui/lab": "^4.0.0-alpha.56", - "@pxblue/colors": "^3.0.0", - "@pxblue/colors-branding": "^3.0.0", - "@pxblue/icons-mui": "^2.5.0", - "@pxblue/react-components": "^5.3.1", - "@pxblue/react-progress-icons": "^2.1.0", - "@pxblue/react-themes": "^6.1.0", + "@pxblue/icons-mui": "^2.7.0", "axios": "^0.19.2", "clsx": "^1.1.0", "color": "^3.1.3", @@ -54,11 +55,11 @@ }, "devDependencies": { "@babel/core": "7.12.3", + "@brightlayer-ui/eslint-config": "^2.0.5", + "@brightlayer-ui/prettier-config": "^1.0.3", "@mdx-js/loader": "^1.5.5", "@mdx-js/react": "^1.5.5", "@pmmmwh/react-refresh-webpack-plugin": "0.4.3", - "@pxblue/eslint-config": "^2.0.0", - "@pxblue/prettier-config": "^1.0.2", "@svgr/webpack": "5.5.0", "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0", diff --git a/public/index.html b/public/index.html index e8e4661e9..f13b6a5e5 100644 --- a/public/index.html +++ b/public/index.html @@ -2,10 +2,10 @@ - + - + - Power Xpert Blue | Powering Teams to Make What Matters + Brightlayer UI | Powering Teams to Make What Matters