From a2524ed21a0bfb7fc8cc01271fa2179530ddee37 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Wed, 24 Apr 2024 23:43:32 +0100 Subject: [PATCH] Refactor --- assets/styles/layout/_doc.scss | 16 +- components/doc/DocApiTable.vue | 5 +- components/doc/DocSectionText.vue | 1 + components/doc/DocSections.vue | 6 +- components/lib/buttongroup/ButtonGroup.d.ts | 2 +- components/lib/inputotp/InputOtp.d.ts | 2 +- components/lib/popover/Popover.d.ts | 2 +- components/lib/tab/Tab.vue | 3 +- components/lib/tablist/package.json | 10 +- components/lib/tabview/TabView.d.ts | 3 +- doc/common/apidoc/index.json | 793 +++++++++++++++++++- nuxt-vite.config.js | 8 +- 12 files changed, 830 insertions(+), 21 deletions(-) diff --git a/assets/styles/layout/_doc.scss b/assets/styles/layout/_doc.scss index af7fe9fe4..12e9e66cd 100644 --- a/assets/styles/layout/_doc.scss +++ b/assets/styles/layout/_doc.scss @@ -19,7 +19,7 @@ li { position: relative; z-index: 1; - + button { background-color: transparent; border: 0 none; @@ -108,6 +108,14 @@ @include focus-visible(); } + > .doc-section-label-badge { + margin-left: 0.5rem; + } + + &:has(.doc-section-label-badge) { + line-height: 1; + } + &:hover { > a { display: block; @@ -230,9 +238,9 @@ } } -.doc-section-code { +.doc-section-code { position: relative; - + div { &::-webkit-scrollbar { width: 5px; @@ -264,7 +272,7 @@ padding: 2px; backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .1); - + button { outline: 0 none; border-radius: 8px; diff --git a/components/doc/DocApiTable.vue b/components/doc/DocApiTable.vue index fc2706a09..da7e65cde 100644 --- a/components/doc/DocApiTable.vue +++ b/components/doc/DocApiTable.vue @@ -1,5 +1,5 @@