@scalar/components 0.33.2 → 0.34.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,8 @@ declare const __VLS_export: import("vue").DefineComponent<({
18
18
  lineNumbers?: boolean;
19
19
  hideCredentials?: string | string[];
20
20
  copy?: "always" | "hover" | false;
21
+ /** Original content to copy when the displayed content has been masked. */
22
+ copyContent?: string;
21
23
  /**
22
24
  * Accessible name for the code scroller. Long code scrolls inside a focusable region so
23
25
  * keyboard users can reach it, and a focusable region needs a name or screen readers announce
@@ -39,6 +41,8 @@ declare const __VLS_export: import("vue").DefineComponent<({
39
41
  lineNumbers?: boolean;
40
42
  hideCredentials?: string | string[];
41
43
  copy?: "always" | "hover" | false;
44
+ /** Original content to copy when the displayed content has been masked. */
45
+ copyContent?: string;
42
46
  /**
43
47
  * Accessible name for the code scroller. Long code scrolls inside a focusable region so
44
48
  * keyboard users can reach it, and a focusable region needs a name or screen readers announce
@@ -64,6 +68,8 @@ declare const __VLS_export: import("vue").DefineComponent<({
64
68
  lineNumbers?: boolean;
65
69
  hideCredentials?: string | string[];
66
70
  copy?: "always" | "hover" | false;
71
+ /** Original content to copy when the displayed content has been masked. */
72
+ copyContent?: string;
67
73
  /**
68
74
  * Accessible name for the code scroller. Long code scrolls inside a focusable region so
69
75
  * keyboard users can reach it, and a focusable region needs a name or screen readers announce
@@ -85,6 +91,8 @@ declare const __VLS_export: import("vue").DefineComponent<({
85
91
  lineNumbers?: boolean;
86
92
  hideCredentials?: string | string[];
87
93
  copy?: "always" | "hover" | false;
94
+ /** Original content to copy when the displayed content has been masked. */
95
+ copyContent?: string;
88
96
  /**
89
97
  * Accessible name for the code scroller. Long code scrolls inside a focusable region so
90
98
  * keyboard users can reach it, and a focusable region needs a name or screen readers announce
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarCodeBlock.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarCodeBlock/ScalarCodeBlock.vue"],"names":[],"mappings":"AA8NA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAsBlD;;;;;;;;;GASG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;cAEN,MAAM,GAAG,MAAM;2BACF,MAAM;WACtB,mBAAmB,GAAG,MAAM;kBACrB,OAAO;sBACH,MAAM,GAAG,MAAM,EAAE;WAC5B,QAAQ,GAAG,OAAO,GAAG,KAAK;IACjC;;;;OAIG;YACK,MAAM;IACd;;;OAGG;gBACS,MAAM;;IAWV,+CAA+C;aACtC,MAAM,GAAG,MAAM;;cA5BtB,MAAM,GAAG,MAAM;2BACF,MAAM;WACtB,mBAAmB,GAAG,MAAM;kBACrB,OAAO;sBACH,MAAM,GAAG,MAAM,EAAE;WAC5B,QAAQ,GAAG,OAAO,GAAG,KAAK;IACjC;;;;OAIG;YACK,MAAM;IACd;;;OAGG;gBACS,MAAM;;IAeV;;;;OAIG;0BACmB,MAAM;;cApC1B,MAAM,GAAG,MAAM;2BACF,MAAM;WACtB,mBAAmB,GAAG,MAAM;kBACrB,OAAO;sBACH,MAAM,GAAG,MAAM,EAAE;WAC5B,QAAQ,GAAG,OAAO,GAAG,KAAK;IACjC;;;;OAIG;YACK,MAAM;IACd;;;OAGG;gBACS,MAAM;;IAWV,+CAA+C;aACtC,MAAM,GAAG,MAAM;;cA5BtB,MAAM,GAAG,MAAM;2BACF,MAAM;WACtB,mBAAmB,GAAG,MAAM;kBACrB,OAAO;sBACH,MAAM,GAAG,MAAM,EAAE;WAC5B,QAAQ,GAAG,OAAO,GAAG,KAAK;IACjC;;;;OAIG;YACK,MAAM;IACd;;;OAGG;gBACS,MAAM;;IAeV;;;;OAIG;0BACmB,MAAM;kGAiMlC,CAAC"}
1
+ {"version":3,"file":"ScalarCodeBlock.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarCodeBlock/ScalarCodeBlock.vue"],"names":[],"mappings":"AAiOA,OAAO,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odeBlock.vue.js","names":["_sfc_main"],"sources":["../../../src/components/ScalarCodeBlock/ScalarCodeBlock.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { languages, registerLanguage } from '@scalar/highlight/all'\n\n/**\n * Registers every bundled grammar, once per module rather than once per block.\n *\n * `@scalar/highlight/all` already registers them when it is evaluated, so a\n * bare `import '@scalar/highlight/all'` reads like enough. It is not: that is a\n * side-effect-only import of an external package, and the library build drops\n * it from the emitted module. Storybook hid this because it compiles from\n * source, while the API reference consumes `dist` and lost highlighting\n * entirely — every block fell back to escaped, unscoped text.\n *\n * Registering from a named import keeps a binding the bundler can see used, so\n * the module survives. It lives in this block rather than in `<script setup>`\n * because setup runs for every instance, and a page of API reference renders\n * hundreds of code blocks.\n */\nregisterLanguage(...languages)\n\n/**\n * Scalar Code Block component\n *\n * Renders syntax-highlighted code using @scalar/highlight.\n * Supports line numbers, credential masking, and an optional copy button.\n * Set --scalar-code-line-height on the component or an ancestor to override its 1.4 line height.\n *\n * @example\n * <ScalarCodeBlock content=\"const x = 1\" lang=\"javascript\" />\n */\nexport default {}\n</script>\n<script lang=\"ts\" setup>\nimport { prettyPrintJson } from '@scalar/helpers/json/pretty-print-json'\nimport { syntaxHighlight } from '@scalar/highlight/compat'\nimport { useBindCx } from '@scalar/use-hooks/useBindCx'\nimport { computed, useId } from 'vue'\n\nimport ScalarCopyBackdrop from '@/components/ScalarCopy/ScalarCopyBackdrop.vue'\n\nimport { ScalarCodeBlockCopy } from '../ScalarCodeBlock'\nimport type { StandardLanguageKey } from './types'\n\ntype BaseProps = {\n content?: string | object\n prettyPrintedContent?: string\n lang?: StandardLanguageKey | string\n lineNumbers?: boolean\n hideCredentials?: string | string[]\n copy?: 'always' | 'hover' | false\n /**\n * Accessible name for the code scroller. Long code scrolls inside a focusable region so\n * keyboard users can reach it, and a focusable region needs a name or screen readers announce\n * nothing when focus lands on it.\n */\n label?: string\n /**\n * Accessible name for the copy button. The visible label only reads \"Copy\" (and the language)\n * while the block is hovered, so the name has to say what is copied on its own.\n */\n copyLabel?: string\n}\n\n/**\n * Uses @scalar/highlight for syntax highlighting\n *\n * Requires at least one of content or prettyPrintedContent\n */\nconst {\n lang = 'plaintext',\n lineNumbers = false,\n copy = 'hover',\n label = 'Code sample',\n copyLabel,\n content,\n prettyPrintedContent,\n hideCredentials,\n} = defineProps<\n BaseProps &\n (\n | {\n /** Raw unformatted object or string content */\n content: string | object\n }\n | {\n /**\n * Pre-pretty printed content string for better performance\n *\n * Avoids unnecessary costly re-serialization of large content\n */\n prettyPrintedContent: string\n }\n )\n>()\n\n/** Base id for the code block */\nconst id = useId()\n\n/** Formatted the content into an indented json string */\nconst prettyContent = computed(\n () => prettyPrintedContent || prettyPrintJson(content ?? ''),\n)\n\nconst highlightedCode = computed(() => {\n const html = syntaxHighlight(prettyContent.value, {\n lang: lang.trim(),\n lineNumbers: lineNumbers,\n maskCredentials: hideCredentials,\n })\n\n // Need to remove the wrapping <pre> element so we can use v-html without another wrapper\n return html.slice(5, -6)\n})\n\n/** Determine if the content is a single line */\nconst isOneLine = computed(() => !prettyContent.value.includes('\\n'))\n\nconst isContentValid = computed(() => {\n return (\n prettyContent.value !== null &&\n prettyContent.value !== 'null' &&\n prettyContent.value !== '404 Not Found'\n )\n})\n\n/** Whether the copy button is rendered on top of the code */\nconst showCopy = computed(() => copy && isContentValid.value)\n\n/**\n * A one-liner has the copy button floating over the end of the line, so the line needs room to\n * scroll clear of the button. The padding goes on the `w-fit` <pre> because browsers disagree about\n * whether trailing padding on an `overflow-x` container is scrollable.\n */\nconst reserveCopySpace = computed(() => isOneLine.value && showCopy.value)\n\ndefineOptions({ inheritAttrs: false })\nconst { cx } = useBindCx()\n</script>\n<template>\n <div\n v-bind=\"\n cx(\n 'scalar-code-block group/code-block flex flex-col',\n 'relative bg-b-1 min-h-0 min-w-0 focus-visible:outline',\n )\n \">\n <!--\n Inherits the corners so the inset focus ring follows a rounded code block.\n Always a tab stop so code that scrolls stays reachable by keyboard (WCAG 2.1.1). A named\n group rather than a region, so every code sample does not add a landmark.\n -->\n <div\n :aria-label=\"label\"\n class=\"custom-scroll min-h-0 min-w-0 flex-1 overflow-x-auto rounded-[inherit] p-2 -outline-offset-2\"\n role=\"group\"\n tabindex=\"0\">\n <pre\n :id=\"id\"\n class=\"scalar-code-block-pre m-0 w-fit border-0 bg-transparent p-0 text-nowrap whitespace-pre\"\n :class=\"{ 'pr-6': reserveCopySpace }\"\n v-html=\"highlightedCode\" />\n </div>\n <ScalarCodeBlockCopy\n v-if=\"showCopy\"\n :aria-controls=\"id\"\n class=\"scalar-code-copy absolute\"\n :class=\"[\n isOneLine\n ? 'top-1/2 right-1 m-0 -translate-y-1/2'\n : 'top-2.5 right-2.5',\n { 'opacity-100': copy === 'always' },\n ]\"\n :content=\"prettyContent\"\n :copyLabel=\"copyLabel\"\n :lang=\"lang\"\n :showLang=\"!isOneLine\">\n <template #backdrop>\n <ScalarCopyBackdrop\n class=\"scalar-code-copy-backdrop\"\n :class=\"[\n isOneLine\n ? 'group-hocus-within/code-block:-left-0.5 -inset-y-0.75 -right-1 left-3'\n : '-top-1 -right-1.5',\n ]\" />\n </template>\n </ScalarCodeBlockCopy>\n </div>\n</template>\n<style>\n@reference '../../style.css';\n@import '@scalar/code-highlight/css/code.css';\n\n/** Match the pre line-box metrics to the code font so blank and highlighted lines have the same pitch. */\n.scalar-code-block-pre {\n font-family: var(--scalar-font-code);\n /* Disable ligatures so code characters remain distinct. */\n font-variant-ligatures: none;\n}\n\n/** Make the copy button label backdrop match the background */\n.scalar-code-block.bg-b-1 .scalar-code-copy-backdrop {\n @apply bg-b-1;\n}\n.scalar-code-block.bg-b-2 .scalar-code-copy-backdrop {\n @apply bg-b-2;\n}\n/** Make the copy button one shade darker than the background */\n.scalar-code-block.bg-b-2 .scalar-code-copy {\n @apply bg-b-3;\n}\n</style>\n"],"mappings":""}
1
+ {"version":3,"file":"ScalarCodeBlock.vue.js","names":["_sfc_main"],"sources":["../../../src/components/ScalarCodeBlock/ScalarCodeBlock.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { languages, registerLanguage } from '@scalar/highlight/all'\n\n/**\n * Registers every bundled grammar, once per module rather than once per block.\n *\n * `@scalar/highlight/all` already registers them when it is evaluated, so a\n * bare `import '@scalar/highlight/all'` reads like enough. It is not: that is a\n * side-effect-only import of an external package, and the library build drops\n * it from the emitted module. Storybook hid this because it compiles from\n * source, while the API reference consumes `dist` and lost highlighting\n * entirely — every block fell back to escaped, unscoped text.\n *\n * Registering from a named import keeps a binding the bundler can see used, so\n * the module survives. It lives in this block rather than in `<script setup>`\n * because setup runs for every instance, and a page of API reference renders\n * hundreds of code blocks.\n */\nregisterLanguage(...languages)\n\n/**\n * Scalar Code Block component\n *\n * Renders syntax-highlighted code using @scalar/highlight.\n * Supports line numbers, credential masking, and an optional copy button.\n * Set --scalar-code-line-height on the component or an ancestor to override its 1.4 line height.\n *\n * @example\n * <ScalarCodeBlock content=\"const x = 1\" lang=\"javascript\" />\n */\nexport default {}\n</script>\n<script lang=\"ts\" setup>\nimport { prettyPrintJson } from '@scalar/helpers/json/pretty-print-json'\nimport { syntaxHighlight } from '@scalar/highlight/compat'\nimport { useBindCx } from '@scalar/use-hooks/useBindCx'\nimport { computed, useId } from 'vue'\n\nimport ScalarCopyBackdrop from '@/components/ScalarCopy/ScalarCopyBackdrop.vue'\n\nimport { ScalarCodeBlockCopy } from '../ScalarCodeBlock'\nimport type { StandardLanguageKey } from './types'\n\ntype BaseProps = {\n content?: string | object\n prettyPrintedContent?: string\n lang?: StandardLanguageKey | string\n lineNumbers?: boolean\n hideCredentials?: string | string[]\n copy?: 'always' | 'hover' | false\n /** Original content to copy when the displayed content has been masked. */\n copyContent?: string\n /**\n * Accessible name for the code scroller. Long code scrolls inside a focusable region so\n * keyboard users can reach it, and a focusable region needs a name or screen readers announce\n * nothing when focus lands on it.\n */\n label?: string\n /**\n * Accessible name for the copy button. The visible label only reads \"Copy\" (and the language)\n * while the block is hovered, so the name has to say what is copied on its own.\n */\n copyLabel?: string\n}\n\n/**\n * Uses @scalar/highlight for syntax highlighting\n *\n * Requires at least one of content or prettyPrintedContent\n */\nconst {\n lang = 'plaintext',\n lineNumbers = false,\n copy = 'hover',\n label = 'Code sample',\n copyLabel,\n copyContent,\n content,\n prettyPrintedContent,\n hideCredentials,\n} = defineProps<\n BaseProps &\n (\n | {\n /** Raw unformatted object or string content */\n content: string | object\n }\n | {\n /**\n * Pre-pretty printed content string for better performance\n *\n * Avoids unnecessary costly re-serialization of large content\n */\n prettyPrintedContent: string\n }\n )\n>()\n\n/** Base id for the code block */\nconst id = useId()\n\n/** Formatted the content into an indented json string */\nconst prettyContent = computed(\n () => prettyPrintedContent || prettyPrintJson(content ?? ''),\n)\n\nconst highlightedCode = computed(() => {\n const html = syntaxHighlight(prettyContent.value, {\n lang: lang.trim(),\n lineNumbers: lineNumbers,\n maskCredentials: hideCredentials,\n })\n\n // Need to remove the wrapping <pre> element so we can use v-html without another wrapper\n return html.slice(5, -6)\n})\n\n/** Determine if the content is a single line */\nconst isOneLine = computed(() => !prettyContent.value.includes('\\n'))\n\nconst isContentValid = computed(() => {\n return (\n prettyContent.value !== null &&\n prettyContent.value !== 'null' &&\n prettyContent.value !== '404 Not Found'\n )\n})\n\n/** Whether the copy button is rendered on top of the code */\nconst showCopy = computed(() => copy && isContentValid.value)\n\n/**\n * A one-liner has the copy button floating over the end of the line, so the line needs room to\n * scroll clear of the button. The padding goes on the `w-fit` <pre> because browsers disagree about\n * whether trailing padding on an `overflow-x` container is scrollable.\n */\nconst reserveCopySpace = computed(() => isOneLine.value && showCopy.value)\n\ndefineOptions({ inheritAttrs: false })\nconst { cx } = useBindCx()\n</script>\n<template>\n <div\n v-bind=\"\n cx(\n 'scalar-code-block group/code-block flex flex-col',\n 'relative bg-b-1 min-h-0 min-w-0 focus-visible:outline',\n )\n \">\n <!--\n Inherits the corners so the inset focus ring follows a rounded code block.\n Always a tab stop so code that scrolls stays reachable by keyboard (WCAG 2.1.1). A named\n group rather than a region, so every code sample does not add a landmark.\n -->\n <div\n :aria-label=\"label\"\n class=\"custom-scroll min-h-0 min-w-0 flex-1 overflow-x-auto rounded-[inherit] p-2 -outline-offset-2\"\n role=\"group\"\n tabindex=\"0\">\n <pre\n :id=\"id\"\n class=\"scalar-code-block-pre m-0 w-fit border-0 bg-transparent p-0 text-nowrap whitespace-pre\"\n :class=\"{ 'pr-6': reserveCopySpace }\"\n v-html=\"highlightedCode\" />\n </div>\n <ScalarCodeBlockCopy\n v-if=\"showCopy\"\n :aria-controls=\"id\"\n class=\"scalar-code-copy absolute\"\n :class=\"[\n isOneLine\n ? 'top-1/2 right-1 m-0 -translate-y-1/2'\n : 'top-2.5 right-2.5',\n { 'opacity-100': copy === 'always' },\n ]\"\n :content=\"copyContent ?? prettyContent\"\n :copyLabel=\"copyLabel\"\n :lang=\"lang\"\n :showLang=\"!isOneLine\">\n <template #backdrop>\n <ScalarCopyBackdrop\n class=\"scalar-code-copy-backdrop\"\n :class=\"[\n isOneLine\n ? 'group-hocus-within/code-block:-left-0.5 -inset-y-0.75 -right-1 left-3'\n : '-top-1 -right-1.5',\n ]\" />\n </template>\n </ScalarCodeBlockCopy>\n </div>\n</template>\n<style>\n@reference '../../style.css';\n@import '@scalar/code-highlight/css/code.css';\n\n/** Match the pre line-box metrics to the code font so blank and highlighted lines have the same pitch. */\n.scalar-code-block-pre {\n font-family: var(--scalar-font-code);\n /* Disable ligatures so code characters remain distinct. */\n font-variant-ligatures: none;\n}\n\n/** Make the copy button label backdrop match the background */\n.scalar-code-block.bg-b-1 .scalar-code-copy-backdrop {\n @apply bg-b-1;\n}\n.scalar-code-block.bg-b-2 .scalar-code-copy-backdrop {\n @apply bg-b-2;\n}\n/** Make the copy button one shade darker than the background */\n.scalar-code-block.bg-b-2 .scalar-code-copy {\n @apply bg-b-3;\n}\n</style>\n"],"mappings":""}
@@ -45,6 +45,7 @@ var ScalarCodeBlock_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
45
45
  type: [String, Boolean],
