diff --git a/assets/menu/menu.json b/assets/menu/menu.json index daedff1b4..5437d765e 100644 --- a/assets/menu/menu.json +++ b/assets/menu/menu.json @@ -66,10 +66,6 @@ "name": "AutoComplete", "to": "/autocomplete" }, - { - "name": "Calendar", - "to": "/calendar" - }, { "name": "CascadeSelect", "to": "/cascadeselect" @@ -78,17 +74,13 @@ "name": "Checkbox", "to": "/checkbox" }, - { - "name": "Chips", - "to": "/chips" - }, { "name": "ColorPicker", "to": "/colorpicker" }, { - "name": "Dropdown", - "to": "/dropdown" + "name": "DatePicker", + "to": "/datepicker" }, { "name": "Editor", @@ -119,8 +111,8 @@ "to": "/inputotp" }, { - "name": "InputSwitch", - "to": "/inputswitch" + "name": "InputChips", + "to": "/inputchips" }, { "name": "InputText", @@ -154,6 +146,10 @@ "name": "SelectButton", "to": "/selectbutton" }, + { + "name": "Select", + "to": "/select" + }, { "name": "Slider", "to": "/slider" @@ -166,6 +162,10 @@ "name": "ToggleButton", "to": "/togglebutton" }, + { + "name": "ToggleSwitch", + "to": "/toggleswitch" + }, { "name": "TreeSelect", "to": "/treeselect" @@ -303,12 +303,12 @@ "to": "/dynamicdialog" }, { - "name": "OverlayPanel", - "to": "/overlaypanel" + "name": "Popover", + "to": "/popover" }, { - "name": "Sidebar", - "to": "/sidebar" + "name": "Drawer", + "to": "/drawer" }, { "name": "Tooltip", diff --git a/components/landing/HeroSection.vue b/components/landing/HeroSection.vue index 5d6887a0a..0a4d2801f 100644 --- a/components/landing/HeroSection.vue +++ b/components/landing/HeroSection.vue @@ -28,14 +28,14 @@
A time picker is displayed when showTime is enabled where 12/24 hour format is configured with hourFormat property. In case, only time needs to be selected, add timeOnly to hide the date section.
-Specifying view as year in addition to a suitable dateFormat enables the year picker.
- Sidebar component uses complementary role by default, since any attribute is passed to the root element aria role can be changed depending on your use case and additional attributes like aria-labelledby can be added. In - addition aria-modal is added since focus is kept within the sidebar when opened. + Drawer component uses complementary role by default, since any attribute is passed to the root element aria role can be changed depending on your use case and additional attributes like aria-labelledby can be added. In + addition aria-modal is added since focus is kept within the drawer when opened.
Trigger element also requires aria-expanded and aria-controls to be handled explicitly.
@@ -24,11 +24,11 @@Content
-Sidebar is used as a container and visibility is controlled with a binding to visible.
+Drawer is used as a container and visibility is controlled with a binding to visible.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-The whole page is covered when position property is set as full.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Headless mode is enabled by defining a container slot that lets you implement entire UI instead of the default elements.
Sidebar location is configured with the position property that can take left, right, top and bottom as valid values.
+Drawer location is configured with the position property that can take left, right, top and bottom as valid values.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Sidebar dimension can be defined with style or class properties which can also be responsive when used with a CSS utility library like PrimeFlex or Tailwind.
+Drawer dimension can be defined with style or class properties which can also be responsive when used with a CSS utility library like PrimeFlex or Tailwind.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Additional content at the header section is provided using the header template.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-List of class names used in the styled mode.
+Name | +Element | +
---|---|
p-drawer | +Container element | +
p-drawer-left | +Container element of left drawer. | +
p-drawer-right | +Container element of right drawer. | +
p-drawer-top | +Container element of top drawer. | +
p-drawer-bottom | +Container element of bottom drawer. | +
p-drawer-full | +Container element of a full screen drawer. | +
p-drawer-visible | +Container element when drawer is visible. | +
p-drawer-close | +Close anchor element. | +
p-drawer-sm | +Small sized drawer. | +
p-drawer-md | +Medium sized drawer. | +
p-drawer-lg | +Large sized drawer. | +
p-drawer-mask | +Modal layer of the drawer. | +
Chips is used as a controlled input with v-model property where it should be an array.
+InputChips is used as a controlled input with v-model property where it should be an array.
When disabled is present, the element cannot be edited and focused.
Specify the variant property as filled to display the component with a higher visual emphasis than the default outlined style.
Invalid state is displayed using the invalid prop to indicate a failed validation. You can use this style when integrating with form validation libraries.
A new chip is added when enter key is pressed, separator property allows definining an additional key. Currently only valid value is , to create a new item when comma key is pressed.
Chip content is customized using item slot that receives a single chip value as a parameter.
Current page report uses aria-live="polite" to instruct screen reader about the changes to the pagination state.
- Rows per page dropdown internally uses a dropdown component, refer to the
Refer to the
Refer to the
- OverlayPanel component uses dialog role and since any attribute is passed to the root element you may define attributes like aria-label or aria-labelledby to describe the popup contents. In addition - aria-modal is added since focus is kept within the popup. + Popover component uses dialog role and since any attribute is passed to the root element you may define attributes like aria-label or aria-labelledby to describe the popup contents. In addition aria-modal is + added since focus is kept within the popup.
-OverlayPanel adds aria-expanded state attribute and aria-controls to the trigger so that the relation between the trigger and the popup is defined.
+Popover adds aria-expanded state attribute and aria-controls to the trigger so that the relation between the trigger and the popup is defined.
-When the popup gets opened, the first focusable element receives the focus and this can be customized by adding autofocus to an element within the popup.
OverlayPanel is accessed via its ref and visibility is controlled using toggle, show and hide functions with an event of the target.
+Popover is accessed via its ref and visibility is controlled using toggle, show and hide functions with an event of the target.
- Value to describe the component can either be provided with aria-labelledby or aria-label props. The dropdown element has a combobox role in addition to aria-haspopup and aria-expanded attributes. If the + Value to describe the component can either be provided with aria-labelledby or aria-label props. The select element has a combobox role in addition to aria-haspopup and aria-expanded attributes. If the editable option is enabled aria-autocomplete is also added. The relation between the combobox and the popup is created with aria-controls and aria-activedescendant attribute is used to instruct screen reader which option to read during keyboard navigation within the popup list.
@@ -27,7 +27,7 @@- Dropdown is used as a controlled component with v-model property along with an options collection. Label and value of an option are defined with the optionLabel and optionValue properties respectively. Note - that, when options are simple primitive values such as a string array, no optionLabel and optionValue would be necessary. + Select is used as a controlled component with v-model property along with an options collection. Label and value of an option are defined with the optionLabel and optionValue properties respectively. Note that, + when options are simple primitive values such as a string array, no optionLabel and optionValue would be necessary.
An alternative way to highlight the selected option is displaying a checkmark instead.
When showClear is enabled, a clear icon is added to reset the Dropdown.
+When showClear is enabled, a clear icon is added to reset the Select.
When disabled is present, the element cannot be edited and focused.
When editable is present, the input can also be entered with typing.
Specify the variant property as filled to display the component with a higher visual emphasis than the default outlined style.
Dropdown provides built-in filtering that is enabled by adding the filter property.
+Select provides built-in filtering that is enabled by adding the filter property.
Invalid state is displayed using the invalid prop to indicate a failed validation. You can use this style when integrating with form validation libraries.
Loading state can be used loading property.
Options and the selected option display support templating with option and value respectively.
VirtualScroller is used to render a long list of options efficiently like 100K records in this demo. The configuration is done with virtualScrollerOptions property, refer to the
-