Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Fix focus management issue when updating folder tree children #2119

Merged
merged 8 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,884 changes: 986 additions & 898 deletions package-lock.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ exports[`PopupMenu should render prop data 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[MockFunction]}
onKeyDown={[Function]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ exports[`UtilityMenu should render with function callbacks 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[MockFunction]}
onKeyDown={[Function]}
Expand Down Expand Up @@ -935,6 +936,7 @@ exports[`UtilityMenu should render with function callbacks 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[MockFunction]}
onKeyDown={[Function]}
Expand All @@ -960,6 +962,7 @@ exports[`UtilityMenu should render with function callbacks 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[MockFunction]}
onKeyDown={[Function]}
Expand Down Expand Up @@ -1057,6 +1060,7 @@ exports[`UtilityMenu should render with skip callback 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[MockFunction]}
onKeyDown={[Function]}
Expand Down Expand Up @@ -1261,6 +1265,7 @@ exports[`UtilityMenu should render with skip callback 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[MockFunction]}
onKeyDown={[Function]}
Expand All @@ -1286,6 +1291,7 @@ exports[`UtilityMenu should render with skip callback 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[MockFunction]}
onKeyDown={[Function]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ exports[`UtilityMenuItem should render with a content location 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[Function]}
onKeyDown={[Function]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ exports[`CollapsibleMenuViewItem Collapsible Menu Context should set isSelectabl
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
isSelectable={true}
isSelected={true}
Expand Down Expand Up @@ -406,6 +407,7 @@ exports[`CollapsibleMenuViewItem should merge custom props 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
isSelected={false}
text="Testing"
Expand Down Expand Up @@ -451,6 +453,7 @@ exports[`CollapsibleMenuViewItem should not set isSelected on button outside of
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
isSelected={true}
text="Testing"
Expand Down Expand Up @@ -537,6 +540,7 @@ exports[`CollapsibleMenuViewItem should render a button with icon and text when
isCompact={false}
isDisabled={false}
isIconOnly={true}
isLeftAligned={false}
isReversed={false}
isSelected={false}
text="Testing"
Expand Down Expand Up @@ -582,6 +586,7 @@ exports[`CollapsibleMenuViewItem should render a default component 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
isSelected={false}
text="Testing"
Expand Down Expand Up @@ -661,6 +666,7 @@ exports[`CollapsibleMenuViewItem should render a disabled button when isDisabled
isCompact={false}
isDisabled={true}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
isSelected={false}
text="Testing"
Expand Down Expand Up @@ -706,6 +712,7 @@ exports[`CollapsibleMenuViewItem should render a menu when subMenuItems are give
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
text="Testing"
type="button"
Expand Down Expand Up @@ -768,6 +775,7 @@ exports[`CollapsibleMenuViewItem should set icon prop on button 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
isSelected={false}
text="Testing"
Expand Down Expand Up @@ -820,6 +828,7 @@ exports[`CollapsibleMenuViewItem should set isReversed prop on button 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={true}
isSelected={false}
text="Testing"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ exports[`correctly applies the theme context className 1`] = `
isCompact={true}
isDisabled={false}
isIconOnly={true}
isLeftAligned={false}
isReversed={false}
onClick={[Function]}
onKeyDown={[Function]}
Expand Down Expand Up @@ -785,6 +786,7 @@ exports[`should pass in refCallback as the ref prop of the calendar button 1`] =
isCompact={true}
isDisabled={false}
isIconOnly={true}
isLeftAligned={false}
isReversed={false}
onClick={[Function]}
onKeyDown={[Function]}
Expand Down Expand Up @@ -1674,6 +1676,7 @@ exports[`should render a default date input with all props 1`] = `
isCompact={true}
isDisabled={false}
isIconOnly={true}
isLeftAligned={false}
isReversed={false}
onBlur={[Function]}
onClick={[Function]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,7 @@ exports[`correctly applies the theme context className 1`] = `
isCompact={true}
isDisabled={false}
isIconOnly={true}
isLeftAligned={false}
isReversed={false}
onBlur={[Function]}
onClick={[Function]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,7 @@ exports[`should render a DatePickerField with props 1`] = `
isCompact={true}
isDisabled={true}
isIconOnly={true}
isLeftAligned={false}
isReversed={false}
onBlur={[Function]}
onClick={[Function]}
Expand Down Expand Up @@ -1805,6 +1806,7 @@ exports[`should render a default DatePickerField component 1`] = `
isCompact={true}
isDisabled={false}
isIconOnly={true}
isLeftAligned={false}
isReversed={false}
onBlur={[Function]}
onClick={[Function]}
Expand Down Expand Up @@ -2801,6 +2803,7 @@ exports[`should render a valid DatePickerField with props 1`] = `
isCompact={true}
isDisabled={true}
isIconOnly={true}
isLeftAligned={false}
isReversed={false}
onBlur={[Function]}
onClick={[Function]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ exports[`should render a default date time picker 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[Function]}
text="Terra.dateTimePicker.timeClarification.button.daylightSaving"
Expand All @@ -55,6 +56,7 @@ exports[`should render a default date time picker 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[Function]}
text="Terra.dateTimePicker.timeClarification.button.standardTime"
Expand All @@ -74,6 +76,7 @@ exports[`should render a default date time picker 1`] = `
isCompact={true}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[MockFunction]}
text=""
Expand Down Expand Up @@ -128,6 +131,7 @@ exports[`should render a disabled time clarification 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[Function]}
text="Terra.dateTimePicker.timeClarification.button.daylightSaving"
Expand All @@ -140,6 +144,7 @@ exports[`should render a disabled time clarification 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[Function]}
text="Terra.dateTimePicker.timeClarification.button.standardTime"
Expand All @@ -159,6 +164,7 @@ exports[`should render a disabled time clarification 1`] = `
isCompact={true}
isDisabled={true}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[MockFunction]}
text=""
Expand Down Expand Up @@ -213,6 +219,7 @@ exports[`should render offset button after daylight savings button clicked 1`] =
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[Function]}
text="Terra.dateTimePicker.timeClarification.button.daylightSaving"
Expand All @@ -225,6 +232,7 @@ exports[`should render offset button after daylight savings button clicked 1`] =
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[Function]}
text="Terra.dateTimePicker.timeClarification.button.standardTime"
Expand All @@ -244,6 +252,7 @@ exports[`should render offset button after daylight savings button clicked 1`] =
isCompact={true}
isDisabled={true}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[MockFunction]}
text=""
Expand Down Expand Up @@ -298,6 +307,7 @@ exports[`should render offset button after daylight savings button clicked in th
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[Function]}
text="Terra.dateTimePicker.timeClarification.button.daylightSaving"
Expand All @@ -310,6 +320,7 @@ exports[`should render offset button after daylight savings button clicked in th
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[Function]}
text="Terra.dateTimePicker.timeClarification.button.standardTime"
Expand All @@ -329,6 +340,7 @@ exports[`should render offset button after daylight savings button clicked in th
isCompact={true}
isDisabled={true}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[MockFunction]}
text=""
Expand Down Expand Up @@ -383,6 +395,7 @@ exports[`should render offset button after standard time button clicked 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[Function]}
text="Terra.dateTimePicker.timeClarification.button.daylightSaving"
Expand All @@ -395,6 +408,7 @@ exports[`should render offset button after standard time button clicked 1`] = `
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[Function]}
text="Terra.dateTimePicker.timeClarification.button.standardTime"
Expand All @@ -414,6 +428,7 @@ exports[`should render offset button after standard time button clicked 1`] = `
isCompact={true}
isDisabled={true}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[MockFunction]}
text=""
Expand Down Expand Up @@ -468,6 +483,7 @@ exports[`should render offset button after standard time button clicked in the s
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[Function]}
text="Terra.dateTimePicker.timeClarification.button.daylightSaving"
Expand All @@ -480,6 +496,7 @@ exports[`should render offset button after standard time button clicked in the s
isCompact={false}
isDisabled={false}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[Function]}
text="Terra.dateTimePicker.timeClarification.button.standardTime"
Expand All @@ -499,6 +516,7 @@ exports[`should render offset button after standard time button clicked in the s
isCompact={true}
isDisabled={true}
isIconOnly={false}
isLeftAligned={false}
isReversed={false}
onClick={[MockFunction]}
text=""
Expand Down
Loading
Loading