46
46
  default: "hover"
47
47
  },
48
+ copyContent: {},
48
49
  label: { default: "Code sample" },
49
50
  copyLabel: {}
50
51
  },
@@ -88,7 +89,7 @@ var ScalarCodeBlock_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
88
89
  key: 0,
89
90
  "aria-controls": unref(id),
90
91
  class: normalizeClass(["scalar-code-copy absolute", [isOneLine.value ? "top-1/2 right-1 m-0 -translate-y-1/2" : "top-2.5 right-2.5", { "opacity-100": __props.copy === "always" }]]),
91
- content: prettyContent.value,
92
+ content: __props.copyContent ?? prettyContent.value,
92
93
  copyLabel: __props.copyLabel,
93
94
  lang: __props.lang,
94
95
  showLang: !isOneLine.value
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarCodeBlock.vue_vue_type_script_setup_true_lang.js","names":["_openBlock","_createElementBlock","_normalizeProps","_guardReactiveProps","_unref","_createElementVNode","_normalizeClass","_createBlock","ScalarCodeBlockCopy","_withCtx","_createVNode","ScalarCopyBackdrop","_createCommentVNode"],"sources":["../../../src/components/ScalarCodeBlock/ScalarCodeBlock.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { languages, registerLanguage } from '@scalar/highlight/all'\n\n/**\n * Registers every bundled grammar, once per module rather than once per block.\n *\n * `@scalar/highlight/all` already registers them when it is evaluated, so a\n * bare `import '@scalar/highlight/all'` reads like enough. It is not: that is a\n * side-effect-only import of an external package, and the library build drops\n * it from the emitted module. Storybook hid this because it compiles from\n * source, while the API reference consumes `dist` and lost highlighting\n * entirely — every block fell back to escaped, unscoped text.\n *\n * Registering from a named import keeps a binding the bundler can see used, so\n * the module survives. It lives in this block rather than in `<script setup>`\n * because setup runs for every instance, and a page of API reference renders\n * hundreds of code blocks.\n */\nregisterLanguage(...languages)\n\n/**\n * Scalar Code Block component\n *\n * Renders syntax-highlighted code using @scalar/highlight.\n * Supports line numbers, credential masking, and an optional copy button.\n * Set --scalar-code-line-height on the component or an ancestor to override its 1.4 line height.\n *\n * @example\n * <ScalarCodeBlock content=\"const x = 1\" lang=\"javascript\" />\n */\nexport default {}\n</script>\n<script lang=\"ts\" setup>\nimport { prettyPrintJson } from '@scalar/helpers/json/pretty-print-json'\nimport { syntaxHighlight } from '@scalar/highlight/compat'\nimport { useBindCx } from '@scalar/use-hooks/useBindCx'\nimport { computed, useId } from 'vue'\n\nimport ScalarCopyBackdrop from '@/components/ScalarCopy/ScalarCopyBackdrop.vue'\n\nimport { ScalarCodeBlockCopy } from '../ScalarCodeBlock'\nimport type { StandardLanguageKey } from './types'\n\ntype BaseProps = {\n content?: string | object\n prettyPrintedContent?: string\n lang?: StandardLanguageKey | string\n lineNumbers?: boolean\n hideCredentials?: string | string[]\n copy?: 'always' | 'hover' | false\n /**\n * Accessible name for the code scroller. Long code scrolls inside a focusable region so\n * keyboard users can reach it, and a focusable region needs a name or screen readers announce\n * nothing when focus lands on it.\n */\n label?: string\n /**\n * Accessible name for the copy button. The visible label only reads \"Copy\" (and the language)\n * while the block is hovered, so the name has to say what is copied on its own.\n */\n copyLabel?: string\n}\n\n/**\n * Uses @scalar/highlight for syntax highlighting\n *\n * Requires at least one of content or prettyPrintedContent\n */\nconst {\n lang = 'plaintext',\n lineNumbers = false,\n copy = 'hover',\n label = 'Code sample',\n copyLabel,\n content,\n prettyPrintedContent,\n hideCredentials,\n} = defineProps<\n BaseProps &\n (\n | {\n /** Raw unformatted object or string content */\n content: string | object\n }\n | {\n /**\n * Pre-pretty printed content string for better performance\n *\n * Avoids unnecessary costly re-serialization of large content\n */\n prettyPrintedContent: string\n }\n )\n>()\n\n/** Base id for the code block */\nconst id = useId()\n\n/** Formatted the content into an indented json string */\nconst prettyContent = computed(\n () => prettyPrintedContent || prettyPrintJson(content ?? ''),\n)\n\nconst highlightedCode = computed(() => {\n const html = syntaxHighlight(prettyContent.value, {\n lang: lang.trim(),\n lineNumbers: lineNumbers,\n maskCredentials: hideCredentials,\n })\n\n // Need to remove the wrapping <pre> element so we can use v-html without another wrapper\n return html.slice(5, -6)\n})\n\n/** Determine if the content is a single line */\nconst isOneLine = computed(() => !prettyContent.value.includes('\\n'))\n\nconst isContentValid = computed(() => {\n return (\n prettyContent.value !== null &&\n prettyContent.value !== 'null' &&\n prettyContent.value !== '404 Not Found'\n )\n})\n\n/** Whether the copy button is rendered on top of the code */\nconst showCopy = computed(() => copy && isContentValid.value)\n\n/**\n * A one-liner has the copy button floating over the end of the line, so the line needs room to\n * scroll clear of the button. The padding goes on the `w-fit` <pre> because browsers disagree about\n * whether trailing padding on an `overflow-x` container is scrollable.\n */\nconst reserveCopySpace = computed(() => isOneLine.value && showCopy.value)\n\ndefineOptions({ inheritAttrs: false })\nconst { cx } = useBindCx()\n</script>\n<template>\n <div\n v-bind=\"\n cx(\n 'scalar-code-block group/code-block flex flex-col',\n 'relative bg-b-1 min-h-0 min-w-0 focus-visible:outline',\n )\n \">\n <!--\n Inherits the corners so the inset focus ring follows a rounded code block.\n Always a tab stop so code that scrolls stays reachable by keyboard (WCAG 2.1.1). A named\n group rather than a region, so every code sample does not add a landmark.\n -->\n <div\n :aria-label=\"label\"\n class=\"custom-scroll min-h-0 min-w-0 flex-1 overflow-x-auto rounded-[inherit] p-2 -outline-offset-2\"\n role=\"group\"\n tabindex=\"0\">\n <pre\n :id=\"id\"\n class=\"scalar-code-block-pre m-0 w-fit border-0 bg-transparent p-0 text-nowrap whitespace-pre\"\n :class=\"{ 'pr-6': reserveCopySpace }\"\n v-html=\"highlightedCode\" />\n </div>\n <ScalarCodeBlockCopy\n v-if=\"showCopy\"\n :aria-controls=\"id\"\n class=\"scalar-code-copy absolute\"\n :class=\"[\n isOneLine\n ? 'top-1/2 right-1 m-0 -translate-y-1/2'\n : 'top-2.5 right-2.5',\n { 'opacity-100': copy === 'always' },\n ]\"\n :content=\"prettyContent\"\n :copyLabel=\"copyLabel\"\n :lang=\"lang\"\n :showLang=\"!isOneLine\">\n <template #backdrop>\n <ScalarCopyBackdrop\n class=\"scalar-code-copy-backdrop\"\n :class=\"[\n isOneLine\n ? 'group-hocus-within/code-block:-left-0.5 -inset-y-0.75 -right-1 left-3'\n : '-top-1 -right-1.5',\n ]\" />\n </template>\n </ScalarCodeBlockCopy>\n </div>\n</template>\n<style>\n@reference '../../style.css';\n@import '@scalar/code-highlight/css/code.css';\n\n/** Match the pre line-box metrics to the code font so blank and highlighted lines have the same pitch. */\n.scalar-code-block-pre {\n font-family: var(--scalar-font-code);\n /* Disable ligatures so code characters remain distinct. */\n font-variant-ligatures: none;\n}\n\n/** Make the copy button label backdrop match the background */\n.scalar-code-block.bg-b-1 .scalar-code-copy-backdrop {\n @apply bg-b-1;\n}\n.scalar-code-block.bg-b-2 .scalar-code-copy-backdrop {\n @apply bg-b-2;\n}\n/** Make the copy button one shade darker than the background */\n.scalar-code-block.bg-b-2 .scalar-code-copy {\n @apply bg-b-3;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,iBAAiB,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;EA8E7B,MAAM,KAAK,MAAM;;EAGjB,MAAM,gBAAgB,eACd,QAAA,wBAAwB,gBAAgB,QAAA,WAAW,EAAE,CAC7D;EAEA,MAAM,kBAAkB,eAAe;GAQrC,OAPa,gBAAgB,cAAc,OAAO;IAChD,MAAM,QAAA,KAAK,KAAK;IAChB,aAAa,QAAA;IACb,iBAAiB,QAAA;GACnB,CAGO,CAAA,CAAK,MAAM,GAAG,EAAE;EACzB,CAAC;;EAGD,MAAM,YAAY,eAAe,CAAC,cAAc,MAAM,SAAS,IAAI,CAAC;EAEpE,MAAM,iBAAiB,eAAe;GACpC,OACE,cAAc,UAAU,QACxB,cAAc,UAAU,UACxB,cAAc,UAAU;EAE5B,CAAC;;EAGD,MAAM,WAAW,eAAe,QAAA,QAAQ,eAAe,KAAK;;;;;;EAO5D,MAAM,mBAAmB,eAAe,UAAU,SAAS,SAAS,KAAK;EAGzE,MAAM,EAAE,OAAO,UAAU;;GAGvB,OAAAA,UAAA,GAAAC,mBA+CM,OAAAC,eAAAC,mBA9CWC,MAAA,EAAA,CAAE,C,iHAWjBC,mBAUM,OAAA;IATH,cAAY,QAAA;IACb,OAAM;IACN,MAAK;IACL,UAAS;G,IACTA,mBAI6B,OAAA;IAH1B,IAAID,MAAA,EAAA;IACL,OAAKE,eAAA,CAAC,0FAAwF,EAAA,QAC5E,iBAAA,MAAgB,CAAA,CAAA;IAClC,WAAQ,gBAAA;G,2CAGJ,SAAA,SADRN,UAAA,GAAAO,YAuBsBH,MAAAI,2BAAA,GAAA;;IArBnB,iBAAeJ,MAAA,EAAA;IAChB,OAAKE,eAAA,CAAC,6BAA2B,CACf,UAAA,Q,8DAAuH,EAAA,eAAA,QAAA,SAAI,SAAA,C;IAM5I,SAAS,cAAA;IACT,WAAW,QAAA;IACX,MAAM,QAAA;IACN,UAAQ,CAAG,UAAA;;IACD,UAAQG,cAOV,CANPC,YAMOC,4BAAA,EALL,OAAKL,eAAA,CAAC,6BAA2B,CACX,UAAA,Q"}
1
+ {"version":3,"file":"ScalarCodeBlock.vue_vue_type_script_setup_true_lang.js","names":["_openBlock","_createElementBlock","_normalizeProps","_guardReactiveProps","_unref","_createElementVNode","_normalizeClass","_createBlock","ScalarCodeBlockCopy","_withCtx","_createVNode","ScalarCopyBackdrop","_createCommentVNode"],"sources":["../../../src/components/ScalarCodeBlock/ScalarCodeBlock.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { languages, registerLanguage } from '@scalar/highlight/all'\n\n/**\n * Registers every bundled grammar, once per module rather than once per block.\n *\n * `@scalar/highlight/all` already registers them when it is evaluated, so a\n * bare `import '@scalar/highlight/all'` reads like enough. It is not: that is a\n * side-effect-only import of an external package, and the library build drops\n * it from the emitted module. Storybook hid this because it compiles from\n * source, while the API reference consumes `dist` and lost highlighting\n * entirely — every block fell back to escaped, unscoped text.\n *\n * Registering from a named import keeps a binding the bundler can see used, so\n * the module survives. It lives in this block rather than in `<script setup>`\n * because setup runs for every instance, and a page of API reference renders\n * hundreds of code blocks.\n */\nregisterLanguage(...languages)\n\n/**\n * Scalar Code Block component\n *\n * Renders syntax-highlighted code using @scalar/highlight.\n * Supports line numbers, credential masking, and an optional copy button.\n * Set --scalar-code-line-height on the component or an ancestor to override its 1.4 line height.\n *\n * @example\n * <ScalarCodeBlock content=\"const x = 1\" lang=\"javascript\" />\n */\nexport default {}\n</script>\n<script lang=\"ts\" setup>\nimport { prettyPrintJson } from '@scalar/helpers/json/pretty-print-json'\nimport { syntaxHighlight } from '@scalar/highlight/compat'\nimport { useBindCx } from '@scalar/use-hooks/useBindCx'\nimport { computed, useId } from 'vue'\n\nimport ScalarCopyBackdrop from '@/components/ScalarCopy/ScalarCopyBackdrop.vue'\n\nimport { ScalarCodeBlockCopy } from '../ScalarCodeBlock'\nimport type { StandardLanguageKey } from './types'\n\ntype BaseProps = {\n content?: string | object\n prettyPrintedContent?: string\n lang?: StandardLanguageKey | string\n lineNumbers?: boolean\n hideCredentials?: string | string[]\n copy?: 'always' | 'hover' | false\n /** Original content to copy when the displayed content has been masked. */\n copyContent?: string\n /**\n * Accessible name for the code scroller. Long code scrolls inside a focusable region so\n * keyboard users can reach it, and a focusable region needs a name or screen readers announce\n * nothing when focus lands on it.\n */\n label?: string\n /**\n * Accessible name for the copy button. The visible label only reads \"Copy\" (and the language)\n * while the block is hovered, so the name has to say what is copied on its own.\n */\n copyLabel?: string\n}\n\n/**\n * Uses @scalar/highlight for syntax highlighting\n *\n * Requires at least one of content or prettyPrintedContent\n */\nconst {\n lang = 'plaintext',\n lineNumbers = false,\n copy = 'hover',\n label = 'Code sample',\n copyLabel,\n copyContent,\n content,\n prettyPrintedContent,\n hideCredentials,\n} = defineProps<\n BaseProps &\n (\n | {\n /** Raw unformatted object or string content */\n content: string | object\n }\n | {\n /**\n * Pre-pretty printed content string for better performance\n *\n * Avoids unnecessary costly re-serialization of large content\n */\n prettyPrintedContent: string\n }\n )\n>()\n\n/** Base id for the code block */\nconst id = useId()\n\n/** Formatted the content into an indented json string */\nconst prettyContent = computed(\n () => prettyPrintedContent || prettyPrintJson(content ?? ''),\n)\n\nconst highlightedCode = computed(() => {\n const html = syntaxHighlight(prettyContent.value, {\n lang: lang.trim(),\n lineNumbers: lineNumbers,\n maskCredentials: hideCredentials,\n })\n\n // Need to remove the wrapping <pre> element so we can use v-html without another wrapper\n return html.slice(5, -6)\n})\n\n/** Determine if the content is a single line */\nconst isOneLine = computed(() => !prettyContent.value.includes('\\n'))\n\nconst isContentValid = computed(() => {\n return (\n prettyContent.value !== null &&\n prettyContent.value !== 'null' &&\n prettyContent.value !== '404 Not Found'\n )\n})\n\n/** Whether the copy button is rendered on top of the code */\nconst showCopy = computed(() => copy && isContentValid.value)\n\n/**\n * A one-liner has the copy button floating over the end of the line, so the line needs room to\n * scroll clear of the button. The padding goes on the `w-fit` <pre> because browsers disagree about\n * whether trailing padding on an `overflow-x` container is scrollable.\n */\nconst reserveCopySpace = computed(() => isOneLine.value && showCopy.value)\n\ndefineOptions({ inheritAttrs: false })\nconst { cx } = useBindCx()\n</script>\n<template>\n <div\n v-bind=\"\n cx(\n 'scalar-code-block group/code-block flex flex-col',\n 'relative bg-b-1 min-h-0 min-w-0 focus-visible:outline',\n )\n \">\n <!--\n Inherits the corners so the inset focus ring follows a rounded code block.\n Always a tab stop so code that scrolls stays reachable by keyboard (WCAG 2.1.1). A named\n group rather than a region, so every code sample does not add a landmark.\n -->\n <div\n :aria-label=\"label\"\n class=\"custom-scroll min-h-0 min-w-0 flex-1 overflow-x-auto rounded-[inherit] p-2 -outline-offset-2\"\n role=\"group\"\n tabindex=\"0\">\n <pre\n :id=\"id\"\n class=\"scalar-code-block-pre m-0 w-fit border-0 bg-transparent p-0 text-nowrap whitespace-pre\"\n :class=\"{ 'pr-6': reserveCopySpace }\"\n v-html=\"highlightedCode\" />\n </div>\n <ScalarCodeBlockCopy\n v-if=\"showCopy\"\n :aria-controls=\"id\"\n class=\"scalar-code-copy absolute\"\n :class=\"[\n isOneLine\n ? 'top-1/2 right-1 m-0 -translate-y-1/2'\n : 'top-2.5 right-2.5',\n { 'opacity-100': copy === 'always' },\n ]\"\n :content=\"copyContent ?? prettyContent\"\n :copyLabel=\"copyLabel\"\n :lang=\"lang\"\n :showLang=\"!isOneLine\">\n <template #backdrop>\n <ScalarCopyBackdrop\n class=\"scalar-code-copy-backdrop\"\n :class=\"[\n isOneLine\n ? 'group-hocus-within/code-block:-left-0.5 -inset-y-0.75 -right-1 left-3'\n : '-top-1 -right-1.5',\n ]\" />\n </template>\n </ScalarCodeBlockCopy>\n </div>\n</template>\n<style>\n@reference '../../style.css';\n@import '@scalar/code-highlight/css/code.css';\n\n/** Match the pre line-box metrics to the code font so blank and highlighted lines have the same pitch. */\n.scalar-code-block-pre {\n font-family: var(--scalar-font-code);\n /* Disable ligatures so code characters remain distinct. */\n font-variant-ligatures: none;\n}\n\n/** Make the copy button label backdrop match the background */\n.scalar-code-block.bg-b-1 .scalar-code-copy-backdrop {\n @apply bg-b-1;\n}\n.scalar-code-block.bg-b-2 .scalar-code-copy-backdrop {\n @apply bg-b-2;\n}\n/** Make the copy button one shade darker than the background */\n.scalar-code-block.bg-b-2 .scalar-code-copy {\n @apply bg-b-3;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,iBAAiB,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;;EAiF7B,MAAM,KAAK,MAAM;;EAGjB,MAAM,gBAAgB,eACd,QAAA,wBAAwB,gBAAgB,QAAA,WAAW,EAAE,CAC7D;EAEA,MAAM,kBAAkB,eAAe;GAQrC,OAPa,gBAAgB,cAAc,OAAO;IAChD,MAAM,QAAA,KAAK,KAAK;IAChB,aAAa,QAAA;IACb,iBAAiB,QAAA;GACnB,CAGO,CAAA,CAAK,MAAM,GAAG,EAAE;EACzB,CAAC;;EAGD,MAAM,YAAY,eAAe,CAAC,cAAc,MAAM,SAAS,IAAI,CAAC;EAEpE,MAAM,iBAAiB,eAAe;GACpC,OACE,cAAc,UAAU,QACxB,cAAc,UAAU,UACxB,cAAc,UAAU;EAE5B,CAAC;;EAGD,MAAM,WAAW,eAAe,QAAA,QAAQ,eAAe,KAAK;;;;;;EAO5D,MAAM,mBAAmB,eAAe,UAAU,SAAS,SAAS,KAAK;EAGzE,MAAM,EAAE,OAAO,UAAU;;GAGvB,OAAAA,UAAA,GAAAC,mBA+CM,OAAAC,eAAAC,mBA9CWC,MAAA,EAAA,CAAE,C,iHAWjBC,mBAUM,OAAA;IATH,cAAY,QAAA;IACb,OAAM;IACN,MAAK;IACL,UAAS;G,IACTA,mBAI6B,OAAA;IAH1B,IAAID,MAAA,EAAA;IACL,OAAKE,eAAA,CAAC,0FAAwF,EAAA,QAC5E,iBAAA,MAAgB,CAAA,CAAA;IAClC,WAAQ,gBAAA;G,2CAGJ,SAAA,SADRN,UAAA,GAAAO,YAuBsBH,MAAAI,2BAAA,GAAA;;IArBnB,iBAAeJ,MAAA,EAAA;IAChB,OAAKE,eAAA,CAAC,6BAA2B,CACf,UAAA,Q,8DAAuH,EAAA,eAAA,QAAA,SAAI,SAAA,C;IAM5I,SAAS,QAAA,eAAe,cAAA;IACxB,WAAW,QAAA;IACX,MAAM,QAAA;IACN,UAAQ,CAAG,UAAA;;IACD,UAAQG,cAOV,CANPC,YAMOC,4BAAA,EALL,OAAKL,eAAA,CAAC,6BAA2B,CACX,UAAA,Q"}
@@ -1,2 +1,2 @@
1
- export declare const ICONS: readonly ["Add", "AddTab", "Alert", "ArrowLeft", "ArrowRight", "Brackets", "Branch", "Changelog", "Checkmark", "ChevronDown", "ChevronLeft", "ChevronRight", "ChevronUp", "Clipboard", "Close", "CloseTab", "CloseTabs", "Cloud", "CodeFolder", "Cog", "Collection", "Cookie", "DarkMode", "Delete", "Discord", "DocsPage", "Download", "Duplicate", "Edit", "Ellipses", "Email", "Error", "Example", "ExternalLink", "FilterList", "Folder", "GitHub", "GitHubLine", "Globe", "Google", "Help", "Hide", "History", "House", "Import", "Info", "Key", "Leave", "LightDarkModeToggle", "LightMode", "Link", "Lock", "Logo", "Magic", "Markdown", "Menu", "NotAllowed", "Page", "Pencil", "Play", "Refresh", "Roadmap", "Scribble", "Search", "Server", "Settings", "Show", "Sort", "Terminal", "Trash", "Unlock", "Unwatch", "Upload", "User", "UserSwitch", "Users", "Versions", "Wallet", "Watch", "Workspace", "programming-framework-angular", "programming-framework-astro", "programming-framework-laravel", "programming-framework-nextdotjs", "programming-framework-react", "programming-framework-vuedotjs", "programming-language-c", "programming-language-clojure", "programming-language-csharp", "programming-language-css3", "programming-language-dart", "programming-language-fsharp", "programming-language-go", "programming-language-html5", "programming-language-http", "programming-language-java", "programming-language-javascript", "programming-language-json", "programming-language-julia", "programming-language-kotlin", "programming-language-node", "programming-language-objc", "programming-language-ocaml", "programming-language-php", "programming-language-powershell", "programming-language-python", "programming-language-r", "programming-language-ruby", "programming-language-rust", "programming-language-scala", "programming-language-shell", "programming-language-swift", "programming-language-typescript", "programming-script-code", "programming-tool-git", "programming-tool-tailwindcss"];
1
+ export declare const ICONS: readonly ["Add", "AddTab", "Alert", "ArrowLeft", "ArrowRight", "Brackets", "Branch", "Changelog", "Checkmark", "ChevronDown", "ChevronLeft", "ChevronRight", "ChevronUp", "Clipboard", "Close", "CloseTab", "CloseTabs", "Cloud", "CodeFolder", "Cog", "Collection", "Cookie", "DarkMode", "Delete", "Discord", "DocsPage", "Download", "Duplicate", "Edit", "Ellipses", "Email", "Error", "Example", "ExternalLink", "FilterList", "Folder", "GitHub", "GitHubLine", "Globe", "Google", "Help", "Hide", "History", "House", "Import", "Info", "Key", "Leave", "LightDarkModeToggle", "LightMode", "Link", "Lock", "Logo", "Magic", "Markdown", "Menu", "NotAllowed", "Page", "Pencil", "Play", "Refresh", "Roadmap", "Scribble", "Search", "Server", "Settings", "Show", "Sort", "Terminal", "Trash", "Unlock", "Unwatch", "Upload", "User", "UserSwitch", "Users", "Versions", "Wallet", "Watch", "Workspace", "programming-framework-angular", "programming-framework-astro", "programming-framework-laravel", "programming-framework-nextdotjs", "programming-framework-react", "programming-framework-vuedotjs", "programming-language-c", "programming-language-clojure", "programming-language-csharp", "programming-language-css3", "programming-language-dart", "programming-language-elixir", "programming-language-fsharp", "programming-language-go", "programming-language-html5", "programming-language-http", "programming-language-java", "programming-language-javascript", "programming-language-json", "programming-language-julia", "programming-language-kotlin", "programming-language-node", "programming-language-objc", "programming-language-ocaml", "programming-language-php", "programming-language-powershell", "programming-language-python", "programming-language-r", "programming-language-ruby", "programming-language-rust", "programming-language-scala", "programming-language-shell", "programming-language-swift", "programming-language-typescript", "programming-script-code", "programming-tool-git", "programming-tool-tailwindcss"];
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ScalarIcon/icons/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,m7DAqHR,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ScalarIcon/icons/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,k9DAsHR,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { __exportAll } from "../../../_virtual/_rolldown/runtime.js";
2
+ import { createElementBlock, createElementVNode, openBlock } from "vue";
3
+ //#region src/components/ScalarIcon/icons/programming-language-elixir.svg?component
4
+ var programming_language_elixir_exports = /* @__PURE__ */ __exportAll({
5
+ default: () => programming_language_elixir_default,
6
+ render: () => render$1
7
+ });
8
+ var _hoisted_1 = {
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ viewBox: "0 0 24 24"
11
+ };
12
+ function render$1(_ctx, _cache) {
13
+ return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("path", {
14
+ fill: "currentColor",
15
+ d: "M19.793 16.575c0 3.752-2.927 7.426-7.743 7.426-5.249 0-7.843-3.71-7.843-8.29 0-5.21 3.892-12.952 8-15.647a.397.397 0 0 1 .61.371 9.72 9.72 0 0 0 1.694 6.518c.522.795 1.092 1.478 1.763 2.352.94 1.227 1.637 1.906 2.644 3.842l.015.028a7.1 7.1 0 0 1 .86 3.4"
16
+ }, null, -1)])]);
17
+ }
18
+ var programming_language_elixir_default = { render: render$1 };
19
+ //#endregion
20
+ export { programming_language_elixir_default as default, programming_language_elixir_exports, render$1 as render };
21
+
22
+ //# sourceMappingURL=programming-language-elixir.svg_component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"programming-language-elixir.svg_component.js","names":["render","_openBlock","_createElementBlock","_createElementVNode"],"sources":["../../../../src/components/ScalarIcon/icons/programming-language-elixir.svg?component"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n fill: \"currentColor\",\n d: \"M19.793 16.575c0 3.752-2.927 7.426-7.743 7.426-5.249 0-7.843-3.71-7.843-8.29 0-5.21 3.892-12.952 8-15.647a.397.397 0 0 1 .61.371 9.72 9.72 0 0 0 1.694 6.518c.522.795 1.092 1.478 1.763 2.352.94 1.227 1.637 1.906 2.644 3.842l.015.028a7.1 7.1 0 0 1 .86 3.4\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"mappings":";;;;;;;AAEA,IAAM,aAAa;CACjB,OAAO;CACP,SAAS;AACX;AAEA,SAAgBA,SAAO,MAAM,QAAQ;CACnC,OAAQC,UAAW,GAAGC,mBAAoB,OAAO,YAAY,CAAC,GAAI,OAAO,OAAO,OAAO,KAAK,CAC1FC,mBAAoB,QAAQ;EAC1B,MAAM;EACN,GAAG;CACL,GAAG,MAAM,EAAE,CACb,EAAG,CAAC;AACN;AACA,IAAA,sCAAe,EAAE,QAAQH,SAAO"}
@@ -89,6 +89,7 @@ import { programming_language_clojure_exports } from "../icons/programming-langu
89
89
  import { programming_language_csharp_exports } from "../icons/programming-language-csharp.svg_component.js";
