diff --git a/assets/menu/menu.json b/assets/menu/menu.json index 27e84cabb..ce32aa7a0 100644 --- a/assets/menu/menu.json +++ b/assets/menu/menu.json @@ -270,6 +270,11 @@ "name": "Splitter", "to": "/splitter" }, + { + "name": "Stepper", + "to": "/stepper", + "badge": "NEW" + }, { "name": "TabView", "to": "/tabview" diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index 576f20ebd..750f0b9ff 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -5364,7 +5364,7 @@ } ], "methods": [], - "extendedBy": "AccordionStyle,AccordionTabStyle,AnimateOnScrollStyle,AutoCompleteStyle,AvatarStyle,AvatarGroupStyle,BadgeStyle,BadgeDirectiveStyle,BaseComponentStyle,BaseIconStyle,BlockUIStyle,BreadcrumbStyle,ButtonStyle,CalendarStyle,CardStyle,CarouselStyle,CascadeSelectStyle,ChartStyle,CheckboxStyle,ChipStyle,ChipsStyle,ColorPickerStyle,ColumnStyle,ColumnGroupStyle,ConfirmDialogStyle,ConfirmPopupStyle,ContextMenuStyle,DataTableStyle,DataViewStyle,DataViewLayoutOptionsStyle,DeferredContentStyle,DialogStyle,DividerStyle,DockStyle,DropdownStyle,DynamicDialogStyle,EditorStyle,FieldsetStyle,AccordionStyle,FloatLabelStyle,FocusTrapStyle,GalleriaStyle,IconFieldStyle,ImageStyle,InlineMessageStyle,InplaceStyle,InputGroupStyle,InputGroupAddonStyle,InputIconStyle,InputMaskStyle,InputNumberStyle,InputSwitchStyle,InputTextStyle,KnobStyle,ListboxStyle,MegaMenuStyle,MenuStyle,MenubarStyle,MessageStyle,MeterGroupStyle,MultiSelectStyle,OrderListStyle,OrganizationChartStyle,OverlayPanelStyle,PaginatorStyle,PanelStyle,PanelMenuStyle,PasswordStyle,PickListStyle,PortalStyle,ProgressBarStyle,ProgressSpinnerStyle,RadioButtonStyle,RatingStyle,AccordionStyle,RowStyle,ScrollPanelStyle,ScrollTopStyle,SelectButtonStyle,SidebarStyle,SkeletonStyle,SliderStyle,SpeedDialStyle,SplitButtonStyle,SplitterStyle,SplitterPanelStyle,StepsStyle,StyleClassStyle,TabMenuStyle,TabPanelStyle,TabViewStyle,TagStyle,TerminalStyle,TextareaStyle,TieredMenuStyle,TimelineStyle,ToastStyle,ToggleButtonStyle,ToolbarStyle,TooltipStyle,TreeStyle,TreeSelectStyle,TreeTableStyle,TriStateCheckboxStyle,VirtualScrollerStyle" + "extendedBy": "AccordionStyle,AccordionTabStyle,AnimateOnScrollStyle,AutoCompleteStyle,AvatarStyle,AvatarGroupStyle,BadgeStyle,BadgeDirectiveStyle,BaseComponentStyle,BaseIconStyle,BlockUIStyle,BreadcrumbStyle,ButtonStyle,CalendarStyle,CardStyle,CarouselStyle,CascadeSelectStyle,ChartStyle,CheckboxStyle,ChipStyle,ChipsStyle,ColorPickerStyle,ColumnStyle,ColumnGroupStyle,ConfirmDialogStyle,ConfirmPopupStyle,ContextMenuStyle,DataTableStyle,DataViewStyle,DataViewLayoutOptionsStyle,DeferredContentStyle,DialogStyle,DividerStyle,DockStyle,DropdownStyle,DynamicDialogStyle,EditorStyle,FieldsetStyle,AccordionStyle,FloatLabelStyle,FocusTrapStyle,GalleriaStyle,IconFieldStyle,ImageStyle,InlineMessageStyle,InplaceStyle,InputGroupStyle,InputGroupAddonStyle,InputIconStyle,InputMaskStyle,InputNumberStyle,InputSwitchStyle,InputTextStyle,KnobStyle,ListboxStyle,MegaMenuStyle,MenuStyle,MenubarStyle,MessageStyle,MeterGroupStyle,MultiSelectStyle,OrderListStyle,OrganizationChartStyle,OverlayPanelStyle,PaginatorStyle,PanelStyle,PanelMenuStyle,PasswordStyle,PickListStyle,PortalStyle,ProgressBarStyle,ProgressSpinnerStyle,RadioButtonStyle,RatingStyle,AccordionStyle,RowStyle,ScrollPanelStyle,ScrollTopStyle,SelectButtonStyle,SidebarStyle,SkeletonStyle,SliderStyle,SpeedDialStyle,SplitButtonStyle,SplitterStyle,SplitterPanelStyle,StepperStyle,StepperPanelStyle,StepsStyle,StyleClassStyle,TabMenuStyle,TabPanelStyle,TabViewStyle,TagStyle,TerminalStyle,TextareaStyle,TieredMenuStyle,TimelineStyle,ToastStyle,ToggleButtonStyle,ToolbarStyle,TooltipStyle,TreeStyle,TreeSelectStyle,TreeTableStyle,TriStateCheckboxStyle,VirtualScrollerStyle" } } } @@ -49495,6 +49495,755 @@ } } }, + "stepper": { + "description": "Stepper is a component that streamlines a wizard-like workflow, organizing content into coherent steps and visually guiding users through a numbered progression in a multi-step process.\n\n[Live Demo](https://www.primevue.org/stepper/)", + "components": { + "default": { + "description": "Stepper is a component that streamlines a wizard-like workflow, organizing content into coherent steps and visually guiding users through a numbered progression in a multi-step process.", + "methods": { + "description": "Defines methods that can be accessed by the component's reference.", + "values": [] + } + } + }, + "interfaces": { + "description": "Defines the custom interfaces used by the module.", + "eventDescription": "Defines the custom events used by the component's emit.", + "methodDescription": "Defines methods that can be accessed by the component's reference.", + "typeDescription": "Defines the custom types used by the module.", + "values": { + "StepperPassThroughMethodOptions": { + "description": "Custom passthrough(pt) option method.", + "relatedProp": "", + "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "", + "description": "Defines instance." + }, + { + "name": "props", + "optional": false, + "readonly": false, + "type": "StepperProps", + "default": "", + "description": "Defines valid properties." + }, + { + "name": "state", + "optional": false, + "readonly": false, + "type": "StepperState", + "default": "", + "description": "Defines current inline state." + }, + { + "name": "attrs", + "optional": false, + "readonly": false, + "type": "any", + "default": "", + "description": "Defines valid attributes." + }, + { + "name": "parent", + "optional": false, + "readonly": false, + "type": "any", + "default": "", + "description": "Defines parent options." + }, + { + "name": "global", + "optional": false, + "readonly": false, + "type": "undefined | object", + "default": "", + "description": "Defines passthrough(pt) options in global config." + } + ], + "methods": [] + }, + "StepperPassThroughOptions": { + "description": "Custom passthrough(pt) options.", + "relatedProp": "StepperProps.pt", + "props": [ + { + "name": "root", + "optional": true, + "readonly": false, + "type": "StepperPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the root's DOM element." + }, + { + "name": "navContainer", + "optional": true, + "readonly": false, + "type": "StepperPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the nav container's DOM element." + }, + { + "name": "nav", + "optional": true, + "readonly": false, + "type": "StepperPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the nav's DOM element." + }, + { + "name": "panelContainer", + "optional": true, + "readonly": false, + "type": "StepperPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the panel container's DOM element." + }, + { + "name": "stepperpanel", + "optional": true, + "readonly": false, + "type": "StepperPanelPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the end handler's DOM element." + }, + { + "name": "hooks", + "optional": true, + "readonly": false, + "type": "ComponentHooks", + "default": "", + "description": "Used to manage all lifecycle hooks." + } + ], + "methods": [] + }, + "StepperPassThroughAttributes": { + "description": "Custom passthrough attributes for each DOM elements", + "relatedProp": "", + "props": [ + { + "name": "[key: string]", + "optional": false, + "readonly": false, + "type": "any" + } + ], + "methods": [] + }, + "StepperState": { + "description": "Defines current inline state in Stepper component.", + "relatedProp": "", + "props": [ + { + "name": "d_activeStep", + "optional": false, + "readonly": false, + "type": "number", + "default": "", + "description": "Current active index state." + }, + { + "name": "id", + "optional": false, + "readonly": false, + "type": "string", + "default": "", + "description": "Unique id for the Stepper component." + } + ], + "methods": [] + }, + "StepperChangeEvent": { + "description": "Custom tab change event.", + "relatedProp": "StepperEmits['step-change']", + "props": [ + { + "name": "originalEvent", + "optional": false, + "readonly": false, + "type": "Event", + "default": "", + "description": "Browser event" + }, + { + "name": "index", + "optional": false, + "readonly": false, + "type": "number", + "default": "", + "description": "Index of the selected stepper panel" + } + ], + "methods": [] + }, + "StepperProps": { + "description": "Defines valid properties in Stepper component.", + "relatedProp": "", + "props": [ + { + "name": "activeStep", + "optional": true, + "readonly": false, + "type": "number", + "default": "0", + "description": "Active step index of stepper." + }, + { + "name": "orientation", + "optional": true, + "readonly": false, + "type": "\"horizontal\" | \"vertical\"", + "default": "horizontal", + "description": "Orientation of the stepper." + }, + { + "name": "linear", + "optional": true, + "readonly": false, + "type": "boolean", + "default": "false", + "description": "Whether the steps are clickable or not." + }, + { + "name": "pt", + "optional": true, + "readonly": false, + "type": "PassThrough", + "default": "", + "description": "Used to pass attributes to DOM elements inside the component." + }, + { + "name": "ptOptions", + "optional": true, + "readonly": false, + "type": "PassThroughOptions", + "default": "", + "description": "Used to configure passthrough(pt) options of the component." + }, + { + "name": "unstyled", + "optional": true, + "readonly": false, + "type": "boolean", + "default": "false", + "description": "When enabled, it removes component related styles in the core." + } + ], + "methods": [] + }, + "StepperSlots": { + "description": "Defines valid slots in Stepper component.", + "relatedProp": "", + "props": [], + "methods": [] + }, + "StepperEmits": { + "description": "Defines valid emits in Stepper component.", + "relatedProp": "", + "props": [], + "methods": [ + { + "name": "update:activeStep", + "parameters": [ + { + "name": "value", + "optional": false, + "type": "number", + "description": "New value." + } + ], + "returnType": "void", + "description": "Emitted when the value changes." + }, + { + "name": "step-change", + "parameters": [ + { + "name": "event", + "optional": false, + "type": "StepperChangeEvent" + } + ], + "returnType": "void", + "description": "Callback to invoke when an active panel is changed." + } + ] + } + } + }, + "types": { + "description": "Defines the custom types used by the module.", + "values": { + "StepperPassThroughOptionType": { + "values": "StepperPassThroughAttributes | (options: StepperPassThroughMethodOptions) => undefined | string | null | undefined" + } + } + } + }, + "stepper/style/StepperStyle": { + "interfaces": { + "description": "Defines the custom interfaces used by the module.", + "eventDescription": "Defines the custom events used by the component's emit.", + "methodDescription": "Defines methods that can be accessed by the component's reference.", + "typeDescription": "Defines the custom types used by the module.", + "values": { + "StepperStyle": { + "relatedProp": "", + "props": [ + { + "name": "name", + "optional": true, + "readonly": false, + "type": "string", + "default": "" + }, + { + "name": "css", + "optional": true, + "readonly": false, + "type": "string", + "default": "" + }, + { + "name": "classes", + "optional": true, + "readonly": false, + "type": "object", + "default": "" + }, + { + "name": "inlineStyles", + "optional": true, + "readonly": false, + "type": "object", + "default": "" + }, + { + "name": "loadStyle", + "optional": true, + "readonly": false, + "type": "Function", + "default": "" + }, + { + "name": "getStyleSheet", + "optional": true, + "readonly": false, + "type": "Function", + "default": "" + } + ], + "methods": [], + "extendedTypes": "BaseStyle" + } + } + } + }, + "stepperpanel": { + "description": "StepperPanel is a helper component for StepperPanel component.\n\n[Live Demo](https://www.primevue.org/stepper/)", + "components": { + "default": { + "description": "StepperPanel is a helper component for Stepper component.", + "methods": { + "description": "Defines methods that can be accessed by the component's reference.", + "values": [] + } + } + }, + "interfaces": { + "description": "Defines the custom interfaces used by the module.", + "eventDescription": "Defines the custom events used by the component's emit.", + "methodDescription": "Defines methods that can be accessed by the component's reference.", + "typeDescription": "Defines the custom types used by the module.", + "values": { + "StepperPanelPassThroughMethodOptions": { + "description": "Custom passthrough(pt) option method.", + "relatedProp": "", + "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "", + "description": "Defines instance." + }, + { + "name": "props", + "optional": false, + "readonly": false, + "type": "StepperPanelProps", + "default": "", + "description": "Defines valid properties." + }, + { + "name": "context", + "optional": false, + "readonly": false, + "type": "StepperPanelContext", + "default": "", + "description": "Defines current options." + }, + { + "name": "attrs", + "optional": false, + "readonly": false, + "type": "any", + "default": "", + "description": "Defines valid attributes." + }, + { + "name": "parent", + "optional": false, + "readonly": false, + "type": "any", + "default": "", + "description": "Defines parent options." + }, + { + "name": "global", + "optional": false, + "readonly": false, + "type": "undefined | object", + "default": "", + "description": "Defines passthrough(pt) options in global config." + } + ], + "methods": [] + }, + "StepperPanelPassThroughOptions": { + "description": "Custom passthrough(pt) options.", + "relatedProp": "StepperPanelProps.pt", + "props": [ + { + "name": "root", + "optional": true, + "readonly": false, + "type": "StepperPanelPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the root's DOM element." + }, + { + "name": "header", + "optional": true, + "readonly": false, + "type": "StepperPanelPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the header's DOM element." + }, + { + "name": "action", + "optional": true, + "readonly": false, + "type": "StepperPanelPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the action's DOM element." + }, + { + "name": "number", + "optional": true, + "readonly": false, + "type": "StepperPanelPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the number's DOM element." + }, + { + "name": "title", + "optional": true, + "readonly": false, + "type": "StepperPanelPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the title's DOM element." + }, + { + "name": "separator", + "optional": true, + "readonly": false, + "type": "StepperPanelPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the separator's DOM element." + }, + { + "name": "content", + "optional": true, + "readonly": false, + "type": "StepperPanelPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the content's DOM element." + }, + { + "name": "panel", + "optional": true, + "readonly": false, + "type": "StepperPanelPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the panel's DOM element." + }, + { + "name": "toggleableContent", + "optional": true, + "readonly": false, + "type": "StepperPanelPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the toggleable content's DOM element." + }, + { + "name": "transition", + "optional": true, + "readonly": false, + "type": "StepperPanelPassThroughTransitionType", + "default": "", + "description": "Used to control Vue Transition API." + }, + { + "name": "hooks", + "optional": true, + "readonly": false, + "type": "ComponentHooks", + "default": "", + "description": "Used to manage all lifecycle hooks." + } + ], + "methods": [] + }, + "StepperPanelPassThroughAttributes": { + "relatedProp": "", + "props": [ + { + "name": "[key: string]", + "optional": false, + "readonly": false, + "type": "any" + } + ], + "methods": [] + }, + "StepperPanelProps": { + "description": "Defines valid properties in StepperPanel component.", + "relatedProp": "", + "props": [ + { + "name": "header", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Orientation of tab headers." + }, + { + "name": "pt", + "optional": true, + "readonly": false, + "type": "PassThrough", + "default": "", + "description": "Used to pass attributes to DOM elements inside the component." + }, + { + "name": "ptOptions", + "optional": true, + "readonly": false, + "type": "PassThroughOptions", + "default": "", + "description": "Used to configure passthrough(pt) options of the component." + } + ], + "methods": [] + }, + "StepperPanelContext": { + "description": "Defines current options in StepperPanel component.", + "relatedProp": "", + "props": [ + { + "name": "index", + "optional": false, + "readonly": false, + "type": "number", + "default": "", + "description": "Current index of the stepperpanel." + }, + { + "name": "count", + "optional": false, + "readonly": false, + "type": "number", + "default": "", + "description": "Count of stepperpanels" + }, + { + "name": "first", + "optional": false, + "readonly": false, + "type": "boolean", + "default": "", + "description": "Whether the stepperpanel is first." + }, + { + "name": "last", + "optional": false, + "readonly": false, + "type": "boolean", + "default": "", + "description": "Whether the stepperpanel is last." + }, + { + "name": "active", + "optional": false, + "readonly": false, + "type": "boolean", + "default": "", + "description": "Whether the stepperpanel is active." + }, + { + "name": "highlighted", + "optional": false, + "readonly": false, + "type": "boolean", + "default": "", + "description": "Whether the stepperpanel is highlighted." + }, + { + "name": "disabled", + "optional": false, + "readonly": false, + "type": "boolean", + "default": "", + "description": "Whether the stepperpanel is disabled." + } + ], + "methods": [] + }, + "StepperPanelSlots": { + "description": "Defines valid slots in StepperPanel slots.", + "relatedProp": "", + "props": [], + "methods": [ + { + "name": "default", + "parameters": [], + "returnType": "VNode[]", + "description": "Custom content template." + }, + { + "name": "header", + "parameters": [ + { + "name": "scope", + "optional": false, + "type": "{\n \t index: number, // Index of the stepperpanel\n \t active: boolean, // Current active state of the stepperpanel\n \t highlighted: boolean, // Current highlighted state of the stepperpanel\n \t class: string, // Style class of the stepperpanel\n \t clickCallback: (event: Event) ⇒ void, // Header click function.\n}" + } + ], + "returnType": "VNode[]", + "description": "Custom header template." + }, + { + "name": "content", + "parameters": [ + { + "name": "scope", + "optional": false, + "type": "{\n \t index: number, // Index of the stepperpanel\n \t active: boolean, // Current active state of the stepperpanel\n \t highlighted: boolean, // Current highlighted state of the stepperpanel\n \t class: string, // Style class of the stepperpanel\n \t clickCallback: (event: Event) ⇒ void, // Content click function.\n\t prevCallback: (event: Event) ⇒ void, // Content previous panel click function.\n\t nextCallback: (event: Event) ⇒ void, // Content next panel click function.\n}" + } + ], + "returnType": "VNode[]", + "description": "Custom content template." + }, + { + "name": "separator", + "parameters": [ + { + "name": "scope", + "optional": false, + "type": "{\n \t index: number, // Index of the stepperpanel\n \t active: boolean, // Current active state of the stepperpanel\n \t highlighted: boolean, // Current highlighted state of the stepperpanel\n \t class: string, // Style class of the stepperpanel\n }" + } + ], + "returnType": "VNode[]", + "description": "Custom separator template." + } + ] + }, + "StepperPanelEmits": { + "relatedProp": "", + "props": [], + "methods": [] + } + } + }, + "types": { + "description": "Defines the custom types used by the module.", + "values": { + "StepperPanelPassThroughOptionType": { + "values": "StepperPanelPassThroughAttributes | (options: StepperPanelPassThroughMethodOptions) => undefined | string | null | undefined" + }, + "StepperPanelPassThroughTransitionType": { + "values": "TransitionProps | (options: StepperPanelPassThroughMethodOptions) => TransitionProps | undefined" + } + } + } + }, + "stepperpanel/style/StepperPanelStyle": { + "interfaces": { + "description": "Defines the custom interfaces used by the module.", + "eventDescription": "Defines the custom events used by the component's emit.", + "methodDescription": "Defines methods that can be accessed by the component's reference.", + "typeDescription": "Defines the custom types used by the module.", + "values": { + "StepperPanelStyle": { + "relatedProp": "", + "props": [ + { + "name": "name", + "optional": true, + "readonly": false, + "type": "string", + "default": "" + }, + { + "name": "css", + "optional": true, + "readonly": false, + "type": "string", + "default": "" + }, + { + "name": "classes", + "optional": true, + "readonly": false, + "type": "object", + "default": "" + }, + { + "name": "inlineStyles", + "optional": true, + "readonly": false, + "type": "object", + "default": "" + }, + { + "name": "loadStyle", + "optional": true, + "readonly": false, + "type": "Function", + "default": "" + }, + { + "name": "getStyleSheet", + "optional": true, + "readonly": false, + "type": "Function", + "default": "" + } + ], + "methods": [], + "extendedTypes": "BaseStyle" + } + } + } + }, "steps": { "description": "Steps components is an indicator for the steps in a wizard workflow. Example below uses nested routes with Steps.\n\n[Live Demo](https://www.primevue.org/steps/)", "components": { diff --git a/doc/stepper/AccessibilityDoc.vue b/doc/stepper/AccessibilityDoc.vue new file mode 100644 index 000000000..7b844f424 --- /dev/null +++ b/doc/stepper/AccessibilityDoc.vue @@ -0,0 +1,42 @@ + diff --git a/doc/stepper/BasicDoc.vue b/doc/stepper/BasicDoc.vue new file mode 100644 index 000000000..70097402a --- /dev/null +++ b/doc/stepper/BasicDoc.vue @@ -0,0 +1,44 @@ + diff --git a/doc/stepper/ImportDoc.vue b/doc/stepper/ImportDoc.vue new file mode 100644 index 000000000..bb4d19e95 --- /dev/null +++ b/doc/stepper/ImportDoc.vue @@ -0,0 +1,19 @@ + + + diff --git a/doc/stepper/TemplateDoc.vue b/doc/stepper/TemplateDoc.vue new file mode 100644 index 000000000..e4bc74c1c --- /dev/null +++ b/doc/stepper/TemplateDoc.vue @@ -0,0 +1,300 @@ + + + diff --git a/doc/stepper/VerticalDoc.vue b/doc/stepper/VerticalDoc.vue new file mode 100644 index 000000000..86785fe87 --- /dev/null +++ b/doc/stepper/VerticalDoc.vue @@ -0,0 +1,44 @@ + diff --git a/doc/stepper/pt/PTImage.vue b/doc/stepper/pt/PTImage.vue new file mode 100644 index 000000000..9ac50d6b4 --- /dev/null +++ b/doc/stepper/pt/PTImage.vue @@ -0,0 +1,8 @@ + diff --git a/doc/stepper/pt/index.vue b/doc/stepper/pt/index.vue new file mode 100644 index 000000000..f58ff66db --- /dev/null +++ b/doc/stepper/pt/index.vue @@ -0,0 +1,41 @@ + + + diff --git a/doc/stepper/theming/StyledDoc.vue b/doc/stepper/theming/StyledDoc.vue new file mode 100644 index 000000000..66eb4e8e2 --- /dev/null +++ b/doc/stepper/theming/StyledDoc.vue @@ -0,0 +1,73 @@ + diff --git a/doc/stepper/theming/TailwindDoc.vue b/doc/stepper/theming/TailwindDoc.vue new file mode 100644 index 000000000..fe4aadc26 --- /dev/null +++ b/doc/stepper/theming/TailwindDoc.vue @@ -0,0 +1,6 @@ + diff --git a/doc/stepper/theming/index.vue b/doc/stepper/theming/index.vue new file mode 100644 index 000000000..4a05b4561 --- /dev/null +++ b/doc/stepper/theming/index.vue @@ -0,0 +1,40 @@ + + + diff --git a/doc/tag/BasicDoc.vue b/doc/tag/BasicDoc.vue index e66d678f5..961b6ec0d 100644 --- a/doc/tag/BasicDoc.vue +++ b/doc/tag/BasicDoc.vue @@ -2,8 +2,12 @@

Label of the tag is defined with the value property.

-
- +
+ + Content 1 + Content 2 + Content 3 +
diff --git a/modules/nuxt-primevue/runtime/core/components/index.js b/modules/nuxt-primevue/runtime/core/components/index.js index 7f2933b50..f451336f0 100644 --- a/modules/nuxt-primevue/runtime/core/components/index.js +++ b/modules/nuxt-primevue/runtime/core/components/index.js @@ -34,7 +34,7 @@ const button = ['Button', 'SpeedDial', 'SplitButton']; const data = ['Column', 'Row', 'ColumnGroup', 'DataTable', 'DataView', 'DataViewLayoutOptions', 'OrderList', 'OrganizationChart', 'Paginator', 'PickList', 'Tree', 'TreeTable', 'Timeline', 'VirtualScroller']; -const panel = ['Accordion', 'AccordionTab', 'Card', 'DeferredContent', 'Divider', 'Fieldset', 'Panel', 'ScrollPanel', 'Splitter', 'SplitterPanel', 'TabView', 'TabPanel', 'Toolbar']; +const panel = ['Accordion', 'AccordionTab', 'Card', 'DeferredContent', 'Divider', 'Fieldset', 'Panel', 'ScrollPanel', 'Splitter', 'SplitterPanel', 'Stepper', 'StepperPanel', 'TabView', 'TabPanel', 'Toolbar']; const overlay = [{ name: 'ConfirmDialog', use: { as: 'ConfirmationService' } }, { name: 'ConfirmPopup', use: { as: 'ConfirmationService' } }, 'Dialog', { name: 'DynamicDialog', use: { as: 'DialogService' } }, 'OverlayPanel', 'Sidebar']; diff --git a/nuxt-vite.config.js b/nuxt-vite.config.js index 86974c03a..b6f54658a 100644 --- a/nuxt-vite.config.js +++ b/nuxt-vite.config.js @@ -91,6 +91,8 @@ const STYLE_ALIAS = { 'primevue/splitter/style': path.resolve(__dirname, './components/lib/splitter/style/SplitterStyle.js'), 'primevue/splitterpanel/style': path.resolve(__dirname, './components/lib/splitterpanel/style/SplitterPanelStyle.js'), 'primevue/steps/style': path.resolve(__dirname, './components/lib/steps/style/StepsStyle.js'), + 'primevue/stepper/style': path.resolve(__dirname, './components/lib/stepper/style/StepperStyle.js'), + 'primevue/stepperpanel/style': path.resolve(__dirname, './components/lib/stepperpanel/style/StepperPanelStyle.js'), 'primevue/tabmenu/style': path.resolve(__dirname, './components/lib/tabmenu/style/TabMenuStyle.js'), 'primevue/tabpanel/style': path.resolve(__dirname, './components/lib/tabpanel/style/TabPanelStyle.js'), 'primevue/tabview/style': path.resolve(__dirname, './components/lib/tabview/style/TabViewStyle.js'), diff --git a/pages/stepper/index.vue b/pages/stepper/index.vue new file mode 100644 index 000000000..fbc38280b --- /dev/null +++ b/pages/stepper/index.vue @@ -0,0 +1,57 @@ + + +