@farming-labs/docs 0.2.129 → 0.2.130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -142,9 +142,9 @@ function renderOperation(operation, options) {
|
|
|
142
142
|
</div>
|
|
143
143
|
<aside class="fl-api-code-panel" aria-label="Request example and interactive console" data-console-root>
|
|
144
144
|
<div class="fl-api-code-header">
|
|
145
|
-
<div class="fl-api-code-tabs" role="tablist" aria-label="Request tools">
|
|
146
|
-
<button id="example-tab-${escapeAttribute(operation.slug)}" type="button" role="tab" aria-selected="true" aria-controls="example-panel-${escapeAttribute(operation.slug)}" tabindex="0" data-console-tab="example">cURL</button>
|
|
147
|
-
<button id="console-tab-${escapeAttribute(operation.slug)}" type="button" role="tab" aria-selected="false" aria-controls="console-panel-${escapeAttribute(operation.slug)}" tabindex="-1" data-console-tab="console">Try it</button>
|
|
145
|
+
<div class="fl-api-code-tabs fd-tabs-list" role="tablist" aria-label="Request tools">
|
|
146
|
+
<button id="example-tab-${escapeAttribute(operation.slug)}" type="button" role="tab" class="fd-tabs-trigger" aria-selected="true" aria-controls="example-panel-${escapeAttribute(operation.slug)}" tabindex="0" data-console-tab="example">cURL</button>
|
|
147
|
+
<button id="console-tab-${escapeAttribute(operation.slug)}" type="button" role="tab" class="fd-tabs-trigger" aria-selected="false" aria-controls="console-panel-${escapeAttribute(operation.slug)}" tabindex="-1" data-console-tab="console">Try it</button>
|
|
148
148
|
</div>
|
|
149
149
|
<button type="button" class="fl-api-copy" data-copy="${escapeAttribute(curl)}" data-example-copy aria-label="Copy cURL request">Copy</button>
|
|
150
150
|
</div>
|
package/package.json
CHANGED
package/styles/themes/shadcn.css
CHANGED
|
@@ -949,7 +949,7 @@ aside#nd-sidebar button.text-fd-muted-foreground,
|
|
|
949
949
|
}
|
|
950
950
|
|
|
951
951
|
.fd-tabs-list,
|
|
952
|
-
[role="tablist"] {
|
|
952
|
+
.fd-tabs > [role="tablist"] {
|
|
953
953
|
border: 0 !important;
|
|
954
954
|
border-bottom: 1px solid var(--color-fd-border) !important;
|
|
955
955
|
border-radius: 0 !important;
|
|
@@ -960,7 +960,7 @@ aside#nd-sidebar button.text-fd-muted-foreground,
|
|
|
960
960
|
|
|
961
961
|
.fd-tabs-trigger,
|
|
962
962
|
.fd-tab-trigger,
|
|
963
|
-
[role="tab"] {
|
|
963
|
+
.fd-tabs > [role="tablist"] > [role="tab"] {
|
|
964
964
|
border: 0 !important;
|
|
965
965
|
border-bottom: 2px solid transparent !important;
|
|
966
966
|
border-radius: 0 !important;
|
|
@@ -974,17 +974,18 @@ aside#nd-sidebar button.text-fd-muted-foreground,
|
|
|
974
974
|
}
|
|
975
975
|
|
|
976
976
|
.fd-tabs-trigger[data-state="active"],
|
|
977
|
+
.fd-tabs-trigger[aria-selected="true"],
|
|
977
978
|
.fd-tab-trigger[data-state="active"],
|
|
978
979
|
.fd-tab-trigger.fd-tab-active,
|
|
979
|
-
[role="tab"][aria-selected="true"],
|
|
980
|
-
[role="tab"][data-active="true"] {
|
|
980
|
+
.fd-tabs > [role="tablist"] > [role="tab"][aria-selected="true"],
|
|
981
|
+
.fd-tabs > [role="tablist"] > [role="tab"][data-active="true"] {
|
|
981
982
|
border-bottom-color: var(--color-fd-foreground) !important;
|
|
982
983
|
color: var(--color-fd-foreground) !important;
|
|
983
984
|
}
|
|
984
985
|
|
|
985
986
|
.fd-tabs-trigger:focus-visible,
|
|
986
987
|
.fd-tab-trigger:focus-visible,
|
|
987
|
-
[role="tab"]:focus-visible {
|
|
988
|
+
.fd-tabs > [role="tablist"] > [role="tab"]:focus-visible {
|
|
988
989
|
outline: 2px solid var(--color-fd-ring) !important;
|
|
989
990
|
outline-offset: -2px !important;
|
|
990
991
|
}
|