90
90
  import { programming_language_css3_exports } from "../icons/programming-language-css3.svg_component.js";
91
91
  import { programming_language_dart_exports } from "../icons/programming-language-dart.svg_component.js";
92
+ import { programming_language_elixir_exports } from "../icons/programming-language-elixir.svg_component.js";
92
93
  import { programming_language_fsharp_exports } from "../icons/programming-language-fsharp.svg_component.js";
93
94
  import { programming_language_go_exports } from "../icons/programming-language-go.svg_component.js";
94
95
  import { programming_language_html5_exports } from "../icons/programming-language-html5.svg_component.js";
@@ -229,6 +230,7 @@ var icons = /* #__PURE__ */ Object.assign({
229
230
  "../icons/programming-language-csharp.svg": programming_language_csharp_exports,
230
231
  "../icons/programming-language-css3.svg": programming_language_css3_exports,
231
232
  "../icons/programming-language-dart.svg": programming_language_dart_exports,
233
+ "../icons/programming-language-elixir.svg": programming_language_elixir_exports,
232
234
  "../icons/programming-language-fsharp.svg": programming_language_fsharp_exports,
233
235
  "../icons/programming-language-go.svg": programming_language_go_exports,
234
236
  "../icons/programming-language-html5.svg": programming_language_html5_exports,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["__import_glob__0_0_","__import_glob__0_1_","__import_glob__0_2_","__import_glob__0_3_","__import_glob__0_4_","__import_glob__0_5_","__import_glob__0_6_","__import_glob__0_7_","__import_glob__0_8_","__import_glob__0_9_","__import_glob__0_10_","__import_glob__0_11_","__import_glob__0_12_","__import_glob__0_13_","__import_glob__0_14_","__import_glob__0_15_","__import_glob__0_16_","__import_glob__0_17_","__import_glob__0_18_","__import_glob__0_19_","__import_glob__0_20_","__import_glob__0_21_","__import_glob__0_22_","__import_glob__0_23_","__import_glob__0_24_","__import_glob__0_25_","__import_glob__0_26_","__import_glob__0_27_","__import_glob__0_28_","__import_glob__0_29_","__import_glob__0_30_","__import_glob__0_31_","__import_glob__0_32_","__import_glob__0_33_","__import_glob__0_34_","__import_glob__0_35_","__import_glob__0_36_","__import_glob__0_37_","__import_glob__0_38_","__import_glob__0_39_","__import_glob__0_40_","__import_glob__0_41_","__import_glob__0_42_","__import_glob__0_43_","__import_glob__0_44_","__import_glob__0_45_","__import_glob__0_46_","__import_glob__0_47_","__import_glob__0_48_","__import_glob__0_49_","__import_glob__0_50_","__import_glob__0_51_","__import_glob__0_52_","__import_glob__0_53_","__import_glob__0_54_","__import_glob__0_55_","__import_glob__0_56_","__import_glob__0_57_","__import_glob__0_58_","__import_glob__0_59_","__import_glob__0_60_","__import_glob__0_61_","__import_glob__0_62_","__import_glob__0_63_","__import_glob__0_64_","__import_glob__0_65_","__import_glob__0_66_","__import_glob__0_67_","__import_glob__0_68_","__import_glob__0_69_","__import_glob__0_70_","__import_glob__0_71_","__import_glob__0_72_","__import_glob__0_73_","__import_glob__0_74_","__import_glob__0_75_","__import_glob__0_76_","__import_glob__0_77_","__import_glob__0_78_","__import_glob__0_79_","__import_glob__0_80_","__import_glob__0_81_","__import_glob__0_82_","__import_glob__0_83_","__import_glob__0_84_","__import_glob__0_85_","__import_glob__0_86_","__import_glob__0_87_","__import_glob__0_88_","__import_glob__0_89_","__import_glob__0_90_","__import_glob__0_91_","__import_glob__0_92_","__import_glob__0_93_","__import_glob__0_94_","__import_glob__0_95_","__import_glob__0_96_","__import_glob__0_97_","__import_glob__0_98_","__import_glob__0_99_","__import_glob__0_100_","__import_glob__0_101_","__import_glob__0_102_","__import_glob__0_103_","__import_glob__0_104_","__import_glob__0_105_","__import_glob__0_106_","__import_glob__0_107_","__import_glob__0_108_","__import_glob__0_109_","__import_glob__0_110_","__import_glob__0_111_","__import_glob__0_112_","__import_glob__0_113_","__import_glob__0_114_","__import_glob__0_115_","__import_glob__1_0_","__import_glob__1_1_","__import_glob__1_2_","__import_glob__1_3_","__import_glob__1_4_","__import_glob__1_5_","__import_glob__1_6_","__import_glob__1_7_","__import_glob__1_8_","__import_glob__1_9_","__import_glob__1_10_","__import_glob__1_11_","__import_glob__1_12_","__import_glob__1_13_","__import_glob__1_14_","__import_glob__1_15_","__import_glob__1_16_","__import_glob__1_17_","__import_glob__1_18_","__import_glob__1_19_","__import_glob__1_20_","__import_glob__1_21_"],"sources":["../../../../src/components/ScalarIcon/utils/index.ts"],"sourcesContent":["import type { ICONS } from '../icons'\nimport type { LOGOS } from '../logos'\n\n/** @deprecated Use the icons from the `@scalar/icons` package instead. */\nexport type Icon = (typeof ICONS)[number]\n\n/** @deprecated Use the icons from the `@scalar/icons` package instead. */\nexport type Logo = (typeof LOGOS)[number]\n\nconst icons = import.meta.glob<SVGElement>('../icons/*.svg', {\n query: 'component',\n eager: true,\n})\n\nconst logos = import.meta.glob<SVGElement>('../logos/*.svg', {\n query: 'component',\n eager: true,\n})\n\n/**\n * Generate a Vue component from the icon SVGs\n *\n * For any changes to this file, please ensure it works with SSR\n */\nexport const getIcon = (name: Icon) => {\n const filename = `../icons/${name}.svg`\n\n if (!icons[filename]) {\n console.warn(`Could not find icon: ${name}`)\n return null\n }\n\n return icons[filename]\n}\n\n/**\n * Generate a Vue component from the logo SVGs\n *\n * For any changes to this file, please ensure it works with SSR\n */\nexport const getLogo = (name: Logo) => {\n const filename = `../logos/${name}.svg`\n\n if (!logos[filename]) {\n console.warn(`Could not find icon: ${name}`)\n return null\n }\n return logos[filename]\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,IAAM,QAAQ,uBAAA,OAAA;CAAA,oBAAAA;CAAA,uBAAAC;CAAA,sBAAAC;CAAA,0BAAAC;CAAA,2BAAAC;CAAA,yBAAAC;CAAA,uBAAAC;CAAA,0BAAAC;CAAA,0BAAAC;CAAA,4BAAAC;CAAA,4BAAAC;CAAA,6BAAAC;CAAA,0BAAAC;CAAA,0BAAA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AA,4CAAAC;CAAA,0CAAAC;CAAA,0CAAAC;CAAA,2CAAAC;CAAA,yCAAAC;CAAA,gDAAAC;CAAA,4CAAAC;CAAA,uCAAAC;CAAA,0CAAAC;CAAA,0CAAAC;CAAA,2CAAAC;CAAA,2CAAAC;CAAA,2CAAAC;CAAA,gDAAAC;CAAA,wCAAAC;CAAA,qCAAAC;CAAA,6CAAAC;AAGb,CAAA;AAED,IAAM,QAAQ,uBAAA,OAAA;CAAA,yBAAAC;CAAA,sBAAAC;CAAA,2BAAAC;CAAA,uBAAAC;CAAA,yBAAAC;CAAA,wBAAAC;CAAA,wBAAAC;CAAA,wBAAAC;CAAA,mBAAAC;CAAA,qBAAAC;CAAA,wBAAAC;CAAA,yBAAAC;CAAA,uBAAAC;CAAA,uBAAAC;CAAA,sBAAAC;CAAA,qBAAAC;CAAA,wBAAAC;CAAA,6BAAAC;CAAA,sBAAAC;CAAA,qBAAAC;CAAA,uBAAAC;CAAA,oBAAAC;AAGb,CAAA;;;;;;AAOD,IAAa,WAAW,SAAe;CACrC,MAAM,WAAW,YAAY,KAAK;CAElC,IAAI,CAAC,MAAM,WAAW;EACpB,QAAQ,KAAK,wBAAwB,MAAM;EAC3C,OAAO;CACT;CAEA,OAAO,MAAM;AACf;;;;;;AAOA,IAAa,WAAW,SAAe;CACrC,MAAM,WAAW,YAAY,KAAK;CAElC,IAAI,CAAC,MAAM,WAAW;EACpB,QAAQ,KAAK,wBAAwB,MAAM;EAC3C,OAAO;CACT;CACA,OAAO,MAAM;AACf"}
1
+ {"version":3,"file":"index.js","names":["__import_glob__0_0_","__import_glob__0_1_","__import_glob__0_2_","__import_glob__0_3_","__import_glob__0_4_","__import_glob__0_5_","__import_glob__0_6_","__import_glob__0_7_","__import_glob__0_8_","__import_glob__0_9_","__import_glob__0_10_","__import_glob__0_11_","__import_glob__0_12_","__import_glob__0_13_","__import_glob__0_14_","__import_glob__0_15_","__import_glob__0_16_","__import_glob__0_17_","__import_glob__0_18_","__import_glob__0_19_","__import_glob__0_20_","__import_glob__0_21_","__import_glob__0_22_","__import_glob__0_23_","__import_glob__0_24_","__import_glob__0_25_","__import_glob__0_26_","__import_glob__0_27_","__import_glob__0_28_","__import_glob__0_29_","__import_glob__0_30_","__import_glob__0_31_","__import_glob__0_32_","__import_glob__0_33_","__import_glob__0_34_","__import_glob__0_35_","__import_glob__0_36_","__import_glob__0_37_","__import_glob__0_38_","__import_glob__0_39_","__import_glob__0_40_","__import_glob__0_41_","__import_glob__0_42_","__import_glob__0_43_","__import_glob__0_44_","__import_glob__0_45_","__import_glob__0_46_","__import_glob__0_47_","__import_glob__0_48_","__import_glob__0_49_","__import_glob__0_50_","__import_glob__0_51_","__import_glob__0_52_","__import_glob__0_53_","__import_glob__0_54_","__import_glob__0_55_","__import_glob__0_56_","__import_glob__0_57_","__import_glob__0_58_","__import_glob__0_59_","__import_glob__0_60_","__import_glob__0_61_","__import_glob__0_62_","__import_glob__0_63_","__import_glob__0_64_","__import_glob__0_65_","__import_glob__0_66_","__import_glob__0_67_","__import_glob__0_68_","__import_glob__0_69_","__import_glob__0_70_","__import_glob__0_71_","__import_glob__0_72_","__import_glob__0_73_","__import_glob__0_74_","__import_glob__0_75_","__import_glob__0_76_","__import_glob__0_77_","__import_glob__0_78_","__import_glob__0_79_","__import_glob__0_80_","__import_glob__0_81_","__import_glob__0_82_","__import_glob__0_83_","__import_glob__0_84_","__import_glob__0_85_","__import_glob__0_86_","__import_glob__0_87_","__import_glob__0_88_","__import_glob__0_89_","__import_glob__0_90_","__import_glob__0_91_","__import_glob__0_92_","__import_glob__0_93_","__import_glob__0_94_","__import_glob__0_95_","__import_glob__0_96_","__import_glob__0_97_","__import_glob__0_98_","__import_glob__0_99_","__import_glob__0_100_","__import_glob__0_101_","__import_glob__0_102_","__import_glob__0_103_","__import_glob__0_104_","__import_glob__0_105_","__import_glob__0_106_","__import_glob__0_107_","__import_glob__0_108_","__import_glob__0_109_","__import_glob__0_110_","__import_glob__0_111_","__import_glob__0_112_","__import_glob__0_113_","__import_glob__0_114_","__import_glob__0_115_","__import_glob__0_116_","__import_glob__1_0_","__import_glob__1_1_","__import_glob__1_2_","__import_glob__1_3_","__import_glob__1_4_","__import_glob__1_5_","__import_glob__1_6_","__import_glob__1_7_","__import_glob__1_8_","__import_glob__1_9_","__import_glob__1_10_","__import_glob__1_11_","__import_glob__1_12_","__import_glob__1_13_","__import_glob__1_14_","__import_glob__1_15_","__import_glob__1_16_","__import_glob__1_17_","__import_glob__1_18_","__import_glob__1_19_","__import_glob__1_20_","__import_glob__1_21_"],"sources":["../../../../src/components/ScalarIcon/utils/index.ts"],"sourcesContent":["import type { ICONS } from '../icons'\nimport type { LOGOS } from '../logos'\n\n/** @deprecated Use the icons from the `@scalar/icons` package instead. */\nexport type Icon = (typeof ICONS)[number]\n\n/** @deprecated Use the icons from the `@scalar/icons` package instead. */\nexport type Logo = (typeof LOGOS)[number]\n\nconst icons = import.meta.glob<SVGElement>('../icons/*.svg', {\n query: 'component',\n eager: true,\n})\n\nconst logos = import.meta.glob<SVGElement>('../logos/*.svg', {\n query: 'component',\n eager: true,\n})\n\n/**\n * Generate a Vue component from the icon SVGs\n *\n * For any changes to this file, please ensure it works with SSR\n */\nexport const getIcon = (name: Icon) => {\n const filename = `../icons/${name}.svg`\n\n if (!icons[filename]) {\n console.warn(`Could not find icon: ${name}`)\n return null\n }\n\n return icons[filename]\n}\n\n/**\n * Generate a Vue component from the logo SVGs\n *\n * For any changes to this file, please ensure it works with SSR\n */\nexport const getLogo = (name: Logo) => {\n const filename = `../logos/${name}.svg`\n\n if (!logos[filename]) {\n console.warn(`Could not find icon: ${name}`)\n return null\n }\n return logos[filename]\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,IAAM,QAAQ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ar/scalar.git",
11
11
  "directory": "packages/components"
12
12
  },
13
- "version": "0.33.2",
13
+ "version": "0.34.1",
14
14
  "engines": {
15
15
  "node": ">=22"
16
16
  },
@@ -216,12 +216,12 @@
216
216
  "@floating-ui/vue": "2.0.1",
217
217
  "@headlessui/tailwindcss": "^0.2.2",
218
218
  "@headlessui/vue": "1.7.23",
219
- "@scalar/code-highlight": "0.4.12",
220
- "@scalar/helpers": "0.17.0",
219
+ "@scalar/code-highlight": "0.4.13",
220
+ "@scalar/helpers": "0.18.0",
221
221
  "@scalar/highlight": "0.6.0",
222
222
  "@scalar/icons": "0.7.8",
223
223
  "@scalar/themes": "0.20.0",
224
- "@scalar/use-hooks": "0.4.23",
224
+ "@scalar/use-hooks": "0.4.25",
225
225
  "@vueuse/core": "15.0.0",
226
226
  "cva": "1.0.0-beta.4",
227
227
  "radix-vue": "^1.9.17",
@@ -235,18 +235,19 @@
235
235
  "@storybook/vue3-vite": "10.6.2",
236
236
  "@tailwindcss/cli": "^4.3.3",
237
237
  "@tailwindcss/vite": "^4.3.3",
238
- "@types/jsdom": "28.0.3",
238
+ "@types/jsdom": "30.0.0",
239
239
  "@types/node": "^24.19.2",
240
240
  "@vitejs/plugin-vue": "^6.0.10",
241
241
  "@vue/test-utils": "2.5.1",
242
242
  "concurrently": "10.0.6",
243
- "jsdom": "29.0.1",
243
+ "jsdom": "30.1.3",
244
244
  "storybook": "10.6.2",
245
245
  "svglint": "^4.2.1",
246
246
  "tailwindcss": "^4.3.3",
247
+ "typescript": "^5.9.3",
247
248
  "vite": "8.3.4",
248
249
  "vite-svg-loader": "5.1.3",
249
- "vitest": "4.1.12"
250
+ "vitest": "5.0.5"
250
251
  },
251
252
  "scripts": {
252
253
  "build": "pnpm typegen:icons && vite build && pnpm build:styles && vue-tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",