@eleven-labs/design-system 0.37.3 → 0.37.5
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/dist/components/Atoms/SyntaxHighlighter/githubGistTheme.d.ts +6 -0
- package/dist/components/Atoms/SyntaxHighlighter/httpLanguage.d.ts +19 -0
- package/dist/constants/tokenVariables.d.ts +1 -1
- package/dist/constants/tokenVariablesDesktop.d.ts +1 -1
- package/dist/index.es.js +7826 -5886
- package/dist/index.umd.cjs +22 -16
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Port of the `github-gist` highlight.js theme to the Prism token names, so that switching the
|
|
4
|
+
* highlighting engine does not change the rendering.
|
|
5
|
+
*/
|
|
6
|
+
export declare const githubGistTheme: Record<string, CSSProperties>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface RequestLineGrammar {
|
|
2
|
+
pattern: RegExp;
|
|
3
|
+
inside: Record<string, {
|
|
4
|
+
pattern: RegExp;
|
|
5
|
+
}>;
|
|
6
|
+
}
|
|
7
|
+
interface PrismLike {
|
|
8
|
+
languages: Record<string, Record<string, RequestLineGrammar>>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The upstream `request-line` grammar requires the HTTP version, so the short form used in API
|
|
12
|
+
* documentation (`GET /api/v1/articles`) is left untokenized. This wrapper registers the official
|
|
13
|
+
* grammar, then makes that suffix optional.
|
|
14
|
+
*/
|
|
15
|
+
export declare const httpLanguage: ((prism: PrismLike) => void) & {
|
|
16
|
+
displayName: string;
|
|
17
|
+
aliases: string[];
|
|
18
|
+
};
|
|
19
|
+
export {};
|