Skip to content

Commit

Permalink
(chore) Upgrade Carbon (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
NethmiRodrigo authored Aug 8, 2024
1 parent 3812009 commit 358160c
Show file tree
Hide file tree
Showing 8 changed files with 442 additions and 125 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"@babel/core": "^7.22.17",
"@carbon/react": "^1.37.0",
"@carbon/react": "^1.63.1",
"@openmrs/esm-framework": "next",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.84",
Expand Down
1 change: 0 additions & 1 deletion packages/esm-home-app/src/dashboard/home-dashboard.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@use '@carbon/colors';
@use '@carbon/styles/scss/spacing';

.homePageWrapper {
display: flex;
Expand Down
1 change: 0 additions & 1 deletion packages/esm-home-app/src/declarations.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
declare module '@carbon/react';
declare module '*.css';
declare module '*.scss';
declare module '*.png';
Expand Down
4 changes: 3 additions & 1 deletion packages/esm-home-app/src/header-date/header-date.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use '@carbon/layout';

.value {
margin-left: 0.25rem
margin-left: layout.$spacing-02;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use '@carbon/styles/scss/spacing';
@use '@carbon/layout';

.homePageWidget {
padding: spacing.$spacing-05;
padding: layout.$spacing-05;
}
4 changes: 3 additions & 1 deletion packages/esm-home-app/src/metrics/metrics.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
@use '@carbon/layout';

.metricTilesSlot {
display: flex;
margin: 0.5rem 0.5rem 0 0.5rem;
margin: layout.$spacing-03 layout.$spacing-03 0 layout.$spacing-03;

[data-extension-id] {
flex-grow: 1;
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-home-app/src/page-header/page-header.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use '@carbon/colors';
@use '@carbon/layout';
@use '@carbon/type';
@import '~@openmrs/esm-styleguide/src/vars';
@use '@openmrs/esm-styleguide/src/vars' as *;

.header {
@include type.type-style('body-compact-02');
Expand Down
Loading

0 comments on commit 358160c

Please sign in to comment.