@elmethis/qwik 0.0.6 → 0.0.8

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.
Files changed (202) hide show
  1. package/lib/index.qwik.cjs +1678 -0
  2. package/lib/index.qwik.mjs +1678 -0
  3. package/lib/shikiInstance-BxkUyfqr.cjs +79 -0
  4. package/{src/components/code/shikiInstance.ts → lib/shikiInstance-igs7t2fe.js} +11 -8
  5. package/lib-types/components/code/elm-code-block.d.ts +21 -0
  6. package/lib-types/components/code/elm-code-block.stories.d.ts +9 -0
  7. package/lib-types/components/code/elm-katex.d.ts +15 -0
  8. package/lib-types/components/code/elm-katex.stories.d.ts +8 -0
  9. package/lib-types/components/code/elm-shiki-highlighter.d.ts +11 -0
  10. package/lib-types/components/code/elm-shiki-highlighter.stories.d.ts +6 -0
  11. package/lib-types/components/code/shikiInstance.d.ts +2 -0
  12. package/lib-types/components/containments/elm-toggle.d.ts +7 -0
  13. package/lib-types/components/containments/elm-toggle.stories.d.ts +6 -0
  14. package/lib-types/components/fallback/elm-block-fallback.d.ts +5 -0
  15. package/lib-types/components/fallback/elm-block-fallback.stories.d.ts +6 -0
  16. package/lib-types/components/fallback/elm-rectangle-wave.d.ts +4 -0
  17. package/lib-types/components/fallback/elm-rectangle-wave.stories.d.ts +6 -0
  18. package/lib-types/components/icon/elm-dot-loading-icon.d.ts +14 -0
  19. package/lib-types/components/icon/elm-dot-loading-icon.stories.d.ts +6 -0
  20. package/lib-types/components/icon/elm-inline-icon.d.ts +11 -0
  21. package/lib-types/components/icon/elm-inline-icon.stories.d.ts +6 -0
  22. package/lib-types/components/icon/elm-language-icon.d.ts +14 -0
  23. package/lib-types/components/icon/elm-language-icon.stories.d.ts +6 -0
  24. package/lib-types/components/icon/elm-mdi-icon.d.ts +8 -0
  25. package/lib-types/components/icon/elm-mdi-icon.stories.d.ts +6 -0
  26. package/lib-types/components/icon/languages/bash.d.ts +2 -0
  27. package/lib-types/components/icon/languages/c-plus-plus.d.ts +2 -0
  28. package/lib-types/components/icon/languages/c-sharp.d.ts +2 -0
  29. package/lib-types/components/icon/languages/c.d.ts +2 -0
  30. package/lib-types/components/icon/languages/css.d.ts +2 -0
  31. package/lib-types/components/icon/languages/go.d.ts +2 -0
  32. package/lib-types/components/icon/languages/html.d.ts +2 -0
  33. package/lib-types/components/icon/languages/java.d.ts +2 -0
  34. package/lib-types/components/icon/languages/javascript.d.ts +2 -0
  35. package/lib-types/components/icon/languages/json.d.ts +2 -0
  36. package/lib-types/components/icon/languages/kotlin.d.ts +2 -0
  37. package/lib-types/components/icon/languages/language-interface.d.ts +4 -0
  38. package/lib-types/components/icon/languages/lua.d.ts +2 -0
  39. package/lib-types/components/icon/languages/npm.d.ts +2 -0
  40. package/lib-types/components/icon/languages/python.d.ts +2 -0
  41. package/lib-types/components/icon/languages/rust.d.ts +2 -0
  42. package/lib-types/components/icon/languages/sql.d.ts +2 -0
  43. package/lib-types/components/icon/languages/terraform.d.ts +2 -0
  44. package/lib-types/components/icon/languages/typescript.d.ts +2 -0
  45. package/lib-types/components/media/elm-block-image.d.ts +16 -0
  46. package/lib-types/components/media/elm-block-image.stories.d.ts +12 -0
  47. package/lib-types/components/media/elm-file.d.ts +15 -0
  48. package/lib-types/components/media/elm-file.stories.d.ts +7 -0
  49. package/lib-types/components/navigation/elm-bookmark.d.ts +24 -0
  50. package/lib-types/components/navigation/elm-bookmark.stories.d.ts +12 -0
  51. package/lib-types/components/others/elm-jarkup.d.ts +5 -0
  52. package/lib-types/components/others/elm-jarkup.stories.d.ts +6 -0
  53. package/lib-types/components/table/elm-table-body.d.ts +2 -0
  54. package/lib-types/components/table/elm-table-cell.d.ts +12 -0
  55. package/lib-types/components/table/elm-table-header.d.ts +3 -0
  56. package/lib-types/components/table/elm-table-row.d.ts +2 -0
  57. package/lib-types/components/table/elm-table.d.ts +13 -0
  58. package/lib-types/components/table/elm-table.stories.d.ts +6 -0
  59. package/lib-types/components/typography/elm-block-quote.d.ts +4 -0
  60. package/lib-types/components/typography/elm-block-quote.stories.d.ts +6 -0
  61. package/lib-types/components/typography/elm-callout.d.ts +8 -0
  62. package/lib-types/components/typography/elm-callout.stories.d.ts +10 -0
  63. package/lib-types/components/typography/elm-divider.d.ts +8 -0
  64. package/lib-types/components/typography/elm-divider.stories.d.ts +6 -0
  65. package/lib-types/components/typography/elm-fragment-identifier.d.ts +7 -0
  66. package/lib-types/components/typography/elm-fragment-identifier.stories.d.ts +6 -0
  67. package/lib-types/components/typography/elm-heading.d.ts +6 -0
  68. package/lib-types/components/typography/elm-heading.stories.d.ts +7 -0
  69. package/lib-types/components/typography/elm-inline-text.d.ts +54 -0
  70. package/lib-types/components/typography/elm-inline-text.stories.d.ts +13 -0
  71. package/lib-types/components/typography/elm-list.d.ts +4 -0
  72. package/lib-types/components/typography/elm-list.stories.d.ts +8 -0
  73. package/lib-types/components/typography/elm-paragraph.d.ts +5 -0
  74. package/lib-types/components/typography/elm-paragraph.stories.d.ts +9 -0
  75. package/lib-types/entry.dev.d.ts +2 -0
  76. package/{src/entry.ssr.tsx → lib-types/entry.ssr.d.ts} +2 -9
  77. package/lib-types/hooks/useDelayedSignal.d.ts +6 -0
  78. package/lib-types/hooks/useInView.d.ts +6 -0
  79. package/lib-types/index.d.ts +27 -0
  80. package/lib-types/root.d.ts +2 -0
  81. package/package.json +5 -1
  82. package/.prettierignore +0 -6
  83. package/.storybook/main.ts +0 -23
  84. package/.storybook/preview-head.html +0 -4
  85. package/.storybook/preview.tsx +0 -51
  86. package/.storybook/sb.scss +0 -13
  87. package/.storybook/tsconfig.json +0 -24
  88. package/eslint.config.js +0 -79
  89. package/src/assets/bg1.webp +0 -0
  90. package/src/assets/bg2.webp +0 -0
  91. package/src/assets/images/2.svg +0 -4
  92. package/src/assets/images/lamdscape.svg +0 -4
  93. package/src/assets/images/portrait.svg +0 -4
  94. package/src/assets/images/square.svg +0 -4
  95. package/src/assets/vite.svg +0 -1
  96. package/src/assets/vue.svg +0 -1
  97. package/src/components/code/elm-code-block.module.scss +0 -67
  98. package/src/components/code/elm-code-block.stories.tsx +0 -44
  99. package/src/components/code/elm-code-block.tsx +0 -95
  100. package/src/components/code/elm-katex.stories.tsx +0 -28
  101. package/src/components/code/elm-katex.tsx +0 -34
  102. package/src/components/code/elm-shiki-highlighter.global.scss +0 -18
  103. package/src/components/code/elm-shiki-highlighter.stories.tsx +0 -21
  104. package/src/components/code/elm-shiki-highlighter.tsx +0 -44
  105. package/src/components/code/seed/main.rs +0 -24
  106. package/src/components/containments/elm-toggle.module.scss +0 -132
  107. package/src/components/containments/elm-toggle.stories.tsx +0 -34
  108. package/src/components/containments/elm-toggle.tsx +0 -106
  109. package/src/components/fallback/elm-block-fallback.module.scss +0 -8
  110. package/src/components/fallback/elm-block-fallback.stories.tsx +0 -14
  111. package/src/components/fallback/elm-block-fallback.tsx +0 -20
  112. package/src/components/fallback/elm-rectangle-wave.module.scss +0 -42
  113. package/src/components/fallback/elm-rectangle-wave.stories.tsx +0 -28
  114. package/src/components/fallback/elm-rectangle-wave.tsx +0 -11
  115. package/src/components/icon/elm-dot-loading-icon.module.scss +0 -53
  116. package/src/components/icon/elm-dot-loading-icon.stories.tsx +0 -15
  117. package/src/components/icon/elm-dot-loading-icon.tsx +0 -35
  118. package/src/components/icon/elm-inline-icon.module.scss +0 -21
  119. package/src/components/icon/elm-inline-icon.stories.tsx +0 -16
  120. package/src/components/icon/elm-inline-icon.tsx +0 -25
  121. package/src/components/icon/elm-language-icon.stories.tsx +0 -22
  122. package/src/components/icon/elm-language-icon.tsx +0 -167
  123. package/src/components/icon/elm-mdi-icon.module.scss +0 -8
  124. package/src/components/icon/elm-mdi-icon.stories.tsx +0 -25
  125. package/src/components/icon/elm-mdi-icon.tsx +0 -34
  126. package/src/components/icon/languages/bash.module.scss +0 -6
  127. package/src/components/icon/languages/bash.tsx +0 -27
  128. package/src/components/icon/languages/c-plus-plus.tsx +0 -33
  129. package/src/components/icon/languages/c-sharp.tsx +0 -29
  130. package/src/components/icon/languages/c.tsx +0 -27
  131. package/src/components/icon/languages/css.tsx +0 -21
  132. package/src/components/icon/languages/go.tsx +0 -22
  133. package/src/components/icon/languages/html.tsx +0 -30
  134. package/src/components/icon/languages/java.tsx +0 -37
  135. package/src/components/icon/languages/javascript.tsx +0 -22
  136. package/src/components/icon/languages/json.tsx +0 -53
  137. package/src/components/icon/languages/kotlin.tsx +0 -36
  138. package/src/components/icon/languages/language-interface.ts +0 -4
  139. package/src/components/icon/languages/lua.tsx +0 -29
  140. package/src/components/icon/languages/npm.tsx +0 -25
  141. package/src/components/icon/languages/python.tsx +0 -67
  142. package/src/components/icon/languages/rust.tsx +0 -19
  143. package/src/components/icon/languages/sql.tsx +0 -21
  144. package/src/components/icon/languages/terraform.tsx +0 -31
  145. package/src/components/icon/languages/typescript.tsx +0 -22
  146. package/src/components/media/elm-block-image.module.scss +0 -68
  147. package/src/components/media/elm-block-image.stories.tsx +0 -79
  148. package/src/components/media/elm-block-image.tsx +0 -110
  149. package/src/components/media/elm-file.module.scss +0 -43
  150. package/src/components/media/elm-file.stories.tsx +0 -27
  151. package/src/components/media/elm-file.tsx +0 -75
  152. package/src/components/navigation/elm-bookmark.module.scss +0 -100
  153. package/src/components/navigation/elm-bookmark.stories.tsx +0 -87
  154. package/src/components/navigation/elm-bookmark.tsx +0 -72
  155. package/src/components/others/elm-jarkup.module.scss +0 -26
  156. package/src/components/others/elm-jarkup.stories.tsx +0 -18
  157. package/src/components/others/elm-jarkup.tsx +0 -267
  158. package/src/components/table/elm-table-body.tsx +0 -14
  159. package/src/components/table/elm-table-cell.module.scss +0 -41
  160. package/src/components/table/elm-table-cell.tsx +0 -33
  161. package/src/components/table/elm-table-header.module.scss +0 -8
  162. package/src/components/table/elm-table-header.tsx +0 -21
  163. package/src/components/table/elm-table-row.module.scss +0 -28
  164. package/src/components/table/elm-table-row.tsx +0 -15
  165. package/src/components/table/elm-table.module.scss +0 -29
  166. package/src/components/table/elm-table.stories.tsx +0 -67
  167. package/src/components/table/elm-table.tsx +0 -63
  168. package/src/components/typography/elm-block-quote.module.scss +0 -29
  169. package/src/components/typography/elm-block-quote.stories.tsx +0 -22
  170. package/src/components/typography/elm-block-quote.tsx +0 -34
  171. package/src/components/typography/elm-callout.module.scss +0 -36
  172. package/src/components/typography/elm-callout.stories.tsx +0 -47
  173. package/src/components/typography/elm-callout.tsx +0 -52
  174. package/src/components/typography/elm-divider.module.scss +0 -6
  175. package/src/components/typography/elm-divider.stories.tsx +0 -14
  176. package/src/components/typography/elm-divider.tsx +0 -14
  177. package/src/components/typography/elm-fragment-identifier.module.scss +0 -28
  178. package/src/components/typography/elm-fragment-identifier.stories.tsx +0 -14
  179. package/src/components/typography/elm-fragment-identifier.tsx +0 -31
  180. package/src/components/typography/elm-heading.module.scss +0 -120
  181. package/src/components/typography/elm-heading.stories.tsx +0 -42
  182. package/src/components/typography/elm-heading.tsx +0 -40
  183. package/src/components/typography/elm-inline-text.module.scss +0 -114
  184. package/src/components/typography/elm-inline-text.stories.tsx +0 -70
  185. package/src/components/typography/elm-inline-text.tsx +0 -147
  186. package/src/components/typography/elm-list.global.scss +0 -66
  187. package/src/components/typography/elm-list.stories.tsx +0 -61
  188. package/src/components/typography/elm-list.tsx +0 -39
  189. package/src/components/typography/elm-paragraph.module.scss +0 -21
  190. package/src/components/typography/elm-paragraph.stories.tsx +0 -47
  191. package/src/components/typography/elm-paragraph.tsx +0 -31
  192. package/src/entry.dev.tsx +0 -17
  193. package/src/global.d.ts +0 -13
  194. package/src/hooks/useDelayedSignal.ts +0 -27
  195. package/src/hooks/useInView.tsx +0 -23
  196. package/src/index.ts +0 -113
  197. package/src/root.tsx +0 -13
  198. package/src/styles/text.module.scss +0 -17
  199. package/src/vite-env.d.ts +0 -1
  200. package/tsconfig.json +0 -21
  201. package/vite.config.ts +0 -36
  202. /package/{src/components/table/index.ts → lib-types/components/table/index.d.ts} +0 -0
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const shiki = require("shiki");
4
+ let highlighterPromise = null;
5
+ function getHighlighterSingleton() {
6
+ if (!highlighterPromise) {
7
+ highlighterPromise = shiki.createHighlighter({
8
+ langs: [
9
+ "abap",
10
+ "bash",
11
+ "c",
12
+ "clojure",
13
+ "coffeescript",
14
+ "c++",
15
+ "c#",
16
+ "css",
17
+ "dart",
18
+ "diff",
19
+ "docker",
20
+ "elixir",
21
+ "elm",
22
+ "erlang",
23
+ "f#",
24
+ "gherkin",
25
+ "glsl",
26
+ "go",
27
+ "graphql",
28
+ "groovy",
29
+ "haskell",
30
+ "html",
31
+ "java",
32
+ "javascript",
33
+ "json",
34
+ "julia",
35
+ "kotlin",
36
+ "latex",
37
+ "less",
38
+ "lisp",
39
+ "lua",
40
+ "makefile",
41
+ "markdown",
42
+ "matlab",
43
+ "mermaid",
44
+ "nix",
45
+ "objective-c",
46
+ "ocaml",
47
+ "pascal",
48
+ "perl",
49
+ "php",
50
+ "plaintext",
51
+ "powershell",
52
+ "prolog",
53
+ "protobuf",
54
+ "python",
55
+ "r",
56
+ "ruby",
57
+ "rust",
58
+ "sass",
59
+ "scala",
60
+ "scheme",
61
+ "scss",
62
+ "shell",
63
+ "sql",
64
+ "swift",
65
+ "toml",
66
+ "typescript",
67
+ "wasm",
68
+ "xml",
69
+ "yaml"
70
+ ],
71
+ themes: [
72
+ "vitesse-light",
73
+ "vitesse-dark"
74
+ ]
75
+ });
76
+ }
77
+ return highlighterPromise;
78
+ }
79
+ exports.getHighlighterSingleton = getHighlighterSingleton;
@@ -1,9 +1,6 @@
1
- // shikiInstance.ts
2
- import { createHighlighter, Highlighter } from "shiki";
3
-
4
- let highlighterPromise: Promise<Highlighter> | null = null;
5
-
6
- export function getHighlighterSingleton() {
1
+ import { createHighlighter } from "shiki";
2
+ let highlighterPromise = null;
3
+ function getHighlighterSingleton() {
7
4
  if (!highlighterPromise) {
8
5
  highlighterPromise = createHighlighter({
9
6
  langs: [
@@ -67,10 +64,16 @@ export function getHighlighterSingleton() {
67
64
  "typescript",
68
65
  "wasm",
69
66
  "xml",
70
- "yaml",
67
+ "yaml"
71
68
  ],
72
- themes: ["vitesse-light", "vitesse-dark"],
69
+ themes: [
70
+ "vitesse-light",
71
+ "vitesse-dark"
72
+ ]
73
73
  });
74
74
  }
75
75
  return highlighterPromise;
76
76
  }
77
+ export {
78
+ getHighlighterSingleton
79
+ };
@@ -0,0 +1,21 @@
1
+ import { CSSProperties } from "@builder.io/qwik";
2
+ export interface ElmCodeBlockProps {
3
+ /**
4
+ * The code to display.
5
+ */
6
+ code: string;
7
+ /**
8
+ * The language of the code.
9
+ */
10
+ language?: string;
11
+ /**
12
+ * The caption of the code block.
13
+ * If not provided, the language will be used.
14
+ */
15
+ caption?: string;
16
+ /**
17
+ * The margin of the code block.
18
+ */
19
+ margin?: CSSProperties["margin"];
20
+ }
21
+ export declare const ElmCodeBlock: import("@builder.io/qwik").Component<ElmCodeBlockProps>;
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmCodeBlock } from "./elm-code-block";
3
+ declare const meta: Meta<typeof ElmCodeBlock>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const Rust: Story;
8
+ export declare const Caption: Story;
9
+ export declare const CaptionSlot: Story;
@@ -0,0 +1,15 @@
1
+ export interface ElmKatexProps {
2
+ /**
3
+ * The KaTex expression.
4
+ */
5
+ expression: string;
6
+ /**
7
+ * Whether to render the equation in block mode.
8
+ * - If `true`, the equation will be rendered in block mode.
9
+ * - If `false`, the equation will be rendered in inline mode.
10
+ *
11
+ * Default is `false`.
12
+ */
13
+ block?: boolean;
14
+ }
15
+ export declare const ElmKatex: import("@builder.io/qwik").Component<ElmKatexProps>;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmKatex } from "./elm-katex";
3
+ declare const meta: Meta<typeof ElmKatex>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Inline: Story;
7
+ export declare const Block: Story;
8
+ export declare const Complex: Story;
@@ -0,0 +1,11 @@
1
+ export interface ElmShikiHighlighterProps {
2
+ /**
3
+ * The code to display.
4
+ */
5
+ code: string;
6
+ /**
7
+ * The language of the code.
8
+ */
9
+ language?: string;
10
+ }
11
+ export declare const ElmShikiHighlighter: import("@builder.io/qwik").Component<ElmShikiHighlighterProps>;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmShikiHighlighter } from "./elm-shiki-highlighter";
3
+ declare const meta: Meta<typeof ElmShikiHighlighter>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,2 @@
1
+ import { Highlighter } from "shiki";
2
+ export declare function getHighlighterSingleton(): Promise<Highlighter>;
@@ -0,0 +1,7 @@
1
+ export interface ElmToggleProps {
2
+ /**
3
+ * The summary of the toggle.
4
+ */
5
+ summary?: string;
6
+ }
7
+ export declare const ElmToggle: import("@builder.io/qwik").Component<ElmToggleProps>;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmToggle } from "./elm-toggle";
3
+ declare const meta: Meta<typeof ElmToggle>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,5 @@
1
+ import { CSSProperties } from "@builder.io/qwik";
2
+ export interface ElmBlockFallbackProps {
3
+ height?: CSSProperties["height"];
4
+ }
5
+ export declare const ElmBlockFallback: import("@builder.io/qwik").Component<ElmBlockFallbackProps>;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmBlockFallback } from "./elm-block-fallback";
3
+ declare const meta: Meta<typeof ElmBlockFallback>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,4 @@
1
+ export interface ElmRectangleWaveProps {
2
+ placeholder?: string;
3
+ }
4
+ export declare const ElmRectangleWave: import("@builder.io/qwik").Component<ElmRectangleWaveProps>;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmRectangleWave } from "./elm-rectangle-wave";
3
+ declare const meta: Meta<typeof ElmRectangleWave>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,14 @@
1
+ import { type CSSProperties } from "@builder.io/qwik";
2
+ export interface ElmDotLoadingIconProps {
3
+ /**
4
+ * Specifies the color of the dot.
5
+ *
6
+ * e.g.) `'red'`, `'#ff0000'`, `'rgba(255, 0, 0, 0.5)'`
7
+ */
8
+ color?: CSSProperties["backgroundColor"];
9
+ /**
10
+ * Specifies the size of the dot.
11
+ */
12
+ size?: CSSProperties["width"];
13
+ }
14
+ export declare const ElmDotLoadingIcon: import("@builder.io/qwik").Component<ElmDotLoadingIconProps>;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmDotLoadingIcon } from "./elm-dot-loading-icon";
3
+ declare const meta: Meta<typeof ElmDotLoadingIcon>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,11 @@
1
+ export interface ElmInlineIconProps {
2
+ /**
3
+ * The source URL of the icon.
4
+ */
5
+ src: string;
6
+ /**
7
+ * The alt text for the icon.
8
+ */
9
+ alt?: string;
10
+ }
11
+ export declare const ElmInlineIcon: import("@builder.io/qwik").Component<ElmInlineIconProps>;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmInlineIcon } from "./elm-inline-icon";
3
+ declare const meta: Meta<typeof ElmInlineIcon>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,14 @@
1
+ import { Component } from "@builder.io/qwik";
2
+ export declare const LANGUAGES: readonly ["rust", "javascript", "typescript", "shell", "terraform", "html", "css", "npm", "java", "kotlin", "go", "python", "sql", "json", "lua", "csharp", "cpp", "c", "file"];
3
+ export type Language = (typeof LANGUAGES)[number];
4
+ export interface ElmLanguageIconProps {
5
+ /**
6
+ * The size of the icon.
7
+ */
8
+ size?: number;
9
+ /**
10
+ * The language of the icon.
11
+ */
12
+ language: Language | string;
13
+ }
14
+ export declare const ElmLanguageIcon: Component<ElmLanguageIconProps>;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmLanguageIcon } from "./elm-language-icon";
3
+ declare const meta: Meta<typeof ElmLanguageIcon>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,8 @@
1
+ export interface ElmMdiIconProps {
2
+ d: string;
3
+ size?: string;
4
+ color?: string;
5
+ lightColor?: string;
6
+ darkColor?: string;
7
+ }
8
+ export declare const ElmMdiIcon: import("@builder.io/qwik").Component<ElmMdiIconProps>;
@@ -0,0 +1,6 @@
1
+ import { type Meta, type StoryObj } from "storybook-framework-qwik";
2
+ import { ElmMdiIcon } from "./elm-mdi-icon";
3
+ declare const meta: Meta<typeof ElmMdiIcon>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Bash: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Cplusplus: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Csharp: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const C: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Css: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Go: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Html: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Java: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Javascript: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Json: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Kotlin: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,4 @@
1
+ export interface CommonLanguageProps {
2
+ size?: number | string;
3
+ class?: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Lua: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Npm: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Python: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Rust: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Sql: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Terraform: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,2 @@
1
+ import type { CommonLanguageProps } from "./language-interface";
2
+ export declare const Typescript: import("@builder.io/qwik").Component<CommonLanguageProps>;
@@ -0,0 +1,16 @@
1
+ import { type Numberish } from "@builder.io/qwik";
2
+ export interface ElmBlockImageProps {
3
+ /**
4
+ * Image source URL
5
+ */
6
+ src: string;
7
+ /**
8
+ * Image alt text
9
+ */
10
+ alt?: string;
11
+ enableModal?: boolean;
12
+ caption?: string;
13
+ width?: Numberish;
14
+ height?: Numberish;
15
+ }
16
+ export declare const ElmBlockImage: import("@builder.io/qwik").Component<ElmBlockImageProps>;
@@ -0,0 +1,12 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmBlockImage } from "./elm-block-image";
3
+ declare const meta: Meta<typeof ElmBlockImage>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const Svg: Story;
8
+ export declare const LongAlt: Story;
9
+ export declare const Invalid: Story;
10
+ export declare const Landscape: Story;
11
+ export declare const Portrait: Story;
12
+ export declare const Square: Story;
@@ -0,0 +1,15 @@
1
+ export interface ElmFileProps {
2
+ /**
3
+ * The name of the file.
4
+ */
5
+ name?: string;
6
+ /**
7
+ * The source of the file.
8
+ */
9
+ src: string;
10
+ /**
11
+ * The size of the file in bytes.
12
+ */
13
+ filesize?: string;
14
+ }
15
+ export declare const ElmFile: import("@builder.io/qwik").Component<ElmFileProps>;
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmFile } from "./elm-file";
3
+ declare const meta: Meta<typeof ElmFile>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const Secondary: Story;
@@ -0,0 +1,24 @@
1
+ export interface ElmBookmarkProps {
2
+ /**
3
+ * The title of the bookmark.
4
+ */
5
+ title?: string;
6
+ /**
7
+ * The description of the bookmark.
8
+ */
9
+ description?: string;
10
+ /**
11
+ * The image to display.
12
+ * This can be a URL or a base64-encoded image.
13
+ */
14
+ image?: string;
15
+ /**
16
+ * The URL to navigate to.
17
+ */
18
+ url?: string;
19
+ /**
20
+ * The URL of the favicon.
21
+ */
22
+ favicon?: string;
23
+ }
24
+ export declare const ElmBookmark: import("@builder.io/qwik").Component<ElmBookmarkProps>;
@@ -0,0 +1,12 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmBookmark } from "./elm-bookmark";
3
+ declare const meta: Meta<typeof ElmBookmark>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const WithoutDate: Story;
8
+ export declare const Card: Story;
9
+ export declare const Square: Story;
10
+ export declare const SquareCard: Story;
11
+ export declare const InvalidImage: Story;
12
+ export declare const NoImage: Story;
@@ -0,0 +1,5 @@
1
+ import type { Component } from "jarkup-ts";
2
+ export interface ElmJarkupProps {
3
+ jsonComponents: Component[];
4
+ }
5
+ export declare const ElmJarkup: import("@builder.io/qwik").Component<ElmJarkupProps>;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmJarkup } from "./elm-jarkup";
3
+ declare const meta: Meta<typeof ElmJarkup>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,2 @@
1
+ export type ElmTableBodyProps = object;
2
+ export declare const ElmTableBody: import("@builder.io/qwik").Component<object>;
@@ -0,0 +1,12 @@
1
+ export interface ElmTableCellProps {
2
+ /**
3
+ * Whether the cell is a header cell.
4
+ */
5
+ hasHeader?: boolean;
6
+ /**
7
+ * The text content of the cell.
8
+ * If not provided, the cell will render its children as content.
9
+ */
10
+ text?: string;
11
+ }
12
+ export declare const ElmTableCell: import("@builder.io/qwik").Component<ElmTableCellProps>;
@@ -0,0 +1,3 @@
1
+ export declare const HasHeaderContext: import("@builder.io/qwik").ContextId<boolean>;
2
+ export type ElmTableHeaderProps = object;
3
+ export declare const ElmTableHeader: import("@builder.io/qwik").Component<object>;
@@ -0,0 +1,2 @@
1
+ export type ElmTableRowProps = object;
2
+ export declare const ElmTableRow: import("@builder.io/qwik").Component<object>;
@@ -0,0 +1,13 @@
1
+ import type { CSSProperties } from "@builder.io/qwik";
2
+ export declare const HasRowHeaderContext: import("@builder.io/qwik").ContextId<Readonly<{
3
+ value: boolean;
4
+ }>>;
5
+ export interface ElmTableProps {
6
+ /**
7
+ * The margin of the table.
8
+ */
9
+ margin?: CSSProperties["marginBlock"];
10
+ caption?: string;
11
+ hasRowHeader?: boolean;
12
+ }
13
+ export declare const ElmTable: import("@builder.io/qwik").Component<ElmTableProps>;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmTable } from "./elm-table";
3
+ declare const meta: Meta<typeof ElmTable>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,4 @@
1
+ export interface ElmBlockQuoteProps {
2
+ cite?: string;
3
+ }
4
+ export declare const ElmBlockQuote: import("@builder.io/qwik").Component<ElmBlockQuoteProps>;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmBlockQuote } from "./elm-block-quote";
3
+ declare const meta: Meta<typeof ElmBlockQuote>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,8 @@
1
+ export type AlertType = "note" | "tip" | "important" | "warning" | "caution";
2
+ export interface ElmCalloutProps {
3
+ /**
4
+ * Type of alert
5
+ */
6
+ type?: AlertType;
7
+ }
8
+ export declare const ElmCallout: import("@builder.io/qwik").Component<ElmCalloutProps>;
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmCallout } from "./elm-callout";
3
+ declare const meta: Meta<typeof ElmCallout>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const Tip: Story;
8
+ export declare const Important: Story;
9
+ export declare const Warning: Story;
10
+ export declare const Caution: Story;
@@ -0,0 +1,8 @@
1
+ import { CSSProperties } from "@builder.io/qwik";
2
+ export type ElmDividerProps = {
3
+ /**
4
+ * The margin of the divider.
5
+ */
6
+ margin?: CSSProperties["margin-block"];
7
+ };
8
+ export declare const ElmDivider: import("@builder.io/qwik").Component<ElmDividerProps>;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "storybook-framework-qwik";
2
+ import { ElmDivider } from "./elm-divider";
3
+ declare const meta: Meta<typeof ElmDivider>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,7 @@
1
+ export interface ElmFragmentIdentifierProps {
2
+ /**
3
+ * ID of the heading element.
4
+ */
5
+ id: string;
6
+ }
7
+ export declare const ElmFragmentIdentifier: import("@builder.io/qwik").Component<ElmFragmentIdentifierProps>;