diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/modal/Examples.js b/packages/dnb-design-system-portal/src/docs/uilib/components/modal/Examples.js index c974e61fb5b..c690ae210fb 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/components/modal/Examples.js +++ b/packages/dnb-design-system-portal/src/docs/uilib/components/modal/Examples.js @@ -70,7 +70,7 @@ export const ModalExampleCloseByHandler = () => ( /* jsx */ ` { diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/modal/visual-tests/Examples.js b/packages/dnb-design-system-portal/src/docs/uilib/components/modal/visual-tests/Examples.js index 2a8e251e9cd..f7050256a3d 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/components/modal/visual-tests/Examples.js +++ b/packages/dnb-design-system-portal/src/docs/uilib/components/modal/visual-tests/Examples.js @@ -12,7 +12,7 @@ export const ModalExampleDrawerHeader = () => ( /* jsx */ ` @@ -94,7 +94,7 @@ export const ModalExampleDrawerBasic = () => (

This is a left aligned Drawer content.

@@ -111,7 +111,7 @@ export const DrawerWithoutSpacing = () => ( @@ -164,9 +164,7 @@ export const ModalExampleFullscreen = () => ( "Hidden" Modal title} fullscreen="true" - trigger_variant="tertiary" - trigger_text="Click me" - trigger_icon="bell" + triggerAttributes={{ text: "Click me", icon: "bell", variant: "tertiary" }} modal_content="This is the modal text. Triggered by a tertiary button." /> ` diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/demos.md index d40db94327d..c936e0e3971 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/demos.md +++ b/packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/demos.md @@ -151,7 +151,7 @@ render() fullscreen={false} align_content="centered" hide_close_button - trigger_text="Show" + triggerAttributes={{ text: "Show" }} prevent_close={false} > ) fullscreen={false} align_content="centered" hide_close_button - trigger_text="Show" + triggerAttributes={{ text: "Show" }} prevent_close={false} > diff --git a/packages/dnb-eufemia/src/components/dialog/__tests__/__snapshots__/Dialog.test.tsx.snap b/packages/dnb-eufemia/src/components/dialog/__tests__/__snapshots__/Dialog.test.tsx.snap index 06d9f0c5a84..588a1e74d10 100644 --- a/packages/dnb-eufemia/src/components/dialog/__tests__/__snapshots__/Dialog.test.tsx.snap +++ b/packages/dnb-eufemia/src/components/dialog/__tests__/__snapshots__/Dialog.test.tsx.snap @@ -65,15 +65,6 @@ exports[`Dialog component snapshot should match component snapshot 1`] = ` title="dialog_title" trigger={null} trigger_attributes={null} - trigger_class={null} - trigger_disabled={null} - trigger_hidden={false} - trigger_icon={null} - trigger_icon_position="left" - trigger_size={null} - trigger_text={null} - trigger_title={null} - trigger_variant="secondary" >