@elmethis/react 0.1.0

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 (37) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +75 -0
  3. package/dist/App.d.ts +2 -0
  4. package/dist/_virtual/compiler-runtime.mjs +5 -0
  5. package/dist/_virtual/compiler-runtime2.mjs +4 -0
  6. package/dist/_virtual/jsx-runtime.mjs +5 -0
  7. package/dist/_virtual/jsx-runtime2.mjs +4 -0
  8. package/dist/_virtual/react-compiler-runtime.development.mjs +4 -0
  9. package/dist/_virtual/react-compiler-runtime.production.mjs +4 -0
  10. package/dist/_virtual/react-jsx-runtime.development.mjs +4 -0
  11. package/dist/_virtual/react-jsx-runtime.production.mjs +4 -0
  12. package/dist/components/icon/ElmInlineIcon.d.ts +3 -0
  13. package/dist/components/icon/ElmInlineIcon.mjs +19 -0
  14. package/dist/components/icon/ElmInlineIcon.module.scss.mjs +20 -0
  15. package/dist/components/icon/ElmInlineIcon.stories.d.ts +6 -0
  16. package/dist/components/template/ElmTemplate.d.ts +5 -0
  17. package/dist/components/template/ElmTemplate.stories.d.ts +6 -0
  18. package/dist/components/typography/ElmInlineText.d.ts +54 -0
  19. package/dist/components/typography/ElmInlineText.mjs +41 -0
  20. package/dist/components/typography/ElmInlineText.module.scss.mjs +32 -0
  21. package/dist/components/typography/ElmInlineText.stories.d.ts +11 -0
  22. package/dist/components/typography/ElmParagraph.d.ts +3 -0
  23. package/dist/components/typography/ElmParagraph.mjs +18 -0
  24. package/dist/components/typography/ElmParagraph.stories.d.ts +6 -0
  25. package/dist/index.d.ts +3 -0
  26. package/dist/index.mjs +8 -0
  27. package/dist/main.d.ts +0 -0
  28. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs +17 -0
  29. package/dist/node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-compiler-runtime.development.mjs +30 -0
  30. package/dist/node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-compiler-runtime.production.mjs +24 -0
  31. package/dist/node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.development.mjs +270 -0
  32. package/dist/node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.production.mjs +41 -0
  33. package/dist/node_modules/.pnpm/react@19.2.0/node_modules/react/compiler-runtime.mjs +17 -0
  34. package/dist/node_modules/.pnpm/react@19.2.0/node_modules/react/jsx-runtime.mjs +17 -0
  35. package/dist/styles/text.module.scss.mjs +20 -0
  36. package/dist/vite.svg +1 -0
  37. package/package.json +54 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Ikuma Yamashita
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,75 @@
1
+ # React + TypeScript + Vite
2
+
3
+ This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4
+
5
+ Currently, two official plugins are available:
6
+
7
+ - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
8
+ - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
9
+
10
+ ## React Compiler
11
+
12
+ The React Compiler is enabled on this template. See [this documentation](https://react.dev/learn/react-compiler) for more information.
13
+
14
+ Note: This will impact Vite dev & build performances.
15
+
16
+ ## Expanding the ESLint configuration
17
+
18
+ If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
19
+
20
+ ```js
21
+ export default defineConfig([
22
+ globalIgnores(['dist']),
23
+ {
24
+ files: ['**/*.{ts,tsx}'],
25
+ extends: [
26
+ // Other configs...
27
+
28
+ // Remove tseslint.configs.recommended and replace with this
29
+ tseslint.configs.recommendedTypeChecked,
30
+ // Alternatively, use this for stricter rules
31
+ tseslint.configs.strictTypeChecked,
32
+ // Optionally, add this for stylistic rules
33
+ tseslint.configs.stylisticTypeChecked,
34
+
35
+ // Other configs...
36
+ ],
37
+ languageOptions: {
38
+ parserOptions: {
39
+ project: ['./tsconfig.node.json', './tsconfig.app.json'],
40
+ tsconfigRootDir: import.meta.dirname,
41
+ },
42
+ // other options...
43
+ },
44
+ },
45
+ ])
46
+ ```
47
+
48
+ You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
49
+
50
+ ```js
51
+ // eslint.config.js
52
+ import reactX from 'eslint-plugin-react-x'
53
+ import reactDom from 'eslint-plugin-react-dom'
54
+
55
+ export default defineConfig([
56
+ globalIgnores(['dist']),
57
+ {
58
+ files: ['**/*.{ts,tsx}'],
59
+ extends: [
60
+ // Other configs...
61
+ // Enable lint rules for React
62
+ reactX.configs['recommended-typescript'],
63
+ // Enable lint rules for React DOM
64
+ reactDom.configs.recommended,
65
+ ],
66
+ languageOptions: {
67
+ parserOptions: {
68
+ project: ['./tsconfig.node.json', './tsconfig.app.json'],
69
+ tsconfigRootDir: import.meta.dirname,
70
+ },
71
+ // other options...
72
+ },
73
+ },
74
+ ])
75
+ ```
package/dist/App.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare function App(): import("react/jsx-runtime").JSX.Element;
2
+ export default App;
@@ -0,0 +1,5 @@
1
+ import { __require as requireCompilerRuntime } from "../node_modules/.pnpm/react@19.2.0/node_modules/react/compiler-runtime.mjs";
2
+ var compilerRuntimeExports = requireCompilerRuntime();
3
+ export {
4
+ compilerRuntimeExports as c
5
+ };
@@ -0,0 +1,4 @@
1
+ var compilerRuntime = { exports: {} };
2
+ export {
3
+ compilerRuntime as __module
4
+ };
@@ -0,0 +1,5 @@
1
+ import { __require as requireJsxRuntime } from "../node_modules/.pnpm/react@19.2.0/node_modules/react/jsx-runtime.mjs";
2
+ var jsxRuntimeExports = requireJsxRuntime();
3
+ export {
4
+ jsxRuntimeExports as j
5
+ };
@@ -0,0 +1,4 @@
1
+ var jsxRuntime = { exports: {} };
2
+ export {
3
+ jsxRuntime as __module
4
+ };
@@ -0,0 +1,4 @@
1
+ var reactCompilerRuntime_development = {};
2
+ export {
3
+ reactCompilerRuntime_development as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var reactCompilerRuntime_production = {};
2
+ export {
3
+ reactCompilerRuntime_production as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var reactJsxRuntime_development = {};
2
+ export {
3
+ reactJsxRuntime_development as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var reactJsxRuntime_production = {};
2
+ export {
3
+ reactJsxRuntime_production as __exports
4
+ };
@@ -0,0 +1,3 @@
1
+ import { ComponentProps } from 'react';
2
+ export type ElmInlineIconProps = ComponentProps<"img">;
3
+ export declare const ElmInlineIcon: (props: ElmInlineIconProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,19 @@
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 style from "./ElmInlineIcon.module.scss.mjs";
5
+ const ElmInlineIcon = (props) => {
6
+ const $ = compilerRuntimeExports.c(2);
7
+ let t0;
8
+ if ($[0] !== props) {
9
+ t0 = /* @__PURE__ */ jsxRuntimeExports.jsx("img", { ...props, className: style.icon });
10
+ $[0] = props;
11
+ $[1] = t0;
12
+ } else {
13
+ t0 = $[1];
14
+ }
15
+ return t0;
16
+ };
17
+ export {
18
+ ElmInlineIcon
19
+ };
@@ -0,0 +1,20 @@
1
+ (function() {
2
+ "use strict";
3
+ try {
4
+ if (typeof document != "undefined") {
5
+ var elementStyle = document.createElement("style");
6
+ elementStyle.appendChild(document.createTextNode("._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))}"));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ const icon = "_icon_19g82_1";
14
+ const style = {
15
+ icon
16
+ };
17
+ export {
18
+ style as default,
19
+ icon
20
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { ElmInlineIcon } from './ElmInlineIcon';
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,5 @@
1
+ type ElmTemplateProps = {
2
+ message: string;
3
+ };
4
+ declare const ElmTemplate: ({ message }: ElmTemplateProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default ElmTemplate;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { default as ElmTemplate } from './ElmTemplate';
3
+ declare const meta: Meta<typeof ElmTemplate>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
@@ -0,0 +1,54 @@
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;
@@ -0,0 +1,41 @@
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
+ };
@@ -0,0 +1,32 @@
1
+ (function() {
2
+ "use strict";
3
+ try {
4
+ if (typeof document != "undefined") {
5
+ var elementStyle = document.createElement("style");
6
+ elementStyle.appendChild(document.createTextNode('._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}'));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ const base = "_base_ctq5w_1";
14
+ const underline = "_underline_ctq5w_5";
15
+ const link = "_link_ctq5w_9";
16
+ const code = "_code_ctq5w_36";
17
+ const kbd = "_kbd_ctq5w_45";
18
+ const style = {
19
+ base,
20
+ underline,
21
+ link,
22
+ code,
23
+ kbd
24
+ };
25
+ export {
26
+ base,
27
+ code,
28
+ style as default,
29
+ kbd,
30
+ link,
31
+ underline
32
+ };
@@ -0,0 +1,11 @@
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;
@@ -0,0 +1,3 @@
1
+ import { ComponentProps } from 'react';
2
+ export type ElmParagraphProps = ComponentProps<"p">;
3
+ export declare const ElmParagraph: (props: ElmParagraphProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
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
+ };
@@ -0,0 +1,6 @@
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;
@@ -0,0 +1,3 @@
1
+ export { ElmInlineIcon, type ElmInlineIconProps, } from './components/icon/ElmInlineIcon';
2
+ export { ElmInlineText, type ElmInlineTextProps, } from './components/typography/ElmInlineText';
3
+ export { ElmParagraph, type ElmParagraphProps, } from './components/typography/ElmParagraph';
package/dist/index.mjs ADDED
@@ -0,0 +1,8 @@
1
+ import { ElmInlineIcon } from "./components/icon/ElmInlineIcon.mjs";
2
+ import { ElmInlineText } from "./components/typography/ElmInlineText.mjs";
3
+ import { ElmParagraph } from "./components/typography/ElmParagraph.mjs";
4
+ export {
5
+ ElmInlineIcon,
6
+ ElmInlineText,
7
+ ElmParagraph
8
+ };
package/dist/main.d.ts ADDED
File without changes
@@ -0,0 +1,17 @@
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
+ };
@@ -0,0 +1,30 @@
1
+ import { __exports as reactCompilerRuntime_development } from "../../../../../../_virtual/react-compiler-runtime.development.mjs";
2
+ import require$$0 from "react";
3
+ /**
4
+ * @license React
5
+ * react-compiler-runtime.development.js
6
+ *
7
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var hasRequiredReactCompilerRuntime_development;
13
+ function requireReactCompilerRuntime_development() {
14
+ if (hasRequiredReactCompilerRuntime_development) return reactCompilerRuntime_development;
15
+ hasRequiredReactCompilerRuntime_development = 1;
16
+ "production" !== process.env.NODE_ENV && (function() {
17
+ var ReactSharedInternals = require$$0.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
18
+ reactCompilerRuntime_development.c = function(size) {
19
+ var dispatcher = ReactSharedInternals.H;
20
+ null === dispatcher && console.error(
21
+ "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."
22
+ );
23
+ return dispatcher.useMemoCache(size);
24
+ };
25
+ })();
26
+ return reactCompilerRuntime_development;
27
+ }
28
+ export {
29
+ requireReactCompilerRuntime_development as __require
30
+ };
@@ -0,0 +1,24 @@
1
+ import { __exports as reactCompilerRuntime_production } from "../../../../../../_virtual/react-compiler-runtime.production.mjs";
2
+ import require$$0 from "react";
3
+ /**
4
+ * @license React
5
+ * react-compiler-runtime.production.js
6
+ *
7
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var hasRequiredReactCompilerRuntime_production;
13
+ function requireReactCompilerRuntime_production() {
14
+ if (hasRequiredReactCompilerRuntime_production) return reactCompilerRuntime_production;
15
+ hasRequiredReactCompilerRuntime_production = 1;
16
+ var ReactSharedInternals = require$$0.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
17
+ reactCompilerRuntime_production.c = function(size) {
18
+ return ReactSharedInternals.H.useMemoCache(size);
19
+ };
20
+ return reactCompilerRuntime_production;
21
+ }
22
+ export {
23
+ requireReactCompilerRuntime_production as __require
24
+ };
@@ -0,0 +1,270 @@
1
+ import { __exports as reactJsxRuntime_development } from "../../../../../../_virtual/react-jsx-runtime.development.mjs";
2
+ import require$$0 from "react";
3
+ /**
4
+ * @license React
5
+ * react-jsx-runtime.development.js
6
+ *
7
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var hasRequiredReactJsxRuntime_development;
13
+ function requireReactJsxRuntime_development() {
14
+ if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
15
+ hasRequiredReactJsxRuntime_development = 1;
16
+ "production" !== process.env.NODE_ENV && (function() {
17
+ function getComponentNameFromType(type) {
18
+ if (null == type) return null;
19
+ if ("function" === typeof type)
20
+ return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
21
+ if ("string" === typeof type) return type;
22
+ switch (type) {
23
+ case REACT_FRAGMENT_TYPE:
24
+ return "Fragment";
25
+ case REACT_PROFILER_TYPE:
26
+ return "Profiler";
27
+ case REACT_STRICT_MODE_TYPE:
28
+ return "StrictMode";
29
+ case REACT_SUSPENSE_TYPE:
30
+ return "Suspense";
31
+ case REACT_SUSPENSE_LIST_TYPE:
32
+ return "SuspenseList";
33
+ case REACT_ACTIVITY_TYPE:
34
+ return "Activity";
35
+ }
36
+ if ("object" === typeof type)
37
+ switch ("number" === typeof type.tag && console.error(
38
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
39
+ ), type.$$typeof) {
40
+ case REACT_PORTAL_TYPE:
41
+ return "Portal";
42
+ case REACT_CONTEXT_TYPE:
43
+ return type.displayName || "Context";
44
+ case REACT_CONSUMER_TYPE:
45
+ return (type._context.displayName || "Context") + ".Consumer";
46
+ case REACT_FORWARD_REF_TYPE:
47
+ var innerType = type.render;
48
+ type = type.displayName;
49
+ type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
50
+ return type;
51
+ case REACT_MEMO_TYPE:
52
+ return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
53
+ case REACT_LAZY_TYPE:
54
+ innerType = type._payload;
55
+ type = type._init;
56
+ try {
57
+ return getComponentNameFromType(type(innerType));
58
+ } catch (x) {
59
+ }
60
+ }
61
+ return null;
62
+ }
63
+ function testStringCoercion(value) {
64
+ return "" + value;
65
+ }
66
+ function checkKeyStringCoercion(value) {
67
+ try {
68
+ testStringCoercion(value);
69
+ var JSCompiler_inline_result = false;
70
+ } catch (e) {
71
+ JSCompiler_inline_result = true;
72
+ }
73
+ if (JSCompiler_inline_result) {
74
+ JSCompiler_inline_result = console;
75
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
76
+ var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
77
+ JSCompiler_temp_const.call(
78
+ JSCompiler_inline_result,
79
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
80
+ JSCompiler_inline_result$jscomp$0
81
+ );
82
+ return testStringCoercion(value);
83
+ }
84
+ }
85
+ function getTaskName(type) {
86
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
87
+ if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
88
+ return "<...>";
89
+ try {
90
+ var name = getComponentNameFromType(type);
91
+ return name ? "<" + name + ">" : "<...>";
92
+ } catch (x) {
93
+ return "<...>";
94
+ }
95
+ }
96
+ function getOwner() {
97
+ var dispatcher = ReactSharedInternals.A;
98
+ return null === dispatcher ? null : dispatcher.getOwner();
99
+ }
100
+ function UnknownOwner() {
101
+ return Error("react-stack-top-frame");
102
+ }
103
+ function hasValidKey(config) {
104
+ if (hasOwnProperty.call(config, "key")) {
105
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
106
+ if (getter && getter.isReactWarning) return false;
107
+ }
108
+ return void 0 !== config.key;
109
+ }
110
+ function defineKeyPropWarningGetter(props, displayName) {
111
+ function warnAboutAccessingKey() {
112
+ specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
113
+ "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
114
+ displayName
115
+ ));
116
+ }
117
+ warnAboutAccessingKey.isReactWarning = true;
118
+ Object.defineProperty(props, "key", {
119
+ get: warnAboutAccessingKey,
120
+ configurable: true
121
+ });
122
+ }
123
+ function elementRefGetterWithDeprecationWarning() {
124
+ var componentName = getComponentNameFromType(this.type);
125
+ didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
126
+ "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
127
+ ));
128
+ componentName = this.props.ref;
129
+ return void 0 !== componentName ? componentName : null;
130
+ }
131
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
132
+ var refProp = props.ref;
133
+ type = {
134
+ $$typeof: REACT_ELEMENT_TYPE,
135
+ type,
136
+ key,
137
+ props,
138
+ _owner: owner
139
+ };
140
+ null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
141
+ enumerable: false,
142
+ get: elementRefGetterWithDeprecationWarning
143
+ }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
144
+ type._store = {};
145
+ Object.defineProperty(type._store, "validated", {
146
+ configurable: false,
147
+ enumerable: false,
148
+ writable: true,
149
+ value: 0
150
+ });
151
+ Object.defineProperty(type, "_debugInfo", {
152
+ configurable: false,
153
+ enumerable: false,
154
+ writable: true,
155
+ value: null
156
+ });
157
+ Object.defineProperty(type, "_debugStack", {
158
+ configurable: false,
159
+ enumerable: false,
160
+ writable: true,
161
+ value: debugStack
162
+ });
163
+ Object.defineProperty(type, "_debugTask", {
164
+ configurable: false,
165
+ enumerable: false,
166
+ writable: true,
167
+ value: debugTask
168
+ });
169
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
170
+ return type;
171
+ }
172
+ function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
173
+ var children = config.children;
174
+ if (void 0 !== children)
175
+ if (isStaticChildren)
176
+ if (isArrayImpl(children)) {
177
+ for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
178
+ validateChildKeys(children[isStaticChildren]);
179
+ Object.freeze && Object.freeze(children);
180
+ } else
181
+ console.error(
182
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
183
+ );
184
+ else validateChildKeys(children);
185
+ if (hasOwnProperty.call(config, "key")) {
186
+ children = getComponentNameFromType(type);
187
+ var keys = Object.keys(config).filter(function(k) {
188
+ return "key" !== k;
189
+ });
190
+ isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
191
+ didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(
192
+ 'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
193
+ isStaticChildren,
194
+ children,
195
+ keys,
196
+ children
197
+ ), didWarnAboutKeySpread[children + isStaticChildren] = true);
198
+ }
199
+ children = null;
200
+ void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
201
+ hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
202
+ if ("key" in config) {
203
+ maybeKey = {};
204
+ for (var propName in config)
205
+ "key" !== propName && (maybeKey[propName] = config[propName]);
206
+ } else maybeKey = config;
207
+ children && defineKeyPropWarningGetter(
208
+ maybeKey,
209
+ "function" === typeof type ? type.displayName || type.name || "Unknown" : type
210
+ );
211
+ return ReactElement(
212
+ type,
213
+ children,
214
+ maybeKey,
215
+ getOwner(),
216
+ debugStack,
217
+ debugTask
218
+ );
219
+ }
220
+ function validateChildKeys(node) {
221
+ isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
222
+ }
223
+ function isValidElement(object) {
224
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
225
+ }
226
+ var React = require$$0, REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
227
+ return null;
228
+ };
229
+ React = {
230
+ react_stack_bottom_frame: function(callStackForError) {
231
+ return callStackForError();
232
+ }
233
+ };
234
+ var specialPropKeyWarningShown;
235
+ var didWarnAboutElementRef = {};
236
+ var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(
237
+ React,
238
+ UnknownOwner
239
+ )();
240
+ var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
241
+ var didWarnAboutKeySpread = {};
242
+ reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
243
+ reactJsxRuntime_development.jsx = function(type, config, maybeKey) {
244
+ var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
245
+ return jsxDEVImpl(
246
+ type,
247
+ config,
248
+ maybeKey,
249
+ false,
250
+ trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
251
+ trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
252
+ );
253
+ };
254
+ reactJsxRuntime_development.jsxs = function(type, config, maybeKey) {
255
+ var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
256
+ return jsxDEVImpl(
257
+ type,
258
+ config,
259
+ maybeKey,
260
+ true,
261
+ trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
262
+ trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
263
+ );
264
+ };
265
+ })();
266
+ return reactJsxRuntime_development;
267
+ }
268
+ export {
269
+ requireReactJsxRuntime_development as __require
270
+ };
@@ -0,0 +1,41 @@
1
+ import { __exports as reactJsxRuntime_production } from "../../../../../../_virtual/react-jsx-runtime.production.mjs";
2
+ /**
3
+ * @license React
4
+ * react-jsx-runtime.production.js
5
+ *
6
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */
11
+ var hasRequiredReactJsxRuntime_production;
12
+ function requireReactJsxRuntime_production() {
13
+ if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
14
+ hasRequiredReactJsxRuntime_production = 1;
15
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
16
+ function jsxProd(type, config, maybeKey) {
17
+ var key = null;
18
+ void 0 !== maybeKey && (key = "" + maybeKey);
19
+ void 0 !== config.key && (key = "" + config.key);
20
+ if ("key" in config) {
21
+ maybeKey = {};
22
+ for (var propName in config)
23
+ "key" !== propName && (maybeKey[propName] = config[propName]);
24
+ } else maybeKey = config;
25
+ config = maybeKey.ref;
26
+ return {
27
+ $$typeof: REACT_ELEMENT_TYPE,
28
+ type,
29
+ key,
30
+ ref: void 0 !== config ? config : null,
31
+ props: maybeKey
32
+ };
33
+ }
34
+ reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
35
+ reactJsxRuntime_production.jsx = jsxProd;
36
+ reactJsxRuntime_production.jsxs = jsxProd;
37
+ return reactJsxRuntime_production;
38
+ }
39
+ export {
40
+ requireReactJsxRuntime_production as __require
41
+ };
@@ -0,0 +1,17 @@
1
+ import { __module as compilerRuntime } from "../../../../../_virtual/compiler-runtime2.mjs";
2
+ import { __require as requireReactCompilerRuntime_production } from "./cjs/react-compiler-runtime.production.mjs";
3
+ import { __require as requireReactCompilerRuntime_development } from "./cjs/react-compiler-runtime.development.mjs";
4
+ var hasRequiredCompilerRuntime;
5
+ function requireCompilerRuntime() {
6
+ if (hasRequiredCompilerRuntime) return compilerRuntime.exports;
7
+ hasRequiredCompilerRuntime = 1;
8
+ if (process.env.NODE_ENV === "production") {
9
+ compilerRuntime.exports = requireReactCompilerRuntime_production();
10
+ } else {
11
+ compilerRuntime.exports = requireReactCompilerRuntime_development();
12
+ }
13
+ return compilerRuntime.exports;
14
+ }
15
+ export {
16
+ requireCompilerRuntime as __require
17
+ };
@@ -0,0 +1,17 @@
1
+ import { __module as jsxRuntime } from "../../../../../_virtual/jsx-runtime2.mjs";
2
+ import { __require as requireReactJsxRuntime_production } from "./cjs/react-jsx-runtime.production.mjs";
3
+ import { __require as requireReactJsxRuntime_development } from "./cjs/react-jsx-runtime.development.mjs";
4
+ var hasRequiredJsxRuntime;
5
+ function requireJsxRuntime() {
6
+ if (hasRequiredJsxRuntime) return jsxRuntime.exports;
7
+ hasRequiredJsxRuntime = 1;
8
+ if (process.env.NODE_ENV === "production") {
9
+ jsxRuntime.exports = requireReactJsxRuntime_production();
10
+ } else {
11
+ jsxRuntime.exports = requireReactJsxRuntime_development();
12
+ }
13
+ return jsxRuntime.exports;
14
+ }
15
+ export {
16
+ requireJsxRuntime as __require
17
+ };
@@ -0,0 +1,20 @@
1
+ (function() {
2
+ "use strict";
3
+ try {
4
+ if (typeof document != "undefined") {
5
+ var elementStyle = document.createElement("style");
6
+ elementStyle.appendChild(document.createTextNode("._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)}"));
7
+ document.head.appendChild(elementStyle);
8
+ }
9
+ } catch (e) {
10
+ console.error("vite-plugin-css-injected-by-js", e);
11
+ }
12
+ })();
13
+ const text = "_text_2fuj1_1";
14
+ const textStyle = {
15
+ text
16
+ };
17
+ export {
18
+ textStyle as default,
19
+ text
20
+ };
package/dist/vite.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@elmethis/react",
3
+ "version": "0.1.0",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "type": "module",
8
+ "author": "Ikuma Yamashita",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git@github.com:46ki75/elmethis.git"
12
+ },
13
+ "homepage": "https://46ki75.github.io/elmethis",
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "types": "./dist/index.d.ts",
18
+ "module": "./dist/index.mjs",
19
+ "exports": {
20
+ ".": {
21
+ "types": "./dist/index.d.ts",
22
+ "default": "./dist/index.mjs"
23
+ }
24
+ },
25
+ "dependencies": {
26
+ "clsx": "^2.1.1",
27
+ "polished": "^4.3.1",
28
+ "react": "^19.1.1",
29
+ "react-dom": "^19.1.1"
30
+ },
31
+ "devDependencies": {
32
+ "@eslint/js": "^9.36.0",
33
+ "@storybook/react-vite": "^9.1.13",
34
+ "@types/node": "^24.6.0",
35
+ "@types/react": "^19.1.16",
36
+ "@types/react-dom": "^19.1.9",
37
+ "@vitejs/plugin-react": "^5.0.4",
38
+ "babel-plugin-react-compiler": "^19.1.0-rc.3",
39
+ "eslint": "^9.36.0",
40
+ "eslint-plugin-react-hooks": "^5.2.0",
41
+ "eslint-plugin-react-refresh": "^0.4.22",
42
+ "globals": "^16.4.0",
43
+ "postcss": "^8.5.6",
44
+ "postcss-preset-env": "^10.4.0",
45
+ "typescript": "~5.9.3",
46
+ "typescript-eslint": "^8.45.0",
47
+ "vite": "^7.1.7",
48
+ "vite-plugin-css-injected-by-js": "^3.5.2",
49
+ "vite-plugin-dts": "^4.5.4"
50
+ },
51
+ "scripts": {
52
+ "build": "tsc -b && vite build"
53
+ }
54
+ }