Skip to content

Commit 6466950

Browse files
authored
Merge branch 'main' into dev-v3-ernstka-standalone-token
2 parents 4e87581 + bda3880 commit 6466950

File tree

8 files changed

+63
-2
lines changed

8 files changed

+63
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
{
178178
"path": "lib/components/internal/widget-exports.js",
179179
"brotli": false,
180-
"limit": "960 kB",
180+
"limit": "962 kB",
181181
"ignore": "react-dom"
182182
}
183183
],

src/__tests__/snapshot-tests/__snapshots__/documenter.test.ts.snap

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2968,6 +2968,7 @@ Instead, use \`onSelect\` in combination with the \`onChange\` handler only as a
29682968
"status-pending",
29692969
"refresh",
29702970
"external",
2971+
"history",
29712972
"group",
29722973
"calendar",
29732974
"ellipsis",
@@ -2988,6 +2989,7 @@ Instead, use \`onSelect\` in combination with the \`onChange\` handler only as a
29882989
"arrow-right",
29892990
"arrow-up",
29902991
"arrow-down",
2992+
"at-symbol",
29912993
"audio-full",
29922994
"audio-half",
29932995
"audio-off",
@@ -3044,6 +3046,7 @@ Instead, use \`onSelect\` in combination with the \`onChange\` handler only as a
30443046
"send",
30453047
"share",
30463048
"shrink",
3049+
"slash",
30473050
"star-filled",
30483051
"star-half",
30493052
"star",
@@ -4944,6 +4947,7 @@ This property is ignored if you use a predefined icon or if you set your custom
49444947
"status-pending",
49454948
"refresh",
49464949
"external",
4950+
"history",
49474951
"group",
49484952
"calendar",
49494953
"ellipsis",
@@ -4964,6 +4968,7 @@ This property is ignored if you use a predefined icon or if you set your custom
49644968
"arrow-right",
49654969
"arrow-up",
49664970
"arrow-down",
4971+
"at-symbol",
49674972
"audio-full",
49684973
"audio-half",
49694974
"audio-off",
@@ -5020,6 +5025,7 @@ This property is ignored if you use a predefined icon or if you set your custom
50205025
"send",
50215026
"share",
50225027
"shrink",
5028+
"slash",
50235029
"star-filled",
50245030
"star-half",
50255031
"star",
@@ -5724,6 +5730,7 @@ The main action also supports the following properties of the [button](/componen
57245730
"status-pending",
57255731
"refresh",
57265732
"external",
5733+
"history",
57275734
"group",
57285735
"calendar",
57295736
"ellipsis",
@@ -5744,6 +5751,7 @@ The main action also supports the following properties of the [button](/componen
57445751
"arrow-right",
57455752
"arrow-up",
57465753
"arrow-down",
5754+
"at-symbol",
57475755
"audio-full",
57485756
"audio-half",
57495757
"audio-off",
@@ -5800,6 +5808,7 @@ The main action also supports the following properties of the [button](/componen
58005808
"send",
58015809
"share",
58025810
"shrink",
5811+
"slash",
58035812
"star-filled",
58045813
"star-half",
58055814
"star",
@@ -13349,6 +13358,7 @@ use the \`id\` attribute, consider setting it on a parent element instead.",
1334913358
"status-pending",
1335013359
"refresh",
1335113360
"external",
13361+
"history",
1335213362
"group",
1335313363
"calendar",
1335413364
"ellipsis",
@@ -13369,6 +13379,7 @@ use the \`id\` attribute, consider setting it on a parent element instead.",
1336913379
"arrow-right",
1337013380
"arrow-up",
1337113381
"arrow-down",
13382+
"at-symbol",
1337213383
"audio-full",
1337313384
"audio-half",
1337413385
"audio-off",
@@ -13425,6 +13436,7 @@ use the \`id\` attribute, consider setting it on a parent element instead.",
1342513436
"send",
1342613437
"share",
1342713438
"shrink",
13439+
"slash",
1342813440
"star-filled",
1342913441
"star-half",
1343013442
"star",
@@ -13662,6 +13674,11 @@ The same applies to switching icons in the same configuration (for example, \`{'
1366213674
"optional": true,
1366313675
"type": "React.ReactNode",
1366413676
},
13677+
{
13678+
"name": "at-symbol",
13679+
"optional": true,
13680+
"type": "React.ReactNode",
13681+
},
1366513682
{
1366613683
"name": "audio-full",
1366713684
"optional": true,
@@ -13912,6 +13929,11 @@ The same applies to switching icons in the same configuration (for example, \`{'
1391213929
"optional": true,
1391313930
"type": "React.ReactNode",
1391413931
},
13932+
{
13933+
"name": "history",
13934+
"optional": true,
13935+
"type": "React.ReactNode",
13936+
},
1391513937
{
1391613938
"name": "insert-row",
1391713939
"optional": true,
@@ -14042,6 +14064,11 @@ The same applies to switching icons in the same configuration (for example, \`{'
1404214064
"optional": true,
1404314065
"type": "React.ReactNode",
1404414066
},
14067+
{
14068+
"name": "slash",
14069+
"optional": true,
14070+
"type": "React.ReactNode",
14071+
},
1404514072
{
1404614073
"name": "star",
1404714074
"optional": true,
@@ -18343,6 +18370,7 @@ This property is ignored if you use a predefined icon or if you set your custom
1834318370
"status-pending",
1834418371
"refresh",
1834518372
"external",
18373+
"history",
1834618374
"group",
1834718375
"calendar",
1834818376
"ellipsis",
@@ -18363,6 +18391,7 @@ This property is ignored if you use a predefined icon or if you set your custom
1836318391
"arrow-right",
1836418392
"arrow-up",
1836518393
"arrow-down",
18394+
"at-symbol",
1836618395
"audio-full",
1836718396
"audio-half",
1836818397
"audio-off",
@@ -18419,6 +18448,7 @@ This property is ignored if you use a predefined icon or if you set your custom
1841918448
"send",
1842018449
"share",
1842118450
"shrink",
18451+
"slash",
1842218452
"star-filled",
1842318453
"star-half",
1842418454
"star",
@@ -20946,6 +20976,7 @@ The event \`detail\` contains the current \`selectedOption\`.",
2094620976
"status-pending",
2094720977
"refresh",
2094820978
"external",
20979+
"history",
2094920980
"group",
2095020981
"calendar",
2095120982
"ellipsis",
@@ -20966,6 +20997,7 @@ The event \`detail\` contains the current \`selectedOption\`.",
2096620997
"arrow-right",
2096720998
"arrow-up",
2096820999
"arrow-down",
21000+
"at-symbol",
2096921001
"audio-full",
2097021002
"audio-half",
2097121003
"audio-off",
@@ -21022,6 +21054,7 @@ The event \`detail\` contains the current \`selectedOption\`.",
2102221054
"send",
2102321055
"share",
2102421056
"shrink",
21057+
"slash",
2102521058
"star-filled",
2102621059
"star-half",
2102721060
"star",
@@ -21533,6 +21566,7 @@ If you want to clear the selection, use \`null\`.",
2153321566
"status-pending",
2153421567
"refresh",
2153521568
"external",
21569+
"history",
2153621570
"group",
2153721571
"calendar",
2153821572
"ellipsis",
@@ -21553,6 +21587,7 @@ If you want to clear the selection, use \`null\`.",
2155321587
"arrow-right",
2155421588
"arrow-up",
2155521589
"arrow-down",
21590+
"at-symbol",
2155621591
"audio-full",
2155721592
"audio-half",
2155821593
"audio-off",
@@ -21609,6 +21644,7 @@ If you want to clear the selection, use \`null\`.",
2160921644
"send",
2161021645
"share",
2161121646
"shrink",
21647+
"slash",
2161221648
"star-filled",
2161321649
"star-half",
2161421650
"star",
@@ -25892,6 +25928,7 @@ If an href is provided, it opens the link in a new tab.",
2589225928
"status-pending",
2589325929
"refresh",
2589425930
"external",
25931+
"history",
2589525932
"group",
2589625933
"calendar",
2589725934
"ellipsis",
@@ -25912,6 +25949,7 @@ If an href is provided, it opens the link in a new tab.",
2591225949
"arrow-right",
2591325950
"arrow-up",
2591425951
"arrow-down",
25952+
"at-symbol",
2591525953
"audio-full",
2591625954
"audio-half",
2591725955
"audio-off",
@@ -25968,6 +26006,7 @@ If an href is provided, it opens the link in a new tab.",
2596826006
"send",
2596926007
"share",
2597026008
"shrink",
26009+
"slash",
2597126010
"star-filled",
2597226011
"star-half",
2597326012
"star",
@@ -26091,6 +26130,7 @@ We do not support using this attribute to apply custom styling.",
2609126130
"status-pending",
2609226131
"refresh",
2609326132
"external",
26133+
"history",
2609426134
"group",
2609526135
"calendar",
2609626136
"ellipsis",
@@ -26111,6 +26151,7 @@ We do not support using this attribute to apply custom styling.",
2611126151
"arrow-right",
2611226152
"arrow-up",
2611326153
"arrow-down",
26154+
"at-symbol",
2611426155
"audio-full",
2611526156
"audio-half",
2611626157
"audio-off",
@@ -26167,6 +26208,7 @@ We do not support using this attribute to apply custom styling.",
2616726208
"send",
2616826209
"share",
2616926210
"shrink",
26211+
"slash",
2617026212
"star-filled",
2617126213
"star-half",
2617226214
"star",

src/app-layout/visual-refresh-toolbar/compute-layout.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ interface HorizontalLayoutInput {
1919
}
2020

2121
export const CONTENT_PADDING = 2 * 24; // space-xl
22+
const MOBILE_BREAKPOINT = 688;
2223

2324
export function computeHorizontalLayout({
2425
navigationOpen,
@@ -51,7 +52,8 @@ export function computeHorizontalLayout({
5152
const maxSplitPanelSize = Math.max(resizableSpaceAvailable - totalActiveGlobalDrawersSize - activeDrawerSize, 0);
5253
resizableSpaceAvailable -= sideSplitPanelSize;
5354
const maxDrawerSize = resizableSpaceAvailable - totalActiveGlobalDrawersSize;
54-
const maxAiDrawerSize = resizableSpaceAvailable - totalActiveGlobalDrawersSize + activeAiDrawerSize;
55+
// let the ai drawer be resized until the "main screen" hits the mobile breakpoint to have consistent UX
56+
const maxAiDrawerSize = placement.inlineSize - MOBILE_BREAKPOINT;
5557
const maxGlobalDrawersSizes: Record<string, number> = Object.keys(activeGlobalDrawersSizes).reduce(
5658
(acc, drawerId) => {
5759
return {

src/icon-provider/interfaces.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export namespace IconProviderProps {
4141
'arrow-right'?: ReactNode | null;
4242
'arrow-up'?: ReactNode | null;
4343
'arrow-down'?: ReactNode | null;
44+
'at-symbol'?: ReactNode | null;
4445
'audio-full'?: ReactNode | null;
4546
'audio-half'?: ReactNode | null;
4647
'audio-off'?: ReactNode | null;
@@ -91,6 +92,7 @@ export namespace IconProviderProps {
9192
group?: ReactNode | null;
9293
heart?: ReactNode | null;
9394
'heart-filled'?: ReactNode | null;
95+
history?: ReactNode | null;
9496
'insert-row'?: ReactNode | null;
9597
key?: ReactNode | null;
9698
keyboard?: ReactNode | null;
@@ -117,6 +119,7 @@ export namespace IconProviderProps {
117119
send?: ReactNode | null;
118120
share?: ReactNode | null;
119121
shrink?: ReactNode | null;
122+
slash?: ReactNode | null;
120123
'star-filled'?: ReactNode | null;
121124
'star-half'?: ReactNode | null;
122125
star?: ReactNode | null;

src/icon/icons/at-symbol.svg

Lines changed: 3 additions & 0 deletions
Loading

src/icon/icons/history.svg

Lines changed: 4 additions & 0 deletions
Loading

src/icon/icons/slash.svg

Lines changed: 4 additions & 0 deletions
Loading

src/icon/interfaces.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export namespace IconProps {
103103
| 'arrow-right'
104104
| 'arrow-up'
105105
| 'arrow-down'
106+
| 'at-symbol'
106107
| 'audio-full'
107108
| 'audio-half'
108109
| 'audio-off'
@@ -153,6 +154,7 @@ export namespace IconProps {
153154
| 'group'
154155
| 'heart'
155156
| 'heart-filled'
157+
| 'history'
156158
| 'insert-row'
157159
| 'key'
158160
| 'keyboard'
@@ -179,6 +181,7 @@ export namespace IconProps {
179181
| 'send'
180182
| 'share'
181183
| 'shrink'
184+
| 'slash'
182185
| 'star-filled'
183186
| 'star-half'
184187
| 'star'

0 commit comments

Comments
 (0)