-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
13060 replace legacy components with new ones from design system (#13129
) * Change `AppPreviewBar` LegacySelect to StudioNativeSelect * Change `SecurityLevelSelect` LegacySelect to StudioNativeSelect * Change `LangSelector` LegacySelect to StudioNativeSelect * Remove selected property from <option> * Change `SchemaInspector` LegacySelect to StudioNativeSelect * Change `PolicyCardRules` LegacySelect to StudioNativeSelect * Use defaultValue instead of selected on <option> * Change `TextResourceEditor` LegacySelect to StudioNativeSelect * Change `componentSpecificContent` LegacySelect to StudioNativeSelect * Delete unused code * Change `componentconfig` LegacySelect to StudioNativeSelect Remove unused import * Fix some tests broken after LegacySelect->StudioNativeSelect swap Fix some tests broken after LegacySelect->StudioNativeSelect swap * Fix failing `each()` tests * Replace LegacyTextField with StudioTextfield in schemainspector * Fix css after replacing legacy components * Replace LegacyTextField and fix possible bug with saving float numbers Bug: saving float numbers for min/max restrictions on number components * Fix formatting * Replace LegacyTextField for ux-editor, delete unused code * Fix tests after replacing LegacyTextField * Fix interesting test failure, new component allows exponents like 1e2 "1test 2" becomes "1e2" = 1*10^2=100 * Fix tests using wrong role for number input * Widen test for coverage * Add tests for combobox enum with multiple selection Remove unused code Fix accidental deletion of test value * Fix formatting, prettier * Merge main test fixes * Fix playwright test failing after legacy component replacement * fixed overfloee in datamodellknytninger accordion * fixes overflow in datamodel bilnding in featureFlag * Replace LegacyPopover for ReleaseContainer * Replace LegacyPopover for datamodel deletion button * Replace LegacyPopover for AltinnConfirmationDialog * Change AltinnConfirmationDialogProps to use StudioPopoverProps * Replace LegacyPopover for ThreeDotsMenu * Replace LegacyPopover in PreviewLimitationsInfo * Replace LegacyTable for TextList * Fix click-and-hold scrolling in designer (#13194) * Fix dashboard URL in Playwright (#13203) * eid logger deploy env setup (#13205) * Update dependency org.springframework.boot:spring-boot-starter-parent to v3.3.2 (#13198) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * change helm repository (#13208) * pass bools as strings in helm chart(#13209) * Add missing ids to nativeselect, required for label `for` * Fix playwright tests failing after LegacySelect replacement Also change value assertion to follow playwright best practices: **NOTE** If you need to assert input value, prefer [expect(locator).toHaveValue(value[, options])](https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-have-value) to avoid flakiness. See [assertions guide](https://playwright.dev/docs/test-assertions) for more details. Fix typo * Make sure ids for tablerowtype is unique in a multi type list * Replace LegacyToggleButtonGroup on the preview page * Fix app preview tests for togglegroup button -> radio * Replace legacyfieldset for mapcomponent * Replace LegacyTextArea in ItemDataComponent * Update import from storybook entry for resizablelayout * Replace legacy components for ux-editorv3 * Remove design-system-react dependency Squash: Also commit `yarn.lock` * Fix linting issues * Update SelectDataModelComponent.test.tsx * Fix informative message variant validation issue * Fix some event handling collisions between new and old components * Remove commented unused css * Merge main * Use `useId` hook to generate unique fallback id for StudioNativeSelect * Revert change to button disabled property check in langselector test * Add name option back to getRole query --------- Co-authored-by: JamalAlabdullah <[email protected]> Co-authored-by: Erling Hauan <[email protected]> Co-authored-by: Tomas Engebretsen <[email protected]> Co-authored-by: Mirko Sekulic <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information
1 parent
685f755
commit acdd7bc
Showing
107 changed files
with
1,053 additions
and
1,067 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,6 @@ | |
} | ||
|
||
.layoutSetSelector { | ||
padding-top: 5px; | ||
width: 200px; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
frontend/libs/studio-components/src/components/StudioPopover/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export { StudioPopover } from './StudioPopover'; | ||
export type { StudioPopoverProps } from './StudioPopover'; |
2 changes: 1 addition & 1 deletion
2
...tudio-components/src/components/StudioResizableLayout/StudioResizableLayout.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.