From 04af0d726fdf3a796f36a2c391421881842cc154 Mon Sep 17 00:00:00 2001 From: shubham-eaton Date: Fri, 20 Dec 2024 17:30:27 +0530 Subject: [PATCH 1/3] Updated package with latest version of react theme and component --- package.json | 4 ++-- yarn.lock | 17 ++++++++--------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 8349025..b4f3609 100644 --- a/package.json +++ b/package.json @@ -19,9 +19,9 @@ "dependencies": { "@brightlayer-ui/colors": "^3.1.1", "@brightlayer-ui/icons-mui": "^3.6.0", - "@brightlayer-ui/react-components": "^6.1.2", + "@brightlayer-ui/react-components": "^7.0.0", "@brightlayer-ui/react-progress-icons": "^2.1.1", - "@brightlayer-ui/react-themes": "^8.0.0-alpha.0", + "@brightlayer-ui/react-themes": "^8.0.0", "@date-io/date-fns": "^2.13.1", "@emotion/css": "^11.9.0", "@emotion/react": "^11.10.6", diff --git a/yarn.lock b/yarn.lock index 33f1410..faca699 100644 --- a/yarn.lock +++ b/yarn.lock @@ -493,12 +493,11 @@ resolved "https://registry.yarnpkg.com/@brightlayer-ui/prettier-config/-/prettier-config-1.0.3.tgz#e40a7ae7435c6fd5118acbf249080e0aa81e93af" integrity sha512-EYm3+V7Qd+oYEF+8FadsXAZqXryEHHbGnrV1BMp9selhABjceqUqXPVE4Sn3SKWQdBNJ3En2A3EzgrzRbvRTaw== -"@brightlayer-ui/react-components@^6.1.2": - version "6.3.0" - resolved "https://registry.yarnpkg.com/@brightlayer-ui/react-components/-/react-components-6.3.0.tgz#59d03ac9f0dbbb9b56f3e639068d6463c8c70738" - integrity sha512-EQc2PfQ/jxMUzppA4Wykxp1jfN6VCvJveAGvGluCbuXf6tPrFeeAGsUfunA/IcqUnD9whidPw+E7iGaI1+dhTQ== +"@brightlayer-ui/react-components@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@brightlayer-ui/react-components/-/react-components-7.0.0.tgz#113113c39bc144ebb96c60c908f2a58ad0b3fa1c" + integrity sha512-H+FfeWA4kIU6LOK/7Wi3PL9mUs+kO8UQfqnfKmo6zURxdmKRSKB1dj4527RzyayWFe1wZFcxVdGtlwNkFvXO7g== dependencies: - "@brightlayer-ui/colors" "^3.1.1" "@emotion/css" "^11.10.5" "@seznam/compose-react-refs" "^1.0.6" color "^4.2.3" @@ -512,10 +511,10 @@ color "^3.1.2" react-jss "^10.4.0" -"@brightlayer-ui/react-themes@^8.0.0-alpha.0": - version "8.0.0-alpha.0" - resolved "https://registry.yarnpkg.com/@brightlayer-ui/react-themes/-/react-themes-8.0.0-alpha.0.tgz#683fdef86cb1a9e5248ebacdb1d73b9fc8799d9b" - integrity sha512-aC5IJD5bEnWvZJqxmNnR4PdZGz+fBqhRX/lNU9OTKRoYKRI8SpdhkgWpWibbboLGUjIWE1AB9WZeyqnybUUJGQ== +"@brightlayer-ui/react-themes@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@brightlayer-ui/react-themes/-/react-themes-8.0.0.tgz#91ad70289889dd8986b6524216345444cdf69624" + integrity sha512-kLo1tSLt+IHG5/xywltIeewLefRZiVSzI7XgIic0I13jQ1Lc3P5e5nj5QHcBzw6CQFQ7r7oOHb7aiIibXpVMwQ== dependencies: "@brightlayer-ui/colors" "^3.1.1" "@fontsource/open-sans" "^5.0.3" From 6acf0f08e639e036acf5b9b9ba9f434eb3f0e4b8 Mon Sep 17 00:00:00 2001 From: shubham-eaton Date: Fri, 20 Dec 2024 17:31:55 +0530 Subject: [PATCH 2/3] Updated package version --- CHANGELOG.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8aebb1a..a32a43f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v3.0.0 + +### Changed + +- Updated to latest version of MUI 6, components and themes + ## v2.0.0 ### Changed diff --git a/package.json b/package.json index b4f3609..644dedf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-showcase-demo", - "version": "2.0.0", + "version": "3.0.0", "private": true, "type": "module", "scripts": { From b863a94de97a891d30b90ad8ae855dd62a9bcc57 Mon Sep 17 00:00:00 2001 From: shubham-eaton Date: Fri, 20 Dec 2024 17:43:42 +0530 Subject: [PATCH 3/3] snapshots updated --- .../__snapshots__/Components.test.tsx.snap | 232 ++++++++++-------- .../__snapshots__/Surfaces.test.tsx.snap | 105 +++++--- 2 files changed, 206 insertions(+), 131 deletions(-) diff --git a/src/__tests__/blui-tests/__snapshots__/Components.test.tsx.snap b/src/__tests__/blui-tests/__snapshots__/Components.test.tsx.snap index a68f6f9..3f0861c 100644 --- a/src/__tests__/blui-tests/__snapshots__/Components.test.tsx.snap +++ b/src/__tests__/blui-tests/__snapshots__/Components.test.tsx.snap @@ -12,8 +12,10 @@ exports[`Component: ChannelValueExample ChannelValueExample renders examples cor Basic Usage

Location Unknown @@ -208,11 +216,11 @@ exports[`Component: EmptyStateExample EmptyStateExample renders examples correct w/ Description

Location Services Disabled
Enable Location Services via Settings to receive GPS information @@ -247,11 +255,11 @@ exports[`Component: EmptyStateExample EmptyStateExample renders examples correct w/ Actions

,
No Devices
Check your network connection or add a new device @@ -335,11 +343,12 @@ exports[`Component: HeroExample HeroExample renders examples correctly 1`] = ` Basic Usage

with a Subtitle @@ -939,7 +974,7 @@ exports[`Component: InfoListItemExample InfoListItemExample renders examples cor } >
with an icon @@ -992,7 +1027,7 @@ exports[`Component: InfoListItemExample InfoListItemExample renders examples cor } >
Item 1 @@ -1067,7 +1102,7 @@ exports[`Component: InfoListItemExample InfoListItemExample renders examples cor } >
with a partial divider @@ -1124,7 +1159,7 @@ exports[`Component: InfoListItemExample InfoListItemExample renders examples cor } >
with a full divider @@ -1162,7 +1197,7 @@ exports[`Component: InfoListItemExample InfoListItemExample renders examples cor
,
  • that is clickable @@ -1249,7 +1284,7 @@ exports[`Component: InfoListItemExample InfoListItemExample renders examples cor } >
    with an avatar @@ -1305,7 +1340,7 @@ exports[`Component: InfoListItemExample InfoListItemExample renders examples cor } >
    with a background color @@ -1362,7 +1397,7 @@ exports[`Component: InfoListItemExample InfoListItemExample renders examples cor } >
    with a left component @@ -1432,7 +1467,7 @@ exports[`Component: InfoListItemExample InfoListItemExample renders examples cor } >
    with a right component @@ -1476,8 +1511,10 @@ exports[`Component: InfoListItemExample InfoListItemExample renders examples cor className="BluiInfoListItem-rightComponent MuiBox-root cssltr-7i4b71" >
    with all properties
    more info... @@ -1600,7 +1637,7 @@ exports[`Component: ListItemTagExample ListItemTagExample renders examples corre Basic Usage

    @@ -1617,7 +1654,7 @@ exports[`Component: ListItemTagExample ListItemTagExample renders examples corre w/ Custom Colors

    @@ -1650,7 +1687,7 @@ exports[`Component: ListItemTagExample ListItemTagExample renders examples corre } >
    with List Item Tags @@ -1693,14 +1730,14 @@ exports[`Component: ListItemTagExample ListItemTagExample renders examples corre className="MuiBox-root cssltr-k008qs" > Build Passing @@ -1751,8 +1788,10 @@ exports[`Component: ThreeLinerExample ThreeLinerExample renders examples correct className="BluiThreeLiner-info MuiBox-root cssltr-9q8ecb" >
    Title
    @@ -52,7 +57,7 @@ exports[`Component: BLUIAppBarExample BLUIAppBarExample renders examples correct className="MuiBox-root cssltr-fvxjzt" >
    W/ Dynamic Content
    Subtitle
    Info
    @@ -117,7 +129,7 @@ exports[`Component: ScoreCardExample ScoreCardExample renders examples correctly } >
  • 1
    2
    3 @@ -1018,18 +1044,21 @@ exports[`Component: SpacerExample SpacerExample renders examples correctly 1`] = >
    1
    2
    3 @@ -1056,18 +1085,21 @@ exports[`Component: SpacerExample SpacerExample renders examples correctly 1`] = >
    1
    2
    3 @@ -1088,18 +1120,21 @@ exports[`Component: SpacerExample SpacerExample renders examples correctly 1`] = >
    1
    2
    3