@xyd-js/components 0.1.0-xyd.5 → 0.1.0-xyd.7
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/CHANGELOG.md +12 -0
- package/dist/{CTABanner-B-metiuR.js → CTABanner-BrdYlhnD.js} +1 -1
- package/dist/{CTABanner-hcWUnRIm.js.map → CTABanner-BrdYlhnD.js.map} +1 -1
- package/dist/{CTABanner-hcWUnRIm.js → CTABanner-XQNnnpUx.js} +1 -1
- package/dist/{CTABanner-B-metiuR.js.map → CTABanner-XQNnnpUx.js.map} +1 -1
- package/dist/CodeSample-Cp42Adjc.js +2 -0
- package/dist/CodeSample-Cp42Adjc.js.map +1 -0
- package/dist/CodeSample-DxPp80ID.js +2 -0
- package/dist/CodeSample-DxPp80ID.js.map +1 -0
- package/dist/{HomeView-C70Vzl0K.js → HomeView-BN9mZXh9.js} +1 -1
- package/dist/{HomeView-C70Vzl0K.js.map → HomeView-BN9mZXh9.js.map} +1 -1
- package/dist/{HomeView-DA0hRPl2.js → HomeView-BVaaV0uE.js} +1 -1
- package/dist/{HomeView-DA0hRPl2.js.map → HomeView-BVaaV0uE.js.map} +1 -1
- package/dist/UnderlineNav-Bs7Ot9Ch.js +2 -0
- package/dist/UnderlineNav-Bs7Ot9Ch.js.map +1 -0
- package/dist/UnderlineNav-C2aEVraN.js +2 -0
- package/dist/UnderlineNav-C2aEVraN.js.map +1 -0
- package/dist/{_rollupPluginBabelHelpers-CdarGYFF.js → _rollupPluginBabelHelpers-BMmCG_qQ.js} +2 -2
- package/dist/_rollupPluginBabelHelpers-BMmCG_qQ.js.map +1 -0
- package/dist/{_rollupPluginBabelHelpers-DNCsaSlj.js → _rollupPluginBabelHelpers-DsEzE6Ab.js} +2 -2
- package/dist/_rollupPluginBabelHelpers-DsEzE6Ab.js.map +1 -0
- package/dist/brand.js +1 -1
- package/dist/coder.d.ts +5 -1
- package/dist/coder.js +1 -1
- package/dist/coder.js.map +1 -1
- package/dist/content.d.ts +54 -29
- package/dist/content.js +1 -1
- package/dist/content.js.map +1 -1
- package/dist/index-BVUz77Tm.js +2 -0
- package/dist/index-BVUz77Tm.js.map +1 -0
- package/dist/index-jxd3nv2J.js +2 -0
- package/dist/index-jxd3nv2J.js.map +1 -0
- package/dist/index.css +119 -40
- package/dist/layouts.d.ts +12 -2
- package/dist/layouts.js +1 -1
- package/dist/layouts.js.map +1 -1
- package/dist/pages.js +1 -1
- package/dist/{tslib.es6-BJOaQ_lJ.js → tslib.es6-DDIOdJiV.js} +1 -1
- package/dist/{tslib.es6-BS8I3nP0.js.map → tslib.es6-DDIOdJiV.js.map} +1 -1
- package/dist/{tslib.es6-BS8I3nP0.js → tslib.es6-DUrRPhZd.js} +1 -1
- package/dist/{tslib.es6-DNz-U5oh.js.map → tslib.es6-DUrRPhZd.js.map} +1 -1
- package/dist/views.js +1 -1
- package/dist/writer.d.ts +47 -6
- package/dist/writer.js +1 -1
- package/dist/writer.js.map +1 -1
- package/package.json +4 -3
- package/src/coder/Code/Code.tsx +5 -8
- package/src/coder/Code/CodeLoader.tsx +10 -0
- package/src/coder/Code/index.ts +4 -1
- package/src/coder/CodeSample/CodeSample.tsx +12 -0
- package/src/coder/CodeTabs/CodeTabs.styles.tsx +11 -0
- package/src/coder/CodeTabs/CodeTabs.tsx +21 -5
- package/src/coder/CodeTheme/CodeTheme.tsx +2 -1
- package/src/coder/hooks/highlight.ts +182 -0
- package/src/coder/index.ts +3 -3
- package/src/content/Content.tsx +15 -6
- package/src/content/Subtitle/Subtitle.tsx +4 -4
- package/src/layouts/LayoutPrimary/LayoutPrimary.styles.tsx +320 -0
- package/src/layouts/LayoutPrimary/LayoutPrimary.tsx +160 -0
- package/src/layouts/LayoutPrimary/index.ts +5 -0
- package/src/layouts/index.ts +7 -1
- package/src/ui/Loader/Loader.styles.tsx +52 -0
- package/src/ui/Loader/Loader.tsx +26 -0
- package/src/ui/index.ts +1 -0
- package/src/writer/Badge/Badge.styles.tsx +3 -3
- package/src/writer/Details/Details.styles.tsx +17 -0
- package/src/writer/Details/Details.tsx +28 -11
- package/src/writer/Icon/index.tsx +13 -0
- package/src/writer/NavLinks/NavLinks.styles.ts +1 -0
- package/src/writer/Table/TableV2.styles.tsx +117 -0
- package/src/writer/Table/TableV2.tsx +83 -0
- package/src/writer/Table/index.ts +4 -0
- package/dist/CTABanner-BytLRAOg.js +0 -2
- package/dist/CTABanner-BytLRAOg.js.map +0 -1
- package/dist/CodeSample-Bkdm9TLb.js +0 -2
- package/dist/CodeSample-Bkdm9TLb.js.map +0 -1
- package/dist/CodeSample-Bt6WJOYx.js +0 -2
- package/dist/CodeSample-Bt6WJOYx.js.map +0 -1
- package/dist/CodeSample-D-bGz40b.js +0 -2
- package/dist/CodeSample-D-bGz40b.js.map +0 -1
- package/dist/HomeView-sbl_99l1.js +0 -2
- package/dist/HomeView-sbl_99l1.js.map +0 -1
- package/dist/UnderlineNav-3vpnAIF7.js +0 -2
- package/dist/UnderlineNav-3vpnAIF7.js.map +0 -1
- package/dist/UnderlineNav-CnSXtQ0o.js +0 -2
- package/dist/UnderlineNav-CnSXtQ0o.js.map +0 -1
- package/dist/UnderlineNav-hAt4ieuk.js +0 -2
- package/dist/UnderlineNav-hAt4ieuk.js.map +0 -1
- package/dist/_rollupPluginBabelHelpers-CdarGYFF.js.map +0 -1
- package/dist/_rollupPluginBabelHelpers-DNCsaSlj.js.map +0 -1
- package/dist/_rollupPluginBabelHelpers-Dyp77Dty.js +0 -2
- package/dist/_rollupPluginBabelHelpers-Dyp77Dty.js.map +0 -1
- package/dist/index-Bj8cSv3b.js +0 -2
- package/dist/index-Bj8cSv3b.js.map +0 -1
- package/dist/index-ByyyJDhj.js +0 -2
- package/dist/index-ByyyJDhj.js.map +0 -1
- package/dist/index-DcT-QJgO.js +0 -2
- package/dist/index-DcT-QJgO.js.map +0 -1
- package/dist/tslib.es6-BJOaQ_lJ.js.map +0 -1
- package/dist/tslib.es6-DNz-U5oh.js +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_rollupPluginBabelHelpers-DsEzE6Ab.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/brand.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{B as Button,C as CTABanner}from"./CTABanner-
|
|
1
|
+
export{B as Button,C as CTABanner}from"./CTABanner-XQNnnpUx.js";import e from"react";var a="h1vf00q",r="c1ny3ybl",t="t1ahtzu3";function n(n){var c=n.children;return e.createElement("footer",{className:a},e.createElement("div",{className:r},e.createElement("div",{className:t},c)))}export{n as Footer};
|
|
2
2
|
//# sourceMappingURL=brand.js.map
|
package/dist/coder.d.ts
CHANGED
|
@@ -41,9 +41,12 @@ declare namespace Code {
|
|
|
41
41
|
codeblock: HighlightedCode;
|
|
42
42
|
size?: "full";
|
|
43
43
|
handlers: AnnotationHandler[];
|
|
44
|
+
className?: string;
|
|
44
45
|
}) => React.JSX.Element;
|
|
45
46
|
}
|
|
46
47
|
|
|
48
|
+
declare function CodeLoader(): React.JSX.Element;
|
|
49
|
+
|
|
47
50
|
declare function highlight(data: RawCode, theme: Theme, lang: string): HighlightedCode;
|
|
48
51
|
|
|
49
52
|
interface CodeSampleProps {
|
|
@@ -51,6 +54,7 @@ interface CodeSampleProps {
|
|
|
51
54
|
description: string;
|
|
52
55
|
codeblocks: CodeThemeBlockProps[];
|
|
53
56
|
size?: "full";
|
|
57
|
+
kind?: "secondary";
|
|
54
58
|
theme?: Theme;
|
|
55
59
|
}
|
|
56
60
|
declare function CodeSample(props: CodeSampleProps): React.JSX.Element;
|
|
@@ -62,5 +66,5 @@ interface CodeTabsProps {
|
|
|
62
66
|
}
|
|
63
67
|
declare function withCodeTabs(PreComponent: any): (props: CodeTabsProps) => React.JSX.Element;
|
|
64
68
|
|
|
65
|
-
export { Code, CodeSample, CodeTheme, CodeThemeCSR, annotations, highlight, useCodeTheme, withCodeTabs };
|
|
69
|
+
export { Code, CodeLoader, CodeSample, CodeTheme, CodeThemeCSR, annotations, highlight, useCodeTheme, withCodeTabs };
|
|
66
70
|
export type { CodeProps, CodeSampleProps, CodeTabsProps, CodeThemeBlockProps, CodeThemeProps };
|
package/dist/coder.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{C as Code,b as
|
|
1
|
+
export{C as Code,b as CodeLoader,c as CodeSample,d as CodeTheme,e as CodeThemeCSR,a as annotations,u as useCodeTheme,w as withCodeTabs}from"./CodeSample-DxPp80ID.js";import{_ as n,a as t}from"./_rollupPluginBabelHelpers-DsEzE6Ab.js";import{_ as o}from"./tslib.es6-DUrRPhZd.js";import{LANG_NAMES as r,highlightSync as s}from"@code-hike/lighter";import"react";import"./coder/themes/cosmo-light.js";import"@radix-ui/react-tabs";import"lucide-react";function i(e){return"string"==typeof e}function l(e,a,l){r.includes(l)||(console.warn('Unknown language "'.concat(l,'"')),l="txt");var u=s(e.value,l,a,{annotations:[],scopes:!1}),c=u.lines,h=u.lang,p=u.style,f=function(e){var t=[];return e.forEach((function(r,s){if("lines"in r)throw new Error("Shouldnt be groups");var a=function(e){return e.map((function(e){if("tokens"in e)throw new Error("Shouldnt be groups");var n=[e.content],t=e.style||{},r=t.color,s=o(t,["color"]);return n.push(r),Object.keys(s).length&&n.push(s),n}))}(r.tokens);t.push.apply(t,n(a)),s<e.length-1&&t.push("\n")})),t}(c),d=function(e){var o=[];return e.forEach((function(e){if(i(e))o.push(e);else{var r=function(e){var n=e.trim(),t=e.slice(0,e.indexOf(n)),o=e.slice(e.indexOf(n)+n.length);return[t,n,o]}(e[0]),s=t(r,3),a=s[0],l=s[1],u=s[2];if((null==a?void 0:a.length)&&o.push(a),l.length){var c=n(e);c[0]=l,o.push(c)}(null==u?void 0:u.length)&&o.push(u)}})),o}(f),m=function(e){var n=[];return e.forEach((function(e){if(i(e)){var t=n[n.length-1];t&&i(t)?n[n.length-1]+=e:""!==e&&n.push(e)}else e[0].length>0&&n.push(e)})),n}(d);return Object.assign(Object.assign({},e),{code:e.value,tokens:m,lang:h,annotations:[],themeName:"string"==typeof a?a:(null==a?void 0:a.name)||"unknown",style:p})}export{l as highlight};
|
|
2
2
|
//# sourceMappingURL=coder.js.map
|
package/dist/coder.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coder.js","sources":["../src/coder/Code/highlight.ts"],"sourcesContent":["import {\n type CodeAnnotation,\n type RawCode,\n type HighlightedCode,\n type Token\n} from 'codehike/code';\nimport {\n type Lines,\n type Tokens,\n highlightSync as lighter,\n LANG_NAMES,\n type Theme\n} from '@code-hike/lighter';\n\ntype Whitespace = string\n\ntype AnyToken = Token | Whitespace\n\nfunction isWhitespace(token: Token | Whitespace): token is Whitespace {\n return typeof token === 'string';\n}\n\nexport function highlight(\n data: RawCode,\n theme: Theme,\n lang: string\n): HighlightedCode {\n if (!LANG_NAMES.includes(lang)) {\n console.warn(`Unknown language \"${lang}\"`);\n lang = 'txt';\n }\n\n const {\n lines,\n lang: lighterLang,\n style\n } = lighter(data.value, lang, theme as any, {\n annotations: [],\n scopes: false // true for better token transitions, but breaks css themes\n });\n\n const tokens = joinLines(lines);\n // split surrounding whitespace for each token\n const splitTokens = splitWhitespace(tokens);\n // join consecutive whitespace tokens\n const joinedTokens = joinWhitespace(splitTokens);\n\n return {\n ...data,\n code: data.value,\n tokens: joinedTokens,\n lang: lighterLang,\n annotations: [], // TODO: in the future\n // annotations: compatAnnotations(annotations),\n themeName: typeof theme === 'string' ? theme : theme?.name || 'unknown',\n style\n };\n}\n\nfunction compatAnnotations(annotations: any[]): CodeAnnotation[] {\n const newAnnotations: CodeAnnotation[] = [];\n for (const a of annotations) {\n const {name, query, ranges} = a;\n for (const r of ranges) {\n if (r.lineNumber) {\n const {lineNumber, fromColumn, toColumn} = r;\n newAnnotations.push({\n name,\n query,\n lineNumber,\n fromColumn,\n toColumn\n });\n } else {\n const {fromLineNumber, toLineNumber} = r;\n newAnnotations.push({\n name,\n query,\n fromLineNumber,\n toLineNumber\n });\n }\n }\n }\n return newAnnotations;\n}\n\n// group the Lines into one array\nfunction joinLines(lines: Lines): AnyToken[] {\n const joinedTokens: AnyToken[] = [];\n lines.forEach((lineOrGroup, i) => {\n if ('lines' in lineOrGroup) {\n throw new Error('Shouldnt be groups');\n } else {\n const tokens = joinTokens(lineOrGroup.tokens);\n joinedTokens.push(...tokens);\n if (i < lines.length - 1) {\n joinedTokens.push('\\n');\n }\n }\n });\n return joinedTokens;\n}\n\nfunction joinTokens(tokens: Tokens): AnyToken[] {\n return tokens.map((tokenOrGroup) => {\n if ('tokens' in tokenOrGroup) {\n throw new Error('Shouldnt be groups');\n } else {\n const t = [tokenOrGroup.content] as Token;\n const {color, ...rest} = tokenOrGroup.style || {};\n t.push(color);\n if (Object.keys(rest).length) {\n t.push(rest);\n }\n return t;\n }\n });\n}\n\nfunction splitWhitespace(tokens: AnyToken[]) {\n const ejected: AnyToken[] = [];\n tokens.forEach((tokenOrGroup) => {\n if (isWhitespace(tokenOrGroup)) {\n ejected.push(tokenOrGroup);\n } else {\n const [before, content, after] = splitSurroundingWhitespace(\n tokenOrGroup[0]\n );\n if (before?.length) {\n ejected.push(before);\n }\n if (content.length) {\n const copy = [...tokenOrGroup] as Token;\n copy[0] = content;\n ejected.push(copy);\n }\n if (after?.length) {\n ejected.push(after);\n }\n }\n });\n return ejected;\n}\n\nfunction joinWhitespace(tokens: AnyToken[]) {\n const joinedTokens: AnyToken[] = [];\n tokens.forEach((tokenOrGroup) => {\n if (isWhitespace(tokenOrGroup)) {\n let last = joinedTokens[joinedTokens.length - 1];\n if (last && isWhitespace(last)) {\n joinedTokens[joinedTokens.length - 1] += tokenOrGroup;\n } else if (tokenOrGroup !== '') {\n joinedTokens.push(tokenOrGroup);\n }\n } else if (tokenOrGroup[0].length > 0) {\n joinedTokens.push(tokenOrGroup);\n }\n });\n return joinedTokens;\n}\n\n// splits \" \\t foo bar \\n\" into [\" \\t \",\"foo bar\",\" \\n\"]\n// \"foo bar\" -> [\"\",\"foo bar\",\"\"]\nfunction splitSurroundingWhitespace(content: string) {\n const trimmed = content.trim();\n const before = content.slice(0, content.indexOf(trimmed));\n const after = content.slice(content.indexOf(trimmed) + trimmed.length);\n return [before, trimmed, after];\n}"],"names":["isWhitespace","token","highlight","data","theme","lang","LANG_NAMES","includes","console","warn","concat","_lighter","lighter","value","annotations","scopes","lines","lighterLang","style","tokens","joinedTokens","forEach","lineOrGroup","i","Error","map","tokenOrGroup","t","content","_a","color","rest","__rest","push","Object","keys","length","joinTokens","apply","_toConsumableArray","joinLines","splitTokens","ejected","_splitSurroundingWhit","trimmed","trim","before","slice","indexOf","after","splitSurroundingWhitespace","_splitSurroundingWhit2","_slicedToArray","copy","splitWhitespace","last","joinWhitespace","assign","code","themeName","name"],"mappings":"
|
|
1
|
+
{"version":3,"file":"coder.js","sources":["../src/coder/Code/highlight.ts"],"sourcesContent":["import {\n type CodeAnnotation,\n type RawCode,\n type HighlightedCode,\n type Token\n} from 'codehike/code';\nimport {\n type Lines,\n type Tokens,\n highlightSync as lighter,\n LANG_NAMES,\n type Theme\n} from '@code-hike/lighter';\n\ntype Whitespace = string\n\ntype AnyToken = Token | Whitespace\n\nfunction isWhitespace(token: Token | Whitespace): token is Whitespace {\n return typeof token === 'string';\n}\n\nexport function highlight(\n data: RawCode,\n theme: Theme,\n lang: string\n): HighlightedCode {\n if (!LANG_NAMES.includes(lang)) {\n console.warn(`Unknown language \"${lang}\"`);\n lang = 'txt';\n }\n\n const {\n lines,\n lang: lighterLang,\n style\n } = lighter(data.value, lang, theme as any, {\n annotations: [],\n scopes: false // true for better token transitions, but breaks css themes\n });\n\n const tokens = joinLines(lines);\n // split surrounding whitespace for each token\n const splitTokens = splitWhitespace(tokens);\n // join consecutive whitespace tokens\n const joinedTokens = joinWhitespace(splitTokens);\n\n return {\n ...data,\n code: data.value,\n tokens: joinedTokens,\n lang: lighterLang,\n annotations: [], // TODO: in the future\n // annotations: compatAnnotations(annotations),\n themeName: typeof theme === 'string' ? theme : theme?.name || 'unknown',\n style\n };\n}\n\nfunction compatAnnotations(annotations: any[]): CodeAnnotation[] {\n const newAnnotations: CodeAnnotation[] = [];\n for (const a of annotations) {\n const {name, query, ranges} = a;\n for (const r of ranges) {\n if (r.lineNumber) {\n const {lineNumber, fromColumn, toColumn} = r;\n newAnnotations.push({\n name,\n query,\n lineNumber,\n fromColumn,\n toColumn\n });\n } else {\n const {fromLineNumber, toLineNumber} = r;\n newAnnotations.push({\n name,\n query,\n fromLineNumber,\n toLineNumber\n });\n }\n }\n }\n return newAnnotations;\n}\n\n// group the Lines into one array\nfunction joinLines(lines: Lines): AnyToken[] {\n const joinedTokens: AnyToken[] = [];\n lines.forEach((lineOrGroup, i) => {\n if ('lines' in lineOrGroup) {\n throw new Error('Shouldnt be groups');\n } else {\n const tokens = joinTokens(lineOrGroup.tokens);\n joinedTokens.push(...tokens);\n if (i < lines.length - 1) {\n joinedTokens.push('\\n');\n }\n }\n });\n return joinedTokens;\n}\n\nfunction joinTokens(tokens: Tokens): AnyToken[] {\n return tokens.map((tokenOrGroup) => {\n if ('tokens' in tokenOrGroup) {\n throw new Error('Shouldnt be groups');\n } else {\n const t = [tokenOrGroup.content] as Token;\n const {color, ...rest} = tokenOrGroup.style || {};\n t.push(color);\n if (Object.keys(rest).length) {\n t.push(rest);\n }\n return t;\n }\n });\n}\n\nfunction splitWhitespace(tokens: AnyToken[]) {\n const ejected: AnyToken[] = [];\n tokens.forEach((tokenOrGroup) => {\n if (isWhitespace(tokenOrGroup)) {\n ejected.push(tokenOrGroup);\n } else {\n const [before, content, after] = splitSurroundingWhitespace(\n tokenOrGroup[0]\n );\n if (before?.length) {\n ejected.push(before);\n }\n if (content.length) {\n const copy = [...tokenOrGroup] as Token;\n copy[0] = content;\n ejected.push(copy);\n }\n if (after?.length) {\n ejected.push(after);\n }\n }\n });\n return ejected;\n}\n\nfunction joinWhitespace(tokens: AnyToken[]) {\n const joinedTokens: AnyToken[] = [];\n tokens.forEach((tokenOrGroup) => {\n if (isWhitespace(tokenOrGroup)) {\n let last = joinedTokens[joinedTokens.length - 1];\n if (last && isWhitespace(last)) {\n joinedTokens[joinedTokens.length - 1] += tokenOrGroup;\n } else if (tokenOrGroup !== '') {\n joinedTokens.push(tokenOrGroup);\n }\n } else if (tokenOrGroup[0].length > 0) {\n joinedTokens.push(tokenOrGroup);\n }\n });\n return joinedTokens;\n}\n\n// splits \" \\t foo bar \\n\" into [\" \\t \",\"foo bar\",\" \\n\"]\n// \"foo bar\" -> [\"\",\"foo bar\",\"\"]\nfunction splitSurroundingWhitespace(content: string) {\n const trimmed = content.trim();\n const before = content.slice(0, content.indexOf(trimmed));\n const after = content.slice(content.indexOf(trimmed) + trimmed.length);\n return [before, trimmed, after];\n}"],"names":["isWhitespace","token","highlight","data","theme","lang","LANG_NAMES","includes","console","warn","concat","_lighter","lighter","value","annotations","scopes","lines","lighterLang","style","tokens","joinedTokens","forEach","lineOrGroup","i","Error","map","tokenOrGroup","t","content","_a","color","rest","__rest","push","Object","keys","length","joinTokens","apply","_toConsumableArray","joinLines","splitTokens","ejected","_splitSurroundingWhit","trimmed","trim","before","slice","indexOf","after","splitSurroundingWhitespace","_splitSurroundingWhit2","_slicedToArray","copy","splitWhitespace","last","joinWhitespace","assign","code","themeName","name"],"mappings":"8bAkBA,SAASA,EAAaC,GAClB,MAAwB,iBAAVA,CAClB,UAEgBC,EACZC,EACAC,EACAC,GAEKC,EAAWC,SAASF,KACrBG,QAAQC,KAAI,qBAAAC,OAAsBL,QAClCA,EAAO,OAGX,IAAAM,EAIIC,EAAQT,EAAKU,MAAOR,EAAMD,EAAc,CACxCU,YAAa,GACbC,QAAQ,IALRC,EAAKL,EAALK,MACMC,EAAWN,EAAjBN,KACAa,EAAKP,EAALO,MAMEC,EA+CV,SAAmBH,GACf,IAAMI,EAA2B,GAYjC,OAXAJ,EAAMK,SAAQ,SAACC,EAAaC,GACxB,GAAI,UAAWD,EACX,MAAM,IAAIE,MAAM,sBAEhB,IAA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ajC,OAZAD,EAAOE,SAAQ,SAACK,GACZ,GAAI1B,EAAa0B,GAAe,CAC5B,IAAI6B,EAAOnC,EAAaA,EAAagB,OAAS,GAC1CmB,GAAQvD,EAAauD,GACrBnC,EAAaA,EAAagB,OAAS,IAAMV,EACjB,KAAjBA,GACPN,EAAaa,KAAKP,EAEzB,MAAUA,EAAa,GAAGU,OAAS,GAChChB,EAAaa,KAAKP,EAE1B,IACON,CACX,CAnHyBoC,CAAef,GAEpC,OAAAP,OAAAuB,OAAAvB,OAAAuB,OAAA,CAAA,EACOtD,GACH,CAAAuD,KAAMvD,EAAKU,MACXM,OAAQC,EACRf,KAAMY,EACNH,YAAa,GAEb6C,UAA4B,iBAAVvD,EAAqBA,GAAQA,aAAK,EAALA,EAAOwD,OAAQ,UAC9D1C,MAAAA,GAER"}
|
package/dist/content.d.ts
CHANGED
|
@@ -1,6 +1,41 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Theme } from '@code-hike/lighter';
|
|
3
3
|
|
|
4
|
+
interface TableV2Props {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
declare function TableV2({ children, className }: TableV2Props): React.JSX.Element;
|
|
9
|
+
declare namespace TableV2 {
|
|
10
|
+
var Head: ({ children }: TableHeadProps) => React.JSX.Element;
|
|
11
|
+
var Th: ({ children, numeric }: TableThProps) => React.JSX.Element;
|
|
12
|
+
var Tr: ({ children }: TableTrProps) => React.JSX.Element;
|
|
13
|
+
var Td: ({ children, numeric, muted }: TableTdProps) => React.JSX.Element;
|
|
14
|
+
var Cell: ({ children }: TableCellProps) => React.JSX.Element;
|
|
15
|
+
var ModelCell: ({ children }: TableModelCellProps) => React.JSX.Element;
|
|
16
|
+
}
|
|
17
|
+
interface TableHeadProps {
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
interface TableThProps {
|
|
21
|
+
children: React.ReactNode;
|
|
22
|
+
numeric?: boolean;
|
|
23
|
+
}
|
|
24
|
+
interface TableTrProps {
|
|
25
|
+
children: React.ReactNode;
|
|
26
|
+
}
|
|
27
|
+
interface TableTdProps {
|
|
28
|
+
children: React.ReactNode;
|
|
29
|
+
numeric?: boolean;
|
|
30
|
+
muted?: boolean;
|
|
31
|
+
}
|
|
32
|
+
interface TableCellProps {
|
|
33
|
+
children: React.ReactNode;
|
|
34
|
+
}
|
|
35
|
+
interface TableModelCellProps {
|
|
36
|
+
children: React.ReactNode;
|
|
37
|
+
}
|
|
38
|
+
|
|
4
39
|
interface BadgeProps {
|
|
5
40
|
children: React.ReactNode;
|
|
6
41
|
size?: "sm";
|
|
@@ -26,15 +61,20 @@ declare function Code({ children }: CodeProps): React.JSX.Element;
|
|
|
26
61
|
interface BaseDetailsProps {
|
|
27
62
|
children: React.ReactNode;
|
|
28
63
|
label: string;
|
|
64
|
+
icon?: React.SVGProps<SVGSVGElement>;
|
|
65
|
+
}
|
|
66
|
+
interface TertiaryDetailsProps extends BaseDetailsProps {
|
|
67
|
+
kind: "tertiary";
|
|
68
|
+
title: string | React.ReactNode;
|
|
29
69
|
}
|
|
30
70
|
interface SecondaryDetailsProps extends BaseDetailsProps {
|
|
31
71
|
kind: "secondary";
|
|
32
|
-
title: string;
|
|
72
|
+
title: string | React.ReactNode;
|
|
33
73
|
}
|
|
34
74
|
interface PrimaryDetailsProps extends BaseDetailsProps {
|
|
35
75
|
kind?: "primary";
|
|
36
76
|
}
|
|
37
|
-
type DetailsProps = PrimaryDetailsProps | SecondaryDetailsProps;
|
|
77
|
+
type DetailsProps = PrimaryDetailsProps | SecondaryDetailsProps | TertiaryDetailsProps;
|
|
38
78
|
declare function Details(props: DetailsProps): React.JSX.Element;
|
|
39
79
|
|
|
40
80
|
interface GuideCardProps {
|
|
@@ -73,6 +113,7 @@ declare function IconStorybook(): React.JSX.Element;
|
|
|
73
113
|
declare function IconReactRouter(): React.JSX.Element;
|
|
74
114
|
declare function IconNextJS(): React.JSX.Element;
|
|
75
115
|
declare function IconAppTemplate(): React.JSX.Element;
|
|
116
|
+
declare function IconQuote(): React.JSX.Element;
|
|
76
117
|
|
|
77
118
|
interface StepsProps {
|
|
78
119
|
children: React.ReactNode;
|
|
@@ -85,25 +126,6 @@ interface StepsItemProps {
|
|
|
85
126
|
children: React.ReactNode;
|
|
86
127
|
}
|
|
87
128
|
|
|
88
|
-
interface TableProps {
|
|
89
|
-
children: React.ReactNode;
|
|
90
|
-
}
|
|
91
|
-
declare function Table({ children }: TableProps): React.JSX.Element;
|
|
92
|
-
declare namespace Table {
|
|
93
|
-
var Th: ({ children }: TableThProps) => React.JSX.Element;
|
|
94
|
-
var Tr: ({ children }: TableTrProps) => React.JSX.Element;
|
|
95
|
-
var Td: ({ children }: TableTdProps) => React.JSX.Element;
|
|
96
|
-
}
|
|
97
|
-
interface TableThProps {
|
|
98
|
-
children: React.ReactNode;
|
|
99
|
-
}
|
|
100
|
-
interface TableTrProps {
|
|
101
|
-
children: React.ReactNode;
|
|
102
|
-
}
|
|
103
|
-
interface TableTdProps {
|
|
104
|
-
children: React.ReactNode;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
129
|
interface TabsProps {
|
|
108
130
|
children: React.ReactNode;
|
|
109
131
|
items: string[];
|
|
@@ -131,6 +153,7 @@ interface CodeSampleProps {
|
|
|
131
153
|
description: string;
|
|
132
154
|
codeblocks: CodeThemeBlockProps[];
|
|
133
155
|
size?: "full";
|
|
156
|
+
kind?: "secondary";
|
|
134
157
|
theme?: Theme;
|
|
135
158
|
}
|
|
136
159
|
declare function CodeSample(props: CodeSampleProps): React.JSX.Element;
|
|
@@ -164,6 +187,7 @@ declare function content(): {
|
|
|
164
187
|
IconReactRouter: typeof IconReactRouter;
|
|
165
188
|
IconNextJS: typeof IconNextJS;
|
|
166
189
|
IconAppTemplate: typeof IconAppTemplate;
|
|
190
|
+
IconQuote: typeof IconQuote;
|
|
167
191
|
Content: typeof Content;
|
|
168
192
|
Subtitle: typeof Subtitle;
|
|
169
193
|
Callout: typeof Callout;
|
|
@@ -171,7 +195,7 @@ declare function content(): {
|
|
|
171
195
|
GuideCard: typeof GuideCard;
|
|
172
196
|
Steps: typeof Steps;
|
|
173
197
|
Tabs: typeof Tabs;
|
|
174
|
-
Table: typeof
|
|
198
|
+
Table: typeof TableV2;
|
|
175
199
|
Badge: typeof Badge;
|
|
176
200
|
h1: (props: any) => React.JSX.Element;
|
|
177
201
|
h2: (props: any) => React.JSX.Element;
|
|
@@ -183,10 +207,10 @@ declare function content(): {
|
|
|
183
207
|
ul: (props: any) => React.JSX.Element;
|
|
184
208
|
ol: (props: any) => React.JSX.Element;
|
|
185
209
|
li: (props: any) => React.JSX.Element;
|
|
186
|
-
table: typeof
|
|
210
|
+
table: typeof TableV2;
|
|
187
211
|
tr: ({ children }: TableTrProps) => React.JSX.Element;
|
|
188
|
-
th: ({ children }: TableThProps) => React.JSX.Element;
|
|
189
|
-
td: (
|
|
212
|
+
th: ({ children, numeric }: TableThProps) => React.JSX.Element;
|
|
213
|
+
td: (props: any) => React.JSX.Element;
|
|
190
214
|
code: typeof Code;
|
|
191
215
|
pre: (props: any) => React.JSX.Element;
|
|
192
216
|
details: typeof Details;
|
|
@@ -209,10 +233,10 @@ declare function stdContent(): {
|
|
|
209
233
|
ul: (props: any) => React.JSX.Element;
|
|
210
234
|
ol: (props: any) => React.JSX.Element;
|
|
211
235
|
li: (props: any) => React.JSX.Element;
|
|
212
|
-
table: typeof
|
|
236
|
+
table: typeof TableV2;
|
|
213
237
|
tr: ({ children }: TableTrProps) => React.JSX.Element;
|
|
214
|
-
th: ({ children }: TableThProps) => React.JSX.Element;
|
|
215
|
-
td: (
|
|
238
|
+
th: ({ children, numeric }: TableThProps) => React.JSX.Element;
|
|
239
|
+
td: (props: any) => React.JSX.Element;
|
|
216
240
|
code: typeof Code;
|
|
217
241
|
pre: (props: any) => React.JSX.Element;
|
|
218
242
|
details: typeof Details;
|
|
@@ -230,7 +254,7 @@ declare function writerContent(): {
|
|
|
230
254
|
GuideCard: typeof GuideCard;
|
|
231
255
|
Steps: typeof Steps;
|
|
232
256
|
Tabs: typeof Tabs;
|
|
233
|
-
Table: typeof
|
|
257
|
+
Table: typeof TableV2;
|
|
234
258
|
Badge: typeof Badge;
|
|
235
259
|
};
|
|
236
260
|
declare function directiveContent(): {
|
|
@@ -257,6 +281,7 @@ declare function iconContent(): {
|
|
|
257
281
|
IconReactRouter: typeof IconReactRouter;
|
|
258
282
|
IconNextJS: typeof IconNextJS;
|
|
259
283
|
IconAppTemplate: typeof IconAppTemplate;
|
|
284
|
+
IconQuote: typeof IconQuote;
|
|
260
285
|
};
|
|
261
286
|
declare function coderContent(): {
|
|
262
287
|
CodeSample: typeof CodeSample;
|
package/dist/content.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{b as e}from"./_rollupPluginBabelHelpers-DsEzE6Ab.js";import{_ as n}from"./tslib.es6-DUrRPhZd.js";import t,{forwardRef as r}from"react";import{H as a,C as i,D as c,B as s,a as l,b as o,c as u,I as d,d as m,e as h,f,g as v,h as p,i as b,j as g,k as E,l as j,m as O,n as I,o as S,p as N,q as C,r as k,s as T}from"./index-BVUz77Tm.js";import"@radix-ui/react-icons";import{T as w,a as x,S as z,G as B}from"./UnderlineNav-C2aEVraN.js";import{c as y}from"./CodeSample-DxPp80ID.js";import"@code-hike/lighter";import"@radix-ui/react-tabs";import"lucide-react";import"./coder/themes/cosmo-light.js";var D="h1seqss5";function J(e){var n=e.children;return t.createElement("div",{className:D},n)}var R="hmi9h9e";function q(e){var n=e.children;return t.createElement("div",{className:R},n)}var A="htyux6",G=r((function(e,n){var r=e.href,a=void 0===r?"":r,i=e.children;return e.newWindow?t.createElement("a",{ref:n,to:a,href:a,target:"_blank",rel:"noreferrer",className:A},i):t.createElement("a",{ref:n,to:a,href:a,className:A},i)}));G.displayName="Anchor";var W=/https?:\/\//,_=function(e){var r=e.href,a=void 0===r?"":r;e.className;var i=n(e,["href","className"]);return t.createElement(G,Object.assign({href:a,newWindow:W.test(a)},i))};function H(){return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},M()),Q()),L()),P()),U()),F())}function M(){return e(e(e(e(e(e(e({h1:function(e){return t.createElement("div",null,t.createElement(a,Object.assign({id:e.children},e)))},h2:function(e){return t.createElement("div",null,t.createElement(a,Object.assign({id:e.children,size:2},e)))},h3:function(e){return t.createElement("div",null,t.createElement(a,Object.assign({id:e.children,size:3},e)))},h4:function(e){return t.createElement("div",null,t.createElement(a,Object.assign({id:e.children,size:4},e)))},h5:function(e){return t.createElement("div",null,t.createElement(a,Object.assign({id:e.children,size:5},e)))},h6:function(e){return t.createElement("div",null,t.createElement(a,Object.assign({id:e.children,size:6},e)))},p:function(e){return t.createElement("p",Object.assign({},e))},ul:function(e){return t.createElement("ul",Object.assign({},e),e.children)},ol:function(e){return t.createElement("ol",Object.assign({},e),e.children)},li:function(e){return t.createElement("li",Object.assign({},e),e.children)},table:w,tr:w.Tr,th:w.Th,td:w.Td},"td",(function(e){return t.createElement(w.Td,Object.assign({},e),t.createElement(w.Cell,null,e.children))})),"code",i),"pre",(function(e){var n,r,a,i,c,s,l=((null===(r=null===(n=null==e?void 0:e.children)||void 0===n?void 0:n.props)||void 0===r?void 0:r.className)||"").replace("language-","");return t.createElement(y,{name:l,description:null===(i=null===(a=null==e?void 0:e.children)||void 0===a?void 0:a.props)||void 0===i?void 0:i.meta,codeblocks:[{value:null===(s=null===(c=null==e?void 0:e.children)||void 0===c?void 0:c.props)||void 0===s?void 0:s.children,lang:l,meta:l}],size:"full"})})),"details",c),"blockquote",s),"hr",l),"a",_)}function Q(){return{Callout:u,Details:c,GuideCard:B,Steps:z,Tabs:x,Table:w,Badge:o}}function F(){return{DirectiveCodeSample:function(e){return t.createElement(y,Object.assign({},e,{codeblocks:JSON.parse(e.codeblocks)}))}}}function L(){return{Content:J,Subtitle:q}}function P(){return{IconSessionReplay:T,IconMetrics:k,IconFunnels:C,IconCode:N,IconCustomEvent:S,IconAlert:I,IconBrowser:O,IconREST:j,IconGraphQL:E,IconWebhooks:g,IconJSBrowser:b,IconJSNode:p,IconStorybook:v,IconReactRouter:f,IconNextJS:h,IconAppTemplate:m,IconQuote:d}}function U(){return{CodeSample:y}}export{H as MDX,U as coderContent,H as default,F as directiveContent,L as helperContent,P as iconContent,M as stdContent,Q as writerContent};
|
|
2
2
|
//# sourceMappingURL=content.js.map
|
package/dist/content.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.js","sources":["../src/content/Content/Content.tsx","../src/content/Subtitle/Subtitle.tsx","../src/content/Anchor/Anchor.tsx","../src/content/Content.tsx"],"sourcesContent":["import React from \"react\"\nimport {css} from \"@linaria/core\";\n\nconst $content = {\n host: css`\n display: flex;\n flex-direction: column;\n //align-items: center;\n gap: 24px;\n `\n}\n\nexport interface ContentProps {\n children: React.ReactNode\n}\n\nexport function Content({children}: ContentProps) {\n return <div className={$content.host}>\n {children}\n </div>\n}","import React from \"react\"\nimport {css} from \"@linaria/core\";\n\nconst $subitlte = {\n host: css`\n margin-top: -18px;\n font-size: 18px;\n color: #7051d4;\n font-weight: 300;\n `\n}\n\nexport interface SubtitleProps {\n children: React.ReactNode\n}\n\nexport function Subtitle({children}: SubtitleProps) {\n return <div className={$subitlte.host}>\n {children}\n </div>\n}","import React, {forwardRef} from 'react'\nimport type {ComponentProps, ReactElement} from 'react'\n\nimport {css} from \"@linaria/core\";\n\nconst $anchor = {\n host: css`\n color: #7051d4;\n `,\n};\n\nexport type AnchorProps = Omit<ComponentProps<'a'>, 'ref'> & {\n newWindow?: boolean\n}\n\n// TODO: where react-router?\n\nexport const Anchor = forwardRef<HTMLAnchorElement, AnchorProps>(function (\n {href = '', children, newWindow},\n // ref is used in <NavbarMenu />\n forwardedRef\n): ReactElement {\n if (newWindow) {\n return (\n <a\n ref={forwardedRef}\n to={href}\n href={href}\n target=\"_blank\"\n rel=\"noreferrer\"\n className={$anchor.host}\n >\n {children}\n </a>\n )\n }\n\n if (!href) {\n return (\n <a\n ref={forwardedRef}\n to={href}\n href={href}\n className={$anchor.host}\n >\n {children}\n </a>\n )\n }\n\n return (\n <a\n ref={forwardedRef}\n to={href}\n href={href}\n className={$anchor.host}\n >\n {children}\n </a>\n )\n})\n\nAnchor.displayName = 'Anchor'\n","import React from 'react'\n\nimport {\n Badge,\n Blockquote,\n Callout,\n Code,\n Details,\n GuideCard,\n Heading,\n Hr,\n Table,\n Tabs,\n Steps,\n\n IconCode,\n IconCustomEvent,\n IconFunnels,\n IconMetrics,\n IconSessionReplay,\n IconAlert,\n IconBrowser,\n IconREST,\n IconGraphQL,\n IconWebhooks,\n IconJSBrowser,\n IconJSNode,\n IconStorybook,\n IconReactRouter,\n IconNextJS,\n IconAppTemplate\n} from '../writer'\nimport {CodeSample} from \"../coder\";\n\nimport {Content as ContentComponent} from \"./Content/index\";\nimport {Subtitle} from \"./Subtitle\";\nimport {Anchor} from \"./Anchor\";\n\nconst EXTERNAL_HREF_REGEX = /https?:\\/\\//\n\nconst Link = ({href = '', className = \"\", ...props}) => (\n <Anchor\n href={href}\n newWindow={EXTERNAL_HREF_REGEX.test(href)}\n {...props}\n />\n)\n\n// TODO: options?\nexport default function content() {\n return {\n ...stdContent(),\n ...writerContent(),\n ...helperContent(),\n ...iconContent(),\n ...coderContent(),\n ...directiveContent(),\n }\n}\n\nexport function stdContent() {\n return {\n h1: (props) => <div><Heading id={props.children} {...props}/></div>,\n h2: props => <div><Heading id={props.children} size={2} {...props} /></div>,\n h3: props => <div><Heading id={props.children} size={3} {...props} /></div>,\n h4: props => <div><Heading id={props.children} size={4} {...props} /></div>,\n h5: props => <div><Heading id={props.children} size={5} {...props} /></div>,\n h6: props => <div><Heading id={props.children} size={6} {...props} /></div>,\n p: props => <p {...props} />,\n\n ul: props => (\n <ul{...props}>\n {props.children}\n </ul>\n ),\n ol: props => (\n <ol{...props}\n >\n {props.children}\n </ol>\n ),\n li: props => <li {...props} >\n {props.children}\n </li>,\n\n table: Table,\n tr: Table.Tr,\n th: Table.Th,\n td: Table.Td,\n\n code: Code,\n pre: props => {\n const lang = (props?.children?.props?.className || \"\").replace(\"language-\", \"\") // TODO: better solution\n\n return <CodeSample\n name={lang}\n description={props?.children?.props?.meta}\n codeblocks={[\n {\n value: props?.children?.props?.children,\n lang: lang,\n meta: lang,\n }\n ]}\n size=\"full\" // TODO: in the future configurable\n />\n },\n details: Details,\n blockquote: Blockquote,\n\n hr: Hr,\n a: Link,\n }\n}\n\nexport function writerContent() {\n return {\n Callout,\n Details,\n GuideCard,\n Steps,\n Tabs,\n Table,\n Badge,\n }\n}\n\nexport function directiveContent() {\n return {\n DirectiveCodeSample: (props) => {\n return <CodeSample\n {...props}\n codeblocks={JSON.parse(props.codeblocks)}\n />\n }\n }\n}\n\nexport function helperContent() {\n return {\n Content: ContentComponent,\n Subtitle\n }\n}\n\nexport function iconContent() {\n return {\n IconSessionReplay,\n IconMetrics,\n IconFunnels,\n IconCode,\n IconCustomEvent,\n IconAlert,\n IconBrowser,\n IconREST,\n IconGraphQL,\n IconWebhooks,\n IconJSBrowser,\n IconJSNode,\n IconStorybook,\n IconReactRouter,\n IconNextJS,\n IconAppTemplate,\n }\n}\n\nexport function coderContent() {\n return {\n CodeSample,\n }\n}\n"],"names":["$content","Content","children","React","createElement","className","$subitlte","Subtitle","$anchor","Anchor","forwardRef","_ref","forwardedRef","_ref$href","href","newWindow","ref","to","target","rel","displayName","EXTERNAL_HREF_REGEX","Link","_a","_a$href","props","__rest","Object","assign","test","content","stdContent","writerContent","helperContent","iconContent","coderContent","directiveContent","h1","Heading","id","h2","size","h3","h4","h5","h6","p","ul","ol","li","table","Table","tr","Tr","th","Th","td","Td","code","Code","pre","lang","_b","replace","CodeSample","name","description","_d","_c","meta","codeblocks","value","_f","_e","details","Details","blockquote","Blockquote","hr","Hr","a","Callout","GuideCard","Steps","Tabs","Badge","DirectiveCodeSample","JSON","parse","ContentComponent","IconSessionReplay","IconMetrics","IconFunnels","IconCode","IconCustomEvent","IconAlert","IconBrowser","IconREST","IconGraphQL","IconWebhooks","IconJSBrowser","IconJSNode","IconStorybook","IconReactRouter","IconNextJS","IconAppTemplate"],"mappings":"ikBAGA,IAAMA,EACE,WAYQ,SAAAC,EAAOA,GAAyB,IAAvBC,EAAAA,EAAAA,SACrB,OAAOC,EAAAC,cAAA,MAAA,CAAKC,UAAWL,GAClBE,EAET,CCjBA,IAAMI,EACE,UAYQ,SAAAC,EAAQA,GAA0B,IAAxBL,EAAAA,EAAAA,SACtB,OAAOC,EAAAC,cAAA,MAAA,CAAKC,UAAWC,GAClBJ,EAET,CCfA,IAAMM,EACE,SAWKC,EAASC,GAA2C,SAAAC,EAG7DC,GAAY,IAAAC,EAAAF,EAFXG,KAAAA,OAAO,IAAHD,EAAG,GAAEA,EAAEX,EAAQS,EAART,SAIZ,OAJsBa,EAAAA,UAMdZ,EAAAC,cAAA,IAAA,CACIY,IAAKJ,EACLK,GAAIH,EACJA,KAAMA,EACNI,OAAO,SACPC,IAAI,aACJd,UAAWG,GAEVN,GAmBTC,qBACIa,IAAKJ,EACLK,GAAIH,EACJA,KAAMA,EACNT,UAAWG,GAEVN,EAGb,IAEAO,EAAOW,YAAc,SCxBrB,IAAMC,EAAsB,cAEtBC,EAAO,SAACC,GAAA,IAAAC,EAA0BD,EAAzBT,KAAAA,OAAO,IAAHU,EAAG,GAAEA,EAAgBD,EAAdlB,UAAmBoB,IAAAA,EAA/BC,EAAAH,EAAA,CAAA,OAAA,cAA0C,OACpDpB,gBAACM,EAAMkB,OAAAC,OAAA,CACHd,KAAMA,EACNC,UAAWM,EAAoBQ,KAAKf,IAChCW,KAKE,SAAUK,IACpB,OAAAH,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,CAAA,EACOG,KACAC,KACAC,KACAC,KACAC,KACAC,IAEX,UAEgBL,IACZ,MAAO,CACHM,GAAI,SAACZ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ACAC,WAAAA,EACAC,cAAAA,EACAC,gBAAAA,EACAC,WAAAA,EACAC,gBAAAA,EAER,UAEgBtE,IACZ,MAAO,CACH6B,WAAAA,EAER"}
|
|
1
|
+
{"version":3,"file":"content.js","sources":["../src/content/Content/Content.tsx","../src/content/Subtitle/Subtitle.tsx","../src/content/Anchor/Anchor.tsx","../src/content/Content.tsx"],"sourcesContent":["import React from \"react\"\nimport {css} from \"@linaria/core\";\n\nconst $content = {\n host: css`\n display: flex;\n flex-direction: column;\n //align-items: center;\n gap: 24px;\n `\n}\n\nexport interface ContentProps {\n children: React.ReactNode\n}\n\nexport function Content({children}: ContentProps) {\n return <div className={$content.host}>\n {children}\n </div>\n}","import React from \"react\"\nimport {css} from \"@linaria/core\";\n\nconst cn = {\n Host: css`\n margin-top: -18px;\n font-size: 18px;\n color: #6e6e80;\n font-weight: 300;\n `\n}\n\nexport interface SubtitleProps {\n children: React.ReactNode\n}\n\nexport function Subtitle({children}: SubtitleProps) {\n return <div className={cn.Host}>\n {children}\n </div>\n}","import React, {forwardRef} from 'react'\nimport type {ComponentProps, ReactElement} from 'react'\n\nimport {css} from \"@linaria/core\";\n\nconst $anchor = {\n host: css`\n color: #7051d4;\n `,\n};\n\nexport type AnchorProps = Omit<ComponentProps<'a'>, 'ref'> & {\n newWindow?: boolean\n}\n\n// TODO: where react-router?\n\nexport const Anchor = forwardRef<HTMLAnchorElement, AnchorProps>(function (\n {href = '', children, newWindow},\n // ref is used in <NavbarMenu />\n forwardedRef\n): ReactElement {\n if (newWindow) {\n return (\n <a\n ref={forwardedRef}\n to={href}\n href={href}\n target=\"_blank\"\n rel=\"noreferrer\"\n className={$anchor.host}\n >\n {children}\n </a>\n )\n }\n\n if (!href) {\n return (\n <a\n ref={forwardedRef}\n to={href}\n href={href}\n className={$anchor.host}\n >\n {children}\n </a>\n )\n }\n\n return (\n <a\n ref={forwardedRef}\n to={href}\n href={href}\n className={$anchor.host}\n >\n {children}\n </a>\n )\n})\n\nAnchor.displayName = 'Anchor'\n","import React from 'react'\n\nimport {\n Badge,\n Blockquote,\n Callout,\n Code,\n Details,\n GuideCard,\n Heading,\n Hr,\n Table,\n TableV2,\n Tabs,\n Steps,\n\n IconCode,\n IconCustomEvent,\n IconFunnels,\n IconMetrics,\n IconSessionReplay,\n IconAlert,\n IconBrowser,\n IconREST,\n IconGraphQL,\n IconWebhooks,\n IconJSBrowser,\n IconJSNode,\n IconStorybook,\n IconReactRouter,\n IconNextJS,\n IconAppTemplate,\n IconQuote\n} from '../writer'\nimport {CodeSample} from \"../coder\";\n\nimport {Content as ContentComponent} from \"./Content/index\";\nimport {Subtitle} from \"./Subtitle\";\nimport {Anchor} from \"./Anchor\";\n\nconst EXTERNAL_HREF_REGEX = /https?:\\/\\//\n\nconst Link = ({href = '', className = \"\", ...props}) => (\n <Anchor\n href={href}\n newWindow={EXTERNAL_HREF_REGEX.test(href)}\n {...props}\n />\n)\n\n// TODO: options?\nexport default function content() {\n return {\n ...stdContent(),\n ...writerContent(),\n ...helperContent(),\n ...iconContent(),\n ...coderContent(),\n ...directiveContent(),\n }\n}\n\nexport function stdContent() {\n return {\n h1: (props) => <div><Heading id={props.children} {...props}/></div>,\n h2: props => <div><Heading id={props.children} size={2} {...props} /></div>,\n h3: props => <div><Heading id={props.children} size={3} {...props} /></div>,\n h4: props => <div><Heading id={props.children} size={4} {...props} /></div>,\n h5: props => <div><Heading id={props.children} size={5} {...props} /></div>,\n h6: props => <div><Heading id={props.children} size={6} {...props} /></div>,\n p: props => <p {...props} />,\n\n ul: props => (\n <ul{...props}>\n {props.children}\n </ul>\n ),\n ol: props => (\n <ol{...props}\n >\n {props.children}\n </ol>\n ),\n li: props => <li {...props} >\n {props.children}\n </li>,\n\n table: TableV2,\n tr: TableV2.Tr,\n th: TableV2.Th,\n td: TableV2.Td,\n td: (props) => <TableV2.Td {...props} >\n <TableV2.Cell>\n {props.children}\n </TableV2.Cell>\n </TableV2.Td>,\n\n code: Code,\n pre: props => {\n const lang = (props?.children?.props?.className || \"\").replace(\"language-\", \"\") // TODO: better solution\n\n return <CodeSample\n name={lang}\n description={props?.children?.props?.meta}\n codeblocks={[\n {\n value: props?.children?.props?.children,\n lang: lang,\n meta: lang,\n }\n ]}\n size=\"full\" // TODO: in the future configurable\n />\n },\n details: Details,\n blockquote: Blockquote,\n\n hr: Hr,\n a: Link,\n }\n}\n\nexport function writerContent() {\n return {\n Callout,\n Details,\n GuideCard,\n Steps,\n Tabs,\n Table: TableV2,\n Badge,\n }\n}\n\nexport function directiveContent() {\n return {\n // TODO: deprecate?\n DirectiveCodeSample: (props) => {\n return <CodeSample\n {...props}\n codeblocks={JSON.parse(props.codeblocks)}\n />\n }\n }\n}\n\nexport function helperContent() {\n return {\n Content: ContentComponent,\n Subtitle\n }\n}\n\nexport function iconContent() {\n return {\n IconSessionReplay,\n IconMetrics,\n IconFunnels,\n IconCode,\n IconCustomEvent,\n IconAlert,\n IconBrowser,\n IconREST,\n IconGraphQL,\n IconWebhooks,\n IconJSBrowser,\n IconJSNode,\n IconStorybook,\n IconReactRouter,\n IconNextJS,\n IconAppTemplate,\n IconQuote,\n }\n}\n\nexport function coderContent() {\n return {\n CodeSample,\n }\n}\n"],"names":["$content","Content","children","React","createElement","className","cn","Subtitle","$anchor","Anchor","forwardRef","_ref","forwardedRef","_ref$href","href","newWindow","ref","to","target","rel","displayName","EXTERNAL_HREF_REGEX","Link","_a","_a$href","props","__rest","Object","assign","test","content","stdContent","writerContent","helperContent","iconContent","coderContent","directiveContent","_defineProperty","h1","Heading","id","h2","size","h3","h4","h5","h6","p","ul","ol","li","table","TableV2","tr","Tr","th","Th","td","Td","Cell","Code","lang","_b","replace","CodeSample","name","description","_d","_c","meta","codeblocks","value","_f","_e","Details","Blockquote","Hr","Callout","GuideCard","Steps","Tabs","Table","Badge","DirectiveCodeSample","JSON","parse","ContentComponent","IconSessionReplay","IconMetrics","IconFunnels","IconCode","IconCustomEvent","IconAlert","IconBrowser","IconREST","IconGraphQL","IconWebhooks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C,YAAAA,EACAC,YAAAA,EACAC,SAAAA,EACAC,gBAAAA,EACAC,UAAAA,EACAC,YAAAA,EACAC,SAAAA,EACAC,YAAAA,EACAC,aAAAA,EACAC,cAAAA,EACAC,WAAAA,EACAC,cAAAA,EACAC,gBAAAA,EACAC,WAAAA,EACAC,gBAAAA,EACAC,UAAAA,EAER,UAEgBpE,IACZ,MAAO,CACH6B,WAAAA,EAER"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e,{useRef as t}from"react";var n="hutvd2b",l="hg9oorb",a="h6jev6x",r="h1uvewli",c="i1mcrm8o";function i(t){var i=t.children,o=t.size,s=void 0===o?"sm":o,h=t.kind,d=void 0===h?"warning":h;return e.createElement("div",{className:"\n ".concat(n,"\n \n ").concat("sm"===s&&r,"\n \n ").concat("warning"===d&&l,"\n \n ").concat("info"===d&&a,"\n ")},e.createElement("span",{className:c},i))}var o="h1wifk81";function s(t){var n=t.children;return e.createElement("blockquote",{className:o},n)}var h="hhnegou",d="_1ja9964",m="h1lyih3m",w="h1gzjc3x",v="boe1v8p";function u(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 24 24"},e.createElement("path",{d:"M13 12a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0v-4Zm-1-2.5A1.25 1.25 0 1 0 12 7a1.25 1.25 0 0 0 0 2.5Z"}),e.createElement("path",{fillRule:"evenodd",d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z",clipRule:"evenodd"}))}function k(t){var n=t.children;return e.createElement("div",{className:"".concat(h," ").concat(d)},e.createElement("div",{className:m},e.createElement(u,null)),e.createElement("div",{className:w},e.createElement("div",{className:v},n)))}var g="h1w59zdn";function E(t){var n=t.children;return e.createElement("code",{className:g},n)}var p="hwmojve",C="h1an07j0",q="sbneplt",f="s1d31n8s",M="s2p0kpw",L="snk81qf",x="syq3zec",b="sq0a0s6",Z="l1ligx2c",z="iynkbu3",W="c16kc3w3",H="c15ahw9d",B="cw7uaxe";function V(t){var n,l=t.children,a=t.label,r=["secondary","tertiary"].includes(t.kind||"");r&&"title"in t&&(n=t.title);var c=t.kind||"primary";return e.createElement("details",{className:"\n ".concat(p," \n ").concat(r&&C,"\n ")},e.createElement("summary",{className:"\n ".concat(q," \n ").concat(r&&f,"\n ").concat("tertiary"===c?M:"","\n ")},"primary"===c&&e.createElement(e.Fragment,null,t.icon?t.icon:e.createElement(j,null),e.createElement(N,null,a)),r&&e.createElement(e.Fragment,null,e.createElement("div",null,e.createElement("div",{className:L},e.createElement(e.Fragment,null,t.icon?t.icon:e.createElement(y,null)),e.createElement("div",{className:"\n ".concat(x,"\n ").concat(b,"\n ")},n)),e.createElement(N,null,a)),e.createElement(j,null))),e.createElement("div",{className:"\n ".concat(W,"\n ").concat(r&&H,"\n ").concat("tertiary"===c&&B,"\n ")},l))}function j(){return e.createElement("div",{className:z},e.createElement("svg",{"data-icon":"true",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 24 24"},e.createElement("path",{fillRule:"evenodd",d:"M8.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L14.586 12 8.293 5.707a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})))}function y(){return e.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",stroke:"none",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_1689_2180)"},e.createElement("path",{d:"M4.3 4.3L7.1 7.1M10.6 5.7V1.5M14.8 7.8L17.6 5M5.7 11.3H1.5M7.1 14.8L4.3 17.6M15.5 22.5L9.9 9.9L22.5 14.8L16.9 16.2L15.5 22.5Z",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_1689_2180"},e.createElement("rect",{width:24,height:24,fill:"white"}))))}function N(t){var n=t.children;return e.createElement("div",{className:Z},n)}var R="h1tn40xd",_="hnf4kng",A="h1vdtsi8",P="hz5xehg",F="hptgzam",S="h11bbv2f",D="hcoksa6",I="l17d6dy1";function X(n){var l=n.children,a=n.size,r=void 0===a?1:a,c=n.as,i=n.id,o=n.onClick,s=c||"h".concat(r);return t(null),e.createElement(s,{className:"\n ".concat(R,"\n ").concat(1===r&&_,"\n ").concat(2===r&&A,"\n ").concat(3===r&&P,"\n ").concat(4===r&&F,"\n ").concat(5===r&&S,"\n ").concat(6===r&&D,"\n xyd_comp-comp-heading\n "),onClick:o},l,i&&e.createElement(G,null))}function G(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:15,height:15,fill:"currentColor",viewBox:"0 0 24 24",className:I,role:"presentation"},e.createElement("path",{fillRule:"evenodd",d:"M18.293 5.707a4.657 4.657 0 0 0-6.586 0l-1 1a1 1 0 1 1-1.414-1.414l1-1a6.657 6.657 0 1 1 9.414 9.414l-1 1a1 1 0 0 1-1.414-1.414l1-1a4.657 4.657 0 0 0 0-6.586Zm-2.586 2.586a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414-1.414l6-6a1 1 0 0 1 1.414 0Zm-9 1a1 1 0 0 1 0 1.414l-1 1a4.657 4.657 0 0 0 6.586 6.586l1-1a1 1 0 0 1 1.414 1.414l-1 1a6.657 6.657 0 1 1-9.414-9.414l1-1a1 1 0 0 1 1.414 0Z",clipRule:"evenodd"}))}var J="h1ej4n95";function K(t){var n=t.children;return e.createElement("hr",{className:J},n)}function O(){return e.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M10 8L16 12L10 16V8Z",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))}function Q(){return e.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M21 7L13.2273 14.9167L9.13636 10.75L3 17",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M16 7H21V12",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))}function T(){return e.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12 20L12 10",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6 20L6 4",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M18 20L18 16",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))}function U(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24},e.createElement("path",{fillRule:"evenodd",d:"M14.447 7.106a1 1 0 0 1 .447 1.341l-4 8a1 1 0 1 1-1.788-.894l4-8a1 1 0 0 1 1.341-.447ZM6.6 7.2a1 1 0 0 1 .2 1.4L4.25 12l2.55 3.4a1 1 0 0 1-1.6 1.2l-3-4a1 1 0 0 1 0-1.2l3-4a1 1 0 0 1 1.4-.2Zm10.8 0a1 1 0 0 1 1.4.2l3 4a1 1 0 0 1 0 1.2l-3 4a1 1 0 0 1-1.6-1.2l2.55-3.4-2.55-3.4a1 1 0 0 1 .2-1.4Z",clipRule:"evenodd"}))}function Y(){return e.createElement("svg",{width:24,height:24,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M3.66179 8.03142L6.54954 1.79004C6.63136 1.6132 6.80847 1.5 7.00333 1.5H10.7236C11.0872 1.5 11.3292 1.87581 11.1788 2.20685L9.18871 6.58625C9.03827 6.9173 9.28029 7.2931 9.64391 7.2931L11.589 7.2931C12.0146 7.2931 12.2456 7.79098 11.9708 8.11596L6.77738 14.2573C6.4593 14.6334 5.84636 14.3715 5.89839 13.8816L6.3857 9.2942C6.41708 8.99882 6.18554 8.74138 5.8885 8.74138H4.11558C3.75048 8.74138 3.50848 8.36278 3.66179 8.03142Z",stroke:"black",strokeWidth:1.2,strokeLinejoin:"round"}))}function $(){return e.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 8C18 6.4087 17.3679 4.88258 16.2426 3.75736C15.1174 2.63214 13.5913 2 12 2C10.4087 2 8.88258 2.63214 7.75736 3.75736C6.63214 4.88258 6 6.4087 6 8C6 15 3 17 3 17H21C21 17 18 15 18 8Z",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M13.73 21C13.5542 21.3031 13.3019 21.5547 12.9982 21.7295C12.6946 21.9044 12.3504 21.9965 12 21.9965C11.6496 21.9965 11.3054 21.9044 11.0018 21.7295C10.6982 21.5547 10.4458 21.3031 10.27 21",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))}function ee(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M22 9H2M2 7.8L2 16.2C2 17.8802 2 18.7202 2.32698 19.362C2.6146 19.9265 3.07354 20.3854 3.63803 20.673C4.27976 21 5.11984 21 6.8 21H17.2C18.8802 21 19.7202 21 20.362 20.673C20.9265 20.3854 21.3854 19.9265 21.673 19.362C22 18.7202 22 17.8802 22 16.2V7.8C22 6.11984 22 5.27977 21.673 4.63803C21.3854 4.07354 20.9265 3.6146 20.362 3.32698C19.7202 3 18.8802 3 17.2 3L6.8 3C5.11984 3 4.27976 3 3.63803 3.32698C3.07354 3.6146 2.6146 4.07354 2.32698 4.63803C2 5.27976 2 6.11984 2 7.8Z",stroke:"#000000",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))}function te(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 16 16",fill:"none"},e.createElement("path",{fill:"#000000",fillRule:"evenodd",d:"M.5 2.75a2.25 2.25 0 114.28.97l1.345 1.344.284-.284a2.25 2.25 0 013.182 0l.284.284 1.344-1.344a2.25 2.25 0 111.06 1.06l-1.343 1.345.284.284a2.25 2.25 0 010 3.182l-.284.284 1.344 1.344a2.25 2.25 0 11-1.06 1.06l-1.345-1.343-.284.284a2.25 2.25 0 01-3.182 0l-.284-.284-1.344 1.344a2.25 2.25 0 11-1.06-1.06l1.343-1.345-.284-.284a2.25 2.25 0 010-3.182l.284-.284L3.72 4.781A2.25 2.25 0 01.5 2.75zM2.75 2a.75.75 0 100 1.5.75.75 0 000-1.5zm0 10.5a.75.75 0 100 1.5.75.75 0 000-1.5zm9.75.75a.75.75 0 111.5 0 .75.75 0 01-1.5 0zM13.25 2a.75.75 0 100 1.5.75.75 0 000-1.5zM7.47 5.841a.75.75 0 011.06 0L10.16 7.47a.75.75 0 010 1.06L8.53 10.16a.75.75 0 01-1.06 0L5.84 8.53a.75.75 0 010-1.06L7.47 5.84z",clipRule:"evenodd"}))}function ne(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#000",width:24,height:24,viewBox:"0 0 32 32"},e.createElement("path",{d:"M18.734 3.667l6.578 3.802c1.089-1.146 2.901-1.193 4.047-0.104 0.193 0.188 0.365 0.401 0.5 0.635 0.786 1.37 0.313 3.12-1.063 3.906-0.229 0.13-0.479 0.234-0.745 0.297v7.599c1.531 0.365 2.474 1.896 2.109 3.427-0.063 0.271-0.172 0.531-0.307 0.771-0.792 1.365-2.536 1.833-3.906 1.042-0.26-0.146-0.5-0.344-0.698-0.568l-6.542 3.776c0.495 1.495-0.318 3.109-1.813 3.604-0.292 0.099-0.594 0.146-0.896 0.146-1.573 0-2.854-1.271-2.854-2.849 0-0.271 0.042-0.547 0.12-0.813l-6.583-3.797c-1.089 1.141-2.896 1.188-4.036 0.094-1.135-1.089-1.177-2.891-0.094-4.031 0.38-0.396 0.865-0.677 1.396-0.807v-7.599c-1.531-0.365-2.479-1.906-2.109-3.443 0.063-0.266 0.167-0.521 0.302-0.755 0.786-1.365 2.536-1.833 3.901-1.042 0.234 0.135 0.453 0.302 0.641 0.5l6.583-3.797c-0.448-1.51 0.417-3.099 1.922-3.542 0.26-0.083 0.536-0.12 0.813-0.12 1.573 0 2.854 1.271 2.854 2.844 0 0.281-0.042 0.557-0.12 0.823zM18.047 4.839c-0.026 0.026-0.047 0.052-0.078 0.078l8.615 14.917c0.036-0.010 0.078-0.021 0.109-0.031v-7.609c-1.526-0.375-2.453-1.922-2.073-3.448 0.005-0.031 0.016-0.068 0.021-0.099zM14.026 4.917l-0.078-0.078-6.594 3.802c0.438 1.51-0.438 3.089-1.948 3.526-0.036 0.010-0.068 0.016-0.104 0.026v7.609l0.115 0.031 8.615-14.917zM16.797 5.594c-0.521 0.146-1.073 0.146-1.589 0l-8.615 14.917c0.391 0.375 0.667 0.859 0.802 1.391h17.214c0.13-0.531 0.406-1.016 0.802-1.396zM18.109 27.229l6.552-3.786c-0.021-0.063-0.036-0.125-0.052-0.188h-17.219l-0.031 0.109 6.589 3.802c0.516-0.536 1.245-0.87 2.052-0.87 0.839 0 1.589 0.359 2.109 0.932z"}))}function le(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:24,height:24,viewBox:"-10 -5 1034 1034"},e.createElement("path",{fill:"#000000",d:"M482 226h-1l-10 2q-33 4 -64.5 18.5t-55.5 38.5q-41 37 -57 91q-9 30 -8 63t12 63q17 45 52 78l13 12l-83 135q-26 -1 -45 7q-30 13 -45 40q-7 15 -9 31t2 32q8 30 33 48q15 10 33 14.5t36 2t34.5 -12.5t27.5 -25q12 -17 14.5 -39t-5.5 -41q-1 -5 -7 -14l-3 -6l118 -192 q6 -9 8 -14l-10 -3q-9 -2 -13 -4q-23 -10 -41.5 -27.5t-28.5 -39.5q-17 -36 -9 -75q4 -23 17 -43t31 -34q37 -27 82 -27q27 -1 52.5 9.5t44.5 30.5q17 16 26.5 38.5t10.5 45.5q0 17 -6 42l70 19l8 1q14 -43 7 -86q-4 -33 -19.5 -63.5t-39.5 -53.5q-42 -42 -103 -56 q-6 -2 -18 -4l-14 -2h-37zM500 350q-17 0 -34 7t-30.5 20.5t-19.5 31.5q-8 20 -4 44q3 18 14 34t28 25q24 15 56 13q3 4 5 8l112 191q3 6 6 9q27 -26 58.5 -35.5t65 -3.5t58.5 26q32 25 43.5 61.5t0.5 73.5q-8 28 -28.5 50t-48.5 33q-31 13 -66.5 8.5t-63.5 -24.5 q-4 -3 -13 -10l-5 -6q-4 3 -11 10l-47 46q23 23 52 38.5t61 21.5l22 4h39l28 -5q64 -13 110 -60q22 -22 36.5 -50.5t19.5 -59.5q5 -36 -2 -71.5t-25 -64.5t-44 -51t-57 -35q-34 -14 -70.5 -16t-71.5 7l-17 5l-81 -137q13 -19 16 -37q5 -32 -13 -60q-16 -25 -44 -35 q-17 -6 -35 -6zM218 614q-58 13 -100 53q-47 44 -61 105l-4 24v37l2 11q2 13 4 20q7 31 24.5 59t42.5 49q50 41 115 49q38 4 76 -4.5t70 -28.5q53 -34 78 -91q7 -17 14 -45q6 -1 18 0l125 2q14 0 20 1q11 20 25 31t31.5 16t35.5 4q28 -3 50 -20q27 -21 32 -54 q2 -17 -1.5 -33t-13.5 -30q-16 -22 -41 -32q-17 -7 -35.5 -6.5t-35.5 7.5q-28 12 -43 37l-3 6q-14 0 -42 -1l-113 -1q-15 -1 -43 -1l-50 -1l3 17q8 43 -13 81q-14 27 -40 45t-57 22q-35 6 -70 -7.5t-57 -42.5q-28 -35 -27 -79q1 -37 23 -69q13 -19 32 -32t41 -19l9 -3z"}))}function ae(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",width:24,height:24},e.createElement("path",{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM243.8 381.4c0 43.6-25.6 63.5-62.9 63.5-33.7 0-53.2-17.4-63.2-38.5l34.3-20.7c6.6 11.7 12.6 21.6 27.1 21.6 13.8 0 22.6-5.4 22.6-26.5V237.7h42.1v143.7zm99.6 63.5c-39.1 0-64.4-18.6-76.7-43l34.3-19.8c9 14.7 20.8 25.6 41.5 25.6 17.4 0 28.6-8.7 28.6-20.8 0-14.4-11.4-19.5-30.7-28l-10.5-4.5c-30.4-12.9-50.5-29.2-50.5-63.5 0-31.6 24.1-55.6 61.6-55.6 26.8 0 46 9.3 59.8 33.7L368 290c-7.2-12.9-15-18-27.1-18-12.3 0-20.1 7.8-20.1 18 0 12.6 7.8 17.7 25.9 25.6l10.5 4.5c35.8 15.3 55.9 31 55.9 66.2 0 37.8-29.8 58.6-69.7 58.6z"}))}function re(){return e.createElement("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 109 122.88"},e.createElement("defs",null,e.createElement("style",null,".cls-1{fill-rule:evenodd;}")),e.createElement("title",null,"node-js-black"),e.createElement("path",{className:"cls-1",d:"M68.43,87.08c-19.7,0-23.83-9-23.83-16.63a1.3,1.3,0,0,1,1.3-1.3h5.82A1.3,1.3,0,0,1,53,70.25c.88,5.93,3.49,8.92,15.41,8.92C77.9,79.17,81.93,77,81.93,72c0-2.9-1.15-5-15.89-6.49-12.33-1.22-20-3.93-20-13.8,0-9.08,7.66-14.49,20.5-14.49,14.42,0,21.56,5,22.46,15.76a1.31,1.31,0,0,1-.35,1,1.35,1.35,0,0,1-1,.42H81.9a1.29,1.29,0,0,1-1.26-1c-1.41-6.23-4.81-8.23-14.07-8.23C56.21,45.15,55,48.76,55,51.46c0,3.28,1.42,4.24,15.4,6.09S90.82,62,90.82,71.71,82.64,87.14,68.37,87.14l.06-.06Zm-13.91,35.8a9.45,9.45,0,0,1-4.72-1.26l-15-8.9c-2.25-1.26-1.15-1.7-.41-2a30.38,30.38,0,0,0,6.8-3.1,1.15,1.15,0,0,1,1.12.08l11.55,6.85a1.51,1.51,0,0,0,1.4,0l45-26a1.42,1.42,0,0,0,.69-1.22V35.43a1.44,1.44,0,0,0-.7-1.24l-45-26a1.38,1.38,0,0,0-1.39,0l-45,26a1.42,1.42,0,0,0-.71,1.23v52a1.39,1.39,0,0,0,.7,1.21l12.33,7.12C27.85,99.06,32,95.11,32,91.15V39.86a1.29,1.29,0,0,1,1.31-1.3H39a1.29,1.29,0,0,1,1.3,1.3V91.17c0,8.93-4.87,14-13.33,14-2.6,0-4.66,0-10.38-2.82L4.72,95.59A9.51,9.51,0,0,1,0,87.38v-52a9.47,9.47,0,0,1,4.72-8.21l45.07-26a9.89,9.89,0,0,1,9.47,0l45,26A9.49,9.49,0,0,1,109,35.43v52a9.54,9.54,0,0,1-4.72,8.21l-45,26a9.5,9.5,0,0,1-4.74,1.26v0Zm0,0Z"}))}function ce(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#000000",width:24,height:24,viewBox:"0 0 32 32"},e.createElement("path",{d:"M21.786 0.318l-0.161 3.615c-0.005 0.203 0.229 0.328 0.391 0.203l1.411-1.068 1.198 0.932c0.156 0.104 0.365 0 0.375-0.188l-0.135-3.677 1.776-0.135c0.922-0.063 1.708 0.672 1.708 1.599v28.802c0 0.917-0.766 1.646-1.682 1.599l-21.469-0.958c-0.833-0.036-1.505-0.708-1.531-1.547l-1-26.401c-0.052-0.885 0.62-1.646 1.505-1.693l17.599-1.109zM17.693 12.401c0 0.625 4.214 0.318 4.786-0.109 0-4.266-2.292-6.521-6.479-6.521-4.198 0-6.531 2.297-6.531 5.724 0 5.932 8 6.036 8 9.276 0 0.938-0.427 1.469-1.401 1.469-1.281 0-1.802-0.651-1.734-2.88 0-0.479-4.865-0.641-5.026 0-0.359 5.375 2.974 6.932 6.797 6.932 3.724 0 6.63-1.984 6.63-5.573 0-6.359-8.135-6.188-8.135-9.333 0-1.292 0.964-1.464 1.505-1.464 0.604 0 1.667 0.094 1.589 2.49z"}))}function ie(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 602 360",fill:"none"},e.createElement("path",{d:"M480.96 180C480.96 196.572 474.239 211.572 463.357 222.42C452.475 233.28 437.445 240 420.84 240C404.235 240 389.205 246.708 378.335 257.568C367.453 268.428 360.72 283.428 360.72 300C360.72 316.572 353.999 331.572 343.117 342.42C332.235 353.28 317.205 360 300.6 360C283.995 360 268.965 353.28 258.095 342.42C247.213 331.572 240.48 316.572 240.48 300C240.48 283.428 247.213 268.428 258.095 257.568C268.965 246.708 283.995 240 300.6 240C317.205 240 332.235 233.28 343.117 222.42C353.999 211.572 360.72 196.572 360.72 180C360.72 146.856 333.81 120 300.6 120C283.995 120 268.965 113.28 258.095 102.42C247.213 91.572 240.48 76.572 240.48 60C240.48 43.428 247.213 28.428 258.095 17.568C268.965 6.708 283.995 0 300.6 0C333.81 0 360.72 26.856 360.72 60C360.72 76.572 367.453 91.572 378.335 102.42C389.205 113.28 404.235 120 420.84 120C454.05 120 480.96 146.856 480.96 180Z",fill:"#121212"}),e.createElement("path",{d:"M240.48 180C240.48 146.862 213.563 120 180.36 120C147.157 120 120.24 146.862 120.24 180C120.24 213.137 147.157 240 180.36 240C213.563 240 240.48 213.137 240.48 180Z",fill:"#121212"}),e.createElement("path",{d:"M120.24 300C120.24 266.863 93.3234 240 60.12 240C26.9166 240 0 266.863 0 300C0 333.138 26.9166 360 60.12 360C93.3234 360 120.24 333.138 120.24 300Z",fill:"#121212"}),e.createElement("path",{d:"M601.2 300C601.2 266.863 574.283 240 541.08 240C507.877 240 480.96 266.863 480.96 300C480.96 333.138 507.877 360 541.08 360C574.283 360 601.2 333.138 601.2 300Z",fill:"#121212"}))}function oe(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 15 15",fill:"none"},e.createElement("path",{d:"M4.5 4.5L4.90534 4.20725C4.77836 4.03144 4.55252 3.95753 4.34617 4.02425C4.13981 4.09098 4 4.28313 4 4.5H4.5ZM7.5 14C3.91015 14 1 11.0899 1 7.5H0C0 11.6421 3.35786 15 7.5 15V14ZM14 7.5C14 11.0899 11.0899 14 7.5 14V15C11.6421 15 15 11.6421 15 7.5H14ZM7.5 1C11.0899 1 14 3.91015 14 7.5H15C15 3.35786 11.6421 0 7.5 0V1ZM7.5 0C3.35786 0 0 3.35786 0 7.5H1C1 3.91015 3.91015 1 7.5 1V0ZM5 12V4.5H4V12H5ZM4.09466 4.79275L10.5947 13.7927L11.4053 13.2073L4.90534 4.20725L4.09466 4.79275ZM10 4V10H11V4H10Z",fill:"#000000"}))}function se(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80 80",fill:"none"},e.createElement("g",{clipPath:"url(#clip0_202_147)"},e.createElement("path",{d:"M0 55.3333H80",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M0 40H80",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M0 24.6667H80",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M55.3334 80V0",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M40 80V0",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M24.6666 80V0",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M80 80L0 0",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M0 80L80 0",stroke:"black",strokeWidth:.506667}),e.createElement("rect",{x:5.33337,y:5.33333,width:69.3333,height:69.3333,stroke:"black",strokeWidth:.506667}),e.createElement("circle",{cx:40,cy:40,r:15.3333,stroke:"black",strokeWidth:.506667}),e.createElement("circle",{cx:40,cy:40,r:22,stroke:"black",strokeWidth:.506667}),e.createElement("circle",{cx:40,cy:40,r:34.6667,stroke:"black",strokeWidth:.506667})),e.createElement("rect",{x:.253333,y:.253333,width:79.4933,height:79.4933,rx:17.08,stroke:"black",strokeWidth:.506667}),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_202_147"},e.createElement("rect",{width:80,height:80,rx:17.3333,fill:"white"}))))}function he(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",stroke:"currentColor",fill:"currentColor"},e.createElement("path",{d:"M14 17h3l2-4V7h-6v6h3M6 17h3l2-4V7H5v6h3z"}))}export{s as B,E as C,V as D,X as H,he as I,K as a,i as b,k as c,se as d,oe as e,ie as f,ce as g,re as h,ae as i,le as j,ne as k,te as l,ee as m,$ as n,Y as o,U as p,T as q,Q as r,O as s};
|
|
2
|
+
//# sourceMappingURL=index-BVUz77Tm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BVUz77Tm.js","sources":["../src/writer/Badge/Badge.styles.tsx","../src/writer/Badge/Badge.tsx","../src/writer/Blockquote/Blockquote.styles.tsx","../src/writer/Blockquote/Blockquote.tsx","../src/writer/Callout/Callout.styles.tsx","../src/writer/Callout/Callout.tsx","../src/writer/Code/Code.styles.tsx","../src/writer/Code/Code.tsx","../src/writer/Details/Details.styles.tsx","../src/writer/Details/Details.tsx","../src/writer/Heading/Heading.styles.tsx","../src/writer/Heading/Heading.tsx","../src/writer/Hr/Hr.styles.tsx","../src/writer/Hr/Hr.tsx","../src/writer/Icon/index.tsx"],"sourcesContent":["import {css} from \"@linaria/core\";\n\nexport const $badge = {\n host: css`\n display: inline-flex;\n align-items: center;\n line-height: 1rem;\n font-style: normal;\n font-weight: 500;\n letter-spacing: normal;\n white-space: nowrap;\n text-transform: none;\n `,\n host$$warning: css`\n color: #434e4e;\n background-color: #ffffe1\n `,\n host$$info: css`\n color: #fff;\n background-color: #1971a8;\n `,\n host$$sm: css`\n font-size: 12px;\n height: 18px;\n padding: 0 6px;\n gap: 3px;\n border-radius: 6px;\n `,\n\n item: css`\n position: relative;\n `\n}","import React from \"react\"\n\nimport {$badge} from \"./Badge.styles\";\n\nexport interface BadgeProps {\n children: React.ReactNode;\n\n size?: \"sm\"\n kind?: \"warning\" | \"info\"\n}\n\nexport function Badge({\n children,\n size = \"sm\",\n kind = \"warning\"\n }: BadgeProps) {\n return <div className={`\n ${$badge.host}\n \n ${size === \"sm\" && $badge.host$$sm}\n \n ${kind === \"warning\" && $badge.host$$warning}\n \n ${kind === \"info\" && $badge.host$$info}\n `}>\n <span className={$badge.item}>\n {children}\n </span>\n </div>\n}","import {css} from \"@linaria/core\";\n\nexport const $blockquote = {\n host: css`\n color: rgb(55 65 81 / 1);\n font-style: italic;\n border-color: rgb(209 213 219 / 1);\n margin: 0;\n `\n}","import React from \"react\"\n\nimport {$blockquote} from \"./Blockquote.styles\";\n\nexport interface BlockquoteProps {\n children: React.ReactNode;\n}\n\nexport function Blockquote({children}: BlockquoteProps) {\n return <blockquote className={$blockquote.host}>\n {children}\n </blockquote>\n}","import {css} from \"@linaria/core\";\n\nexport const $callout = {\n host: css`\n display: inline-flex;\n align-items: center;\n\n position: relative;\n width: 100%;\n min-width: 275px;\n padding: 8px 12px;\n\n border-radius: 8px;\n\n text-align: center;\n\n border: 1px solid #ececf1;\n `,\n $$neutral: css`\n background-color: #f7f7f8;\n\n border-color: #ececf1;\n `\n}\n\nexport const $icon = {\n host: css`\n display: inline-flex;\n margin-right: 14px;\n flex: 0 0 auto;\n align-self: flex-start;\n\n color: #6e6e80;\n font-size: 20px;\n margin-top: 2px;\n `\n}\n\nexport const $message = {\n host: css`\n color: #353740;\n text-align: left;\n\n flex: 1 1 auto;\n `,\n body: css`\n font-size: 14px;\n line-height: 20px;\n `\n}\n","import React from \"react\"\n\nimport {$callout, $icon, $message} from \"./Callout.styles\";\n\nexport interface CalloutProps {\n children: React.ReactNode;\n}\n\nfunction InfoIcon() {\n return <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"1em\"\n height=\"1em\"\n fill=\"currentColor\"\n viewBox=\"0 0 24 24\"\n >\n <path d=\"M13 12a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0v-4Zm-1-2.5A1.25 1.25 0 1 0 12 7a1.25 1.25 0 0 0 0 2.5Z\"/>\n <path\n fillRule=\"evenodd\"\n d=\"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z\"\n clipRule=\"evenodd\"\n />\n </svg>\n}\n\nexport function Callout({children}: CalloutProps) {\n return <div className={`${$callout.host} ${$callout.$$neutral}`}>\n <div className={$icon.host}>\n <InfoIcon/>\n </div>\n <div className={$message.host}>\n <div className={$message.body}>\n {children}\n </div>\n </div>\n </div>\n}","import {css} from \"@linaria/core\";\n\nexport const $code = {\n host: css`\n display: inline-block;\n padding: 0 .3em;\n border-radius: 6px;\n margin: 0 3px;\n border: .5px solid #ececf1;\n\n font-size: 14px;\n font-weight: 500;\n line-height: 1.6em;\n\n background: linear-gradient(45deg, #f7f7f8 0%, rgba(247, 247, 248, 1) 100%);\n `\n}","import React from \"react\"\n\nimport {$code} from \"./Code.styles\";\n\nexport interface CodeProps {\n children: React.ReactNode;\n}\n\nexport function Code({children}: CodeProps) {\n return <code className={$code.host}>\n {children}\n </code>\n}","import {css} from \"@linaria/core\";\n\nexport const $details = {\n host: css`\n border-top: 1px solid #ececf1;\n\n &[open] summary svg[data-icon=\"true\"] { // TODO: bad solution\n transform: rotate(90deg);\n }\n `,\n host$$secondary: css`\n background-color: #f7f7f8;\n border: 1px solid #ececf1;\n border-radius: 8px;\n `,\n summary: css`\n padding: 16px 14px 16px 0;\n font-size: 18px;\n cursor: pointer;\n font-weight: 500;\n font-variant-numeric: tabular-nums;\n line-height: 1.4;\n transition: color 0.3s;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n list-style: none;\n\n &:hover {\n color: #565869;\n }\n `,\n summary$$secondary: css`\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: pointer;\n padding: 20px 24px;\n `,\n summary$$tertiary: css`\n padding: 10px 24px;\n `,\n summaryDeep: css`\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n `,\n summaryDeep$text: css`\n color: #6e6e80;\n text-transform: uppercase;\n font-size: 12px;\n line-height: 16px;\n letter-spacing: .08em;\n margin-left: 8px;\n font-weight: 700;\n `,\n summaryDeep$text$$tertiary: css`\n text-transform: none;\n \n code {\n background: white;\n }\n `,\n label: css`\n flex: 1 1 auto;\n `,\n label$$tertriary: css`\n padding: 10px;\n `,\n icon: css`\n flex: 0 0 auto;\n font-size: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-right: 6px;\n `,\n content: css`\n padding: 0 24px 20px;\n `,\n content$$secondary: css`\n // TODO: also bad\n\n code {\n background: white;\n }\n `,\n content$$tertiary: css`\n background: white;\n padding-top: 20px;\n `\n}","import React from \"react\"\n\nimport {$details} from \"./Details.styles\";\n\ninterface BaseDetailsProps {\n children: React.ReactNode;\n label: string;\n\n icon?: React.SVGProps<SVGSVGElement>;\n}\n\ninterface TertiaryDetailsProps extends BaseDetailsProps {\n kind: \"tertiary\";\n title: string | React.ReactNode;\n}\n\ninterface SecondaryDetailsProps extends BaseDetailsProps {\n kind: \"secondary\";\n title: string | React.ReactNode;\n}\n\ninterface PrimaryDetailsProps extends BaseDetailsProps {\n kind?: \"primary\";\n}\n\nexport type DetailsProps = PrimaryDetailsProps | SecondaryDetailsProps | TertiaryDetailsProps\n\nexport function Details(props: DetailsProps) {\n const {children, label} = props;\n\n let title\n\n const isDeepKind = [\"secondary\", \"tertiary\"].includes(props.kind || \"\");\n\n if (isDeepKind && \"title\" in props) {\n title = props.title;\n }\n\n const kind = props.kind || \"primary\";\n\n return <details className={`\n ${$details.host} \n ${isDeepKind && $details.host$$secondary}\n `}>\n <summary className={`\n ${$details.summary} \n ${isDeepKind && $details.summary$$secondary}\n ${kind === \"tertiary\" ? $details.summary$$tertiary : \"\"}\n `}>\n {kind === \"primary\" && <>\n {props.icon ? props.icon : <$Icon/>}\n <$Label>\n {label}\n </$Label>\n </>}\n {isDeepKind && <>\n <div>\n <div className={$details.summaryDeep}>\n <>\n {props.icon ? props.icon : <$IconDeep/>}\n </>\n <div className={`\n ${$details.summaryDeep$text}\n ${$details.summaryDeep$text$$tertiary}\n `}>\n {title}\n </div>\n </div>\n <$Label>\n {label}\n </$Label>\n </div>\n <$Icon/>\n </>}\n </summary>\n\n <div className={`\n ${$details.content}\n ${isDeepKind && $details.content$$secondary}\n ${kind === \"tertiary\" && $details.content$$tertiary}\n `}>\n {children}\n </div>\n </details>\n}\n\nfunction $Icon() {\n return <div className={$details.icon}>\n <svg\n // TODO: bad solution\n data-icon=\"true\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"1em\"\n height=\"1em\"\n fill=\"currentColor\"\n viewBox=\"0 0 24 24\"\n >\n <path\n fillRule=\"evenodd\"\n d=\"M8.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L14.586 12 8.293 5.707a1 1 0 0 1 0-1.414Z\"\n clipRule=\"evenodd\"\n />\n </svg>\n </div>\n}\n\nfunction $IconDeep() {\n return <svg\n width=\"1em\"\n height=\"1em\"\n viewBox=\"0 0 24 24\"\n stroke=\"none\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g clipPath=\"url(#clip0_1689_2180)\">\n <path\n d=\"M4.3 4.3L7.1 7.1M10.6 5.7V1.5M14.8 7.8L17.6 5M5.7 11.3H1.5M7.1 14.8L4.3 17.6M15.5 22.5L9.9 9.9L22.5 14.8L16.9 16.2L15.5 22.5Z\"\n stroke=\"black\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_1689_2180\">\n <rect width={24} height={24} fill=\"white\"/>\n </clipPath>\n </defs>\n </svg>\n}\n\nfunction $Label({children}: {\n children?: React.ReactNode\n}) {\n return <div className={$details.label}>\n {children}\n </div>\n}","import {css} from \"@linaria/core\";\n\nexport const $heading = {\n host: css`\n line-height: 40px;\n font-weight: 300;\n color: #202123;\n\n position: relative;\n display: inline-block;\n margin: 0;\n padding: 0 24px 0 0;\n scroll-margin-top: 30px;\n cursor: pointer;\n\n &:hover {\n svg {\n opacity: 1;\n }\n }\n `,\n h1: css`\n font-size: 36px;\n\n code {\n font-size: 30px;\n }\n `,\n h2: css`\n font-size: 30px;\n\n code {\n font-size: 24px;\n }\n `,\n h3: css`\n font-size: 26px;\n\n code {\n font-size: 22px;\n }\n `,\n h4: css`\n font-size: 22px;\n\n code {\n font-size: 18px;\n }\n `,\n h5: css`\n font-size: 18px;\n\n code {\n font-size: 14px;\n }\n `,\n h6: css`\n font-size: 16px;\n\n code {\n font-size: 12px;\n }\n `,\n link: css`\n position: absolute;\n top: 50%;\n right: 0;\n margin-top: -6px;\n opacity: 0;\n color: #7051d4;\n transition: opacity .15s ease;\n `\n}","import React, {useRef} from \"react\"\n\nimport {$heading} from \"./Heading.styles\";\n\nexport interface HeadingProps {\n children: React.ReactNode\n size: 1 | 2 | 3 | 4 | 5 | 6\n as?: \"div\" | \"span\"\n id?: string\n onClick?: () => void\n}\n\nexport function Heading({children, size = 1, as, id, onClick}: HeadingProps) {\n let HeadingComponent = as ? as : `h${size}` as \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"\n\n const obRef = useRef<HTMLAnchorElement>(null)\n\n return <HeadingComponent\n className={`\n ${$heading.host}\n ${size === 1 && $heading.h1}\n ${size === 2 && $heading.h2}\n ${size === 3 && $heading.h3}\n ${size === 4 && $heading.h4}\n ${size === 5 && $heading.h5}\n ${size === 6 && $heading.h6}\n xyd_comp-comp-heading\n `}\n onClick={onClick}\n >\n {children}\n\n {id && <$Anchor/>}\n </HeadingComponent>\n}\n\nfunction $Anchor() {\n return <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={15}\n height={15}\n fill=\"currentColor\"\n viewBox=\"0 0 24 24\"\n className={$heading.link}\n role=\"presentation\"\n >\n <path\n fillRule=\"evenodd\"\n d=\"M18.293 5.707a4.657 4.657 0 0 0-6.586 0l-1 1a1 1 0 1 1-1.414-1.414l1-1a6.657 6.657 0 1 1 9.414 9.414l-1 1a1 1 0 0 1-1.414-1.414l1-1a4.657 4.657 0 0 0 0-6.586Zm-2.586 2.586a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414-1.414l6-6a1 1 0 0 1 1.414 0Zm-9 1a1 1 0 0 1 0 1.414l-1 1a4.657 4.657 0 0 0 6.586 6.586l1-1a1 1 0 0 1 1.414 1.414l-1 1a6.657 6.657 0 1 1-9.414-9.414l1-1a1 1 0 0 1 1.414 0Z\"\n clipRule=\"evenodd\"\n />\n </svg>\n}","import {css} from \"@linaria/core\";\n\nexport const $hr = {\n host: css`\n border-color: rgb(229 229 229 / 0.7);\n `\n}","import React from \"react\"\n\nimport {$hr} from \"./Hr.styles\";\n\nexport interface HrProps {\n children: React.ReactNode;\n}\n\nexport function Hr({children}: HrProps) {\n return <hr className={$hr.host}>\n {children}\n </hr>\n}","import React from \"react\";\n\n// TODO: better icon system\n\nexport function IconSessionReplay() {\n return <svg\n width={24}\n height={24}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\"\n stroke=\"black\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M10 8L16 12L10 16V8Z\"\n stroke=\"black\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n}\n\nexport function IconMetrics() {\n return <svg\n width={24}\n height={24}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M21 7L13.2273 14.9167L9.13636 10.75L3 17\"\n stroke=\"black\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M16 7H21V12\"\n stroke=\"black\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n}\n\nexport function IconFunnels() {\n return <svg\n width={24}\n height={24}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M12 20L12 10\"\n stroke=\"black\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M6 20L6 4\"\n stroke=\"black\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M18 20L18 16\"\n stroke=\"black\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n}\n\nexport function IconCode() {\n return <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width={24} height={24}>\n <path\n fillRule=\"evenodd\"\n d=\"M14.447 7.106a1 1 0 0 1 .447 1.341l-4 8a1 1 0 1 1-1.788-.894l4-8a1 1 0 0 1 1.341-.447ZM6.6 7.2a1 1 0 0 1 .2 1.4L4.25 12l2.55 3.4a1 1 0 0 1-1.6 1.2l-3-4a1 1 0 0 1 0-1.2l3-4a1 1 0 0 1 1.4-.2Zm10.8 0a1 1 0 0 1 1.4.2l3 4a1 1 0 0 1 0 1.2l-3 4a1 1 0 0 1-1.6-1.2l2.55-3.4-2.55-3.4a1 1 0 0 1 .2-1.4Z\"\n clipRule=\"evenodd\"\n />\n </svg>\n}\n\nexport function IconCustomEvent() {\n return <svg\n width={24}\n height={24}\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M3.66179 8.03142L6.54954 1.79004C6.63136 1.6132 6.80847 1.5 7.00333 1.5H10.7236C11.0872 1.5 11.3292 1.87581 11.1788 2.20685L9.18871 6.58625C9.03827 6.9173 9.28029 7.2931 9.64391 7.2931L11.589 7.2931C12.0146 7.2931 12.2456 7.79098 11.9708 8.11596L6.77738 14.2573C6.4593 14.6334 5.84636 14.3715 5.89839 13.8816L6.3857 9.2942C6.41708 8.99882 6.18554 8.74138 5.8885 8.74138H4.11558C3.75048 8.74138 3.50848 8.36278 3.66179 8.03142Z\"\n stroke=\"black\"\n strokeWidth={1.2}\n strokeLinejoin=\"round\"\n />\n </svg>\n}\n\nexport function IconAlert() {\n return <svg\n width={24}\n height={24}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M18 8C18 6.4087 17.3679 4.88258 16.2426 3.75736C15.1174 2.63214 13.5913 2 12 2C10.4087 2 8.88258 2.63214 7.75736 3.75736C6.63214 4.88258 6 6.4087 6 8C6 15 3 17 3 17H21C21 17 18 15 18 8Z\"\n stroke=\"black\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M13.73 21C13.5542 21.3031 13.3019 21.5547 12.9982 21.7295C12.6946 21.9044 12.3504 21.9965 12 21.9965C11.6496 21.9965 11.3054 21.9044 11.0018 21.7295C10.6982 21.5547 10.4458 21.3031 10.27 21\"\n stroke=\"black\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n}\n\nexport function IconBrowser() {\n return <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={24}\n height={24}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n >\n <path\n d=\"M22 9H2M2 7.8L2 16.2C2 17.8802 2 18.7202 2.32698 19.362C2.6146 19.9265 3.07354 20.3854 3.63803 20.673C4.27976 21 5.11984 21 6.8 21H17.2C18.8802 21 19.7202 21 20.362 20.673C20.9265 20.3854 21.3854 19.9265 21.673 19.362C22 18.7202 22 17.8802 22 16.2V7.8C22 6.11984 22 5.27977 21.673 4.63803C21.3854 4.07354 20.9265 3.6146 20.362 3.32698C19.7202 3 18.8802 3 17.2 3L6.8 3C5.11984 3 4.27976 3 3.63803 3.32698C3.07354 3.6146 2.6146 4.07354 2.32698 4.63803C2 5.27976 2 6.11984 2 7.8Z\"\n stroke=\"#000000\"\n strokeWidth={2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n}\n\nexport function IconREST() {\n return <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={24}\n height={24}\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n >\n <path\n fill=\"#000000\"\n fillRule=\"evenodd\"\n d=\"M.5 2.75a2.25 2.25 0 114.28.97l1.345 1.344.284-.284a2.25 2.25 0 013.182 0l.284.284 1.344-1.344a2.25 2.25 0 111.06 1.06l-1.343 1.345.284.284a2.25 2.25 0 010 3.182l-.284.284 1.344 1.344a2.25 2.25 0 11-1.06 1.06l-1.345-1.343-.284.284a2.25 2.25 0 01-3.182 0l-.284-.284-1.344 1.344a2.25 2.25 0 11-1.06-1.06l1.343-1.345-.284-.284a2.25 2.25 0 010-3.182l.284-.284L3.72 4.781A2.25 2.25 0 01.5 2.75zM2.75 2a.75.75 0 100 1.5.75.75 0 000-1.5zm0 10.5a.75.75 0 100 1.5.75.75 0 000-1.5zm9.75.75a.75.75 0 111.5 0 .75.75 0 01-1.5 0zM13.25 2a.75.75 0 100 1.5.75.75 0 000-1.5zM7.47 5.841a.75.75 0 011.06 0L10.16 7.47a.75.75 0 010 1.06L8.53 10.16a.75.75 0 01-1.06 0L5.84 8.53a.75.75 0 010-1.06L7.47 5.84z\"\n clipRule=\"evenodd\"\n />\n </svg>\n}\n\nexport function IconGraphQL() {\n return <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"#000\"\n width={24}\n height={24}\n viewBox=\"0 0 32 32\"\n >\n <path\n d=\"M18.734 3.667l6.578 3.802c1.089-1.146 2.901-1.193 4.047-0.104 0.193 0.188 0.365 0.401 0.5 0.635 0.786 1.37 0.313 3.12-1.063 3.906-0.229 0.13-0.479 0.234-0.745 0.297v7.599c1.531 0.365 2.474 1.896 2.109 3.427-0.063 0.271-0.172 0.531-0.307 0.771-0.792 1.365-2.536 1.833-3.906 1.042-0.26-0.146-0.5-0.344-0.698-0.568l-6.542 3.776c0.495 1.495-0.318 3.109-1.813 3.604-0.292 0.099-0.594 0.146-0.896 0.146-1.573 0-2.854-1.271-2.854-2.849 0-0.271 0.042-0.547 0.12-0.813l-6.583-3.797c-1.089 1.141-2.896 1.188-4.036 0.094-1.135-1.089-1.177-2.891-0.094-4.031 0.38-0.396 0.865-0.677 1.396-0.807v-7.599c-1.531-0.365-2.479-1.906-2.109-3.443 0.063-0.266 0.167-0.521 0.302-0.755 0.786-1.365 2.536-1.833 3.901-1.042 0.234 0.135 0.453 0.302 0.641 0.5l6.583-3.797c-0.448-1.51 0.417-3.099 1.922-3.542 0.26-0.083 0.536-0.12 0.813-0.12 1.573 0 2.854 1.271 2.854 2.844 0 0.281-0.042 0.557-0.12 0.823zM18.047 4.839c-0.026 0.026-0.047 0.052-0.078 0.078l8.615 14.917c0.036-0.010 0.078-0.021 0.109-0.031v-7.609c-1.526-0.375-2.453-1.922-2.073-3.448 0.005-0.031 0.016-0.068 0.021-0.099zM14.026 4.917l-0.078-0.078-6.594 3.802c0.438 1.51-0.438 3.089-1.948 3.526-0.036 0.010-0.068 0.016-0.104 0.026v7.609l0.115 0.031 8.615-14.917zM16.797 5.594c-0.521 0.146-1.073 0.146-1.589 0l-8.615 14.917c0.391 0.375 0.667 0.859 0.802 1.391h17.214c0.13-0.531 0.406-1.016 0.802-1.396zM18.109 27.229l6.552-3.786c-0.021-0.063-0.036-0.125-0.052-0.188h-17.219l-0.031 0.109 6.589 3.802c0.516-0.536 1.245-0.87 2.052-0.87 0.839 0 1.589 0.359 2.109 0.932z\"/>\n </svg>\n}\n\nexport function IconWebhooks() {\n return <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\"\n width={24}\n height={24}\n viewBox=\"-10 -5 1034 1034\"\n >\n <path\n fill=\"#000000\"\n d=\"M482 226h-1l-10 2q-33 4 -64.5 18.5t-55.5 38.5q-41 37 -57 91q-9 30 -8 63t12 63q17 45 52 78l13 12l-83 135q-26 -1 -45 7q-30 13 -45 40q-7 15 -9 31t2 32q8 30 33 48q15 10 33 14.5t36 2t34.5 -12.5t27.5 -25q12 -17 14.5 -39t-5.5 -41q-1 -5 -7 -14l-3 -6l118 -192 q6 -9 8 -14l-10 -3q-9 -2 -13 -4q-23 -10 -41.5 -27.5t-28.5 -39.5q-17 -36 -9 -75q4 -23 17 -43t31 -34q37 -27 82 -27q27 -1 52.5 9.5t44.5 30.5q17 16 26.5 38.5t10.5 45.5q0 17 -6 42l70 19l8 1q14 -43 7 -86q-4 -33 -19.5 -63.5t-39.5 -53.5q-42 -42 -103 -56 q-6 -2 -18 -4l-14 -2h-37zM500 350q-17 0 -34 7t-30.5 20.5t-19.5 31.5q-8 20 -4 44q3 18 14 34t28 25q24 15 56 13q3 4 5 8l112 191q3 6 6 9q27 -26 58.5 -35.5t65 -3.5t58.5 26q32 25 43.5 61.5t0.5 73.5q-8 28 -28.5 50t-48.5 33q-31 13 -66.5 8.5t-63.5 -24.5 q-4 -3 -13 -10l-5 -6q-4 3 -11 10l-47 46q23 23 52 38.5t61 21.5l22 4h39l28 -5q64 -13 110 -60q22 -22 36.5 -50.5t19.5 -59.5q5 -36 -2 -71.5t-25 -64.5t-44 -51t-57 -35q-34 -14 -70.5 -16t-71.5 7l-17 5l-81 -137q13 -19 16 -37q5 -32 -13 -60q-16 -25 -44 -35 q-17 -6 -35 -6zM218 614q-58 13 -100 53q-47 44 -61 105l-4 24v37l2 11q2 13 4 20q7 31 24.5 59t42.5 49q50 41 115 49q38 4 76 -4.5t70 -28.5q53 -34 78 -91q7 -17 14 -45q6 -1 18 0l125 2q14 0 20 1q11 20 25 31t31.5 16t35.5 4q28 -3 50 -20q27 -21 32 -54 q2 -17 -1.5 -33t-13.5 -30q-16 -22 -41 -32q-17 -7 -35.5 -6.5t-35.5 7.5q-28 12 -43 37l-3 6q-14 0 -42 -1l-113 -1q-15 -1 -43 -1l-50 -1l3 17q8 43 -13 81q-14 27 -40 45t-57 22q-35 6 -70 -7.5t-57 -42.5q-28 -35 -27 -79q1 -37 23 -69q13 -19 32 -32t41 -19l9 -3z\"\n />\n </svg>\n}\n\nexport function IconJSBrowser() {\n return <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 448 512\"\n width={24}\n height={24}\n >\n <path\n d=\"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM243.8 381.4c0 43.6-25.6 63.5-62.9 63.5-33.7 0-53.2-17.4-63.2-38.5l34.3-20.7c6.6 11.7 12.6 21.6 27.1 21.6 13.8 0 22.6-5.4 22.6-26.5V237.7h42.1v143.7zm99.6 63.5c-39.1 0-64.4-18.6-76.7-43l34.3-19.8c9 14.7 20.8 25.6 41.5 25.6 17.4 0 28.6-8.7 28.6-20.8 0-14.4-11.4-19.5-30.7-28l-10.5-4.5c-30.4-12.9-50.5-29.2-50.5-63.5 0-31.6 24.1-55.6 61.6-55.6 26.8 0 46 9.3 59.8 33.7L368 290c-7.2-12.9-15-18-27.1-18-12.3 0-20.1 7.8-20.1 18 0 12.6 7.8 17.7 25.9 25.6l10.5 4.5c35.8 15.3 55.9 31 55.9 66.2 0 37.8-29.8 58.6-69.7 58.6z\"/>\n </svg>\n}\n\nexport function IconJSNode() {\n return <svg\n width={24}\n height={24}\n xmlns=\"http://www.w3.org/2000/svg\"\n data-name=\"Layer 1\"\n viewBox=\"0 0 109 122.88\"\n >\n <defs>\n <style>{\".cls-1{fill-rule:evenodd;}\"}</style>\n </defs>\n <title>{\"node-js-black\"}</title>\n <path\n className=\"cls-1\"\n d=\"M68.43,87.08c-19.7,0-23.83-9-23.83-16.63a1.3,1.3,0,0,1,1.3-1.3h5.82A1.3,1.3,0,0,1,53,70.25c.88,5.93,3.49,8.92,15.41,8.92C77.9,79.17,81.93,77,81.93,72c0-2.9-1.15-5-15.89-6.49-12.33-1.22-20-3.93-20-13.8,0-9.08,7.66-14.49,20.5-14.49,14.42,0,21.56,5,22.46,15.76a1.31,1.31,0,0,1-.35,1,1.35,1.35,0,0,1-1,.42H81.9a1.29,1.29,0,0,1-1.26-1c-1.41-6.23-4.81-8.23-14.07-8.23C56.21,45.15,55,48.76,55,51.46c0,3.28,1.42,4.24,15.4,6.09S90.82,62,90.82,71.71,82.64,87.14,68.37,87.14l.06-.06Zm-13.91,35.8a9.45,9.45,0,0,1-4.72-1.26l-15-8.9c-2.25-1.26-1.15-1.7-.41-2a30.38,30.38,0,0,0,6.8-3.1,1.15,1.15,0,0,1,1.12.08l11.55,6.85a1.51,1.51,0,0,0,1.4,0l45-26a1.42,1.42,0,0,0,.69-1.22V35.43a1.44,1.44,0,0,0-.7-1.24l-45-26a1.38,1.38,0,0,0-1.39,0l-45,26a1.42,1.42,0,0,0-.71,1.23v52a1.39,1.39,0,0,0,.7,1.21l12.33,7.12C27.85,99.06,32,95.11,32,91.15V39.86a1.29,1.29,0,0,1,1.31-1.3H39a1.29,1.29,0,0,1,1.3,1.3V91.17c0,8.93-4.87,14-13.33,14-2.6,0-4.66,0-10.38-2.82L4.72,95.59A9.51,9.51,0,0,1,0,87.38v-52a9.47,9.47,0,0,1,4.72-8.21l45.07-26a9.89,9.89,0,0,1,9.47,0l45,26A9.49,9.49,0,0,1,109,35.43v52a9.54,9.54,0,0,1-4.72,8.21l-45,26a9.5,9.5,0,0,1-4.74,1.26v0Zm0,0Z\"\n />\n </svg>\n}\n\nexport function IconStorybook() {\n return <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"#000000\"\n width={24}\n height={24}\n viewBox=\"0 0 32 32\"\n >\n <path\n d=\"M21.786 0.318l-0.161 3.615c-0.005 0.203 0.229 0.328 0.391 0.203l1.411-1.068 1.198 0.932c0.156 0.104 0.365 0 0.375-0.188l-0.135-3.677 1.776-0.135c0.922-0.063 1.708 0.672 1.708 1.599v28.802c0 0.917-0.766 1.646-1.682 1.599l-21.469-0.958c-0.833-0.036-1.505-0.708-1.531-1.547l-1-26.401c-0.052-0.885 0.62-1.646 1.505-1.693l17.599-1.109zM17.693 12.401c0 0.625 4.214 0.318 4.786-0.109 0-4.266-2.292-6.521-6.479-6.521-4.198 0-6.531 2.297-6.531 5.724 0 5.932 8 6.036 8 9.276 0 0.938-0.427 1.469-1.401 1.469-1.281 0-1.802-0.651-1.734-2.88 0-0.479-4.865-0.641-5.026 0-0.359 5.375 2.974 6.932 6.797 6.932 3.724 0 6.63-1.984 6.63-5.573 0-6.359-8.135-6.188-8.135-9.333 0-1.292 0.964-1.464 1.505-1.464 0.604 0 1.667 0.094 1.589 2.49z\"/>\n </svg>\n}\n\nexport function IconReactRouter() {\n return <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={24}\n height={24}\n viewBox=\"0 0 602 360\"\n fill=\"none\"\n >\n <path\n d=\"M480.96 180C480.96 196.572 474.239 211.572 463.357 222.42C452.475 233.28 437.445 240 420.84 240C404.235 240 389.205 246.708 378.335 257.568C367.453 268.428 360.72 283.428 360.72 300C360.72 316.572 353.999 331.572 343.117 342.42C332.235 353.28 317.205 360 300.6 360C283.995 360 268.965 353.28 258.095 342.42C247.213 331.572 240.48 316.572 240.48 300C240.48 283.428 247.213 268.428 258.095 257.568C268.965 246.708 283.995 240 300.6 240C317.205 240 332.235 233.28 343.117 222.42C353.999 211.572 360.72 196.572 360.72 180C360.72 146.856 333.81 120 300.6 120C283.995 120 268.965 113.28 258.095 102.42C247.213 91.572 240.48 76.572 240.48 60C240.48 43.428 247.213 28.428 258.095 17.568C268.965 6.708 283.995 0 300.6 0C333.81 0 360.72 26.856 360.72 60C360.72 76.572 367.453 91.572 378.335 102.42C389.205 113.28 404.235 120 420.84 120C454.05 120 480.96 146.856 480.96 180Z\"\n fill=\"#121212\"\n />\n <path\n d=\"M240.48 180C240.48 146.862 213.563 120 180.36 120C147.157 120 120.24 146.862 120.24 180C120.24 213.137 147.157 240 180.36 240C213.563 240 240.48 213.137 240.48 180Z\"\n fill=\"#121212\"\n />\n <path\n d=\"M120.24 300C120.24 266.863 93.3234 240 60.12 240C26.9166 240 0 266.863 0 300C0 333.138 26.9166 360 60.12 360C93.3234 360 120.24 333.138 120.24 300Z\"\n fill=\"#121212\"\n />\n <path\n d=\"M601.2 300C601.2 266.863 574.283 240 541.08 240C507.877 240 480.96 266.863 480.96 300C480.96 333.138 507.877 360 541.08 360C574.283 360 601.2 333.138 601.2 300Z\"\n fill=\"#121212\"\n />\n </svg>\n}\n\nexport function IconNextJS() {\n return <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={24}\n height={24}\n viewBox=\"0 0 15 15\"\n fill=\"none\"\n >\n <path\n d=\"M4.5 4.5L4.90534 4.20725C4.77836 4.03144 4.55252 3.95753 4.34617 4.02425C4.13981 4.09098 4 4.28313 4 4.5H4.5ZM7.5 14C3.91015 14 1 11.0899 1 7.5H0C0 11.6421 3.35786 15 7.5 15V14ZM14 7.5C14 11.0899 11.0899 14 7.5 14V15C11.6421 15 15 11.6421 15 7.5H14ZM7.5 1C11.0899 1 14 3.91015 14 7.5H15C15 3.35786 11.6421 0 7.5 0V1ZM7.5 0C3.35786 0 0 3.35786 0 7.5H1C1 3.91015 3.91015 1 7.5 1V0ZM5 12V4.5H4V12H5ZM4.09466 4.79275L10.5947 13.7927L11.4053 13.2073L4.90534 4.20725L4.09466 4.79275ZM10 4V10H11V4H10Z\"\n fill=\"#000000\"\n />\n </svg>\n}\n\nexport function IconAppTemplate() {\n return <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 80 80\"\n fill=\"none\"\n >\n <g clipPath=\"url(#clip0_202_147)\">\n <path d=\"M0 55.3333H80\" stroke=\"black\" strokeWidth={0.506667}/>\n <path d=\"M0 40H80\" stroke=\"black\" strokeWidth={0.506667}/>\n <path d=\"M0 24.6667H80\" stroke=\"black\" strokeWidth={0.506667}/>\n <path d=\"M55.3334 80V0\" stroke=\"black\" strokeWidth={0.506667}/>\n <path d=\"M40 80V0\" stroke=\"black\" strokeWidth={0.506667}/>\n <path d=\"M24.6666 80V0\" stroke=\"black\" strokeWidth={0.506667}/>\n <path d=\"M80 80L0 0\" stroke=\"black\" strokeWidth={0.506667}/>\n <path d=\"M0 80L80 0\" stroke=\"black\" strokeWidth={0.506667}/>\n <rect\n x={5.33337}\n y={5.33333}\n width={69.3333}\n height={69.3333}\n stroke=\"black\"\n strokeWidth={0.506667}\n />\n <circle\n cx={40}\n cy={40}\n r={15.3333}\n stroke=\"black\"\n strokeWidth={0.506667}\n />\n <circle cx={40} cy={40} r={22} stroke=\"black\" strokeWidth={0.506667}/>\n <circle\n cx={40}\n cy={40}\n r={34.6667}\n stroke=\"black\"\n strokeWidth={0.506667}\n />\n </g>\n <rect\n x={0.253333}\n y={0.253333}\n width={79.4933}\n height={79.4933}\n rx={17.08}\n stroke=\"black\"\n strokeWidth={0.506667}\n />\n <defs>\n <clipPath id=\"clip0_202_147\">\n <rect width={80} height={80} rx={17.3333} fill=\"white\"/>\n </clipPath>\n </defs>\n </svg>\n}\n\nexport function IconQuote() {\n return <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n width=\"1em\"\n height=\"1em\"\n stroke=\"currentColor\"\n fill=\"currentColor\"\n >\n <path d=\"M14 17h3l2-4V7h-6v6h3M6 17h3l2-4V7H5v6h3z\"/>\n </svg>\n}"],"names":["$badge","Badge","_ref","children","_ref$size","size","_ref$kind","kind","React","createElement","className","concat","$blockquote","Blockquote","$callout","$icon","$message","InfoIcon","xmlns","width","height","fill","viewBox","d","fillRule","clipRule","Callout","$code","Code","$details","Details","props","title","label","isDeepKind","includes","Fragment","icon","$Icon","$Label","$IconDeep","stroke","clipPath","strokeWidth","strokeLinecap","strokeLinejoin","id","$heading","Heading","as","onClick","HeadingComponent","useRef","$Anchor","role","$hr","Hr","IconSessionReplay","IconMetrics","IconFunnels","IconCode","IconCustomEvent","IconAlert","IconBrowser","IconREST","IconGraphQL","IconWebhooks","xmlnsXlink","IconJSBrowser","IconJSNode","IconStorybook","IconReactRouter","IconNextJS","IconAppTemplate","x","y","cx","cy","r","rx","IconQuote"],"mappings":"kCAEO,IAAMA,EAUR,UAVQA,EAcR,UAdQA,EAkBR,UAlBQA,EAyBR,WAzBQA,EA2BL,WClBQ,SAAAC,EAAKC,GAIc,IAHTC,EAAQD,EAARC,SAAQC,EAAAF,EACRG,KAAAA,OAAO,IAAHD,EAAG,KAAIA,EAAAE,EAAAJ,EACXK,KAAAA,OAAO,IAAHD,EAAG,UAASA,EAEtC,OAAOE,EAAAC,cAAA,MAAA,CAAKC,UAASC,aAAAA,OACfX,EAAW,wBAAAW,OAEF,OAATN,GAAiBL,EAAe,wBAAAW,OAEvB,YAATJ,GAAsBP,EAAoB,wBAAAW,OAEjC,SAATJ,GAAmBP,EAAiB,WAEtCQ,EAAMC,cAAA,OAAA,CAAAC,UAAWV,GACZG,GAGb,CC3BO,IAAMS,EACL,WCKQ,SAAAC,EAAUX,GAA4B,IAA1BC,EAAQD,EAARC,SACxB,OAAOK,EAAAC,cAAA,aAAA,CAAYC,UAAWE,GACzBT,EAET,CCVO,IAAMW,EAeR,UAfQA,EAgBA,WAOAC,EACL,WAYKC,EAMR,WANQA,EAOL,UCrCR,SAASC,IACL,OAAOT,uBACHU,MAAM,6BACNC,MAAM,MACNC,OAAO,MACPC,KAAK,eACLC,QAAQ,aAERd,EAAMC,cAAA,OAAA,CA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c,EAAE,aAAakB,OAAO,QAAQE,YAAa,UACjDnC,EACIC,cAAA,OAAA,CAAAiE,EAAG,QACHC,EAAG,QACHxD,MAAO,QACPC,OAAQ,QACRqB,OAAO,QACPE,YAAa,UAEjBnC,EAAAC,cAAA,SAAA,CACImE,GAAI,GACJC,GAAI,GACJC,EAAG,QACHrC,OAAO,QACPE,YAAa,UAEjBnC,EAAAC,cAAA,SAAA,CAAQmE,GAAI,GAAIC,GAAI,GAAIC,EAAG,GAAIrC,OAAO,QAAQE,YAAa,UAC3DnC,EACIC,cAAA,SAAA,CAAAmE,GAAI,GACJC,GAAI,GACJC,EAAG,QACHrC,OAAO,QACPE,YAAa,WAGrBnC,EACIC,cAAA,OAAA,CAAAiE,EAAG,QACHC,EAAG,QACHxD,MAAO,QACPC,OAAQ,QACR2D,GAAI,MACJtC,OAAO,QACPE,YAAa,UAEjBnC,EAAAC,cAAA,OAAA,KACID,EAAUC,cAAA,WAAA,CAAAqC,GAAG,iBACTtC,EAAAC,cAAA,OAAA,CAAMU,MAAO,GAAIC,OAAQ,GAAI2D,GAAI,QAAS1D,KAAK,YAI/D,UAEgB2D,KACZ,OAAOxE,EAAAC,cAAA,MAAA,CACHS,MAAM,6BACNI,QAAQ,YACRH,MAAM,MACNC,OAAO,MACPqB,OAAO,eACPpB,KAAK,gBAELb,EAAAC,cAAA,OAAA,CAAMc,EAAE,8CAEhB"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e,{useRef as t}from"react";var n="hutvd2b",l="hg9oorb",a="h6jev6x",r="h1uvewli",c="i1mcrm8o";function i(t){var i=t.children,o=t.size,s=void 0===o?"sm":o,h=t.kind,d=void 0===h?"warning":h;return e.createElement("div",{className:"\n ".concat(n,"\n \n ").concat("sm"===s&&r,"\n \n ").concat("warning"===d&&l,"\n \n ").concat("info"===d&&a,"\n ")},e.createElement("span",{className:c},i))}var o="h1wifk81";function s(t){var n=t.children;return e.createElement("blockquote",{className:o},n)}var h="hhnegou",d="_1ja9964",m="h1lyih3m",w="h1gzjc3x",v="boe1v8p";function u(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 24 24"},e.createElement("path",{d:"M13 12a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0v-4Zm-1-2.5A1.25 1.25 0 1 0 12 7a1.25 1.25 0 0 0 0 2.5Z"}),e.createElement("path",{fillRule:"evenodd",d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z",clipRule:"evenodd"}))}function k(t){var n=t.children;return e.createElement("div",{className:"".concat(h," ").concat(d)},e.createElement("div",{className:m},e.createElement(u,null)),e.createElement("div",{className:w},e.createElement("div",{className:v},n)))}var g="h1w59zdn";function E(t){var n=t.children;return e.createElement("code",{className:g},n)}var p="hwmojve",C="h1an07j0",q="sbneplt",f="s1d31n8s",M="s2p0kpw",L="snk81qf",x="syq3zec",b="sq0a0s6",Z="l1ligx2c",z="iynkbu3",W="c16kc3w3",H="c15ahw9d",B="cw7uaxe";function V(t){var n,l=t.children,a=t.label,r=["secondary","tertiary"].includes(t.kind||"");r&&"title"in t&&(n=t.title);var c=t.kind||"primary";return e.createElement("details",{className:"\n ".concat(p," \n ").concat(r&&C,"\n ")},e.createElement("summary",{className:"\n ".concat(q," \n ").concat(r&&f,"\n ").concat("tertiary"===c?M:"","\n ")},"primary"===c&&e.createElement(e.Fragment,null,t.icon?t.icon:e.createElement(j,null),e.createElement(N,null,a)),r&&e.createElement(e.Fragment,null,e.createElement("div",null,e.createElement("div",{className:L},e.createElement(e.Fragment,null,t.icon?t.icon:e.createElement(y,null)),e.createElement("div",{className:"\n ".concat(x,"\n ").concat(b,"\n ")},n)),e.createElement(N,null,a)),e.createElement(j,null))),e.createElement("div",{className:"\n ".concat(W,"\n ").concat(r&&H,"\n ").concat("tertiary"===c&&B,"\n ")},l))}function j(){return e.createElement("div",{className:z},e.createElement("svg",{"data-icon":"true",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 24 24"},e.createElement("path",{fillRule:"evenodd",d:"M8.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L14.586 12 8.293 5.707a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})))}function y(){return e.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",stroke:"none",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_1689_2180)"},e.createElement("path",{d:"M4.3 4.3L7.1 7.1M10.6 5.7V1.5M14.8 7.8L17.6 5M5.7 11.3H1.5M7.1 14.8L4.3 17.6M15.5 22.5L9.9 9.9L22.5 14.8L16.9 16.2L15.5 22.5Z",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_1689_2180"},e.createElement("rect",{width:24,height:24,fill:"white"}))))}function N(t){var n=t.children;return e.createElement("div",{className:Z},n)}var R="h1tn40xd",_="hnf4kng",A="h1vdtsi8",P="hz5xehg",F="hptgzam",S="h11bbv2f",D="hcoksa6",I="l17d6dy1";function X(n){var l=n.children,a=n.size,r=void 0===a?1:a,c=n.as,i=n.id,o=n.onClick,s=c||"h".concat(r);return t(null),e.createElement(s,{className:"\n ".concat(R,"\n ").concat(1===r&&_,"\n ").concat(2===r&&A,"\n ").concat(3===r&&P,"\n ").concat(4===r&&F,"\n ").concat(5===r&&S,"\n ").concat(6===r&&D,"\n xyd_comp-comp-heading\n "),onClick:o},l,i&&e.createElement(G,null))}function G(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:15,height:15,fill:"currentColor",viewBox:"0 0 24 24",className:I,role:"presentation"},e.createElement("path",{fillRule:"evenodd",d:"M18.293 5.707a4.657 4.657 0 0 0-6.586 0l-1 1a1 1 0 1 1-1.414-1.414l1-1a6.657 6.657 0 1 1 9.414 9.414l-1 1a1 1 0 0 1-1.414-1.414l1-1a4.657 4.657 0 0 0 0-6.586Zm-2.586 2.586a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414-1.414l6-6a1 1 0 0 1 1.414 0Zm-9 1a1 1 0 0 1 0 1.414l-1 1a4.657 4.657 0 0 0 6.586 6.586l1-1a1 1 0 0 1 1.414 1.414l-1 1a6.657 6.657 0 1 1-9.414-9.414l1-1a1 1 0 0 1 1.414 0Z",clipRule:"evenodd"}))}var J="h1ej4n95";function K(t){var n=t.children;return e.createElement("hr",{className:J},n)}function O(){return e.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M10 8L16 12L10 16V8Z",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))}function Q(){return e.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M21 7L13.2273 14.9167L9.13636 10.75L3 17",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M16 7H21V12",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))}function T(){return e.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12 20L12 10",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6 20L6 4",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M18 20L18 16",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))}function U(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24},e.createElement("path",{fillRule:"evenodd",d:"M14.447 7.106a1 1 0 0 1 .447 1.341l-4 8a1 1 0 1 1-1.788-.894l4-8a1 1 0 0 1 1.341-.447ZM6.6 7.2a1 1 0 0 1 .2 1.4L4.25 12l2.55 3.4a1 1 0 0 1-1.6 1.2l-3-4a1 1 0 0 1 0-1.2l3-4a1 1 0 0 1 1.4-.2Zm10.8 0a1 1 0 0 1 1.4.2l3 4a1 1 0 0 1 0 1.2l-3 4a1 1 0 0 1-1.6-1.2l2.55-3.4-2.55-3.4a1 1 0 0 1 .2-1.4Z",clipRule:"evenodd"}))}function Y(){return e.createElement("svg",{width:24,height:24,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M3.66179 8.03142L6.54954 1.79004C6.63136 1.6132 6.80847 1.5 7.00333 1.5H10.7236C11.0872 1.5 11.3292 1.87581 11.1788 2.20685L9.18871 6.58625C9.03827 6.9173 9.28029 7.2931 9.64391 7.2931L11.589 7.2931C12.0146 7.2931 12.2456 7.79098 11.9708 8.11596L6.77738 14.2573C6.4593 14.6334 5.84636 14.3715 5.89839 13.8816L6.3857 9.2942C6.41708 8.99882 6.18554 8.74138 5.8885 8.74138H4.11558C3.75048 8.74138 3.50848 8.36278 3.66179 8.03142Z",stroke:"black",strokeWidth:1.2,strokeLinejoin:"round"}))}function $(){return e.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 8C18 6.4087 17.3679 4.88258 16.2426 3.75736C15.1174 2.63214 13.5913 2 12 2C10.4087 2 8.88258 2.63214 7.75736 3.75736C6.63214 4.88258 6 6.4087 6 8C6 15 3 17 3 17H21C21 17 18 15 18 8Z",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M13.73 21C13.5542 21.3031 13.3019 21.5547 12.9982 21.7295C12.6946 21.9044 12.3504 21.9965 12 21.9965C11.6496 21.9965 11.3054 21.9044 11.0018 21.7295C10.6982 21.5547 10.4458 21.3031 10.27 21",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))}function ee(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M22 9H2M2 7.8L2 16.2C2 17.8802 2 18.7202 2.32698 19.362C2.6146 19.9265 3.07354 20.3854 3.63803 20.673C4.27976 21 5.11984 21 6.8 21H17.2C18.8802 21 19.7202 21 20.362 20.673C20.9265 20.3854 21.3854 19.9265 21.673 19.362C22 18.7202 22 17.8802 22 16.2V7.8C22 6.11984 22 5.27977 21.673 4.63803C21.3854 4.07354 20.9265 3.6146 20.362 3.32698C19.7202 3 18.8802 3 17.2 3L6.8 3C5.11984 3 4.27976 3 3.63803 3.32698C3.07354 3.6146 2.6146 4.07354 2.32698 4.63803C2 5.27976 2 6.11984 2 7.8Z",stroke:"#000000",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))}function te(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 16 16",fill:"none"},e.createElement("path",{fill:"#000000",fillRule:"evenodd",d:"M.5 2.75a2.25 2.25 0 114.28.97l1.345 1.344.284-.284a2.25 2.25 0 013.182 0l.284.284 1.344-1.344a2.25 2.25 0 111.06 1.06l-1.343 1.345.284.284a2.25 2.25 0 010 3.182l-.284.284 1.344 1.344a2.25 2.25 0 11-1.06 1.06l-1.345-1.343-.284.284a2.25 2.25 0 01-3.182 0l-.284-.284-1.344 1.344a2.25 2.25 0 11-1.06-1.06l1.343-1.345-.284-.284a2.25 2.25 0 010-3.182l.284-.284L3.72 4.781A2.25 2.25 0 01.5 2.75zM2.75 2a.75.75 0 100 1.5.75.75 0 000-1.5zm0 10.5a.75.75 0 100 1.5.75.75 0 000-1.5zm9.75.75a.75.75 0 111.5 0 .75.75 0 01-1.5 0zM13.25 2a.75.75 0 100 1.5.75.75 0 000-1.5zM7.47 5.841a.75.75 0 011.06 0L10.16 7.47a.75.75 0 010 1.06L8.53 10.16a.75.75 0 01-1.06 0L5.84 8.53a.75.75 0 010-1.06L7.47 5.84z",clipRule:"evenodd"}))}function ne(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#000",width:24,height:24,viewBox:"0 0 32 32"},e.createElement("path",{d:"M18.734 3.667l6.578 3.802c1.089-1.146 2.901-1.193 4.047-0.104 0.193 0.188 0.365 0.401 0.5 0.635 0.786 1.37 0.313 3.12-1.063 3.906-0.229 0.13-0.479 0.234-0.745 0.297v7.599c1.531 0.365 2.474 1.896 2.109 3.427-0.063 0.271-0.172 0.531-0.307 0.771-0.792 1.365-2.536 1.833-3.906 1.042-0.26-0.146-0.5-0.344-0.698-0.568l-6.542 3.776c0.495 1.495-0.318 3.109-1.813 3.604-0.292 0.099-0.594 0.146-0.896 0.146-1.573 0-2.854-1.271-2.854-2.849 0-0.271 0.042-0.547 0.12-0.813l-6.583-3.797c-1.089 1.141-2.896 1.188-4.036 0.094-1.135-1.089-1.177-2.891-0.094-4.031 0.38-0.396 0.865-0.677 1.396-0.807v-7.599c-1.531-0.365-2.479-1.906-2.109-3.443 0.063-0.266 0.167-0.521 0.302-0.755 0.786-1.365 2.536-1.833 3.901-1.042 0.234 0.135 0.453 0.302 0.641 0.5l6.583-3.797c-0.448-1.51 0.417-3.099 1.922-3.542 0.26-0.083 0.536-0.12 0.813-0.12 1.573 0 2.854 1.271 2.854 2.844 0 0.281-0.042 0.557-0.12 0.823zM18.047 4.839c-0.026 0.026-0.047 0.052-0.078 0.078l8.615 14.917c0.036-0.010 0.078-0.021 0.109-0.031v-7.609c-1.526-0.375-2.453-1.922-2.073-3.448 0.005-0.031 0.016-0.068 0.021-0.099zM14.026 4.917l-0.078-0.078-6.594 3.802c0.438 1.51-0.438 3.089-1.948 3.526-0.036 0.010-0.068 0.016-0.104 0.026v7.609l0.115 0.031 8.615-14.917zM16.797 5.594c-0.521 0.146-1.073 0.146-1.589 0l-8.615 14.917c0.391 0.375 0.667 0.859 0.802 1.391h17.214c0.13-0.531 0.406-1.016 0.802-1.396zM18.109 27.229l6.552-3.786c-0.021-0.063-0.036-0.125-0.052-0.188h-17.219l-0.031 0.109 6.589 3.802c0.516-0.536 1.245-0.87 2.052-0.87 0.839 0 1.589 0.359 2.109 0.932z"}))}function le(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:24,height:24,viewBox:"-10 -5 1034 1034"},e.createElement("path",{fill:"#000000",d:"M482 226h-1l-10 2q-33 4 -64.5 18.5t-55.5 38.5q-41 37 -57 91q-9 30 -8 63t12 63q17 45 52 78l13 12l-83 135q-26 -1 -45 7q-30 13 -45 40q-7 15 -9 31t2 32q8 30 33 48q15 10 33 14.5t36 2t34.5 -12.5t27.5 -25q12 -17 14.5 -39t-5.5 -41q-1 -5 -7 -14l-3 -6l118 -192 q6 -9 8 -14l-10 -3q-9 -2 -13 -4q-23 -10 -41.5 -27.5t-28.5 -39.5q-17 -36 -9 -75q4 -23 17 -43t31 -34q37 -27 82 -27q27 -1 52.5 9.5t44.5 30.5q17 16 26.5 38.5t10.5 45.5q0 17 -6 42l70 19l8 1q14 -43 7 -86q-4 -33 -19.5 -63.5t-39.5 -53.5q-42 -42 -103 -56 q-6 -2 -18 -4l-14 -2h-37zM500 350q-17 0 -34 7t-30.5 20.5t-19.5 31.5q-8 20 -4 44q3 18 14 34t28 25q24 15 56 13q3 4 5 8l112 191q3 6 6 9q27 -26 58.5 -35.5t65 -3.5t58.5 26q32 25 43.5 61.5t0.5 73.5q-8 28 -28.5 50t-48.5 33q-31 13 -66.5 8.5t-63.5 -24.5 q-4 -3 -13 -10l-5 -6q-4 3 -11 10l-47 46q23 23 52 38.5t61 21.5l22 4h39l28 -5q64 -13 110 -60q22 -22 36.5 -50.5t19.5 -59.5q5 -36 -2 -71.5t-25 -64.5t-44 -51t-57 -35q-34 -14 -70.5 -16t-71.5 7l-17 5l-81 -137q13 -19 16 -37q5 -32 -13 -60q-16 -25 -44 -35 q-17 -6 -35 -6zM218 614q-58 13 -100 53q-47 44 -61 105l-4 24v37l2 11q2 13 4 20q7 31 24.5 59t42.5 49q50 41 115 49q38 4 76 -4.5t70 -28.5q53 -34 78 -91q7 -17 14 -45q6 -1 18 0l125 2q14 0 20 1q11 20 25 31t31.5 16t35.5 4q28 -3 50 -20q27 -21 32 -54 q2 -17 -1.5 -33t-13.5 -30q-16 -22 -41 -32q-17 -7 -35.5 -6.5t-35.5 7.5q-28 12 -43 37l-3 6q-14 0 -42 -1l-113 -1q-15 -1 -43 -1l-50 -1l3 17q8 43 -13 81q-14 27 -40 45t-57 22q-35 6 -70 -7.5t-57 -42.5q-28 -35 -27 -79q1 -37 23 -69q13 -19 32 -32t41 -19l9 -3z"}))}function ae(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",width:24,height:24},e.createElement("path",{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM243.8 381.4c0 43.6-25.6 63.5-62.9 63.5-33.7 0-53.2-17.4-63.2-38.5l34.3-20.7c6.6 11.7 12.6 21.6 27.1 21.6 13.8 0 22.6-5.4 22.6-26.5V237.7h42.1v143.7zm99.6 63.5c-39.1 0-64.4-18.6-76.7-43l34.3-19.8c9 14.7 20.8 25.6 41.5 25.6 17.4 0 28.6-8.7 28.6-20.8 0-14.4-11.4-19.5-30.7-28l-10.5-4.5c-30.4-12.9-50.5-29.2-50.5-63.5 0-31.6 24.1-55.6 61.6-55.6 26.8 0 46 9.3 59.8 33.7L368 290c-7.2-12.9-15-18-27.1-18-12.3 0-20.1 7.8-20.1 18 0 12.6 7.8 17.7 25.9 25.6l10.5 4.5c35.8 15.3 55.9 31 55.9 66.2 0 37.8-29.8 58.6-69.7 58.6z"}))}function re(){return e.createElement("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 109 122.88"},e.createElement("defs",null,e.createElement("style",null,".cls-1{fill-rule:evenodd;}")),e.createElement("title",null,"node-js-black"),e.createElement("path",{className:"cls-1",d:"M68.43,87.08c-19.7,0-23.83-9-23.83-16.63a1.3,1.3,0,0,1,1.3-1.3h5.82A1.3,1.3,0,0,1,53,70.25c.88,5.93,3.49,8.92,15.41,8.92C77.9,79.17,81.93,77,81.93,72c0-2.9-1.15-5-15.89-6.49-12.33-1.22-20-3.93-20-13.8,0-9.08,7.66-14.49,20.5-14.49,14.42,0,21.56,5,22.46,15.76a1.31,1.31,0,0,1-.35,1,1.35,1.35,0,0,1-1,.42H81.9a1.29,1.29,0,0,1-1.26-1c-1.41-6.23-4.81-8.23-14.07-8.23C56.21,45.15,55,48.76,55,51.46c0,3.28,1.42,4.24,15.4,6.09S90.82,62,90.82,71.71,82.64,87.14,68.37,87.14l.06-.06Zm-13.91,35.8a9.45,9.45,0,0,1-4.72-1.26l-15-8.9c-2.25-1.26-1.15-1.7-.41-2a30.38,30.38,0,0,0,6.8-3.1,1.15,1.15,0,0,1,1.12.08l11.55,6.85a1.51,1.51,0,0,0,1.4,0l45-26a1.42,1.42,0,0,0,.69-1.22V35.43a1.44,1.44,0,0,0-.7-1.24l-45-26a1.38,1.38,0,0,0-1.39,0l-45,26a1.42,1.42,0,0,0-.71,1.23v52a1.39,1.39,0,0,0,.7,1.21l12.33,7.12C27.85,99.06,32,95.11,32,91.15V39.86a1.29,1.29,0,0,1,1.31-1.3H39a1.29,1.29,0,0,1,1.3,1.3V91.17c0,8.93-4.87,14-13.33,14-2.6,0-4.66,0-10.38-2.82L4.72,95.59A9.51,9.51,0,0,1,0,87.38v-52a9.47,9.47,0,0,1,4.72-8.21l45.07-26a9.89,9.89,0,0,1,9.47,0l45,26A9.49,9.49,0,0,1,109,35.43v52a9.54,9.54,0,0,1-4.72,8.21l-45,26a9.5,9.5,0,0,1-4.74,1.26v0Zm0,0Z"}))}function ce(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#000000",width:24,height:24,viewBox:"0 0 32 32"},e.createElement("path",{d:"M21.786 0.318l-0.161 3.615c-0.005 0.203 0.229 0.328 0.391 0.203l1.411-1.068 1.198 0.932c0.156 0.104 0.365 0 0.375-0.188l-0.135-3.677 1.776-0.135c0.922-0.063 1.708 0.672 1.708 1.599v28.802c0 0.917-0.766 1.646-1.682 1.599l-21.469-0.958c-0.833-0.036-1.505-0.708-1.531-1.547l-1-26.401c-0.052-0.885 0.62-1.646 1.505-1.693l17.599-1.109zM17.693 12.401c0 0.625 4.214 0.318 4.786-0.109 0-4.266-2.292-6.521-6.479-6.521-4.198 0-6.531 2.297-6.531 5.724 0 5.932 8 6.036 8 9.276 0 0.938-0.427 1.469-1.401 1.469-1.281 0-1.802-0.651-1.734-2.88 0-0.479-4.865-0.641-5.026 0-0.359 5.375 2.974 6.932 6.797 6.932 3.724 0 6.63-1.984 6.63-5.573 0-6.359-8.135-6.188-8.135-9.333 0-1.292 0.964-1.464 1.505-1.464 0.604 0 1.667 0.094 1.589 2.49z"}))}function ie(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 602 360",fill:"none"},e.createElement("path",{d:"M480.96 180C480.96 196.572 474.239 211.572 463.357 222.42C452.475 233.28 437.445 240 420.84 240C404.235 240 389.205 246.708 378.335 257.568C367.453 268.428 360.72 283.428 360.72 300C360.72 316.572 353.999 331.572 343.117 342.42C332.235 353.28 317.205 360 300.6 360C283.995 360 268.965 353.28 258.095 342.42C247.213 331.572 240.48 316.572 240.48 300C240.48 283.428 247.213 268.428 258.095 257.568C268.965 246.708 283.995 240 300.6 240C317.205 240 332.235 233.28 343.117 222.42C353.999 211.572 360.72 196.572 360.72 180C360.72 146.856 333.81 120 300.6 120C283.995 120 268.965 113.28 258.095 102.42C247.213 91.572 240.48 76.572 240.48 60C240.48 43.428 247.213 28.428 258.095 17.568C268.965 6.708 283.995 0 300.6 0C333.81 0 360.72 26.856 360.72 60C360.72 76.572 367.453 91.572 378.335 102.42C389.205 113.28 404.235 120 420.84 120C454.05 120 480.96 146.856 480.96 180Z",fill:"#121212"}),e.createElement("path",{d:"M240.48 180C240.48 146.862 213.563 120 180.36 120C147.157 120 120.24 146.862 120.24 180C120.24 213.137 147.157 240 180.36 240C213.563 240 240.48 213.137 240.48 180Z",fill:"#121212"}),e.createElement("path",{d:"M120.24 300C120.24 266.863 93.3234 240 60.12 240C26.9166 240 0 266.863 0 300C0 333.138 26.9166 360 60.12 360C93.3234 360 120.24 333.138 120.24 300Z",fill:"#121212"}),e.createElement("path",{d:"M601.2 300C601.2 266.863 574.283 240 541.08 240C507.877 240 480.96 266.863 480.96 300C480.96 333.138 507.877 360 541.08 360C574.283 360 601.2 333.138 601.2 300Z",fill:"#121212"}))}function oe(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 15 15",fill:"none"},e.createElement("path",{d:"M4.5 4.5L4.90534 4.20725C4.77836 4.03144 4.55252 3.95753 4.34617 4.02425C4.13981 4.09098 4 4.28313 4 4.5H4.5ZM7.5 14C3.91015 14 1 11.0899 1 7.5H0C0 11.6421 3.35786 15 7.5 15V14ZM14 7.5C14 11.0899 11.0899 14 7.5 14V15C11.6421 15 15 11.6421 15 7.5H14ZM7.5 1C11.0899 1 14 3.91015 14 7.5H15C15 3.35786 11.6421 0 7.5 0V1ZM7.5 0C3.35786 0 0 3.35786 0 7.5H1C1 3.91015 3.91015 1 7.5 1V0ZM5 12V4.5H4V12H5ZM4.09466 4.79275L10.5947 13.7927L11.4053 13.2073L4.90534 4.20725L4.09466 4.79275ZM10 4V10H11V4H10Z",fill:"#000000"}))}function se(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80 80",fill:"none"},e.createElement("g",{clipPath:"url(#clip0_202_147)"},e.createElement("path",{d:"M0 55.3333H80",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M0 40H80",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M0 24.6667H80",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M55.3334 80V0",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M40 80V0",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M24.6666 80V0",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M80 80L0 0",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M0 80L80 0",stroke:"black",strokeWidth:.506667}),e.createElement("rect",{x:5.33337,y:5.33333,width:69.3333,height:69.3333,stroke:"black",strokeWidth:.506667}),e.createElement("circle",{cx:40,cy:40,r:15.3333,stroke:"black",strokeWidth:.506667}),e.createElement("circle",{cx:40,cy:40,r:22,stroke:"black",strokeWidth:.506667}),e.createElement("circle",{cx:40,cy:40,r:34.6667,stroke:"black",strokeWidth:.506667})),e.createElement("rect",{x:.253333,y:.253333,width:79.4933,height:79.4933,rx:17.08,stroke:"black",strokeWidth:.506667}),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_202_147"},e.createElement("rect",{width:80,height:80,rx:17.3333,fill:"white"}))))}function he(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",stroke:"currentColor",fill:"currentColor"},e.createElement("path",{d:"M14 17h3l2-4V7h-6v6h3M6 17h3l2-4V7H5v6h3z"}))}export{s as B,E as C,V as D,X as H,he as I,K as a,i as b,k as c,se as d,oe as e,ie as f,ce as g,re as h,ae as i,le as j,ne as k,te as l,ee as m,$ as n,Y as o,U as p,T as q,Q as r,O as s};
|
|
2
|
+
//# sourceMappingURL=index-jxd3nv2J.js.map
|