Skip to content

Commit 1ebb02f

Browse files
authored
Merge pull request #2204 from microsoftgraph/merge/main-to-next
chore: merge main to next
2 parents 40b87f9 + 4830d47 commit 1ebb02f

File tree

19 files changed

+96
-51
lines changed

19 files changed

+96
-51
lines changed

.github/workflows/pr-storybook.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ jobs:
2727

2828
- name: Install deps 🛠
2929
run: |
30-
npm install -g yarn lerna
30+
echo "installing yarn"
31+
npm install -g yarn
32+
echo "installing deps for packages"
3133
yarn
3234
- name: Extract tag name
3335
shell: bash

.github/workflows/push-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858

5959
- name: Install Dependencies
6060
run: |
61-
npm install -g yarn lerna
61+
npm install -g yarn lerna@6.4.1
6262
yarn
6363
6464
- name: Update package version

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: Install Dependencies
2929
run: |
30-
npm install -g yarn lerna
30+
npm install -g yarn lerna@6.4.1
3131
yarn
3232
3333
- name: Set Preview Version

.github/workflows/storybook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Build 🛠
2828
run: |
29-
npm install -g yarn lerna
29+
npm install -g yarn lerna@6.4.1
3030
yarn
3131
yarn build
3232
yarn storybook:build

.storybook/preview-body.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,21 @@
8080
color: #0360B9 !important;
8181
}
8282

83-
.css-zj0253 * .token.attr-name {
83+
/* fix attributes in html rendering */
84+
.mtk4, .css-zj0253 * .token.attr-name {
8485
color: #e50000 !important;
8586
}
8687

88+
/* fix number colors in monaco editor */
89+
.mtk7 {
90+
color: #088155 !important;
91+
}
92+
8793
.css-3ltsna:focus-visible {
8894
outline: auto;
8995
}
9096

97+
9198
@media (max-width: 768px) {
9299
.story-mgt-root {
93100
flex-direction: column;

.storybook/preview-head.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@
1010
};
1111
awa.init(config);
1212
</script>
13+
<style>
14+
a {
15+
text-decoration: underline !important;
16+
}
17+
</style>

.storybook/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const es6Bundle = {
2727
output: {
2828
dir: 'assets',
2929
entryFileNames: 'mgt.storybook.js',
30-
format: 'esm',
30+
format: 'esm'
3131
},
3232
plugins: [
3333
babel({

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@
125125
"jest-junit": "^15.0.0",
126126
"lerna": "^3.22.1",
127127
"lit": "^2.3.1",
128-
"monaco-editor": "^0.19.3",
129-
"monaco-editor-webpack-plugin": "^1.8.2",
128+
"monaco-editor": "^0.30.0",
129+
"monaco-editor-webpack-plugin": "^6.0.0",
130130
"node-sass": "npm:sass@^1.44.0",
131131
"npm-run-all": "^4.1.5",
132132
"prettier": "2.2.1",

packages/mgt-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"build": "npm-run-all clean build:compile",
2828
"build:compile": "npm-run-all sass compile",
2929
"build:watch": "npm-run-all -p sass:watch compile:watch",
30-
"clean": "shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo",
30+
"clean": "shx rm -rf ./dist && shx rm -rf ./tsconfig.tsbuildinfo && shx rm 'src/**/*-css.ts' || shx true",
3131
"compile": "tsc -b",
3232
"compile:watch": "tsc -w",
3333
"lint": "eslint -c ../../.eslintrc.js 'src/**/*.ts'",

packages/mgt-components/src/components/mgt-people-picker/mgt-people-picker.scss

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
@import './mgt-people-picker.theme.scss';
1111

1212
$person-wrapper-background-hover: #fafafa;
13+
$flyout-line1-text-font-size: var(--people-picker-flyout-line1-text-font-size, 14px);
14+
$flyout-line1-text-font-weight: var(--people-picker-flyout-line1-text-font-weight, normal);
15+
$flyout-line2-text-font-size: var(--people-picker-flyout-line2-text-font-size, 12px);
16+
$flyout-line2-text-font-weight: var(--people-picker-flyout-line1-text-font-weight, normal);
1317

1418
// Main
1519
:host {
@@ -149,13 +153,13 @@ mgt-people-picker .root {
149153
.people-person-text-area {
150154
margin-left: 13px;
151155
flex: 1 1 0;
152-
max-height: 40px;
156+
min-height: 40px;
153157
overflow: hidden;
154158
color: $dropdown-item__text__color;
155159

156160
.people-person-text {
157-
font-size: 14px;
158-
font-weight: normal;
161+
font-size: $flyout-line1-text-font-size;
162+
font-weight: $flyout-line1-text-font-weight;
159163
margin: 0;
160164
padding: 0;
161165
&.highlight-search-text {
@@ -314,8 +318,8 @@ mgt-people-picker .message-parent {
314318
mgt-people-picker .people-person-job-title {
315319
flex: 100%;
316320
order: 3;
317-
font-weight: normal;
318-
font-size: 12px;
321+
font-size: $flyout-line2-text-font-size;
322+
font-weight: $flyout-line2-text-font-weight;
319323
&.uppercase {
320324
text-transform: uppercase;
321325
}

0 commit comments

Comments
 (0)