From ac11444e3c8cb96ad7c14b506e8ed7d34f51b581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Mon, 31 Jul 2023 16:02:48 +0300 Subject: [PATCH] Toast and InlineMessage unstyled demo updates --- .../{StyleDoc.vue => theming/StyledDoc.vue} | 0 doc/inlinemessage/theming/UnstyledDoc.vue | 29 +++++++++++ doc/inlinemessage/theming/index.vue | 33 ++++++++++++ .../{StyleDoc.vue => theming/StyledDoc.vue} | 0 doc/toast/theming/UnstyledDoc.vue | 50 +++++++++++++++++++ doc/toast/theming/index.vue | 33 ++++++++++++ pages/inlinemessage/index.vue | 11 ++-- pages/toast/index.vue | 12 ++--- 8 files changed, 153 insertions(+), 15 deletions(-) rename doc/inlinemessage/{StyleDoc.vue => theming/StyledDoc.vue} (100%) create mode 100644 doc/inlinemessage/theming/UnstyledDoc.vue create mode 100644 doc/inlinemessage/theming/index.vue rename doc/toast/{StyleDoc.vue => theming/StyledDoc.vue} (100%) create mode 100644 doc/toast/theming/UnstyledDoc.vue create mode 100644 doc/toast/theming/index.vue diff --git a/doc/inlinemessage/StyleDoc.vue b/doc/inlinemessage/theming/StyledDoc.vue similarity index 100% rename from doc/inlinemessage/StyleDoc.vue rename to doc/inlinemessage/theming/StyledDoc.vue diff --git a/doc/inlinemessage/theming/UnstyledDoc.vue b/doc/inlinemessage/theming/UnstyledDoc.vue new file mode 100644 index 000000000..69d6fea67 --- /dev/null +++ b/doc/inlinemessage/theming/UnstyledDoc.vue @@ -0,0 +1,29 @@ + + + diff --git a/doc/inlinemessage/theming/index.vue b/doc/inlinemessage/theming/index.vue new file mode 100644 index 000000000..326acc008 --- /dev/null +++ b/doc/inlinemessage/theming/index.vue @@ -0,0 +1,33 @@ + + + diff --git a/doc/toast/StyleDoc.vue b/doc/toast/theming/StyledDoc.vue similarity index 100% rename from doc/toast/StyleDoc.vue rename to doc/toast/theming/StyledDoc.vue diff --git a/doc/toast/theming/UnstyledDoc.vue b/doc/toast/theming/UnstyledDoc.vue new file mode 100644 index 000000000..079e9d726 --- /dev/null +++ b/doc/toast/theming/UnstyledDoc.vue @@ -0,0 +1,50 @@ + + + diff --git a/doc/toast/theming/index.vue b/doc/toast/theming/index.vue new file mode 100644 index 000000000..7e1b782ec --- /dev/null +++ b/doc/toast/theming/index.vue @@ -0,0 +1,33 @@ + + + diff --git a/pages/inlinemessage/index.vue b/pages/inlinemessage/index.vue index fd5bc404d..74f7b5e65 100644 --- a/pages/inlinemessage/index.vue +++ b/pages/inlinemessage/index.vue @@ -6,6 +6,7 @@ :componentDocs="docs" :apiDocs="['InlineMessage']" :ptTabComponent="ptComponent" + :themingDocs="themingDoc" /> @@ -15,9 +16,9 @@ import BasicDoc from '@/doc/inlinemessage/BasicDoc.vue'; import FormDoc from '@/doc/inlinemessage/FormDoc.vue'; import ImportDoc from '@/doc/inlinemessage/ImportDoc.vue'; import SeverityDoc from '@/doc/inlinemessage/SeverityDoc.vue'; -import StyleDoc from '@/doc/inlinemessage/StyleDoc.vue'; import TemplateDoc from '@/doc/inlinemessage/TemplateDoc.vue'; import PTComponent from '@/doc/inlinemessage/pt/index.vue'; +import ThemingDoc from '@/doc/inlinemessage/theming/index.vue'; export default { data() { @@ -48,18 +49,14 @@ export default { label: 'Template', component: TemplateDoc }, - { - id: 'style', - label: 'Style', - component: StyleDoc - }, { id: 'accessibility', label: 'Accessibility', component: AccessibilityDoc } ], - ptComponent: PTComponent + ptComponent: PTComponent, + themingDoc: ThemingDoc }; } }; diff --git a/pages/toast/index.vue b/pages/toast/index.vue index c05ef233b..65aaecb30 100755 --- a/pages/toast/index.vue +++ b/pages/toast/index.vue @@ -1,5 +1,5 @@