@clarify-labs/renderer 0.11.0 → 0.11.1
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.
- package/output/{ClarifyShell-BAjq876Z.cjs → ClarifyShell-C2XnkFQ6.cjs} +37 -21
- package/output/ClarifyShell-C2XnkFQ6.cjs.map +1 -0
- package/output/{ClarifyShell-GoSXvgMg.js → ClarifyShell-CwRtof1h.js} +37 -21
- package/output/ClarifyShell-CwRtof1h.js.map +1 -0
- package/output/{MermaidViewer-BZ8ghcFP.cjs → MermaidViewer-CTvMCE19.cjs} +2 -2
- package/output/{MermaidViewer-BZ8ghcFP.cjs.map → MermaidViewer-CTvMCE19.cjs.map} +1 -1
- package/output/{MermaidViewer-CkIxyqtf.js → MermaidViewer-CwkiQ2gO.js} +2 -2
- package/output/{MermaidViewer-CkIxyqtf.js.map → MermaidViewer-CwkiQ2gO.js.map} +1 -1
- package/output/{OpenApiOperation-C2vJztWZ.js → OpenApiOperation-CFo6_otd.js} +470 -123
- package/output/OpenApiOperation-CFo6_otd.js.map +1 -0
- package/output/{OpenApiOperation-D-5uE5v7.cjs → OpenApiOperation-D1WNrj5X.cjs} +470 -123
- package/output/OpenApiOperation-D1WNrj5X.cjs.map +1 -0
- package/output/{PageActions-bugd7GZh.js → PageActions-3eo05fb_.js} +47 -6
- package/output/PageActions-3eo05fb_.js.map +1 -0
- package/output/{PageActions-DJRXlGhz.cjs → PageActions-Lp_NeIKr.cjs} +46 -5
- package/output/PageActions-Lp_NeIKr.cjs.map +1 -0
- package/output/{SearchDialog-CBJjDs_9.js → SearchDialog-BvCBIFqs.js} +3 -3
- package/output/{SearchDialog-CBJjDs_9.js.map → SearchDialog-BvCBIFqs.js.map} +1 -1
- package/output/{SearchDialog-8AdCRp6K.cjs → SearchDialog-CM9DrE2Y.cjs} +3 -3
- package/output/{SearchDialog-8AdCRp6K.cjs.map → SearchDialog-CM9DrE2Y.cjs.map} +1 -1
- package/output/client.cjs +3 -3
- package/output/client.js +3 -3
- package/output/core/i18n.d.ts +1 -1
- package/output/core/types.d.ts +1 -1
- package/output/{i18n-BPrC45nD.js → i18n-BxXpRSFX.js} +9 -1
- package/output/i18n-BxXpRSFX.js.map +1 -0
- package/output/{i18n-wXINKKV0.cjs → i18n-DsjZ51U1.cjs} +9 -1
- package/output/i18n-DsjZ51U1.cjs.map +1 -0
- package/output/index.cjs +5 -5
- package/output/index.js +5 -5
- package/output/openapi/components/InlineListbox.d.ts +1 -0
- package/output/openapi/components/OpenApiRequestBodyEditor.d.ts +14 -0
- package/output/openapi/components/OpenApiResponseViewer.d.ts +6 -0
- package/output/openapi/components/useOpenApiRequestState.d.ts +9 -2
- package/output/openapi/lib/api-request.d.ts +1 -0
- package/output/openapi/lib/helpers.d.ts +8 -0
- package/output/openapi/types.d.ts +2 -0
- package/output/preview.cjs +14 -18
- package/output/preview.cjs.map +1 -1
- package/output/preview.js +14 -18
- package/output/preview.js.map +1 -1
- package/output/{render-FICIzeXz.cjs → render-CKG4X-me.cjs} +2 -2
- package/output/{render-FICIzeXz.cjs.map → render-CKG4X-me.cjs.map} +1 -1
- package/output/{render-XQiw_48i.js → render-vlp3hwW3.js} +2 -2
- package/output/{render-XQiw_48i.js.map → render-vlp3hwW3.js.map} +1 -1
- package/output/renderer.css +129 -48
- package/output/server.cjs +2 -2
- package/output/server.js +2 -2
- package/package.json +2 -1
- package/output/ClarifyShell-BAjq876Z.cjs.map +0 -1
- package/output/ClarifyShell-GoSXvgMg.js.map +0 -1
- package/output/OpenApiOperation-C2vJztWZ.js.map +0 -1
- package/output/OpenApiOperation-D-5uE5v7.cjs.map +0 -1
- package/output/PageActions-DJRXlGhz.cjs.map +0 -1
- package/output/PageActions-bugd7GZh.js.map +0 -1
- package/output/core/index.d.ts +0 -3
- package/output/i18n-BPrC45nD.js.map +0 -1
- package/output/i18n-wXINKKV0.cjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ClarifyShell } from "./ClarifyShell-
|
|
1
|
+
import { t as ClarifyShell } from "./ClarifyShell-CwRtof1h.js";
|
|
2
2
|
import { StrictMode } from "react";
|
|
3
3
|
import { BrowserRouter } from "react-router-dom";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -56,4 +56,4 @@ function render(options) {
|
|
|
56
56
|
//#endregion
|
|
57
57
|
export { render as t };
|
|
58
58
|
|
|
59
|
-
//# sourceMappingURL=render-
|
|
59
|
+
//# sourceMappingURL=render-vlp3hwW3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-
|
|
1
|
+
{"version":3,"file":"render-vlp3hwW3.js","names":[],"sources":["../source/runtime/render.tsx"],"sourcesContent":["import { StrictMode } from 'react'\nimport { hydrateRoot, createRoot, type Root } from 'react-dom/client'\nimport { BrowserRouter } from 'react-router-dom'\n\nimport type { RenderOptions } from '../types'\n\nimport { ClarifyShell } from './ClarifyShell'\n\nlet root: Root | undefined\n\n/**\n * Clarify 客户端 Hydration 入口。\n * 在文档项目的 main.tsx 中调用:\n * ```ts\n * import { render } from '@clarify-labs/renderer';\n * import { routes } from 'virtual:clarify/routes';\n * import { config } from 'virtual:clarify/config';\n * render({ config, routes });\n * ```\n */\nfunction isHydrationDebugEnabled(): boolean {\n if (typeof window === 'undefined') return false\n\n try {\n const params = new URLSearchParams(window.location.search)\n return params.get('clarifyHydrationDebug') === '1' || window.localStorage.getItem('clarify:hydration-debug') === '1'\n } catch {\n return false\n }\n}\n\nexport function render(options: RenderOptions) {\n const { config, routes, navigation, openApiSpecs = {}, runtimeSlots, container, themeEditor = false } = options\n\n const target = container ?? document.getElementById('root')\n if (!target) {\n throw new Error('[clarify] 渲染失败:找不到挂载节点,请确保 HTML 中存在 id=\"root\" 的元素')\n }\n\n const app = (\n <StrictMode>\n <BrowserRouter basename={config.routePrefix}>\n <ClarifyShell\n config={config}\n routes={routes}\n navigation={navigation}\n openApiSpecs={openApiSpecs}\n runtimeSlots={runtimeSlots}\n themeEditor={themeEditor}\n />\n </BrowserRouter>\n </StrictMode>\n )\n\n const hydrationDebug = isHydrationDebugEnabled()\n\n if (root) {\n root.render(app)\n return\n }\n\n try {\n root = hydrateRoot(target as Element, app, {\n onRecoverableError(error, errorInfo) {\n // Phase 1: suppress hydration mismatch noise by default. React 19\n // recovers automatically, but diagnostics can be enabled explicitly.\n if (hydrationDebug) {\n console.warn('[clarify] Recoverable hydration error:', error, errorInfo)\n }\n },\n })\n } catch (err) {\n console.warn('[clarify] Hydration failed, falling back to client render:', err)\n root = createRoot(target as Element)\n root.render(app)\n }\n}\n"],"mappings":";;;;;;AAQA,IAAI;;;;;;;;;;;AAYJ,SAAS,0BAAmC;CAC1C,IAAI,OAAO,WAAW,aAAa,OAAO;CAE1C,IAAI;EAEF,OAAO,IADY,gBAAgB,OAAO,SAAS,MAC5C,CAAA,CAAO,IAAI,uBAAuB,MAAM,OAAO,OAAO,aAAa,QAAQ,yBAAyB,MAAM;CACnH,QAAQ;EACN,OAAO;CACT;AACF;AAEA,SAAgB,OAAO,SAAwB;CAC7C,MAAM,EAAE,QAAQ,QAAQ,YAAY,eAAe,CAAC,GAAG,cAAc,WAAW,cAAc,UAAU;CAExG,MAAM,SAAS,aAAa,SAAS,eAAe,MAAM;CAC1D,IAAI,CAAC,QACH,MAAM,IAAI,MAAM,qDAAmD;CAGrE,MAAM,MACJ,oBAAC,YAAD,EAAA,UACE,oBAAC,eAAD;EAAe,UAAU,OAAO;YAC9B,oBAAC,cAAD;GACU;GACA;GACI;GACE;GACA;GACD;EACd,CAAA;CACY,CAAA,EACL,CAAA;CAGd,MAAM,iBAAiB,wBAAwB;CAE/C,IAAI,MAAM;EACR,KAAK,OAAO,GAAG;EACf;CACF;CAEA,IAAI;EACF,OAAO,YAAY,QAAmB,KAAK,EACzC,mBAAmB,OAAO,WAAW;GAGnC,IAAI,gBACF,QAAQ,KAAK,0CAA0C,OAAO,SAAS;EAE3E,EACF,CAAC;CACH,SAAS,KAAK;EACZ,QAAQ,KAAK,8DAA8D,GAAG;EAC9E,OAAO,WAAW,MAAiB;EACnC,KAAK,OAAO,GAAG;CACjB;AACF"}
|
package/output/renderer.css
CHANGED
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
|
|
521
521
|
@supports (color: color-mix(in lab, red, red)) {
|
|
522
522
|
:root, .clarify-app {
|
|
523
|
-
--clarify-ui-text-soft: color-mix(in srgb, var(--clarify-theme-tokens-colors-foreground)
|
|
523
|
+
--clarify-ui-text-soft: color-mix(in srgb, var(--clarify-theme-tokens-colors-foreground) 84%, var(--clarify-theme-tokens-colors-background));
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
526
|
|
|
@@ -530,7 +530,7 @@
|
|
|
530
530
|
|
|
531
531
|
@supports (color: color-mix(in lab, red, red)) {
|
|
532
532
|
:root, .clarify-app {
|
|
533
|
-
--clarify-ui-text-faint: color-mix(in srgb, var(--clarify-theme-tokens-colors-foreground)
|
|
533
|
+
--clarify-ui-text-faint: color-mix(in srgb, var(--clarify-theme-tokens-colors-foreground) 74%, var(--clarify-theme-tokens-colors-background));
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
|
|
@@ -1002,6 +1002,15 @@
|
|
|
1002
1002
|
}
|
|
1003
1003
|
|
|
1004
1004
|
.clarify-api-response {
|
|
1005
|
+
--shiki-color-text: var(--clarify-ui-text-strong);
|
|
1006
|
+
--shiki-token-constant: #047857;
|
|
1007
|
+
--shiki-token-string: #047857;
|
|
1008
|
+
--shiki-token-comment: #52525b;
|
|
1009
|
+
--shiki-token-keyword: #0369a1;
|
|
1010
|
+
--shiki-token-parameter: #be123c;
|
|
1011
|
+
--shiki-token-function: #6d28d9;
|
|
1012
|
+
--shiki-token-string-expression: #047857;
|
|
1013
|
+
--shiki-token-punctuation: #52525b;
|
|
1005
1014
|
--clarify-code-background: var(--clarify-theme-tokens-colors-surface);
|
|
1006
1015
|
--clarify-code-surface: var(--clarify-theme-tokens-colors-surface);
|
|
1007
1016
|
--clarify-code-header-background: var(--clarify-ui-subtle-background);
|
|
@@ -1015,6 +1024,18 @@
|
|
|
1015
1024
|
--clarify-code-control-background-active: var(--clarify-ui-active-background);
|
|
1016
1025
|
}
|
|
1017
1026
|
|
|
1027
|
+
.dark .clarify-api-response {
|
|
1028
|
+
--shiki-color-text: var(--color-white);
|
|
1029
|
+
--shiki-token-constant: var(--color-emerald-300);
|
|
1030
|
+
--shiki-token-string: var(--color-emerald-300);
|
|
1031
|
+
--shiki-token-comment: var(--color-zinc-500);
|
|
1032
|
+
--shiki-token-keyword: var(--color-sky-300);
|
|
1033
|
+
--shiki-token-parameter: var(--color-pink-300);
|
|
1034
|
+
--shiki-token-function: var(--color-violet-300);
|
|
1035
|
+
--shiki-token-string-expression: var(--color-emerald-300);
|
|
1036
|
+
--shiki-token-punctuation: var(--color-zinc-200);
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1018
1039
|
.clarify-ui-control {
|
|
1019
1040
|
color: var(--clarify-ui-text);
|
|
1020
1041
|
font-size: var(--clarify-ui-control-font-size);
|
|
@@ -1839,6 +1860,10 @@
|
|
|
1839
1860
|
z-index: 60;
|
|
1840
1861
|
}
|
|
1841
1862
|
|
|
1863
|
+
.col-span-full {
|
|
1864
|
+
grid-column: 1 / -1;
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1842
1867
|
.col-start-1 {
|
|
1843
1868
|
grid-column-start: 1;
|
|
1844
1869
|
}
|
|
@@ -1847,10 +1872,26 @@
|
|
|
1847
1872
|
grid-column-start: 2;
|
|
1848
1873
|
}
|
|
1849
1874
|
|
|
1875
|
+
.col-start-3 {
|
|
1876
|
+
grid-column-start: 3;
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
.col-start-4 {
|
|
1880
|
+
grid-column-start: 4;
|
|
1881
|
+
}
|
|
1882
|
+
|
|
1883
|
+
.col-start-5 {
|
|
1884
|
+
grid-column-start: 5;
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1850
1887
|
.row-start-1 {
|
|
1851
1888
|
grid-row-start: 1;
|
|
1852
1889
|
}
|
|
1853
1890
|
|
|
1891
|
+
.row-start-2 {
|
|
1892
|
+
grid-row-start: 2;
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1854
1895
|
.container {
|
|
1855
1896
|
width: 100%;
|
|
1856
1897
|
}
|
|
@@ -2317,10 +2358,6 @@
|
|
|
2317
2358
|
margin-right: var(--spacing);
|
|
2318
2359
|
}
|
|
2319
2360
|
|
|
2320
|
-
.mr-2 {
|
|
2321
|
-
margin-right: calc(var(--spacing) * 2);
|
|
2322
|
-
}
|
|
2323
|
-
|
|
2324
2361
|
.mr-auto {
|
|
2325
2362
|
margin-right: auto;
|
|
2326
2363
|
}
|
|
@@ -2901,10 +2938,6 @@
|
|
|
2901
2938
|
flex: none;
|
|
2902
2939
|
}
|
|
2903
2940
|
|
|
2904
|
-
.shrink {
|
|
2905
|
-
flex-shrink: 1;
|
|
2906
|
-
}
|
|
2907
|
-
|
|
2908
2941
|
.shrink-0 {
|
|
2909
2942
|
flex-shrink: 0;
|
|
2910
2943
|
}
|
|
@@ -3051,16 +3084,20 @@
|
|
|
3051
3084
|
grid-template-columns: 2rem minmax(0, 1fr);
|
|
3052
3085
|
}
|
|
3053
3086
|
|
|
3087
|
+
.grid-cols-\[auto_auto_minmax\(0\,1fr\)_auto_auto\] {
|
|
3088
|
+
grid-template-columns: auto auto minmax(0, 1fr) auto auto;
|
|
3089
|
+
}
|
|
3090
|
+
|
|
3054
3091
|
.grid-cols-\[auto_minmax\(0\,1fr\)\] {
|
|
3055
3092
|
grid-template-columns: auto minmax(0, 1fr);
|
|
3056
3093
|
}
|
|
3057
3094
|
|
|
3058
|
-
.grid-cols-\[minmax\(0\,1fr\)_minmax\(0\,
|
|
3059
|
-
grid-template-columns: minmax(0, 1fr) minmax(0,
|
|
3095
|
+
.grid-cols-\[minmax\(0\,1fr\)_minmax\(0\,1\.3fr\)\] {
|
|
3096
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
|
|
3060
3097
|
}
|
|
3061
3098
|
|
|
3062
|
-
.grid-cols-\[minmax\(
|
|
3063
|
-
grid-template-columns: minmax(
|
|
3099
|
+
.grid-cols-\[minmax\(0\,1fr\)_minmax\(0\,1fr\)\] {
|
|
3100
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
3064
3101
|
}
|
|
3065
3102
|
|
|
3066
3103
|
.grid-rows-\[auto_minmax\(11rem\,1fr\)\] {
|
|
@@ -3163,12 +3200,6 @@
|
|
|
3163
3200
|
gap: 1px;
|
|
3164
3201
|
}
|
|
3165
3202
|
|
|
3166
|
-
:where(.space-y-1 > :not(:last-child)) {
|
|
3167
|
-
--tw-space-y-reverse: 0;
|
|
3168
|
-
margin-block-start: calc(var(--spacing) * var(--tw-space-y-reverse));
|
|
3169
|
-
margin-block-end: calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)));
|
|
3170
|
-
}
|
|
3171
|
-
|
|
3172
3203
|
:where(.space-y-3 > :not(:last-child)) {
|
|
3173
3204
|
--tw-space-y-reverse: 0;
|
|
3174
3205
|
margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
|
|
@@ -4086,6 +4117,10 @@
|
|
|
4086
4117
|
padding-top: calc(var(--spacing) * .5);
|
|
4087
4118
|
}
|
|
4088
4119
|
|
|
4120
|
+
.pt-2 {
|
|
4121
|
+
padding-top: calc(var(--spacing) * 2);
|
|
4122
|
+
}
|
|
4123
|
+
|
|
4089
4124
|
.pt-3 {
|
|
4090
4125
|
padding-top: calc(var(--spacing) * 3);
|
|
4091
4126
|
}
|
|
@@ -4166,10 +4201,6 @@
|
|
|
4166
4201
|
padding-left: calc(var(--spacing) * 2.5);
|
|
4167
4202
|
}
|
|
4168
4203
|
|
|
4169
|
-
.pl-3 {
|
|
4170
|
-
padding-left: calc(var(--spacing) * 3);
|
|
4171
|
-
}
|
|
4172
|
-
|
|
4173
4204
|
.pl-4 {
|
|
4174
4205
|
padding-left: calc(var(--spacing) * 4);
|
|
4175
4206
|
}
|
|
@@ -4389,18 +4420,10 @@
|
|
|
4389
4420
|
color: var(--clarify-code-muted);
|
|
4390
4421
|
}
|
|
4391
4422
|
|
|
4392
|
-
.text-\(--clarify-code-number\) {
|
|
4393
|
-
color: var(--clarify-code-number);
|
|
4394
|
-
}
|
|
4395
|
-
|
|
4396
4423
|
.text-\(--clarify-code-property\) {
|
|
4397
4424
|
color: var(--clarify-code-property);
|
|
4398
4425
|
}
|
|
4399
4426
|
|
|
4400
|
-
.text-\(--clarify-code-string\) {
|
|
4401
|
-
color: var(--clarify-code-string);
|
|
4402
|
-
}
|
|
4403
|
-
|
|
4404
4427
|
.text-\(--clarify-code-success\) {
|
|
4405
4428
|
color: var(--clarify-code-success);
|
|
4406
4429
|
}
|
|
@@ -4613,10 +4636,6 @@
|
|
|
4613
4636
|
opacity: .35;
|
|
4614
4637
|
}
|
|
4615
4638
|
|
|
4616
|
-
.opacity-45 {
|
|
4617
|
-
opacity: .45;
|
|
4618
|
-
}
|
|
4619
|
-
|
|
4620
4639
|
.opacity-80 {
|
|
4621
4640
|
opacity: .8;
|
|
4622
4641
|
}
|
|
@@ -5106,6 +5125,44 @@
|
|
|
5106
5125
|
opacity: 1;
|
|
5107
5126
|
}
|
|
5108
5127
|
|
|
5128
|
+
.file\:mr-2::file-selector-button {
|
|
5129
|
+
margin-right: calc(var(--spacing) * 2);
|
|
5130
|
+
}
|
|
5131
|
+
|
|
5132
|
+
.file\:rounded-\(--clarify-theme-tokens-radius-md\)::file-selector-button {
|
|
5133
|
+
border-radius: var(--clarify-theme-tokens-radius-md);
|
|
5134
|
+
}
|
|
5135
|
+
|
|
5136
|
+
.file\:border::file-selector-button {
|
|
5137
|
+
border-style: var(--tw-border-style);
|
|
5138
|
+
border-width: 1px;
|
|
5139
|
+
}
|
|
5140
|
+
|
|
5141
|
+
.file\:border-\(--clarify-theme-tokens-colors-border\)::file-selector-button {
|
|
5142
|
+
border-color: var(--clarify-theme-tokens-colors-border);
|
|
5143
|
+
}
|
|
5144
|
+
|
|
5145
|
+
.file\:bg-\(--clarify-ui-subtle-background\)::file-selector-button {
|
|
5146
|
+
background-color: var(--clarify-ui-subtle-background);
|
|
5147
|
+
}
|
|
5148
|
+
|
|
5149
|
+
.file\:px-2::file-selector-button {
|
|
5150
|
+
padding-inline: calc(var(--spacing) * 2);
|
|
5151
|
+
}
|
|
5152
|
+
|
|
5153
|
+
.file\:py-1::file-selector-button {
|
|
5154
|
+
padding-block: var(--spacing);
|
|
5155
|
+
}
|
|
5156
|
+
|
|
5157
|
+
.file\:text-xs::file-selector-button {
|
|
5158
|
+
font-size: var(--text-xs);
|
|
5159
|
+
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
5160
|
+
}
|
|
5161
|
+
|
|
5162
|
+
.file\:text-\(--clarify-ui-text-strong\)::file-selector-button {
|
|
5163
|
+
color: var(--clarify-ui-text-strong);
|
|
5164
|
+
}
|
|
5165
|
+
|
|
5109
5166
|
.placeholder\:text-\(--clarify-code-faint\)::placeholder {
|
|
5110
5167
|
color: var(--clarify-code-faint);
|
|
5111
5168
|
}
|
|
@@ -5583,10 +5640,6 @@
|
|
|
5583
5640
|
max-width: var(--clarify-server-url-max-width);
|
|
5584
5641
|
}
|
|
5585
5642
|
|
|
5586
|
-
.sm\:max-w-48 {
|
|
5587
|
-
max-width: calc(var(--spacing) * 48);
|
|
5588
|
-
}
|
|
5589
|
-
|
|
5590
5643
|
.sm\:max-w-xl {
|
|
5591
5644
|
max-width: var(--container-xl);
|
|
5592
5645
|
}
|
|
@@ -5768,6 +5821,26 @@
|
|
|
5768
5821
|
z-index: 50;
|
|
5769
5822
|
}
|
|
5770
5823
|
|
|
5824
|
+
.lg\:col-span-1 {
|
|
5825
|
+
grid-column: span 1 / span 1;
|
|
5826
|
+
}
|
|
5827
|
+
|
|
5828
|
+
.lg\:col-start-4 {
|
|
5829
|
+
grid-column-start: 4;
|
|
5830
|
+
}
|
|
5831
|
+
|
|
5832
|
+
.lg\:col-start-5 {
|
|
5833
|
+
grid-column-start: 5;
|
|
5834
|
+
}
|
|
5835
|
+
|
|
5836
|
+
.lg\:col-start-6 {
|
|
5837
|
+
grid-column-start: 6;
|
|
5838
|
+
}
|
|
5839
|
+
|
|
5840
|
+
.lg\:row-start-1 {
|
|
5841
|
+
grid-row-start: 1;
|
|
5842
|
+
}
|
|
5843
|
+
|
|
5771
5844
|
.lg\:block {
|
|
5772
5845
|
display: block;
|
|
5773
5846
|
}
|
|
@@ -5812,6 +5885,10 @@
|
|
|
5812
5885
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
5813
5886
|
}
|
|
5814
5887
|
|
|
5888
|
+
.lg\:grid-cols-\[auto_auto_minmax\(0\,1fr\)_minmax\(0\,14rem\)_auto_auto\] {
|
|
5889
|
+
grid-template-columns: auto auto minmax(0, 1fr) minmax(0, 14rem) auto auto;
|
|
5890
|
+
}
|
|
5891
|
+
|
|
5815
5892
|
.lg\:grid-cols-\[minmax\(0\,1\.12fr\)_minmax\(22rem\,0\.88fr\)\] {
|
|
5816
5893
|
grid-template-columns: minmax(0, 1.12fr) minmax(22rem, .88fr);
|
|
5817
5894
|
}
|
|
@@ -5850,6 +5927,10 @@
|
|
|
5850
5927
|
padding-block: var(--clarify-search-dialog-padding-block-lg);
|
|
5851
5928
|
}
|
|
5852
5929
|
|
|
5930
|
+
.lg\:pt-0 {
|
|
5931
|
+
padding-top: 0;
|
|
5932
|
+
}
|
|
5933
|
+
|
|
5853
5934
|
.lg\:pt-10 {
|
|
5854
5935
|
padding-top: calc(var(--spacing) * 10);
|
|
5855
5936
|
}
|
|
@@ -6566,36 +6647,36 @@
|
|
|
6566
6647
|
display: none;
|
|
6567
6648
|
}
|
|
6568
6649
|
|
|
6569
|
-
|
|
6650
|
+
:is(.\*\:\[\[role\=tooltip\]\]\:w-80 > *)[role="tooltip"] {
|
|
6570
6651
|
width: calc(var(--spacing) * 80);
|
|
6571
6652
|
}
|
|
6572
6653
|
|
|
6573
|
-
|
|
6654
|
+
:is(.\*\:\[\[role\=tooltip\]\]\:max-w-\[min\(20rem\,calc\(100vw-2rem\)\)\] > *)[role="tooltip"] {
|
|
6574
6655
|
max-width: min(20rem, 100vw - 2rem);
|
|
6575
6656
|
}
|
|
6576
6657
|
|
|
6577
|
-
|
|
6658
|
+
:is(.\*\:\[\[role\=tooltip\]\]\:border > *)[role="tooltip"] {
|
|
6578
6659
|
border-style: var(--tw-border-style);
|
|
6579
6660
|
border-width: 1px;
|
|
6580
6661
|
}
|
|
6581
6662
|
|
|
6582
|
-
|
|
6663
|
+
:is(.\*\:\[\[role\=tooltip\]\]\:border-\(--clarify-theme-tokens-colors-border\) > *)[role="tooltip"] {
|
|
6583
6664
|
border-color: var(--clarify-theme-tokens-colors-border);
|
|
6584
6665
|
}
|
|
6585
6666
|
|
|
6586
|
-
|
|
6667
|
+
:is(.\*\:\[\[role\=tooltip\]\]\:bg-\(--clarify-theme-tokens-colors-surface\) > *)[role="tooltip"] {
|
|
6587
6668
|
background-color: var(--clarify-theme-tokens-colors-surface);
|
|
6588
6669
|
}
|
|
6589
6670
|
|
|
6590
|
-
|
|
6671
|
+
:is(.\*\:\[\[role\=tooltip\]\]\:p-3 > *)[role="tooltip"] {
|
|
6591
6672
|
padding: calc(var(--spacing) * 3);
|
|
6592
6673
|
}
|
|
6593
6674
|
|
|
6594
|
-
|
|
6675
|
+
:is(.\*\:\[\[role\=tooltip\]\]\:text-\(--clarify-ui-text\) > *)[role="tooltip"] {
|
|
6595
6676
|
color: var(--clarify-ui-text);
|
|
6596
6677
|
}
|
|
6597
6678
|
|
|
6598
|
-
|
|
6679
|
+
:is(.\*\:\[\[role\=tooltip\]\]\:shadow-xl > *)[role="tooltip"] {
|
|
6599
6680
|
--tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, #0000001a), 0 8px 10px -6px var(--tw-shadow-color, #0000001a);
|
|
6600
6681
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
6601
6682
|
}
|
package/output/server.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_ClarifyShell = require("./ClarifyShell-
|
|
3
|
-
const require_PageActions = require("./PageActions-
|
|
2
|
+
const require_ClarifyShell = require("./ClarifyShell-C2XnkFQ6.cjs");
|
|
3
|
+
const require_PageActions = require("./PageActions-Lp_NeIKr.cjs");
|
|
4
4
|
let react = require("react");
|
|
5
5
|
let react_router_dom = require("react-router-dom");
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
package/output/server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ClarifyShell } from "./ClarifyShell-
|
|
2
|
-
import { T as prefixHref } from "./PageActions-
|
|
1
|
+
import { t as ClarifyShell } from "./ClarifyShell-CwRtof1h.js";
|
|
2
|
+
import { T as prefixHref } from "./PageActions-3eo05fb_.js";
|
|
3
3
|
import { StrictMode } from "react";
|
|
4
4
|
import { StaticRouter } from "react-router-dom";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clarify-labs/renderer",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -92,6 +92,7 @@
|
|
|
92
92
|
"rehype-raw": "^7.0.0",
|
|
93
93
|
"remark-gfm": "^4.0.1",
|
|
94
94
|
"shiki": "^4.3.0",
|
|
95
|
+
"yaml": "^2.9.0",
|
|
95
96
|
"zustand": "^5.0.14"
|
|
96
97
|
}
|
|
97
98
|
}
|