@elmethis/react 0.2.6 → 0.3.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.
Files changed (59) hide show
  1. package/README.md +3 -5
  2. package/lib/favicon.svg +1 -0
  3. package/lib/icons.svg +24 -0
  4. package/lib/index.react.cjs +1 -0
  5. package/lib/index.react.mjs +10 -0
  6. package/lib/style.css +2 -0
  7. package/lib-types/components/template/ElmTemplate.d.ts +6 -0
  8. package/lib-types/components/template/ElmTemplate.d.ts.map +1 -0
  9. package/lib-types/lib.d.ts +2 -0
  10. package/lib-types/lib.d.ts.map +1 -0
  11. package/package.json +39 -36
  12. package/dist/_virtual/compiler-runtime.mjs +0 -5
  13. package/dist/_virtual/compiler-runtime2.mjs +0 -4
  14. package/dist/_virtual/jsx-runtime.mjs +0 -5
  15. package/dist/_virtual/jsx-runtime2.mjs +0 -4
  16. package/dist/_virtual/react-compiler-runtime.development.mjs +0 -4
  17. package/dist/_virtual/react-compiler-runtime.production.mjs +0 -4
  18. package/dist/_virtual/react-jsx-runtime.development.mjs +0 -4
  19. package/dist/_virtual/react-jsx-runtime.production.mjs +0 -4
  20. package/dist/components/icon/ElmInlineIcon.d.ts +0 -3
  21. package/dist/components/icon/ElmInlineIcon.mjs +0 -19
  22. package/dist/components/icon/ElmInlineIcon.module.scss.mjs +0 -8
  23. package/dist/components/icon/ElmInlineIcon.stories.d.ts +0 -6
  24. package/dist/components/icon/ElmMdiIcon.d.ts +0 -9
  25. package/dist/components/icon/ElmMdiIcon.mjs +0 -52
  26. package/dist/components/icon/ElmMdiIcon.module.scss.mjs +0 -8
  27. package/dist/components/icon/ElmMdiIcon.stories.d.ts +0 -6
  28. package/dist/components/media/ElmImage.d.ts +0 -24
  29. package/dist/components/media/ElmImage.mjs +0 -153
  30. package/dist/components/media/ElmImage.module.scss.mjs +0 -14
  31. package/dist/components/media/ElmImage.stories.d.ts +0 -9
  32. package/dist/components/template/ElmTemplate.d.ts +0 -5
  33. package/dist/components/template/ElmTemplate.stories.d.ts +0 -6
  34. package/dist/components/typography/ElmBlockQuote.d.ts +0 -6
  35. package/dist/components/typography/ElmBlockQuote.mjs +0 -48
  36. package/dist/components/typography/ElmBlockQuote.module.scss.mjs +0 -8
  37. package/dist/components/typography/ElmBlockQuote.stories.d.ts +0 -7
  38. package/dist/components/typography/ElmCallout.d.ts +0 -9
  39. package/dist/components/typography/ElmCallout.mjs +0 -107
  40. package/dist/components/typography/ElmCallout.module.scss.mjs +0 -11
  41. package/dist/components/typography/ElmCallout.stories.d.ts +0 -10
  42. package/dist/components/typography/ElmInlineText.d.ts +0 -54
  43. package/dist/components/typography/ElmInlineText.mjs +0 -41
  44. package/dist/components/typography/ElmInlineText.module.scss.mjs +0 -20
  45. package/dist/components/typography/ElmInlineText.stories.d.ts +0 -11
  46. package/dist/components/typography/ElmParagraph.d.ts +0 -3
  47. package/dist/components/typography/ElmParagraph.mjs +0 -18
  48. package/dist/components/typography/ElmParagraph.stories.d.ts +0 -6
  49. package/dist/index.d.ts +0 -7
  50. package/dist/index.mjs +0 -28
  51. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs +0 -17
  52. package/dist/node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-compiler-runtime.development.mjs +0 -31
  53. package/dist/node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-compiler-runtime.production.mjs +0 -25
  54. package/dist/node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.development.mjs +0 -271
  55. package/dist/node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.production.mjs +0 -42
  56. package/dist/node_modules/.pnpm/react@19.2.0/node_modules/react/compiler-runtime.mjs +0 -18
  57. package/dist/node_modules/.pnpm/react@19.2.0/node_modules/react/jsx-runtime.mjs +0 -18
  58. package/dist/styles/text.module.scss.mjs +0 -8
  59. package/dist/vite.svg +0 -1
