@elmethis/qwik 0.0.2 → 0.0.4
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/.prettierignore +6 -0
- package/.storybook/main.ts +23 -0
- package/.storybook/preview-head.html +4 -0
- package/.storybook/preview.tsx +51 -0
- package/.storybook/sb.scss +13 -0
- package/.storybook/tsconfig.json +24 -0
- package/eslint.config.js +79 -0
- package/package.json +5 -8
- package/src/assets/bg1.webp +0 -0
- package/src/assets/bg2.webp +0 -0
- package/src/assets/images/2.svg +4 -0
- package/src/assets/images/lamdscape.svg +4 -0
- package/src/assets/images/portrait.svg +4 -0
- package/src/assets/images/square.svg +4 -0
- package/src/assets/vite.svg +1 -0
- package/src/assets/vue.svg +1 -0
- package/src/components/code/elm-code-block.module.scss +67 -0
- package/src/components/code/elm-code-block.stories.tsx +44 -0
- package/src/components/code/elm-code-block.tsx +95 -0
- package/src/components/code/elm-katex.stories.tsx +28 -0
- package/src/components/code/elm-katex.tsx +34 -0
- package/src/components/code/elm-shiki-highlighter.global.scss +18 -0
- package/src/components/code/elm-shiki-highlighter.stories.tsx +21 -0
- package/src/components/code/elm-shiki-highlighter.tsx +44 -0
- package/src/components/code/seed/main.rs +24 -0
- package/{lib/qwik31.js → src/components/code/shikiInstance.ts} +8 -11
- package/src/components/containments/elm-toggle.module.scss +132 -0
- package/src/components/containments/elm-toggle.stories.tsx +34 -0
- package/src/components/containments/elm-toggle.tsx +106 -0
- package/src/components/fallback/elm-block-fallback.module.scss +8 -0
- package/src/components/fallback/elm-block-fallback.stories.tsx +14 -0
- package/src/components/fallback/elm-block-fallback.tsx +20 -0
- package/src/components/fallback/elm-rectangle-wave.module.scss +42 -0
- package/src/components/fallback/elm-rectangle-wave.stories.tsx +28 -0
- package/src/components/fallback/elm-rectangle-wave.tsx +11 -0
- package/src/components/icon/elm-dot-loading-icon.module.scss +53 -0
- package/src/components/icon/elm-dot-loading-icon.stories.tsx +15 -0
- package/src/components/icon/elm-dot-loading-icon.tsx +35 -0
- package/src/components/icon/elm-inline-icon.module.scss +21 -0
- package/src/components/icon/elm-inline-icon.stories.tsx +16 -0
- package/src/components/icon/elm-inline-icon.tsx +25 -0
- package/src/components/icon/elm-language-icon.stories.tsx +22 -0
- package/src/components/icon/elm-language-icon.tsx +167 -0
- package/src/components/icon/elm-mdi-icon.module.scss +8 -0
- package/src/components/icon/elm-mdi-icon.stories.tsx +25 -0
- package/src/components/icon/elm-mdi-icon.tsx +34 -0
- package/src/components/icon/languages/bash.module.scss +6 -0
- package/src/components/icon/languages/bash.tsx +27 -0
- package/src/components/icon/languages/c-plus-plus.tsx +33 -0
- package/src/components/icon/languages/c-sharp.tsx +29 -0
- package/src/components/icon/languages/c.tsx +27 -0
- package/src/components/icon/languages/css.tsx +21 -0
- package/src/components/icon/languages/go.tsx +22 -0
- package/src/components/icon/languages/html.tsx +30 -0
- package/src/components/icon/languages/java.tsx +37 -0
- package/src/components/icon/languages/javascript.tsx +22 -0
- package/src/components/icon/languages/json.tsx +53 -0
- package/src/components/icon/languages/kotlin.tsx +36 -0
- package/src/components/icon/languages/language-interface.ts +4 -0
- package/src/components/icon/languages/lua.tsx +29 -0
- package/src/components/icon/languages/npm.tsx +25 -0
- package/src/components/icon/languages/python.tsx +67 -0
- package/src/components/icon/languages/rust.tsx +19 -0
- package/src/components/icon/languages/sql.tsx +21 -0
- package/src/components/icon/languages/terraform.tsx +31 -0
- package/src/components/icon/languages/typescript.tsx +22 -0
- package/src/components/media/elm-block-image.module.scss +68 -0
- package/src/components/media/elm-block-image.stories.tsx +79 -0
- package/src/components/media/elm-block-image.tsx +110 -0
- package/src/components/media/elm-file.module.scss +43 -0
- package/src/components/media/elm-file.stories.tsx +27 -0
- package/src/components/media/elm-file.tsx +75 -0
- package/src/components/navigation/elm-bookmark.module.scss +100 -0
- package/src/components/navigation/elm-bookmark.stories.tsx +87 -0
- package/src/components/navigation/elm-bookmark.tsx +72 -0
- package/src/components/others/elm-jarkup.module.scss +26 -0
- package/src/components/others/elm-jarkup.stories.tsx +18 -0
- package/src/components/others/elm-jarkup.tsx +267 -0
- package/src/components/table/elm-table-body.tsx +14 -0
- package/src/components/table/elm-table-cell.module.scss +41 -0
- package/src/components/table/elm-table-cell.tsx +33 -0
- package/src/components/table/elm-table-header.module.scss +8 -0
- package/src/components/table/elm-table-header.tsx +21 -0
- package/src/components/table/elm-table-row.module.scss +28 -0
- package/src/components/table/elm-table-row.tsx +15 -0
- package/src/components/table/elm-table.module.scss +29 -0
- package/src/components/table/elm-table.stories.tsx +67 -0
- package/src/components/table/elm-table.tsx +63 -0
- package/src/components/typography/elm-block-quote.module.scss +29 -0
- package/src/components/typography/elm-block-quote.stories.tsx +22 -0
- package/src/components/typography/elm-block-quote.tsx +34 -0
- package/src/components/typography/elm-callout.module.scss +36 -0
- package/src/components/typography/elm-callout.stories.tsx +47 -0
- package/src/components/typography/elm-callout.tsx +52 -0
- package/src/components/typography/elm-divider.module.scss +6 -0
- package/src/components/typography/elm-divider.stories.tsx +14 -0
- package/src/components/typography/elm-divider.tsx +14 -0
- package/src/components/typography/elm-fragment-identifier.module.scss +28 -0
- package/src/components/typography/elm-fragment-identifier.stories.tsx +14 -0
- package/src/components/typography/elm-fragment-identifier.tsx +31 -0
- package/src/components/typography/elm-heading.module.scss +120 -0
- package/src/components/typography/elm-heading.stories.tsx +42 -0
- package/src/components/typography/elm-heading.tsx +40 -0
- package/src/components/typography/elm-inline-text.module.scss +114 -0
- package/src/components/typography/elm-inline-text.stories.tsx +70 -0
- package/src/components/typography/elm-inline-text.tsx +147 -0
- package/src/components/typography/elm-list.global.scss +66 -0
- package/src/components/typography/elm-list.stories.tsx +61 -0
- package/src/components/typography/elm-list.tsx +39 -0
- package/src/components/typography/elm-paragraph.module.scss +21 -0
- package/src/components/typography/elm-paragraph.stories.tsx +47 -0
- package/src/components/typography/elm-paragraph.tsx +31 -0
- package/src/entry.dev.tsx +17 -0
- package/{lib-types/entry.ssr.d.ts → src/entry.ssr.tsx} +9 -2
- package/src/global.d.ts +13 -0
- package/src/hooks/useDelayedSignal.ts +27 -0
- package/src/hooks/useInView.tsx +23 -0
- package/src/index.ts +113 -0
- package/src/root.tsx +13 -0
- package/src/styles/text.module.scss +17 -0
- package/src/vite-env.d.ts +1 -0
- package/tsconfig.json +21 -0
- package/vite.config.ts +36 -0
- package/lib/assets/6FDiDjPb-qwik.css +0 -955
- package/lib/qwik.js +0 -56
- package/lib/qwik10.js +0 -108
- package/lib/qwik11.js +0 -25
- package/lib/qwik12.js +0 -87
- package/lib/qwik13.js +0 -62
- package/lib/qwik14.js +0 -62
- package/lib/qwik15.js +0 -44
- package/lib/qwik16.js +0 -58
- package/lib/qwik17.js +0 -14
- package/lib/qwik18.js +0 -24
- package/lib/qwik19.js +0 -41
- package/lib/qwik2.js +0 -68
- package/lib/qwik20.js +0 -89
- package/lib/qwik21.js +0 -28
- package/lib/qwik22.js +0 -24
- package/lib/qwik23.js +0 -57
- package/lib/qwik24.js +0 -15
- package/lib/qwik25.js +0 -12
- package/lib/qwik26.js +0 -17
- package/lib/qwik27.js +0 -27
- package/lib/qwik28.js +0 -193
- package/lib/qwik29.js +0 -17
- package/lib/qwik3.js +0 -17
- package/lib/qwik30.js +0 -8
- package/lib/qwik33.js +0 -32
- package/lib/qwik34.js +0 -6
- package/lib/qwik35.js +0 -6
- package/lib/qwik36.js +0 -11
- package/lib/qwik37.js +0 -8
- package/lib/qwik38.js +0 -18
- package/lib/qwik39.js +0 -24
- package/lib/qwik4.js +0 -33
- package/lib/qwik40.js +0 -24
- package/lib/qwik41.js +0 -29
- package/lib/qwik42.js +0 -31
- package/lib/qwik43.js +0 -32
- package/lib/qwik44.js +0 -18
- package/lib/qwik45.js +0 -24
- package/lib/qwik46.js +0 -36
- package/lib/qwik47.js +0 -45
- package/lib/qwik48.js +0 -27
- package/lib/qwik49.js +0 -89
- package/lib/qwik5.js +0 -123
- package/lib/qwik50.js +0 -18
- package/lib/qwik51.js +0 -64
- package/lib/qwik52.js +0 -28
- package/lib/qwik53.js +0 -28
- package/lib/qwik54.js +0 -32
- package/lib/qwik55.js +0 -28
- package/lib/qwik56.js +0 -8
- package/lib/qwik57.js +0 -15
- package/lib/qwik58.js +0 -10
- package/lib/qwik59.js +0 -26
- package/lib/qwik6.js +0 -20
- package/lib/qwik60.js +0 -14
- package/lib/qwik61.js +0 -14
- package/lib/qwik62.js +0 -8
- package/lib/qwik63.js +0 -8
- package/lib/qwik64.js +0 -24
- package/lib/qwik65.js +0 -17
- package/lib/qwik67.js +0 -8
- package/lib/qwik68.js +0 -23
- package/lib/qwik69.js +0 -15
- package/lib/qwik7.js +0 -12
- package/lib/qwik70.js +0 -8
- package/lib/qwik71.js +0 -9
- package/lib/qwik72.js +0 -14
- package/lib/qwik73.js +0 -10
- package/lib/qwik74.js +0 -8
- package/lib/qwik8.js +0 -29
- package/lib/qwik9.js +0 -16
- package/lib-types/components/code/elm-code-block.d.ts +0 -21
- package/lib-types/components/code/elm-code-block.stories.d.ts +0 -9
- package/lib-types/components/code/elm-katex.d.ts +0 -15
- package/lib-types/components/code/elm-katex.stories.d.ts +0 -8
- package/lib-types/components/code/elm-shiki-highlighter.d.ts +0 -12
- package/lib-types/components/code/elm-shiki-highlighter.stories.d.ts +0 -6
- package/lib-types/components/code/shikiInstance.d.ts +0 -2
- package/lib-types/components/containments/elm-toggle.d.ts +0 -7
- package/lib-types/components/containments/elm-toggle.stories.d.ts +0 -6
- package/lib-types/components/fallback/elm-block-fallback.d.ts +0 -5
- package/lib-types/components/fallback/elm-block-fallback.stories.d.ts +0 -6
- package/lib-types/components/fallback/elm-rectangle-wave.d.ts +0 -4
- package/lib-types/components/fallback/elm-rectangle-wave.stories.d.ts +0 -6
- package/lib-types/components/icon/elm-dot-loading-icon.d.ts +0 -14
- package/lib-types/components/icon/elm-dot-loading-icon.stories.d.ts +0 -6
- package/lib-types/components/icon/elm-inline-icon.d.ts +0 -11
- package/lib-types/components/icon/elm-inline-icon.stories.d.ts +0 -6
- package/lib-types/components/icon/elm-language-icon.d.ts +0 -14
- package/lib-types/components/icon/elm-language-icon.stories.d.ts +0 -6
- package/lib-types/components/icon/elm-mdi-icon.d.ts +0 -8
- package/lib-types/components/icon/elm-mdi-icon.stories.d.ts +0 -6
- package/lib-types/components/icon/languages/bash.d.ts +0 -2
- package/lib-types/components/icon/languages/c-plus-plus.d.ts +0 -2
- package/lib-types/components/icon/languages/c-sharp.d.ts +0 -2
- package/lib-types/components/icon/languages/c.d.ts +0 -2
- package/lib-types/components/icon/languages/css.d.ts +0 -2
- package/lib-types/components/icon/languages/go.d.ts +0 -2
- package/lib-types/components/icon/languages/html.d.ts +0 -2
- package/lib-types/components/icon/languages/java.d.ts +0 -2
- package/lib-types/components/icon/languages/javascript.d.ts +0 -2
- package/lib-types/components/icon/languages/json.d.ts +0 -2
- package/lib-types/components/icon/languages/kotlin.d.ts +0 -2
- package/lib-types/components/icon/languages/language-interface.d.ts +0 -4
- package/lib-types/components/icon/languages/lua.d.ts +0 -2
- package/lib-types/components/icon/languages/npm.d.ts +0 -2
- package/lib-types/components/icon/languages/python.d.ts +0 -2
- package/lib-types/components/icon/languages/rust.d.ts +0 -2
- package/lib-types/components/icon/languages/sql.d.ts +0 -2
- package/lib-types/components/icon/languages/terraform.d.ts +0 -2
- package/lib-types/components/icon/languages/typescript.d.ts +0 -2
- package/lib-types/components/media/elm-block-image.d.ts +0 -16
- package/lib-types/components/media/elm-block-image.stories.d.ts +0 -12
- package/lib-types/components/media/elm-file.d.ts +0 -15
- package/lib-types/components/media/elm-file.stories.d.ts +0 -7
- package/lib-types/components/navigation/elm-bookmark.d.ts +0 -24
- package/lib-types/components/navigation/elm-bookmark.stories.d.ts +0 -12
- package/lib-types/components/others/elm-jarkup.d.ts +0 -5
- package/lib-types/components/others/elm-jarkup.stories.d.ts +0 -6
- package/lib-types/components/table/elm-table-body.d.ts +0 -2
- package/lib-types/components/table/elm-table-cell.d.ts +0 -12
- package/lib-types/components/table/elm-table-header.d.ts +0 -3
- package/lib-types/components/table/elm-table-row.d.ts +0 -2
- package/lib-types/components/table/elm-table.d.ts +0 -13
- package/lib-types/components/table/elm-table.stories.d.ts +0 -6
- package/lib-types/components/typography/elm-block-quote.d.ts +0 -4
- package/lib-types/components/typography/elm-block-quote.stories.d.ts +0 -6
- package/lib-types/components/typography/elm-callout.d.ts +0 -8
- package/lib-types/components/typography/elm-callout.stories.d.ts +0 -10
- package/lib-types/components/typography/elm-divider.d.ts +0 -8
- package/lib-types/components/typography/elm-divider.stories.d.ts +0 -6
- package/lib-types/components/typography/elm-fragment-identifier.d.ts +0 -7
- package/lib-types/components/typography/elm-fragment-identifier.stories.d.ts +0 -6
- package/lib-types/components/typography/elm-heading.d.ts +0 -6
- package/lib-types/components/typography/elm-heading.stories.d.ts +0 -7
- package/lib-types/components/typography/elm-inline-text.d.ts +0 -54
- package/lib-types/components/typography/elm-inline-text.stories.d.ts +0 -13
- package/lib-types/components/typography/elm-list.d.ts +0 -5
- package/lib-types/components/typography/elm-list.stories.d.ts +0 -8
- package/lib-types/components/typography/elm-paragraph.d.ts +0 -5
- package/lib-types/components/typography/elm-paragraph.stories.d.ts +0 -9
- package/lib-types/entry.dev.d.ts +0 -2
- package/lib-types/hooks/useDelayedSignal.d.ts +0 -6
- package/lib-types/hooks/useInView.d.ts +0 -6
- package/lib-types/index.d.ts +0 -27
- package/lib-types/root.d.ts +0 -2
- /package/{lib-types/components/table/index.d.ts → src/components/table/index.ts} +0 -0
package/lib/qwik54.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
-
import { component$ } from "@builder.io/qwik";
|
|
3
|
-
const Cplusplus = component$(({ size = 24, ...props }) => {
|
|
4
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
viewBox: "0 0 128 128",
|
|
7
|
-
width: size,
|
|
8
|
-
height: size,
|
|
9
|
-
...props,
|
|
10
|
-
children: [
|
|
11
|
-
/* @__PURE__ */ jsx("path", {
|
|
12
|
-
fill: "#00599c",
|
|
13
|
-
d: "M118.766 95.82c.89-1.543 1.441-3.28 1.441-4.843V36.78c0-1.558-.55-3.297-1.441-4.84l-55.32 31.94Zm0 0"
|
|
14
|
-
}),
|
|
15
|
-
/* @__PURE__ */ jsx("path", {
|
|
16
|
-
fill: "#004482",
|
|
17
|
-
d: "m68.36 126.586l46.933-27.094c1.352-.781 2.582-2.129 3.473-3.672l-55.32-31.94L8.12 95.82c.89 1.543 2.121 2.89 3.473 3.672l46.933 27.094c2.703 1.562 7.13 1.562 9.832 0Zm0 0"
|
|
18
|
-
}),
|
|
19
|
-
/* @__PURE__ */ jsx("path", {
|
|
20
|
-
fill: "#659ad2",
|
|
21
|
-
d: "M118.766 31.941c-.891-1.546-2.121-2.894-3.473-3.671L68.359 1.172c-2.703-1.563-7.129-1.563-9.832 0L11.594 28.27C8.89 29.828 6.68 33.66 6.68 36.78v54.196c0 1.562.55 3.3 1.441 4.843L63.445 63.88Zm0 0"
|
|
22
|
-
}),
|
|
23
|
-
/* @__PURE__ */ jsx("path", {
|
|
24
|
-
fill: "#fff",
|
|
25
|
-
d: "M63.445 26.035c-20.867 0-37.843 16.977-37.843 37.844s16.976 37.844 37.843 37.844c13.465 0 26.024-7.247 32.77-18.91L79.84 73.335c-3.38 5.84-9.66 9.465-16.395 9.465c-10.433 0-18.922-8.488-18.922-18.922s8.49-18.922 18.922-18.922c6.73 0 13.017 3.629 16.39 9.465l16.38-9.477c-6.75-11.664-19.305-18.91-32.77-18.91zM92.88 57.57v4.207h-4.207v4.203h4.207v4.207h4.203V65.98h4.203v-4.203h-4.203V57.57zm15.766 0v4.207h-4.204v4.203h4.204v4.207h4.207V65.98h4.203v-4.203h-4.203V57.57z"
|
|
26
|
-
})
|
|
27
|
-
]
|
|
28
|
-
});
|
|
29
|
-
});
|
|
30
|
-
export {
|
|
31
|
-
Cplusplus
|
|
32
|
-
};
|
package/lib/qwik55.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
-
import { component$ } from "@builder.io/qwik";
|
|
3
|
-
const C = component$(({ size = 24, ...props }) => {
|
|
4
|
-
return /* @__PURE__ */ jsxs("svg", {
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
viewBox: "0 0 128 128",
|
|
7
|
-
width: size,
|
|
8
|
-
height: size,
|
|
9
|
-
...props,
|
|
10
|
-
children: [
|
|
11
|
-
/* @__PURE__ */ jsx("path", {
|
|
12
|
-
fill: "#659ad3",
|
|
13
|
-
d: "M115.4 30.7L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.4 1 3.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7"
|
|
14
|
-
}),
|
|
15
|
-
/* @__PURE__ */ jsx("path", {
|
|
16
|
-
fill: "#03599c",
|
|
17
|
-
d: "M10.7 95.3c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c0-.9-.1-1.9-.6-2.8z"
|
|
18
|
-
}),
|
|
19
|
-
/* @__PURE__ */ jsx("path", {
|
|
20
|
-
fill: "#fff",
|
|
21
|
-
d: "M85.3 76.1C81.1 83.5 73.1 88.5 64 88.5c-13.5 0-24.5-11-24.5-24.5s11-24.5 24.5-24.5c9.1 0 17.1 5 21.3 12.5l13-7.5c-6.8-11.9-19.6-20-34.3-20c-21.8 0-39.5 17.7-39.5 39.5s17.7 39.5 39.5 39.5c14.6 0 27.4-8 34.2-19.8z"
|
|
22
|
-
})
|
|
23
|
-
]
|
|
24
|
-
});
|
|
25
|
-
});
|
|
26
|
-
export {
|
|
27
|
-
C
|
|
28
|
-
};
|
package/lib/qwik56.js
DELETED
package/lib/qwik57.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const image = "_image_zq5gl_11";
|
|
2
|
-
const fallback = "_fallback_zq5gl_31";
|
|
3
|
-
const styles = {
|
|
4
|
-
"block-image": "_block-image_zq5gl_1",
|
|
5
|
-
"image-container": "_image-container_zq5gl_11",
|
|
6
|
-
image,
|
|
7
|
-
fallback,
|
|
8
|
-
"caption-box": "_caption-box_zq5gl_41",
|
|
9
|
-
"modal-container": "_modal-container_zq5gl_53"
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
styles as default,
|
|
13
|
-
fallback,
|
|
14
|
-
image
|
|
15
|
-
};
|
package/lib/qwik58.js
DELETED
package/lib/qwik59.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
const bookmark = "_bookmark_rgq1s_1";
|
|
2
|
-
const container = "_container_rgq1s_19";
|
|
3
|
-
const image = "_image_rgq1s_32";
|
|
4
|
-
const content = "_content_rgq1s_53";
|
|
5
|
-
const title = "_title_rgq1s_73";
|
|
6
|
-
const description = "_description_rgq1s_76";
|
|
7
|
-
const link = "_link_rgq1s_80";
|
|
8
|
-
const styles = {
|
|
9
|
-
bookmark,
|
|
10
|
-
container,
|
|
11
|
-
image,
|
|
12
|
-
content,
|
|
13
|
-
title,
|
|
14
|
-
description,
|
|
15
|
-
link
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
bookmark,
|
|
19
|
-
container,
|
|
20
|
-
content,
|
|
21
|
-
styles as default,
|
|
22
|
-
description,
|
|
23
|
-
image,
|
|
24
|
-
link,
|
|
25
|
-
title
|
|
26
|
-
};
|
package/lib/qwik6.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
-
import { component$ } from "@builder.io/qwik";
|
|
3
|
-
import styles from "./qwik34.js";
|
|
4
|
-
import { ElmDotLoadingIcon } from "./qwik8.js";
|
|
5
|
-
import { ElmRectangleWave } from "./qwik7.js";
|
|
6
|
-
const ElmBlockFallback = component$(({ height = "16rem" }) => {
|
|
7
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
8
|
-
class: styles["block-fallback"],
|
|
9
|
-
style: {
|
|
10
|
-
"--height": height
|
|
11
|
-
},
|
|
12
|
-
children: [
|
|
13
|
-
/* @__PURE__ */ jsx(ElmDotLoadingIcon, {}),
|
|
14
|
-
/* @__PURE__ */ jsx(ElmRectangleWave, {})
|
|
15
|
-
]
|
|
16
|
-
});
|
|
17
|
-
});
|
|
18
|
-
export {
|
|
19
|
-
ElmBlockFallback
|
|
20
|
-
};
|
package/lib/qwik60.js
DELETED
package/lib/qwik61.js
DELETED
package/lib/qwik62.js
DELETED
package/lib/qwik63.js
DELETED
package/lib/qwik64.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
const h1 = "_h1_1mgdk_10";
|
|
2
|
-
const h2 = "_h2_1mgdk_40";
|
|
3
|
-
const h3 = "_h3_1mgdk_75";
|
|
4
|
-
const h4 = "_h4_1mgdk_92";
|
|
5
|
-
const h5 = "_h5_1mgdk_96";
|
|
6
|
-
const h6 = "_h6_1mgdk_100";
|
|
7
|
-
const styles = {
|
|
8
|
-
"heading-common": "_heading-common_1mgdk_1",
|
|
9
|
-
h1,
|
|
10
|
-
h2,
|
|
11
|
-
h3,
|
|
12
|
-
h4,
|
|
13
|
-
h5,
|
|
14
|
-
h6
|
|
15
|
-
};
|
|
16
|
-
export {
|
|
17
|
-
styles as default,
|
|
18
|
-
h1,
|
|
19
|
-
h2,
|
|
20
|
-
h3,
|
|
21
|
-
h4,
|
|
22
|
-
h5,
|
|
23
|
-
h6
|
|
24
|
-
};
|
package/lib/qwik65.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const text = "_text_1gswr_1";
|
|
2
|
-
const code = "_code_1gswr_12";
|
|
3
|
-
const kbd = "_kbd_1gswr_21";
|
|
4
|
-
const link = "_link_1gswr_47";
|
|
5
|
-
const styles = {
|
|
6
|
-
text,
|
|
7
|
-
code,
|
|
8
|
-
kbd,
|
|
9
|
-
link
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
code,
|
|
13
|
-
styles as default,
|
|
14
|
-
kbd,
|
|
15
|
-
link,
|
|
16
|
-
text
|
|
17
|
-
};
|
package/lib/qwik67.js
DELETED
package/lib/qwik68.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { useSignal, useVisibleTask$ } from "@builder.io/qwik";
|
|
2
|
-
const useInView = (props) => {
|
|
3
|
-
const ref = useSignal();
|
|
4
|
-
const isVisible = useSignal(false);
|
|
5
|
-
useVisibleTask$(() => {
|
|
6
|
-
if (!ref.value) return;
|
|
7
|
-
const observer = new IntersectionObserver(([entry]) => {
|
|
8
|
-
isVisible.value = entry.isIntersecting;
|
|
9
|
-
}, {
|
|
10
|
-
rootMargin: "100px",
|
|
11
|
-
threshold: 0.1
|
|
12
|
-
});
|
|
13
|
-
observer.observe(ref.value);
|
|
14
|
-
return () => observer.disconnect();
|
|
15
|
-
});
|
|
16
|
-
return {
|
|
17
|
-
ref,
|
|
18
|
-
isVisible
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
useInView
|
|
23
|
-
};
|
package/lib/qwik69.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const table = "_table_x2nyq_1";
|
|
2
|
-
const caption = "_caption_x2nyq_8";
|
|
3
|
-
const spacing = "_spacing_x2nyq_25";
|
|
4
|
-
const styles = {
|
|
5
|
-
table,
|
|
6
|
-
caption,
|
|
7
|
-
"caption-inner": "_caption-inner_x2nyq_18",
|
|
8
|
-
spacing
|
|
9
|
-
};
|
|
10
|
-
export {
|
|
11
|
-
caption,
|
|
12
|
-
styles as default,
|
|
13
|
-
spacing,
|
|
14
|
-
table
|
|
15
|
-
};
|
package/lib/qwik7.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
-
import { component$ } from "@builder.io/qwik";
|
|
3
|
-
import styles from "./qwik35.js";
|
|
4
|
-
const ElmRectangleWave = component$(() => {
|
|
5
|
-
return /* @__PURE__ */ jsx("div", {
|
|
6
|
-
"aria-hidden": "true",
|
|
7
|
-
class: styles["rectangle-wave"]
|
|
8
|
-
});
|
|
9
|
-
});
|
|
10
|
-
export {
|
|
11
|
-
ElmRectangleWave
|
|
12
|
-
};
|
package/lib/qwik70.js
DELETED
package/lib/qwik71.js
DELETED
package/lib/qwik72.js
DELETED
package/lib/qwik73.js
DELETED
package/lib/qwik74.js
DELETED
package/lib/qwik8.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
-
import { component$ } from "@builder.io/qwik";
|
|
3
|
-
import styles from "./qwik36.js";
|
|
4
|
-
const ElmDotLoadingIcon = component$(({ size = "4em", color = "#606875" }) => {
|
|
5
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
6
|
-
class: styles.wrapper,
|
|
7
|
-
style: {
|
|
8
|
-
"--size": size,
|
|
9
|
-
"--color": color
|
|
10
|
-
},
|
|
11
|
-
children: [
|
|
12
|
-
/* @__PURE__ */ jsx("div", {
|
|
13
|
-
class: styles.dot,
|
|
14
|
-
"aria-hidden": "true"
|
|
15
|
-
}),
|
|
16
|
-
/* @__PURE__ */ jsx("div", {
|
|
17
|
-
class: styles.dot,
|
|
18
|
-
"aria-hidden": "true"
|
|
19
|
-
}),
|
|
20
|
-
/* @__PURE__ */ jsx("div", {
|
|
21
|
-
class: styles.dot,
|
|
22
|
-
"aria-hidden": "true"
|
|
23
|
-
})
|
|
24
|
-
]
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
export {
|
|
28
|
-
ElmDotLoadingIcon
|
|
29
|
-
};
|
package/lib/qwik9.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { jsx } from "@builder.io/qwik/jsx-runtime";
|
|
2
|
-
import { component$ } from "@builder.io/qwik";
|
|
3
|
-
import styles from "./qwik37.js";
|
|
4
|
-
const ElmInlineIcon = component$(({ src, alt }) => {
|
|
5
|
-
return /* @__PURE__ */ jsx("div", {
|
|
6
|
-
class: styles.icon,
|
|
7
|
-
children: /* @__PURE__ */ jsx("img", {
|
|
8
|
-
src,
|
|
9
|
-
alt,
|
|
10
|
-
class: styles.icon
|
|
11
|
-
})
|
|
12
|
-
});
|
|
13
|
-
});
|
|
14
|
-
export {
|
|
15
|
-
ElmInlineIcon
|
|
16
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
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>;
|
|
@@ -1,9 +0,0 @@
|
|
|
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;
|
|
@@ -1,15 +0,0 @@
|
|
|
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>;
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import "./elm-shiki-highlighter.global.scss";
|
|
2
|
-
export interface ElmShikiHighlighterProps {
|
|
3
|
-
/**
|
|
4
|
-
* The code to display.
|
|
5
|
-
*/
|
|
6
|
-
code: string;
|
|
7
|
-
/**
|
|
8
|
-
* The language of the code.
|
|
9
|
-
*/
|
|
10
|
-
language?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const ElmShikiHighlighter: import("@builder.io/qwik").Component<ElmShikiHighlighterProps>;
|
|
@@ -1,6 +0,0 @@
|
|
|
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;
|
|
@@ -1,6 +0,0 @@
|
|
|
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;
|
|
@@ -1,6 +0,0 @@
|
|
|
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;
|
|
@@ -1,14 +0,0 @@
|
|
|
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>;
|
|
@@ -1,6 +0,0 @@
|
|
|
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;
|
|
@@ -1,14 +0,0 @@
|
|
|
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>;
|
|
@@ -1,6 +0,0 @@
|
|
|
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;
|