From 30055d534700417de687292e79b3c27f05f477ba Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Fri, 26 Jul 2024 14:20:45 +0300 Subject: [PATCH] Fluid demo added --- apps/showcase/assets/menu/menu.json | 4 ++ .../components/doc/codeeditor/templates.js | 2 + apps/showcase/doc/fluid/AccessibilityDoc.vue | 9 +++ apps/showcase/doc/fluid/BasicDoc.vue | 63 +++++++++++++++++++ apps/showcase/doc/fluid/ImportDoc.vue | 18 ++++++ apps/showcase/doc/fluid/pt/PTImage.vue | 8 +++ apps/showcase/doc/fluid/pt/index.vue | 35 +++++++++++ .../doc/fluid/theming/TailwindDoc.vue | 8 +++ apps/showcase/doc/fluid/theming/index.vue | 49 +++++++++++++++ apps/showcase/doc/inputtext/FluidDoc.vue | 63 +++++++++++++++++++ apps/showcase/pages/fluid/index.vue | 37 +++++++++++ apps/showcase/pages/inputtext/index.vue | 6 ++ 12 files changed, 302 insertions(+) create mode 100644 apps/showcase/doc/fluid/AccessibilityDoc.vue create mode 100644 apps/showcase/doc/fluid/BasicDoc.vue create mode 100644 apps/showcase/doc/fluid/ImportDoc.vue create mode 100644 apps/showcase/doc/fluid/pt/PTImage.vue create mode 100644 apps/showcase/doc/fluid/pt/index.vue create mode 100644 apps/showcase/doc/fluid/theming/TailwindDoc.vue create mode 100644 apps/showcase/doc/fluid/theming/index.vue create mode 100644 apps/showcase/doc/inputtext/FluidDoc.vue create mode 100644 apps/showcase/pages/fluid/index.vue diff --git a/apps/showcase/assets/menu/menu.json b/apps/showcase/assets/menu/menu.json index aa48f3d79..d28a9b256 100644 --- a/apps/showcase/assets/menu/menu.json +++ b/apps/showcase/assets/menu/menu.json @@ -99,6 +99,10 @@ "name": "FloatLabel", "to": "/floatlabel" }, + { + "name": "Fluid", + "to": "/fluid" + }, { "name": "IconField", "to": "/iconfield" diff --git a/apps/showcase/components/doc/codeeditor/templates.js b/apps/showcase/components/doc/codeeditor/templates.js index a10709439..e587225c7 100644 --- a/apps/showcase/components/doc/codeeditor/templates.js +++ b/apps/showcase/components/doc/codeeditor/templates.js @@ -172,6 +172,7 @@ import DynamicDialog from 'primevue/dynamicdialog'; import Fieldset from 'primevue/fieldset'; import FileUpload from 'primevue/fileupload'; import FloatLabel from 'primevue/floatlabel'; +import Fluid from 'primevue/fluid'; import FocusTrap from 'primevue/focustrap'; import Galleria from 'primevue/galleria'; import IconField from 'primevue/iconfield'; @@ -313,6 +314,7 @@ app.component('DynamicDialog', DynamicDialog); app.component('Fieldset', Fieldset); app.component('FileUpload', FileUpload); app.component('FloatLabel', FloatLabel); +app.component('Fluid', Fluid); app.component('Galleria', Galleria); app.component('IconField', IconField); app.component('Image', Image); diff --git a/apps/showcase/doc/fluid/AccessibilityDoc.vue b/apps/showcase/doc/fluid/AccessibilityDoc.vue new file mode 100644 index 000000000..03b4077a4 --- /dev/null +++ b/apps/showcase/doc/fluid/AccessibilityDoc.vue @@ -0,0 +1,9 @@ + diff --git a/apps/showcase/doc/fluid/BasicDoc.vue b/apps/showcase/doc/fluid/BasicDoc.vue new file mode 100644 index 000000000..98014fd8e --- /dev/null +++ b/apps/showcase/doc/fluid/BasicDoc.vue @@ -0,0 +1,63 @@ + + + diff --git a/apps/showcase/doc/fluid/ImportDoc.vue b/apps/showcase/doc/fluid/ImportDoc.vue new file mode 100644 index 000000000..fc94d9b6b --- /dev/null +++ b/apps/showcase/doc/fluid/ImportDoc.vue @@ -0,0 +1,18 @@ + + + diff --git a/apps/showcase/doc/fluid/pt/PTImage.vue b/apps/showcase/doc/fluid/pt/PTImage.vue new file mode 100644 index 000000000..9ac50d6b4 --- /dev/null +++ b/apps/showcase/doc/fluid/pt/PTImage.vue @@ -0,0 +1,8 @@ + diff --git a/apps/showcase/doc/fluid/pt/index.vue b/apps/showcase/doc/fluid/pt/index.vue new file mode 100644 index 000000000..514a9b880 --- /dev/null +++ b/apps/showcase/doc/fluid/pt/index.vue @@ -0,0 +1,35 @@ + + + diff --git a/apps/showcase/doc/fluid/theming/TailwindDoc.vue b/apps/showcase/doc/fluid/theming/TailwindDoc.vue new file mode 100644 index 000000000..4daa6c5f8 --- /dev/null +++ b/apps/showcase/doc/fluid/theming/TailwindDoc.vue @@ -0,0 +1,8 @@ + diff --git a/apps/showcase/doc/fluid/theming/index.vue b/apps/showcase/doc/fluid/theming/index.vue new file mode 100644 index 000000000..1d096c876 --- /dev/null +++ b/apps/showcase/doc/fluid/theming/index.vue @@ -0,0 +1,49 @@ + + + diff --git a/apps/showcase/doc/inputtext/FluidDoc.vue b/apps/showcase/doc/inputtext/FluidDoc.vue new file mode 100644 index 000000000..6c6fa70e9 --- /dev/null +++ b/apps/showcase/doc/inputtext/FluidDoc.vue @@ -0,0 +1,63 @@ + + + diff --git a/apps/showcase/pages/fluid/index.vue b/apps/showcase/pages/fluid/index.vue new file mode 100644 index 000000000..7a69c4839 --- /dev/null +++ b/apps/showcase/pages/fluid/index.vue @@ -0,0 +1,37 @@ + + + diff --git a/apps/showcase/pages/inputtext/index.vue b/apps/showcase/pages/inputtext/index.vue index a172e888d..6cc47232b 100755 --- a/apps/showcase/pages/inputtext/index.vue +++ b/apps/showcase/pages/inputtext/index.vue @@ -8,6 +8,7 @@ import BasicDoc from '@/doc/inputtext/BasicDoc.vue'; import DisabledDoc from '@/doc/inputtext/DisabledDoc.vue'; import FilledDoc from '@/doc/inputtext/FilledDoc.vue'; import FloatLabelDoc from '@/doc/inputtext/FloatLabelDoc.vue'; +import FluidDoc from '@/doc/inputtext/FluidDoc.vue'; import HelpTextDoc from '@/doc/inputtext/HelpTextDoc.vue'; import ImportDoc from '@/doc/inputtext/ImportDoc.vue'; import InvalidDoc from '@/doc/inputtext/InvalidDoc.vue'; @@ -49,6 +50,11 @@ export default { label: 'Filled', component: FilledDoc }, + { + id: 'fluid', + label: 'Fluid', + component: FluidDoc + }, { id: 'invalid', label: 'Invalid',