@@ -1,48 +0,0 @@
1
- import { j as jsxRuntimeExports } from "../../_virtual/jsx-runtime.mjs";
2
- import { c as compilerRuntimeExports } from "../../_virtual/compiler-runtime.mjs";
3
- import "react";
4
- import { clsx } from "../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs";
5
- import style from "./ElmBlockQuote.module.scss.mjs";
6
- import textStyle from "../../styles/text.module.scss.mjs";
7
- const ElmBlockQuote = (props) => {
8
- const $ = compilerRuntimeExports.c(8);
9
- let t0;
10
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
11
- t0 = clsx([style.blockquote, textStyle.text]);
12
- $[0] = t0;
13
- } else {
14
- t0 = $[0];
15
- }
16
- let t1;
17
- if ($[1] !== props.cite || $[2] !== props.source) {
18
- t1 = props.source != null && (props.cite ? /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: props.cite, target: "_blank", rel: "noopener noreferrer", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("cite", { children: [
19
- "- ",
20
- props.source
21
- ] }) }) : /* @__PURE__ */ jsxRuntimeExports.jsxs("cite", { children: [
22
- "- ",
23
- props.source
24
- ] }));
25
- $[1] = props.cite;
26
- $[2] = props.source;
27
- $[3] = t1;
28
- } else {
29
- t1 = $[3];
30
- }
31
- let t2;
32
- if ($[4] !== props.children || $[5] !== props.cite || $[6] !== t1) {
33
- t2 = /* @__PURE__ */ jsxRuntimeExports.jsxs("blockquote", { className: t0, cite: props.cite, children: [
34
- props.children,
35
- t1
36
- ] });
37
- $[4] = props.children;
38
- $[5] = props.cite;
39
- $[6] = t1;
40
- $[7] = t2;
41
- } else {
42
- t2 = $[7];
43
- }
44
- return t2;
45
- };
46
- export {
47
- ElmBlockQuote
48
- };
@@ -1,8 +0,0 @@
1
- const blockquote = "_blockquote_1msat_1";
2
- const style = {
3
- blockquote
4
- };
5
- export {
6
- blockquote,
7
- style as default
8
- };
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { ElmBlockQuote } from './ElmBlockQuote';
3
- declare const meta: Meta<typeof ElmBlockQuote>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Primary: Story;
7
- export declare const OnlyContent: Story;
@@ -1,9 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- export type AlertType = "note" | "tip" | "important" | "warning" | "caution";
3
- export interface ElmCalloutProps extends ComponentProps<"aside"> {
4
- /**
5
- * Type of alert
6
- */
7
- type?: AlertType;
8
- }
9
- export declare const ElmCallout: ({ type, children }: ElmCalloutProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,107 +0,0 @@
1
- import { j as jsxRuntimeExports } from "../../_virtual/jsx-runtime.mjs";
2
- import { c as compilerRuntimeExports } from "../../_virtual/compiler-runtime.mjs";
3
- import { mdiAlertOctagram, mdiAlert, mdiShieldAlert, mdiLightbulbOn, mdiInformation } from "@mdi/js";
4
- import { ElmMdiIcon } from "../icon/ElmMdiIcon.mjs";
5
- import "react";
6
- import style from "./ElmCallout.module.scss.mjs";
7
- import { ElmInlineText } from "./ElmInlineText.mjs";
8
- const colors = {
9
- note: {
10
- code: "#6987b8",
11
- icon: mdiInformation
12
- },
13
- tip: {
14
- code: "#59b57c",
15
- icon: mdiLightbulbOn
16
- },
17
- important: {
18
- code: "#9771bd",
19
- icon: mdiShieldAlert
20
- },
21
- warning: {
22
- code: "#b8a36e",
23
- icon: mdiAlert
24
- },
25
- caution: {
26
- code: "#b36472",
27
- icon: mdiAlertOctagram
28
- }
29
- };
30
- const ElmCallout = (t0) => {
31
- const $ = compilerRuntimeExports.c(17);
32
- const {
33
- type: t1,
34
- children
35
- } = t0;
36
- const type = t1 === void 0 ? "note" : t1;
37
- const t2 = colors[type];
38
- let t3;
39
- if ($[0] !== t2.code) {
40
- t3 = {
41
- "--callout-color": t2.code
42
- };
43
- $[0] = t2.code;
44
- $[1] = t3;
45
- } else {
46
- t3 = $[1];
47
- }
48
- const t4 = t3;
49
- const t5 = colors[type];
50
- const t6 = colors[type];
51
- let t7;
52
- if ($[2] !== t5.icon || $[3] !== t6.code) {
53
- t7 = /* @__PURE__ */ jsxRuntimeExports.jsx(ElmMdiIcon, { d: t5.icon, color: t6.code });
54
- $[2] = t5.icon;
55
- $[3] = t6.code;
56
- $[4] = t7;
57
- } else {
58
- t7 = $[4];
59
- }
60
- let t8;
61
- if ($[5] !== type) {
62
- t8 = type.toUpperCase();
63
- $[5] = type;
64
- $[6] = t8;
65
- } else {
66
- t8 = $[6];
67
- }
68
- const t9 = colors[type];
69
- let t10;
70
- if ($[7] !== t8 || $[8] !== t9.code) {
71
- t10 = /* @__PURE__ */ jsxRuntimeExports.jsx(ElmInlineText, { text: t8, color: t9.code });
72
- $[7] = t8;
73
- $[8] = t9.code;
74
- $[9] = t10;
75
- } else {
76
- t10 = $[9];
77
- }
78
- let t11;
79
- if ($[10] !== t10 || $[11] !== t7) {
80
- t11 = /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: style.header, children: [
81
- t7,
82
- t10
83
- ] });
84
- $[10] = t10;
85
- $[11] = t7;
86
- $[12] = t11;
87
- } else {
88
- t11 = $[12];
89
- }
90
- let t12;
91
- if ($[13] !== children || $[14] !== t11 || $[15] !== t4) {
92
- t12 = /* @__PURE__ */ jsxRuntimeExports.jsxs("aside", { className: style.callout, style: t4, children: [
93
- t11,
94
- children
95
- ] });
96
- $[13] = children;
97
- $[14] = t11;
98
- $[15] = t4;
99
- $[16] = t12;
100
- } else {
101
- t12 = $[16];
102
- }
103
- return t12;
104
- };
105
- export {
106
- ElmCallout
107
- };
@@ -1,11 +0,0 @@
1
- const callout = "_callout_pqkj1_1";
2
- const header = "_header_pqkj1_28";
3
- const style = {
4
- callout,
5
- header
6
- };
7
- export {
8
- callout,
9
- style as default,
10
- header
11
- };
@@ -1,10 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { ElmCallout } from './ElmCallout';
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;
@@ -1,54 +0,0 @@
1
- import { ComponentProps, CSSProperties } from 'react';
2
- export interface ElmInlineTextProps extends ComponentProps<"span"> {
3
- /**
4
- * The text to display.
5
- */
6
- text?: string;
7
- /**
8
- * Specifies the color of the text.
9
- *
10
- * e.g.) `'red'`, `'#ff0000'`, `'rgba(255, 0, 0, 0.5)'`
11
- */
12
- color?: CSSProperties["color"];
13
- /**
14
- * Specifies the font size of the text.
15
- */
16
- size?: CSSProperties["fontSize"];
17
- /**
18
- * Specifies whether the text should be bold.
19
- */
20
- bold?: boolean;
21
- /**
22
- * Specifies whether the text should be italic.
23
- */
24
- italic?: boolean;
25
- /**
26
- * Specifies whether the text should be underlined.
27
- */
28
- underline?: boolean;
29
- /**
30
- * Specifies whether the text should be strikethrough.
31
- */
32
- strikethrough?: boolean;
33
- /**
34
- * Specifies whether the text should be displayed as code.
35
- */
36
- code?: boolean;
37
- kbd?: boolean;
38
- /**
39
- * Specifies the background color of the text.
40
- */
41
- backgroundColor?: CSSProperties["backgroundColor"];
42
- /**
43
- * The ruby text to display.
44
- */
45
- ruby?: string;
46
- /**
47
- * The URL to navigate to.
48
- *
49
- * e.g. `https://example.com`
50
- */
51
- href?: string;
52
- favicon?: string;
53
- }
54
- export declare const ElmInlineText: (props: ElmInlineTextProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,41 +0,0 @@
1
- import { j as jsxRuntimeExports } from "../../_virtual/jsx-runtime.mjs";
2
- import "react";
3
- import textStyle from "../../styles/text.module.scss.mjs";
4
- import style from "./ElmInlineText.module.scss.mjs";
5
- import { clsx } from "../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs";
6
- import { ElmInlineIcon } from "../icon/ElmInlineIcon.mjs";
7
- import { getLuminance } from "polished";
8
- const ElmInlineText = (props) => {
9
- const render = () => {
10
- const color = props.backgroundColor != null ? getLuminance(props.backgroundColor) < 0.5 ? "rgba(255, 255, 255, 0.7)" : "rgba(0, 0, 0, 0.7)" : void 0;
11
- if (props.href) {
12
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("a", { className: style.link, href: props.href, target: "blank", rel: "noopener noreferrer", children: [
13
- props.favicon && /* @__PURE__ */ jsxRuntimeExports.jsx(ElmInlineIcon, { src: props.favicon }),
14
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: props.text || props.children })
15
- ] });
16
- } else if (props.kbd) {
17
- return /* @__PURE__ */ jsxRuntimeExports.jsx("kbd", { className: clsx([textStyle.text, style.kbd]), children: props.text || props.children });
18
- } else {
19
- const classes = [];
20
- if (props.underline) classes.push(style.underline);
21
- let component = /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: clsx([textStyle.text, style.base].concat(classes)), style: {
22
- "--color": props.color ?? color,
23
- "--font-size": props.size,
24
- "--background-color": props.backgroundColor
25
- }, children: props.text || props.children });
26
- if (props.bold) component = /* @__PURE__ */ jsxRuntimeExports.jsx("strong", { children: component });
27
- if (props.italic) component = /* @__PURE__ */ jsxRuntimeExports.jsx("em", { children: component });
28
- if (props.strikethrough) component = /* @__PURE__ */ jsxRuntimeExports.jsx("del", { children: component });
29
- if (props.code) component = /* @__PURE__ */ jsxRuntimeExports.jsx("code", { className: style.code, children: component });
30
- if (props.ruby) component = /* @__PURE__ */ jsxRuntimeExports.jsxs("ruby", { className: textStyle.text, children: [
31
- component,
32
- /* @__PURE__ */ jsxRuntimeExports.jsx("rt", { children: props.ruby })
33
- ] });
34
- return component;
35
- }
36
- };
37
- return render();
38
- };
39
- export {
40
- ElmInlineText
41
- };
@@ -1,20 +0,0 @@
1
- const base = "_base_ctq5w_1";
2
- const underline = "_underline_ctq5w_5";
3
- const link = "_link_ctq5w_9";
4
- const code = "_code_ctq5w_36";
5
- const kbd = "_kbd_ctq5w_45";
6
- const style = {
7
- base,
8
- underline,
9
- link,
10
- code,
11
- kbd
12
- };
13
- export {
14
- base,
15
- code,
16
- style as default,
17
- kbd,
18
- link,
19
- underline
20
- };
@@ -1,11 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { ElmInlineText } from './ElmInlineText';
3
- declare const meta: Meta<typeof ElmInlineText>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Primary: Story;
7
- export declare const Colored: Story;
8
- export declare const Kbd: Story;
9
- export declare const Background: Story;
10
- export declare const Ruby: Story;
11
- export declare const Link: Story;
@@ -1,3 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- export type ElmParagraphProps = ComponentProps<"p">;
3
- export declare const ElmParagraph: (props: ElmParagraphProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,18 +0,0 @@
1
- import { j as jsxRuntimeExports } from "../../_virtual/jsx-runtime.mjs";
2
- import { c as compilerRuntimeExports } from "../../_virtual/compiler-runtime.mjs";
3
- import textStyle from "../../styles/text.module.scss.mjs";
4
- const ElmParagraph = (props) => {
5
- const $ = compilerRuntimeExports.c(2);
6
- let t0;
7
- if ($[0] !== props.children) {
8
- t0 = /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: textStyle.text, children: props.children });
9
- $[0] = props.children;
10
- $[1] = t0;
11
- } else {
12
- t0 = $[1];
13
- }
14
- return t0;
15
- };
16
- export {
17
- ElmParagraph
18
- };
@@ -1,6 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { ElmParagraph } from './ElmParagraph';
3
- declare const meta: Meta<typeof ElmParagraph>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Primary: Story;
package/dist/index.d.ts DELETED
@@ -1,7 +0,0 @@
1
- export { ElmInlineIcon, type ElmInlineIconProps, } from './components/icon/ElmInlineIcon';
2
- export { ElmMdiIcon, type ElmMdiIconProps } from './components/icon/ElmMdiIcon';
3
- export { ElmImage, type ElmImageProps } from './components/media/ElmImage';
4
- export { ElmBlockQuote, type ElmBlockQuoteProps, } from './components/typography/ElmBlockQuote';
5
- export { ElmCallout, type ElmCalloutProps, } from './components/typography/ElmCallout';
6
- export { ElmInlineText, type ElmInlineTextProps, } from './components/typography/ElmInlineText';
7
- export { ElmParagraph, type ElmParagraphProps, } from './components/typography/ElmParagraph';
package/dist/index.mjs DELETED
@@ -1,28 +0,0 @@
1
- (function() {
2
- "use strict";
3
- try {
4
- if (typeof document != "undefined") {
5
- var elementStyle = document.createElement("style");
6
- elementStyle.appendChild(document.createTextNode('._icon_67eyp_1{fill:#555b67;fill:var(--color, #555b67);transition:fill .2s;flex-shrink:0}[data-theme=dark] ._icon_67eyp_1{fill:#b0b5be;fill:var(--dark-color, #b0b5be)}\n._text_2fuj1_1{color:#606875;color:var(--color, #606875);font-size:normal;font-size:var(--font-size, normal)}._text_2fuj1_1::-moz-selection{color:#cccfd5;background-color:#3e434b;background-color:var(--color, #3e434b)}._text_2fuj1_1::selection{color:#cccfd5;background-color:#3e434b;background-color:var(--color, #3e434b)}[data-theme=dark] ._text_2fuj1_1{color:#b0b5be;color:var(--color, #b0b5be)}[data-theme=dark] ._text_2fuj1_1::-moz-selection{color:#3e434b;background-color:#cccfd5;background-color:var(--color, #cccfd5)}[data-theme=dark] ._text_2fuj1_1::selection{color:#3e434b;background-color:#cccfd5;background-color:var(--color, #cccfd5)}\n._icon_19g82_1{margin:0;padding:0;display:inline-block;vertical-align:middle;height:1em}._icon_19g82_1::-moz-selection{filter:brightness(1000%);background-color:#00000040;background-color:var(--color, rgba(0, 0, 0, .25))}._icon_19g82_1::selection{filter:brightness(1000%);background-color:#00000040;background-color:var(--color, rgba(0, 0, 0, .25))}[data-theme=dark] ._icon_19g82_1{color:#ffffffb3;color:var(--color, rgba(255, 255, 255, .7))}[data-theme=dark] ._icon_19g82_1::-moz-selection{color:#000000b3;background-color:#ffffff40;background-color:var(--color, rgba(255, 255, 255, .25))}[data-theme=dark] ._icon_19g82_1::selection{color:#000000b3;background-color:#ffffff40;background-color:var(--color, rgba(255, 255, 255, .25))}\n._blockquote_1msat_1{box-sizing:border-box;padding:.5rem 2rem;background-color:#e3e5e7;border-left:4px solid #606875}[data-theme=dark] ._blockquote_1msat_1{background-color:#3e434b;border-color:#b0b5be}._blockquote_1msat_1 a{all:unset;cursor:pointer;transition:color .1s}._blockquote_1msat_1 a:hover{color:#5879b0}._blockquote_1msat_1 cite{display:block;margin-block:1rem;text-align:right}\n._base_ctq5w_1{background-color:var(--background-color)}._underline_ctq5w_5{text-decoration:underline}._link_ctq5w_9{all:unset;box-sizing:border-box;padding:0 .25rem;font-size:var(--font-size);display:inline-flex;align-items:center;gap:.25rem;cursor:pointer;color:#6987b8;border-radius:.125rem;transition:background-color .2s,color .2s,opacity .2s}._link_ctq5w_9:hover{background-color:#6987b833}._link_ctq5w_9:active{opacity:.5}._link_ctq5w_9:visited{color:#9771bd;border-bottom:dashed 1px #9771bd}._link_ctq5w_9:visited:hover{background-color:#9771bd33}._code_ctq5w_36{margin-inline:.25rem;padding:2px .5em;font-size:calc(1em - 2px);border-radius:.125rem;background-color:#00000013;font-family:"Source Code Pro" monospace}._kbd_ctq5w_45{padding:.125rem .25rem;position:relative;border-radius:.125rem;background-color:#e6e6e6}[data-theme=dark] ._kbd_ctq5w_45{background-color:#404040}._kbd_ctq5w_45:before{z-index:-1;position:absolute;content:"";bottom:-.25em;left:0;height:100%;width:100%;background-color:#ccc;border-radius:0 0 .125rem .125rem;box-shadow:0 0 .125em #00000080}[data-theme=dark] ._kbd_ctq5w_45:before{background-color:#595959;box-shadow:0 0 .125em #ffffff80}\n._callout_pqkj1_1{box-sizing:border-box;padding:1rem 1rem 1rem 1.5rem;position:relative}._callout_pqkj1_1:after{position:absolute;content:"";top:0;left:0;width:4px;height:100%;background-color:var(--callout-color);z-index:-1}._callout_pqkj1_1:before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background-color:var(--callout-color);opacity:.15;z-index:-1}._header_pqkj1_28{display:flex;justify-content:flex-start;align-items:center;gap:.5rem;margin-block-end:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}\n._image_z5fgk_1{width:100%}._block-image_z5fgk_5{border-radius:.25rem;box-shadow:0 0 .125rem #000}._caption_z5fgk_10{margin-block:.5rem;display:flex;justify-content:center;align-items:center;gap:.5rem}._modal_z5fgk_18{position:fixed;z-index:10000;top:0;left:0;width:100%;height:100%;display:flex;justify-self:center;align-items:center;background-color:#3e434bcc;cursor:zoom-out}\n@charset "UTF-8";.fade-enter{opacity:0}.fade-enter-active{opacity:1;transition:opacity .3s}.fade-exit{opacity:1}.fade-exit-active{opacity:0;transition:opacity .3s}'));
7
- document.head.appendChild(elementStyle);
8
- }
9
- } catch (e) {
10
- console.error("vite-plugin-css-injected-by-js", e);
11
- }
12
- })();
13
- import { ElmInlineIcon } from "./components/icon/ElmInlineIcon.mjs";
14
- import { ElmMdiIcon } from "./components/icon/ElmMdiIcon.mjs";
15
- import { ElmImage } from "./components/media/ElmImage.mjs";
16
- import { ElmBlockQuote } from "./components/typography/ElmBlockQuote.mjs";
17
- import { ElmCallout } from "./components/typography/ElmCallout.mjs";
18
- import { ElmInlineText } from "./components/typography/ElmInlineText.mjs";
19
- import { ElmParagraph } from "./components/typography/ElmParagraph.mjs";
20
- export {
21
- ElmBlockQuote,
22
- ElmCallout,
23
- ElmImage,
24
- ElmInlineIcon,
25
- ElmInlineText,
26
- ElmMdiIcon,
27
- ElmParagraph
28
- };
@@ -1,17 +0,0 @@
1
- function r(e) {
2
- var t, f, n = "";
3
- if ("string" == typeof e || "number" == typeof e) n += e;
4
- else if ("object" == typeof e) if (Array.isArray(e)) {
5
- var o = e.length;
6
- for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
7
- } else for (f in e) e[f] && (n && (n += " "), n += f);
8
- return n;
9
- }
10
- function clsx() {
11
- for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
12
- return n;
13
- }
14
- export {
15
- clsx,
16
- clsx as default
17
- };
@@ -1,31 +0,0 @@
1
- "use strict";
2
- import { __exports as reactCompilerRuntime_development } from "../../../../../../_virtual/react-compiler-runtime.development.mjs";
3
- import require$$0 from "react";
4
- /**
5
- * @license React
6
- * react-compiler-runtime.development.js
7
- *
8
- * Copyright (c) Meta Platforms, Inc. and affiliates.
9
- *
10
- * This source code is licensed under the MIT license found in the
11
- * LICENSE file in the root directory of this source tree.
12
- */
13
- var hasRequiredReactCompilerRuntime_development;
14
- function requireReactCompilerRuntime_development() {
15
- if (hasRequiredReactCompilerRuntime_development) return reactCompilerRuntime_development;
16
- hasRequiredReactCompilerRuntime_development = 1;
17
- "production" !== process.env.NODE_ENV && (function() {
18
- var ReactSharedInternals = require$$0.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
19
- reactCompilerRuntime_development.c = function(size) {
20
- var dispatcher = ReactSharedInternals.H;
21
- null === dispatcher && console.error(
22
- "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
23
- );
24
- return dispatcher.useMemoCache(size);
25
- };
26
- })();
27
- return reactCompilerRuntime_development;
28
- }
29
- export {
30
- requireReactCompilerRuntime_development as __require
31
- };
@@ -1,25 +0,0 @@
1
- "use strict";
2
- import { __exports as reactCompilerRuntime_production } from "../../../../../../_virtual/react-compiler-runtime.production.mjs";
3
- import require$$0 from "react";
4
- /**
5
- * @license React
6
- * react-compiler-runtime.production.js
7
- *
8
- * Copyright (c) Meta Platforms, Inc. and affiliates.
9
- *
10
- * This source code is licensed under the MIT license found in the
11
- * LICENSE file in the root directory of this source tree.
12
- */
13
- var hasRequiredReactCompilerRuntime_production;
14
- function requireReactCompilerRuntime_production() {
15
- if (hasRequiredReactCompilerRuntime_production) return reactCompilerRuntime_production;
16
- hasRequiredReactCompilerRuntime_production = 1;
17
- var ReactSharedInternals = require$$0.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
18
- reactCompilerRuntime_production.c = function(size) {
19
- return ReactSharedInternals.H.useMemoCache(size);
20
- };
21
- return reactCompilerRuntime_production;
22
- }
23
- export {
24
- requireReactCompilerRuntime_production as __require
25
- };