From 0d3816522a08bc79354ec0451fdecbfe1e6616f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Thu, 25 May 2023 17:15:19 +0300 Subject: [PATCH] Refactor #3965 - For InlineMessage --- .../lib/inlinemessage/BaseInlineMessage.vue | 56 +++++++++++++++++++ .../lib/inlinemessage/InlineMessage.d.ts | 5 ++ .../lib/inlinemessage/InlineMessage.vue | 41 ++------------ 3 files changed, 66 insertions(+), 36 deletions(-) create mode 100644 components/lib/inlinemessage/BaseInlineMessage.vue diff --git a/components/lib/inlinemessage/BaseInlineMessage.vue b/components/lib/inlinemessage/BaseInlineMessage.vue new file mode 100644 index 000000000..b5e77b59c --- /dev/null +++ b/components/lib/inlinemessage/BaseInlineMessage.vue @@ -0,0 +1,56 @@ + diff --git a/components/lib/inlinemessage/InlineMessage.d.ts b/components/lib/inlinemessage/InlineMessage.d.ts index 4b8e93dcf..a65c91a72 100755 --- a/components/lib/inlinemessage/InlineMessage.d.ts +++ b/components/lib/inlinemessage/InlineMessage.d.ts @@ -76,6 +76,11 @@ export interface InlineMessageProps { * @type {InlineMessagePassThroughOptions} */ pt?: InlineMessagePassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } /** * Defines valid slots in InlineMessage slots. diff --git a/components/lib/inlinemessage/InlineMessage.vue b/components/lib/inlinemessage/InlineMessage.vue index 450726ca8..feeb4b3ca 100755 --- a/components/lib/inlinemessage/InlineMessage.vue +++ b/components/lib/inlinemessage/InlineMessage.vue @@ -1,16 +1,16 @@ - -