From 6d688ef675c02858b2469877ade33bd11d0073d6 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 30 Apr 2024 17:09:49 +0300 Subject: [PATCH] Refactor #5592 - For ScrollPanel, Splitter, Stepper --- components/lib/scrollpanel/ScrollPanel.d.ts | 4 +-- components/lib/scrollpanel/ScrollPanel.vue | 2 +- .../lib/scrollpanel/style/ScrollPanelStyle.js | 2 +- components/lib/splitter/Splitter.d.ts | 4 +-- components/lib/splitter/Splitter.vue | 2 +- .../lib/splitter/style/SplitterStyle.js | 2 +- components/lib/stepper/Stepper.d.ts | 8 +++--- components/lib/stepper/Stepper.vue | 16 +++++------ components/lib/stepper/StepperContent.vue | 4 +-- components/lib/stepper/StepperHeader.vue | 14 +++++----- components/lib/stepper/style/StepperStyle.js | 16 +++++------ components/lib/stepperpanel/StepperPanel.d.ts | 28 ++++++++----------- 12 files changed, 49 insertions(+), 53 deletions(-) diff --git a/components/lib/scrollpanel/ScrollPanel.d.ts b/components/lib/scrollpanel/ScrollPanel.d.ts index e202f12c7..a7e3443a0 100644 --- a/components/lib/scrollpanel/ScrollPanel.d.ts +++ b/components/lib/scrollpanel/ScrollPanel.d.ts @@ -54,9 +54,9 @@ export interface ScrollPanelPassThroughOptions { */ root?: ScrollPanelPassThroughOptionType; /** - * Used to pass attributes to the wrapper's DOM element. + * Used to pass attributes to the content container's DOM element. */ - wrapper?: ScrollPanelPassThroughOptionType; + contentContainer?: ScrollPanelPassThroughOptionType; /** * Used to pass attributes to the content's DOM element. */ diff --git a/components/lib/scrollpanel/ScrollPanel.vue b/components/lib/scrollpanel/ScrollPanel.vue index 99f315991..b939d79ef 100644 --- a/components/lib/scrollpanel/ScrollPanel.vue +++ b/components/lib/scrollpanel/ScrollPanel.vue @@ -1,6 +1,6 @@ diff --git a/components/lib/splitter/style/SplitterStyle.js b/components/lib/splitter/style/SplitterStyle.js index 720af4721..c15ca7564 100644 --- a/components/lib/splitter/style/SplitterStyle.js +++ b/components/lib/splitter/style/SplitterStyle.js @@ -3,7 +3,7 @@ import BaseStyle from 'primevue/base/style'; const classes = { root: ({ props }) => ['p-splitter p-component', 'p-splitter-' + props.layout], gutter: 'p-splitter-gutter', - gutterHandler: 'p-splitter-gutter-handle' + gutterHandle: 'p-splitter-gutter-handle' }; const inlineStyles = { diff --git a/components/lib/stepper/Stepper.d.ts b/components/lib/stepper/Stepper.d.ts index 161b397f5..a178cdfd9 100644 --- a/components/lib/stepper/Stepper.d.ts +++ b/components/lib/stepper/Stepper.d.ts @@ -55,13 +55,13 @@ export interface StepperPassThroughOptions { */ root?: StepperPassThroughOptionType; /** - * Used to pass attributes to the nav's DOM element. + * Used to pass attributes to the list's DOM element. */ - nav?: StepperPassThroughOptionType; + list?: StepperPassThroughOptionType; /** - * Used to pass attributes to the panel container's DOM element. + * Used to pass attributes to the panels' DOM element. */ - panelContainer?: StepperPassThroughOptionType; + panels?: StepperPassThroughOptionType; /** * Used to pass attributes to the end handler's DOM element. */ diff --git a/components/lib/stepper/Stepper.vue b/components/lib/stepper/Stepper.vue index 7ba3d49cf..1b5077e90 100644 --- a/components/lib/stepper/Stepper.vue +++ b/components/lib/stepper/Stepper.vue @@ -3,14 +3,14 @@