From b2ec54e36475044cf47dbe91113fa1f89c1026f1 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 18 Apr 2024 17:22:30 +0300 Subject: [PATCH] Showcase updates --- assets/menu/menu.json | 32 +- components/landing/HeroSection.vue | 8 +- doc/calendar/TimeDoc.vue | 95 - doc/cdn/ComponentDoc.vue | 2 +- doc/cdn/ExampleDoc.vue | 4 +- doc/common/apidoc/index.json | 5652 +++++++++++++++-- doc/configuration/ZIndexDoc.vue | 4 +- doc/customicons/FontAwesomeDoc.vue | 4 +- doc/customicons/ImageDoc.vue | 4 +- doc/customicons/MaterialDoc.vue | 4 +- doc/customicons/SVGDoc.vue | 4 +- doc/datatable/StatefulDoc.vue | 16 +- doc/datatable/edit/RowEditDoc.vue | 16 +- doc/datatable/filter/AdvancedFilterDoc.vue | 24 +- doc/datatable/filter/BasicFilterDoc.vue | 16 +- .../rowselection/MultipleRowsSelectionDoc.vue | 8 +- .../rowselection/SingleRowSelectionDoc.vue | 8 +- doc/datatable/samples/CustomersDoc.vue | 24 +- doc/datatable/samples/ProductsDoc.vue | 12 +- doc/dataview/SortingDoc.vue | 8 +- .../AccessibilityDoc.vue | 10 +- doc/{calendar => datepicker}/BasicDoc.vue | 10 +- doc/{calendar => datepicker}/ButtonBarDoc.vue | 8 +- .../DateTemplateDoc.vue | 16 +- doc/{calendar => datepicker}/DisabledDoc.vue | 10 +- doc/{calendar => datepicker}/FilledDoc.vue | 8 +- .../FloatLabelDoc.vue | 8 +- doc/{calendar => datepicker}/FormatDoc.vue | 8 +- doc/{calendar => datepicker}/IconDoc.vue | 32 +- doc/{calendar => datepicker}/ImportDoc.vue | 2 +- doc/{calendar => datepicker}/InlineDoc.vue | 10 +- doc/{calendar => datepicker}/InvalidDoc.vue | 10 +- doc/{calendar => datepicker}/LocaleDoc.vue | 0 doc/{calendar => datepicker}/MinMaxDoc.vue | 8 +- .../MonthPickerDoc.vue | 8 +- doc/{calendar => datepicker}/MultipleDoc.vue | 8 +- .../MultipleMonthsDoc.vue | 8 +- doc/{calendar => datepicker}/RangeDoc.vue | 8 +- doc/datepicker/TimeDoc.vue | 95 + .../YearPickerDoc.vue | 8 +- .../form/VeeValidateDoc.vue | 8 +- doc/{calendar => datepicker}/pt/PTImage.vue | 0 doc/{dropdown => datepicker}/pt/index.vue | 8 +- .../theming/StyledDoc.vue | 6 +- .../theming/TailwindDoc.vue | 0 .../theming/index.vue | 2 +- doc/{sidebar => drawer}/AccessibilityDoc.vue | 16 +- doc/{sidebar => drawer}/BasicDoc.vue | 18 +- doc/{sidebar => drawer}/FullScreenDoc.vue | 16 +- doc/{sidebar => drawer}/HeadlessDoc.vue | 16 +- doc/{chips => drawer}/ImportDoc.vue | 2 +- doc/{sidebar => drawer}/PositionDoc.vue | 66 +- doc/{sidebar => drawer}/SizeDoc.vue | 18 +- doc/{sidebar => drawer}/TemplateDoc.vue | 16 +- doc/{sidebar => drawer}/pt/PTImage.vue | 0 doc/{chips => drawer}/pt/index.vue | 8 +- doc/drawer/theming/StyledDoc.vue | 66 + doc/{chips => drawer}/theming/TailwindDoc.vue | 0 doc/{chips => drawer}/theming/index.vue | 2 +- .../AccessibilityDoc.vue | 6 +- doc/{chips => inputchips}/BasicDoc.vue | 10 +- doc/{chips => inputchips}/DisabledDoc.vue | 8 +- doc/{chips => inputchips}/FilledDoc.vue | 8 +- doc/{chips => inputchips}/FloatLabelDoc.vue | 16 +- doc/{inputswitch => inputchips}/ImportDoc.vue | 2 +- doc/{chips => inputchips}/InvalidDoc.vue | 8 +- doc/{chips => inputchips}/SeparatorDoc.vue | 8 +- doc/{chips => inputchips}/TemplateDoc.vue | 16 +- .../form/VeeValidateDoc.vue | 8 +- doc/{chips => inputchips}/pt/PTImage.vue | 0 doc/inputchips/pt/index.vue | 35 + .../theming/StyledDoc.vue | 10 +- .../theming/TailwindDoc.vue | 0 doc/inputchips/theming/index.vue | 40 + doc/inputotp/theming/index.vue | 2 +- doc/overlaypanel/pt/index.vue | 35 - doc/overlaypanel/theming/index.vue | 40 - doc/paginator/AccessibilityDoc.vue | 4 +- .../AccessibilityDoc.vue | 8 +- doc/{overlaypanel => popover}/BasicDoc.vue | 26 +- .../DataTableDoc.vue | 16 +- doc/{sidebar => popover}/ImportDoc.vue | 2 +- doc/{overlaypanel => popover}/pt/PTImage.vue | 0 doc/{sidebar => popover}/pt/index.vue | 8 +- .../theming/StyledDoc.vue | 6 +- .../theming/TailwindDoc.vue | 0 doc/{sidebar => popover}/theming/index.vue | 2 +- doc/{dropdown => select}/AccessibilityDoc.vue | 32 +- doc/{dropdown => select}/BasicDoc.vue | 12 +- doc/{dropdown => select}/CheckmarkDoc.vue | 8 +- doc/{dropdown => select}/ClearIconDoc.vue | 10 +- doc/{dropdown => select}/DisabledDoc.vue | 8 +- doc/{dropdown => select}/EditableDoc.vue | 8 +- doc/{dropdown => select}/FilledDoc.vue | 8 +- doc/{dropdown => select}/FilterDoc.vue | 18 +- doc/{dropdown => select}/FloatLabelDoc.vue | 8 +- doc/{dropdown => select}/GroupDoc.vue | 16 +- doc/{dropdown => select}/ImportDoc.vue | 2 +- doc/{dropdown => select}/InvalidDoc.vue | 8 +- .../LazyVirtualScrollDoc.vue | 8 +- doc/{dropdown => select}/LoadingStateDoc.vue | 8 +- doc/{dropdown => select}/TemplateDoc.vue | 16 +- doc/{dropdown => select}/VirtualScrollDoc.vue | 10 +- .../form/VeeValidateDoc.vue | 8 +- doc/{dropdown => select}/pt/PTImage.vue | 0 doc/{calendar => select}/pt/index.vue | 8 +- .../theming/StyledDoc.vue | 18 +- .../theming/TailwindDoc.vue | 0 doc/{dropdown => select}/theming/index.vue | 2 +- doc/sidebar/theming/StyledDoc.vue | 66 - doc/theming/styled/ScopedTokensDoc.vue | 8 +- .../styled/csslayer/SpecificityDoc.vue | 8 +- .../AccessibilityDoc.vue | 8 +- .../BasicDoc.vue | 8 +- .../DisabledDoc.vue | 8 +- .../ImportDoc.vue | 2 +- .../InvalidDoc.vue | 8 +- .../PreselectionDoc.vue | 8 +- .../form/VeeValidateDoc.vue | 8 +- .../pt/PTImage.vue | 0 .../pt/index.vue | 8 +- .../theming/StyledDoc.vue | 6 +- .../theming/TailwindDoc.vue | 0 .../theming/index.vue | 2 +- doc/tree/selection/MultipleDoc.vue | 6 +- .../selection/MultipleRowsSelectionDoc.vue | 8 +- .../selection/SingleRowSelectionDoc.vue | 8 +- layouts/AppConfigurator.vue | 2 +- pages/{calendar => datepicker}/index.vue | 54 +- pages/{sidebar => drawer}/index.vue | 30 +- pages/{chips => inputchips}/index.vue | 32 +- pages/{overlaypanel => popover}/index.vue | 18 +- pages/{dropdown => select}/index.vue | 46 +- pages/{inputswitch => toggleswitch}/index.vue | 18 +- 134 files changed, 6160 insertions(+), 1238 deletions(-) delete mode 100644 doc/calendar/TimeDoc.vue rename doc/{calendar => datepicker}/AccessibilityDoc.vue (93%) rename doc/{calendar => datepicker}/BasicDoc.vue (76%) rename doc/{calendar => datepicker}/ButtonBarDoc.vue (81%) rename doc/{calendar => datepicker}/DateTemplateDoc.vue (90%) rename doc/{calendar => datepicker}/DisabledDoc.vue (73%) rename doc/{calendar => datepicker}/FilledDoc.vue (81%) rename doc/{calendar => datepicker}/FloatLabelDoc.vue (84%) rename doc/{calendar => datepicker}/FormatDoc.vue (89%) rename doc/{calendar => datepicker}/IconDoc.vue (70%) rename doc/{calendar => datepicker}/ImportDoc.vue (86%) rename doc/{calendar => datepicker}/InlineDoc.vue (71%) rename doc/{calendar => datepicker}/InvalidDoc.vue (74%) rename doc/{calendar => datepicker}/LocaleDoc.vue (100%) rename doc/{calendar => datepicker}/MinMaxDoc.vue (87%) rename doc/{calendar => datepicker}/MonthPickerDoc.vue (76%) rename doc/{calendar => datepicker}/MultipleDoc.vue (73%) rename doc/{calendar => datepicker}/MultipleMonthsDoc.vue (79%) rename doc/{calendar => datepicker}/RangeDoc.vue (75%) create mode 100644 doc/datepicker/TimeDoc.vue rename doc/{calendar => datepicker}/YearPickerDoc.vue (77%) rename doc/{calendar => datepicker}/form/VeeValidateDoc.vue (89%) rename doc/{calendar => datepicker}/pt/PTImage.vue (100%) rename doc/{dropdown => datepicker}/pt/index.vue (78%) rename doc/{calendar => datepicker}/theming/StyledDoc.vue (93%) rename doc/{calendar => datepicker}/theming/TailwindDoc.vue (100%) rename doc/{calendar => datepicker}/theming/index.vue (96%) rename doc/{sidebar => drawer}/AccessibilityDoc.vue (81%) rename doc/{sidebar => drawer}/BasicDoc.vue (83%) rename doc/{sidebar => drawer}/FullScreenDoc.vue (85%) rename doc/{sidebar => drawer}/HeadlessDoc.vue (99%) rename doc/{chips => drawer}/ImportDoc.vue (88%) rename doc/{sidebar => drawer}/PositionDoc.vue (77%) rename doc/{sidebar => drawer}/SizeDoc.vue (76%) rename doc/{sidebar => drawer}/TemplateDoc.vue (93%) rename doc/{sidebar => drawer}/pt/PTImage.vue (100%) rename doc/{chips => drawer}/pt/index.vue (79%) create mode 100644 doc/drawer/theming/StyledDoc.vue rename doc/{chips => drawer}/theming/TailwindDoc.vue (100%) rename doc/{chips => drawer}/theming/index.vue (96%) rename doc/{chips => inputchips}/AccessibilityDoc.vue (96%) rename doc/{chips => inputchips}/BasicDoc.vue (73%) rename doc/{chips => inputchips}/DisabledDoc.vue (81%) rename doc/{chips => inputchips}/FilledDoc.vue (80%) rename doc/{chips => inputchips}/FloatLabelDoc.vue (72%) rename doc/{inputswitch => inputchips}/ImportDoc.vue (85%) rename doc/{chips => inputchips}/InvalidDoc.vue (83%) rename doc/{chips => inputchips}/SeparatorDoc.vue (81%) rename doc/{chips => inputchips}/TemplateDoc.vue (89%) rename doc/{chips => inputchips}/form/VeeValidateDoc.vue (89%) rename doc/{chips => inputchips}/pt/PTImage.vue (100%) create mode 100644 doc/inputchips/pt/index.vue rename doc/{chips => inputchips}/theming/StyledDoc.vue (78%) rename doc/{dropdown => inputchips}/theming/TailwindDoc.vue (100%) create mode 100644 doc/inputchips/theming/index.vue delete mode 100644 doc/overlaypanel/pt/index.vue delete mode 100644 doc/overlaypanel/theming/index.vue rename doc/{overlaypanel => popover}/AccessibilityDoc.vue (72%) rename doc/{overlaypanel => popover}/BasicDoc.vue (94%) rename doc/{overlaypanel => popover}/DataTableDoc.vue (97%) rename doc/{sidebar => popover}/ImportDoc.vue (87%) rename doc/{overlaypanel => popover}/pt/PTImage.vue (100%) rename doc/{sidebar => popover}/pt/index.vue (79%) rename doc/{overlaypanel => popover}/theming/StyledDoc.vue (82%) rename doc/{inputswitch => popover}/theming/TailwindDoc.vue (100%) rename doc/{sidebar => popover}/theming/index.vue (96%) rename doc/{dropdown => select}/AccessibilityDoc.vue (86%) rename doc/{dropdown => select}/BasicDoc.vue (63%) rename doc/{dropdown => select}/CheckmarkDoc.vue (71%) rename doc/{dropdown => select}/ClearIconDoc.vue (73%) rename doc/{dropdown => select}/DisabledDoc.vue (68%) rename doc/{dropdown => select}/EditableDoc.vue (74%) rename doc/{dropdown => select}/FilledDoc.vue (74%) rename doc/{dropdown => select}/FilterDoc.vue (88%) rename doc/{dropdown => select}/FloatLabelDoc.vue (82%) rename doc/{dropdown => select}/GroupDoc.vue (88%) rename doc/{dropdown => select}/ImportDoc.vue (87%) rename doc/{dropdown => select}/InvalidDoc.vue (75%) rename doc/{dropdown => select}/LazyVirtualScrollDoc.vue (90%) rename doc/{dropdown => select}/LoadingStateDoc.vue (66%) rename doc/{dropdown => select}/TemplateDoc.vue (90%) rename doc/{dropdown => select}/VirtualScrollDoc.vue (77%) rename doc/{dropdown => select}/form/VeeValidateDoc.vue (92%) rename doc/{dropdown => select}/pt/PTImage.vue (100%) rename doc/{calendar => select}/pt/index.vue (78%) rename doc/{dropdown => select}/theming/StyledDoc.vue (78%) rename doc/{overlaypanel => select}/theming/TailwindDoc.vue (100%) rename doc/{dropdown => select}/theming/index.vue (96%) delete mode 100644 doc/sidebar/theming/StyledDoc.vue rename doc/{inputswitch => toggleswitch}/AccessibilityDoc.vue (77%) rename doc/{inputswitch => toggleswitch}/BasicDoc.vue (83%) rename doc/{inputswitch => toggleswitch}/DisabledDoc.vue (81%) rename doc/{overlaypanel => toggleswitch}/ImportDoc.vue (85%) rename doc/{inputswitch => toggleswitch}/InvalidDoc.vue (83%) rename doc/{inputswitch => toggleswitch}/PreselectionDoc.vue (84%) rename doc/{inputswitch => toggleswitch}/form/VeeValidateDoc.vue (90%) rename doc/{inputswitch => toggleswitch}/pt/PTImage.vue (100%) rename doc/{inputswitch => toggleswitch}/pt/index.vue (77%) rename doc/{inputswitch => toggleswitch}/theming/StyledDoc.vue (83%) rename doc/{sidebar => toggleswitch}/theming/TailwindDoc.vue (100%) rename doc/{inputswitch => toggleswitch}/theming/index.vue (96%) rename pages/{calendar => datepicker}/index.vue (67%) rename pages/{sidebar => drawer}/index.vue (62%) rename pages/{chips => inputchips}/index.vue (62%) rename pages/{overlaypanel => popover}/index.vue (64%) rename pages/{dropdown => select}/index.vue (66%) rename pages/{inputswitch => toggleswitch}/index.vue (60%) 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 @@
Beneficiary - +
Account @@ -50,7 +50,7 @@ Date - +
@@ -59,7 +59,7 @@
- +
diff --git a/doc/calendar/TimeDoc.vue b/doc/calendar/TimeDoc.vue deleted file mode 100644 index 9677423aa..000000000 --- a/doc/calendar/TimeDoc.vue +++ /dev/null @@ -1,95 +0,0 @@ - - - diff --git a/doc/cdn/ComponentDoc.vue b/doc/cdn/ComponentDoc.vue index f6ce855e6..99cd80392 100644 --- a/doc/cdn/ComponentDoc.vue +++ b/doc/cdn/ComponentDoc.vue @@ -11,7 +11,7 @@ export default { return { code: { basic: ` - diff --git a/doc/calendar/YearPickerDoc.vue b/doc/datepicker/YearPickerDoc.vue similarity index 77% rename from doc/calendar/YearPickerDoc.vue rename to doc/datepicker/YearPickerDoc.vue index f1926788a..7f7731546 100644 --- a/doc/calendar/YearPickerDoc.vue +++ b/doc/datepicker/YearPickerDoc.vue @@ -3,7 +3,7 @@

Specifying view as year in addition to a suitable dateFormat enables the year picker.

- +
@@ -15,12 +15,12 @@ export default { date: null, code: { basic: ` - + `, options: ` @@ -37,7 +37,7 @@ export default { composition: ` diff --git a/doc/calendar/form/VeeValidateDoc.vue b/doc/datepicker/form/VeeValidateDoc.vue similarity index 89% rename from doc/calendar/form/VeeValidateDoc.vue rename to doc/datepicker/form/VeeValidateDoc.vue index b3b8d5044..11a6ff873 100644 --- a/doc/calendar/form/VeeValidateDoc.vue +++ b/doc/datepicker/form/VeeValidateDoc.vue @@ -5,7 +5,7 @@
- + {{ errorMessage || ' ' }}
@@ -152,7 +152,7 @@ export default { {{ selectedProduct.category }}
- + @@ -166,7 +166,7 @@ export default { - +
diff --git a/doc/sidebar/ImportDoc.vue b/doc/popover/ImportDoc.vue similarity index 87% rename from doc/sidebar/ImportDoc.vue rename to doc/popover/ImportDoc.vue index 0c809aef7..0506d4cdd 100644 --- a/doc/sidebar/ImportDoc.vue +++ b/doc/popover/ImportDoc.vue @@ -9,7 +9,7 @@ export default { return { code: { basic: ` -import Sidebar from 'primevue/sidebar'; +import Popover from 'primevue/popover'; ` } }; diff --git a/doc/overlaypanel/pt/PTImage.vue b/doc/popover/pt/PTImage.vue similarity index 100% rename from doc/overlaypanel/pt/PTImage.vue rename to doc/popover/pt/PTImage.vue diff --git a/doc/sidebar/pt/index.vue b/doc/popover/pt/index.vue similarity index 79% rename from doc/sidebar/pt/index.vue rename to doc/popover/pt/index.vue index 7485585fc..c5e3326d5 100644 --- a/doc/sidebar/pt/index.vue +++ b/doc/popover/pt/index.vue @@ -1,7 +1,7 @@ @@ -14,12 +14,12 @@ export default { return { code: { basic: ` - + @@ -22,12 +22,12 @@ export default { ], code: { basic: ` - + @@ -22,12 +22,12 @@ export default { ], code: { basic: ` - + - + `, options: ` @@ -109,7 +109,7 @@ export default { composition: ` diff --git a/doc/dropdown/FloatLabelDoc.vue b/doc/select/FloatLabelDoc.vue similarity index 82% rename from doc/dropdown/FloatLabelDoc.vue rename to doc/select/FloatLabelDoc.vue index c149d71af..c8a57f1b5 100644 --- a/doc/dropdown/FloatLabelDoc.vue +++ b/doc/select/FloatLabelDoc.vue @@ -4,7 +4,7 @@
- + `, @@ -34,7 +34,7 @@ export default { @@ -22,12 +22,12 @@ export default { ], code: { basic: ` - + `, options: ` @@ -29,7 +29,7 @@ export default { composition: ` diff --git a/doc/dropdown/TemplateDoc.vue b/doc/select/TemplateDoc.vue similarity index 90% rename from doc/dropdown/TemplateDoc.vue rename to doc/select/TemplateDoc.vue index 0ce1b7d21..ef9442245 100644 --- a/doc/dropdown/TemplateDoc.vue +++ b/doc/select/TemplateDoc.vue @@ -3,7 +3,7 @@

Options and the selected option display support templating with option and value respectively.

- +
@@ -43,7 +43,7 @@ export default { ], code: { basic: ` - + `, options: ` @@ -109,7 +109,7 @@ export default { composition: ` diff --git a/doc/dropdown/VirtualScrollDoc.vue b/doc/select/VirtualScrollDoc.vue similarity index 77% rename from doc/dropdown/VirtualScrollDoc.vue rename to doc/select/VirtualScrollDoc.vue index c844579d2..775ae0887 100644 --- a/doc/dropdown/VirtualScrollDoc.vue +++ b/doc/select/VirtualScrollDoc.vue @@ -2,11 +2,11 @@

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 - VirtualScroller for more information about the available options as it is used internally by Dropdown. + VirtualScroller for more information about the available options as it is used internally by Select.

- + {{ errorMessage || ' ' }} @@ -57,7 +57,7 @@ export default {
- @@ -73,7 +73,7 @@ export default {
- @@ -130,7 +130,7 @@ export default {
- diff --git a/doc/dropdown/pt/PTImage.vue b/doc/select/pt/PTImage.vue similarity index 100% rename from doc/dropdown/pt/PTImage.vue rename to doc/select/pt/PTImage.vue diff --git a/doc/calendar/pt/index.vue b/doc/select/pt/index.vue similarity index 78% rename from doc/calendar/pt/index.vue rename to doc/select/pt/index.vue index 259fef8a9..bf9ccc9f7 100644 --- a/doc/calendar/pt/index.vue +++ b/doc/select/pt/index.vue @@ -1,7 +1,7 @@