From de119bb8b0fc742b400b1914efc7317ab92f381b Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 10 Jul 2023 00:13:49 +0300 Subject: [PATCH] Docs for unstyled mode --- assets/menu/menu.json | 60 ++++++++--- doc/bootstrap/ExampleDoc.vue | 77 ++++++++++++++ doc/bootstrap/SetupDoc.vue | 8 ++ doc/configuration/PTDoc.vue | 28 +++++ doc/configuration/UnstyledDoc.vue | 26 +++++ doc/customicons/FontAwesomeDoc.vue | 3 +- doc/customicons/ImageDoc.vue | 3 +- doc/customicons/MaterialDoc.vue | 3 +- doc/customicons/SVGDoc.vue | 3 +- doc/installation/NuxtIntegrationDoc.vue | 2 +- .../{StylesDoc.vue => StyledModeDoc.vue} | 7 +- doc/installation/UnstyledModeDoc.vue | 25 +++++ doc/passthrough/BasicDoc.vue | 100 ++++++++++++++++++ doc/passthrough/GlobalDoc.vue | 35 ++++++ doc/passthrough/LifecycleDoc.vue | 71 +++++++++++++ doc/tailwind/ExampleDoc.vue | 77 ++++++++++++++ doc/tailwind/SetupDoc.vue | 9 ++ doc/unstyled/ArchitectureDoc.vue | 13 +++ doc/unstyled/ExampleDoc.vue | 68 ++++++++++++ doc/unstyled/SetupDoc.vue | 32 ++++++ doc/unstyled/ThemeDoc.vue | 40 +++++++ pages/bootstrap/index.vue | 43 ++++++++ pages/configuration/index.vue | 16 ++- pages/installation/index.vue | 25 +++-- pages/passthrough/index.vue | 46 ++++++++ pages/tailwind/index.vue | 43 ++++++++ pages/team/index.vue | 5 - pages/unstyled/index.vue | 55 ++++++++++ 28 files changed, 883 insertions(+), 40 deletions(-) create mode 100644 doc/bootstrap/ExampleDoc.vue create mode 100644 doc/bootstrap/SetupDoc.vue create mode 100644 doc/configuration/PTDoc.vue create mode 100644 doc/configuration/UnstyledDoc.vue rename doc/installation/{StylesDoc.vue => StyledModeDoc.vue} (62%) create mode 100644 doc/installation/UnstyledModeDoc.vue create mode 100644 doc/passthrough/BasicDoc.vue create mode 100644 doc/passthrough/GlobalDoc.vue create mode 100644 doc/passthrough/LifecycleDoc.vue create mode 100644 doc/tailwind/ExampleDoc.vue create mode 100644 doc/tailwind/SetupDoc.vue create mode 100644 doc/unstyled/ArchitectureDoc.vue create mode 100644 doc/unstyled/ExampleDoc.vue create mode 100644 doc/unstyled/SetupDoc.vue create mode 100644 doc/unstyled/ThemeDoc.vue create mode 100644 pages/bootstrap/index.vue create mode 100644 pages/passthrough/index.vue create mode 100644 pages/tailwind/index.vue create mode 100644 pages/unstyled/index.vue diff --git a/assets/menu/menu.json b/assets/menu/menu.json index ccc75a804..99277ae6c 100644 --- a/assets/menu/menu.json +++ b/assets/menu/menu.json @@ -11,10 +11,6 @@ { "name": "Configuration", "to": "/configuration" - }, - { - "name": "Accessibility", - "to": "/accessibility" } ] }, @@ -432,23 +428,50 @@ "icon": "pi pi-palette", "children": [ { - "name": "Overview", - "to": "/theming" + "name": "Styled Mode", + "children": [ + { + "name": "Overview", + "to": "/theming" + }, + { + "name": "Visual Editor", + "href": "https://designer.primevue.org" + }, + { + "name": "Colors", + "to": "/colors" + }, + { + "name": "SASS API", + "href": "https://www.primefaces.org/designer/api/primevue/3.9.0" + } + ] }, { - "name": "Visual Editor", - "href": "https://designer.primevue.org" - }, - { - "name": "Colors", - "to": "/colors" - }, - { - "name": "SASS API", - "href": "https://www.primefaces.org/designer/api/primevue/3.9.0" + "name": "Unstyled Mode", + "children": [ + { + "name": "Overview", + "to": "/unstyled" + }, + { + "name": "Tailwind", + "to": "/tailwind" + }, + { + "name": "Bootstrap", + "to": "/bootstrap" + } + ] } ] }, + { + "name": "Pass Through", + "icon": "pi pi-directions", + "to": "/passthrough" + }, { "name": "Figma UI Kit", "icon": "pi pi-pencil", @@ -483,6 +506,11 @@ "icon": "pi pi-table", "href": "https://primeflex.org" }, + { + "name": "Accessibility", + "icon": "pi pi-users", + "to": "/accessibility" + }, { "name": "Support", "icon": "pi pi-question", diff --git a/doc/bootstrap/ExampleDoc.vue b/doc/bootstrap/ExampleDoc.vue new file mode 100644 index 000000000..d4fc475e4 --- /dev/null +++ b/doc/bootstrap/ExampleDoc.vue @@ -0,0 +1,77 @@ + + + diff --git a/doc/bootstrap/SetupDoc.vue b/doc/bootstrap/SetupDoc.vue new file mode 100644 index 000000000..5000b3e11 --- /dev/null +++ b/doc/bootstrap/SetupDoc.vue @@ -0,0 +1,8 @@ + diff --git a/doc/configuration/PTDoc.vue b/doc/configuration/PTDoc.vue new file mode 100644 index 000000000..03c258ab4 --- /dev/null +++ b/doc/configuration/PTDoc.vue @@ -0,0 +1,28 @@ + + + diff --git a/doc/configuration/UnstyledDoc.vue b/doc/configuration/UnstyledDoc.vue new file mode 100644 index 000000000..aae8b65ef --- /dev/null +++ b/doc/configuration/UnstyledDoc.vue @@ -0,0 +1,26 @@ + + + diff --git a/doc/customicons/FontAwesomeDoc.vue b/doc/customicons/FontAwesomeDoc.vue index 7b1c73bcc..153e3272d 100644 --- a/doc/customicons/FontAwesomeDoc.vue +++ b/doc/customicons/FontAwesomeDoc.vue @@ -10,8 +10,7 @@ export default { data() { return { code: { - basic: ` - + basic: ` diff --git a/doc/customicons/ImageDoc.vue b/doc/customicons/ImageDoc.vue index 1dae2b392..553cce2bf 100644 --- a/doc/customicons/ImageDoc.vue +++ b/doc/customicons/ImageDoc.vue @@ -10,8 +10,7 @@ export default { data() { return { code: { - basic: ` - + basic: ` diff --git a/doc/customicons/MaterialDoc.vue b/doc/customicons/MaterialDoc.vue index 92e0cf39b..4da92d536 100644 --- a/doc/customicons/MaterialDoc.vue +++ b/doc/customicons/MaterialDoc.vue @@ -10,8 +10,7 @@ export default { data() { return { code: { - basic: ` - + basic: ` diff --git a/doc/customicons/SVGDoc.vue b/doc/customicons/SVGDoc.vue index efcccec09..47c583e15 100644 --- a/doc/customicons/SVGDoc.vue +++ b/doc/customicons/SVGDoc.vue @@ -10,8 +10,7 @@ export default { data() { return { code: { - basic: ` - + basic: `