├── .gitignore
├── CHANGELOG.md
├── LICENSE
├── README.md
├── package-lock.json
├── package.json
├── rescript.json
├── src
├── HeadlessUI.res
└── Props.res
└── vite.config.js
/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | lerna-debug.log*
8 | .pnpm-debug.log*
9 |
10 | # Diagnostic reports (https://nodejs.org/api/report.html)
11 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12 |
13 | # Runtime data
14 | pids
15 | *.pid
16 | *.seed
17 | *.pid.lock
18 |
19 | # Directory for instrumented libs generated by jscoverage/JSCover
20 | lib-cov
21 |
22 | # Coverage directory used by tools like istanbul
23 | coverage
24 | *.lcov
25 |
26 | # nyc test coverage
27 | .nyc_output
28 |
29 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30 | .grunt
31 |
32 | # Bower dependency directory (https://bower.io/)
33 | bower_components
34 |
35 | # node-waf configuration
36 | .lock-wscript
37 |
38 | # Compiled binary addons (https://nodejs.org/api/addons.html)
39 | build/Release
40 |
41 | # Dependency directories
42 | node_modules/
43 | jspm_packages/
44 |
45 | # Snowpack dependency directory (https://snowpack.dev/)
46 | web_modules/
47 |
48 | # TypeScript cache
49 | *.tsbuildinfo
50 |
51 | # Optional npm cache directory
52 | .npm
53 |
54 | # Optional eslint cache
55 | .eslintcache
56 |
57 | # Optional stylelint cache
58 | .stylelintcache
59 |
60 | # Microbundle cache
61 | .rpt2_cache/
62 | .rts2_cache_cjs/
63 | .rts2_cache_es/
64 | .rts2_cache_umd/
65 |
66 | # Optional REPL history
67 | .node_repl_history
68 |
69 | # Output of 'npm pack'
70 | *.tgz
71 |
72 | # Yarn Integrity file
73 | .yarn-integrity
74 |
75 | # dotenv environment variable files
76 | .env
77 | .env.development.local
78 | .env.test.local
79 | .env.production.local
80 | .env.local
81 |
82 | # parcel-bundler cache (https://parceljs.org/)
83 | .cache
84 | .parcel-cache
85 |
86 | # Next.js build output
87 | .next
88 | out
89 |
90 | # Nuxt.js build / generate output
91 | .nuxt
92 | dist
93 |
94 | # Gatsby files
95 | .cache/
96 | # Comment in the public line in if your project uses Gatsby and not Next.js
97 | # https://nextjs.org/blog/next-9-1#public-directory-support
98 | # public
99 |
100 | # vuepress build output
101 | .vuepress/dist
102 |
103 | # vuepress v2.x temp and cache directory
104 | .temp
105 | .cache
106 |
107 | # Docusaurus cache and generated files
108 | .docusaurus
109 |
110 | # Serverless directories
111 | .serverless/
112 |
113 | # FuseBox cache
114 | .fusebox/
115 |
116 | # DynamoDB Local files
117 | .dynamodb/
118 |
119 | # TernJS port file
120 | .tern-port
121 |
122 | # Stores VSCode versions used for testing VSCode extensions
123 | .vscode-test
124 |
125 | # yarn v2
126 | .yarn/cache
127 | .yarn/unplugged
128 | .yarn/build-state.yml
129 | .yarn/install-state.gz
130 | .pnp.*
131 |
132 | # Vim
133 | .snowpack
134 |
135 | # ReScript build files
136 | **/*.res.js
137 | /lib
138 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 | All notable changes to this project will be documented in this file.
3 |
4 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6 |
7 | ## [0.1.2] - 12-02-2024
8 |
9 | ### Changed
10 | * Update version to republish to NPM
11 |
12 | ## [0.1.1] - 12-01-2024
13 |
14 | ### Changed
15 | * Unpublished errors from NPM
16 |
17 | ## [0.1.0] - 12-01-2024
18 |
19 | ### Added
20 | * Initial commit for `rescript-headlessui` with all current v2.2 bindings
21 |
22 | [0.1.1]: https://github.com/cbowling/rescript-headlessui/compare/v0.1.0...v0.1.1
23 | [0.1.0]: https://github.com/cbowling/rescript-headlessui/compare/HEAD...v0.1.0
24 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) <2024> Chris Bowling
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6 |
7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8 |
9 | THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # rescript-headlessui
2 |
3 | [](https://www.npmjs.com/package/rescript-headlessui)
4 |
5 | This library provides [ReScript](https://rescript-lang.org/) bindings for [HeadlessUI](https://headlessui.com/) React components.
6 |
7 | ## Installation
8 |
9 | ```sh
10 | npm install rescript-headlessui
11 | ```
12 |
13 | Add it to `bs-dependencies` in your `rescript.json`:
14 |
15 | ```json
16 | {
17 | "bs-dependencies": ["rescript-headlessui"]
18 | }
19 | ```
20 |
21 | ## Usage
22 |
23 | ### Props
24 |
25 | To use `ReactDOM.domProps` in all components, it was necessary to remove collisions. This was achieved by maintaining a custom list of props that excludes most of the fields defined by HeadlessUI.
26 |
27 | The only exception is for components with event handlers or names resembling event handlers (e.g., `onChange`). Instead of removing these properties globally, they were overridden in the specific modules where they are used. For example, `` should be written as ``, with the function defined as `@as("onChange") onChangeHeadless?: ReactEvent.Form.t => unit`.
28 |
29 | If you need one of the properties listed below, please wrap the component in a native element.
30 |
31 | ```
32 | {disabled, value, defaultValue, by, multiple, name, form, children, as_, type, checked, defaultChecked, order, role, autoFocus, open_}
33 | ```
34 |
35 | ### Union type bindings
36 |
37 | Many of the HeadlessUI bindings allow union types, which can be challenging to represent in ReScript. When the allowed values were well-defined, they were converted into variants:
38 |
39 | ```rescript
40 | //
41 | role?: @string
42 | [
43 | | #dialog
44 | | #alertdialog
45 | ],
46 |
47 | //
48 | type_?: @string
49 | [
50 | | #button
51 | | #submit
52 | | #reset
53 | ],
54 | ```
55 |
56 | For cases where the allowed values were not explicitly defined, inferred types were used and are configured at compile time:
57 |
58 | ```rescript
59 | // Common props on every component
60 | type common<'as_> = {
61 | ...domProps,
62 | @as("as") as_?: 'as_
63 | }
64 | ```
65 |
66 | The inferred type is applied wherever "T" appears in the HeadlessUI documentation. This approach works well when used correctly but will result in errors if an unsupported value is provided to HeadlessUI.
67 |
68 | #### Attribute `by` exception
69 |
70 | An exception was made when defining `by?: ('value, 'value) => bool` instead of `by?: 'by` or `by?: string` to enforce a modicum of type safety.
71 |
72 | ### Tooltip
73 |
74 | There was an undocumented tooltip component in the HeadlessUI package that is also bound here. It is untested and should be used accordingly.
75 |
76 | ```rescript
77 | module Tooltip = {
78 | type tooltipProps<'as_> = {
79 | ...Props.common<'as_>,
80 | showDelayMs?: int,
81 | hideDelay?: int,
82 | children?: React.element,
83 | }
84 |
85 | @module("@headlessui/react") @react.component(: tooltipProps<'as_>)
86 | external make: unit => React.element = "Tooltip"
87 |
88 | module Trigger = {
89 | type triggerState = {
90 | focus: bool,
91 | hover: bool,
92 | autoFocus: bool,
93 | }
94 | type triggerProps<'as_> = {
95 | ...Props.common<'as_>,
96 | disabled?: bool,
97 | autoFocus?: bool,
98 | children?: React.component,
99 | }
100 |
101 | @module("@headlessui/react") @react.component(: triggerProps<'as_>)
102 | external make: unit => React.element = "TooltipTrigger"
103 | }
104 |
105 | module Panel = {
106 | type panelProps<'as_, 'anchor> = {
107 | ...Props.common<'as_>,
108 | anchor?: 'anchor,
109 | static?: bool,
110 | unmount?: bool,
111 | children?: React.element,
112 | }
113 |
114 | @module("@headlessui/react") @react.component(: panelProps<'as_, 'anchor>)
115 | external make: unit => React.element = "TooltipPanel"
116 | }
117 | }
118 | ```
119 |
--------------------------------------------------------------------------------
/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "rescript-headlessui",
3 | "version": "0.1.1",
4 | "lockfileVersion": 3,
5 | "requires": true,
6 | "packages": {
7 | "": {
8 | "name": "rescript-headlessui",
9 | "version": "0.1.1",
10 | "license": "MIT",
11 | "devDependencies": {
12 | "@vitejs/plugin-react": "^4.3.4",
13 | "vite": "^6.0.1"
14 | },
15 | "peerDependencies": {
16 | "@headlessui/react": "2.2.0",
17 | "@rescript/core": "1.6.1",
18 | "@rescript/react": "0.13.0",
19 | "rescript": "11.1.4",
20 | "rescript-webapi": "0.9.1"
21 | }
22 | },
23 | "node_modules/@ampproject/remapping": {
24 | "version": "2.3.0",
25 | "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz",
26 | "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==",
27 | "dev": true,
28 | "license": "Apache-2.0",
29 | "dependencies": {
30 | "@jridgewell/gen-mapping": "^0.3.5",
31 | "@jridgewell/trace-mapping": "^0.3.24"
32 | },
33 | "engines": {
34 | "node": ">=6.0.0"
35 | }
36 | },
37 | "node_modules/@babel/code-frame": {
38 | "version": "7.26.2",
39 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz",
40 | "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==",
41 | "dev": true,
42 | "license": "MIT",
43 | "dependencies": {
44 | "@babel/helper-validator-identifier": "^7.25.9",
45 | "js-tokens": "^4.0.0",
46 | "picocolors": "^1.0.0"
47 | },
48 | "engines": {
49 | "node": ">=6.9.0"
50 | }
51 | },
52 | "node_modules/@babel/compat-data": {
53 | "version": "7.26.2",
54 | "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.2.tgz",
55 | "integrity": "sha512-Z0WgzSEa+aUcdiJuCIqgujCshpMWgUpgOxXotrYPSA53hA3qopNaqcJpyr0hVb1FeWdnqFA35/fUtXgBK8srQg==",
56 | "dev": true,
57 | "license": "MIT",
58 | "engines": {
59 | "node": ">=6.9.0"
60 | }
61 | },
62 | "node_modules/@babel/core": {
63 | "version": "7.26.0",
64 | "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.0.tgz",
65 | "integrity": "sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==",
66 | "dev": true,
67 | "license": "MIT",
68 | "dependencies": {
69 | "@ampproject/remapping": "^2.2.0",
70 | "@babel/code-frame": "^7.26.0",
71 | "@babel/generator": "^7.26.0",
72 | "@babel/helper-compilation-targets": "^7.25.9",
73 | "@babel/helper-module-transforms": "^7.26.0",
74 | "@babel/helpers": "^7.26.0",
75 | "@babel/parser": "^7.26.0",
76 | "@babel/template": "^7.25.9",
77 | "@babel/traverse": "^7.25.9",
78 | "@babel/types": "^7.26.0",
79 | "convert-source-map": "^2.0.0",
80 | "debug": "^4.1.0",
81 | "gensync": "^1.0.0-beta.2",
82 | "json5": "^2.2.3",
83 | "semver": "^6.3.1"
84 | },
85 | "engines": {
86 | "node": ">=6.9.0"
87 | },
88 | "funding": {
89 | "type": "opencollective",
90 | "url": "https://opencollective.com/babel"
91 | }
92 | },
93 | "node_modules/@babel/generator": {
94 | "version": "7.26.2",
95 | "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.2.tgz",
96 | "integrity": "sha512-zevQbhbau95nkoxSq3f/DC/SC+EEOUZd3DYqfSkMhY2/wfSeaHV1Ew4vk8e+x8lja31IbyuUa2uQ3JONqKbysw==",
97 | "dev": true,
98 | "license": "MIT",
99 | "dependencies": {
100 | "@babel/parser": "^7.26.2",
101 | "@babel/types": "^7.26.0",
102 | "@jridgewell/gen-mapping": "^0.3.5",
103 | "@jridgewell/trace-mapping": "^0.3.25",
104 | "jsesc": "^3.0.2"
105 | },
106 | "engines": {
107 | "node": ">=6.9.0"
108 | }
109 | },
110 | "node_modules/@babel/helper-compilation-targets": {
111 | "version": "7.25.9",
112 | "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.9.tgz",
113 | "integrity": "sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ==",
114 | "dev": true,
115 | "license": "MIT",
116 | "dependencies": {
117 | "@babel/compat-data": "^7.25.9",
118 | "@babel/helper-validator-option": "^7.25.9",
119 | "browserslist": "^4.24.0",
120 | "lru-cache": "^5.1.1",
121 | "semver": "^6.3.1"
122 | },
123 | "engines": {
124 | "node": ">=6.9.0"
125 | }
126 | },
127 | "node_modules/@babel/helper-module-imports": {
128 | "version": "7.25.9",
129 | "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz",
130 | "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==",
131 | "dev": true,
132 | "license": "MIT",
133 | "dependencies": {
134 | "@babel/traverse": "^7.25.9",
135 | "@babel/types": "^7.25.9"
136 | },
137 | "engines": {
138 | "node": ">=6.9.0"
139 | }
140 | },
141 | "node_modules/@babel/helper-module-transforms": {
142 | "version": "7.26.0",
143 | "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz",
144 | "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==",
145 | "dev": true,
146 | "license": "MIT",
147 | "dependencies": {
148 | "@babel/helper-module-imports": "^7.25.9",
149 | "@babel/helper-validator-identifier": "^7.25.9",
150 | "@babel/traverse": "^7.25.9"
151 | },
152 | "engines": {
153 | "node": ">=6.9.0"
154 | },
155 | "peerDependencies": {
156 | "@babel/core": "^7.0.0"
157 | }
158 | },
159 | "node_modules/@babel/helper-plugin-utils": {
160 | "version": "7.25.9",
161 | "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.9.tgz",
162 | "integrity": "sha512-kSMlyUVdWe25rEsRGviIgOWnoT/nfABVWlqt9N19/dIPWViAOW2s9wznP5tURbs/IDuNk4gPy3YdYRgH3uxhBw==",
163 | "dev": true,
164 | "license": "MIT",
165 | "engines": {
166 | "node": ">=6.9.0"
167 | }
168 | },
169 | "node_modules/@babel/helper-string-parser": {
170 | "version": "7.25.9",
171 | "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz",
172 | "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==",
173 | "dev": true,
174 | "license": "MIT",
175 | "engines": {
176 | "node": ">=6.9.0"
177 | }
178 | },
179 | "node_modules/@babel/helper-validator-identifier": {
180 | "version": "7.25.9",
181 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz",
182 | "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==",
183 | "dev": true,
184 | "license": "MIT",
185 | "engines": {
186 | "node": ">=6.9.0"
187 | }
188 | },
189 | "node_modules/@babel/helper-validator-option": {
190 | "version": "7.25.9",
191 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz",
192 | "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==",
193 | "dev": true,
194 | "license": "MIT",
195 | "engines": {
196 | "node": ">=6.9.0"
197 | }
198 | },
199 | "node_modules/@babel/helpers": {
200 | "version": "7.26.0",
201 | "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.0.tgz",
202 | "integrity": "sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==",
203 | "dev": true,
204 | "license": "MIT",
205 | "dependencies": {
206 | "@babel/template": "^7.25.9",
207 | "@babel/types": "^7.26.0"
208 | },
209 | "engines": {
210 | "node": ">=6.9.0"
211 | }
212 | },
213 | "node_modules/@babel/parser": {
214 | "version": "7.26.2",
215 | "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.2.tgz",
216 | "integrity": "sha512-DWMCZH9WA4Maitz2q21SRKHo9QXZxkDsbNZoVD62gusNtNBBqDg9i7uOhASfTfIGNzW+O+r7+jAlM8dwphcJKQ==",
217 | "dev": true,
218 | "license": "MIT",
219 | "dependencies": {
220 | "@babel/types": "^7.26.0"
221 | },
222 | "bin": {
223 | "parser": "bin/babel-parser.js"
224 | },
225 | "engines": {
226 | "node": ">=6.0.0"
227 | }
228 | },
229 | "node_modules/@babel/plugin-transform-react-jsx-self": {
230 | "version": "7.25.9",
231 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.25.9.tgz",
232 | "integrity": "sha512-y8quW6p0WHkEhmErnfe58r7x0A70uKphQm8Sp8cV7tjNQwK56sNVK0M73LK3WuYmsuyrftut4xAkjjgU0twaMg==",
233 | "dev": true,
234 | "license": "MIT",
235 | "dependencies": {
236 | "@babel/helper-plugin-utils": "^7.25.9"
237 | },
238 | "engines": {
239 | "node": ">=6.9.0"
240 | },
241 | "peerDependencies": {
242 | "@babel/core": "^7.0.0-0"
243 | }
244 | },
245 | "node_modules/@babel/plugin-transform-react-jsx-source": {
246 | "version": "7.25.9",
247 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.25.9.tgz",
248 | "integrity": "sha512-+iqjT8xmXhhYv4/uiYd8FNQsraMFZIfxVSqxxVSZP0WbbSAWvBXAul0m/zu+7Vv4O/3WtApy9pmaTMiumEZgfg==",
249 | "dev": true,
250 | "license": "MIT",
251 | "dependencies": {
252 | "@babel/helper-plugin-utils": "^7.25.9"
253 | },
254 | "engines": {
255 | "node": ">=6.9.0"
256 | },
257 | "peerDependencies": {
258 | "@babel/core": "^7.0.0-0"
259 | }
260 | },
261 | "node_modules/@babel/template": {
262 | "version": "7.25.9",
263 | "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.9.tgz",
264 | "integrity": "sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg==",
265 | "dev": true,
266 | "license": "MIT",
267 | "dependencies": {
268 | "@babel/code-frame": "^7.25.9",
269 | "@babel/parser": "^7.25.9",
270 | "@babel/types": "^7.25.9"
271 | },
272 | "engines": {
273 | "node": ">=6.9.0"
274 | }
275 | },
276 | "node_modules/@babel/traverse": {
277 | "version": "7.25.9",
278 | "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.9.tgz",
279 | "integrity": "sha512-ZCuvfwOwlz/bawvAuvcj8rrithP2/N55Tzz342AkTvq4qaWbGfmCk/tKhNaV2cthijKrPAA8SRJV5WWe7IBMJw==",
280 | "dev": true,
281 | "license": "MIT",
282 | "dependencies": {
283 | "@babel/code-frame": "^7.25.9",
284 | "@babel/generator": "^7.25.9",
285 | "@babel/parser": "^7.25.9",
286 | "@babel/template": "^7.25.9",
287 | "@babel/types": "^7.25.9",
288 | "debug": "^4.3.1",
289 | "globals": "^11.1.0"
290 | },
291 | "engines": {
292 | "node": ">=6.9.0"
293 | }
294 | },
295 | "node_modules/@babel/types": {
296 | "version": "7.26.0",
297 | "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.0.tgz",
298 | "integrity": "sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==",
299 | "dev": true,
300 | "license": "MIT",
301 | "dependencies": {
302 | "@babel/helper-string-parser": "^7.25.9",
303 | "@babel/helper-validator-identifier": "^7.25.9"
304 | },
305 | "engines": {
306 | "node": ">=6.9.0"
307 | }
308 | },
309 | "node_modules/@esbuild/aix-ppc64": {
310 | "version": "0.24.0",
311 | "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.24.0.tgz",
312 | "integrity": "sha512-WtKdFM7ls47zkKHFVzMz8opM7LkcsIp9amDUBIAWirg70RM71WRSjdILPsY5Uv1D42ZpUfaPILDlfactHgsRkw==",
313 | "cpu": [
314 | "ppc64"
315 | ],
316 | "dev": true,
317 | "license": "MIT",
318 | "optional": true,
319 | "os": [
320 | "aix"
321 | ],
322 | "engines": {
323 | "node": ">=18"
324 | }
325 | },
326 | "node_modules/@esbuild/android-arm": {
327 | "version": "0.24.0",
328 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.24.0.tgz",
329 | "integrity": "sha512-arAtTPo76fJ/ICkXWetLCc9EwEHKaeya4vMrReVlEIUCAUncH7M4bhMQ+M9Vf+FFOZJdTNMXNBrWwW+OXWpSew==",
330 | "cpu": [
331 | "arm"
332 | ],
333 | "dev": true,
334 | "license": "MIT",
335 | "optional": true,
336 | "os": [
337 | "android"
338 | ],
339 | "engines": {
340 | "node": ">=18"
341 | }
342 | },
343 | "node_modules/@esbuild/android-arm64": {
344 | "version": "0.24.0",
345 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.24.0.tgz",
346 | "integrity": "sha512-Vsm497xFM7tTIPYK9bNTYJyF/lsP590Qc1WxJdlB6ljCbdZKU9SY8i7+Iin4kyhV/KV5J2rOKsBQbB77Ab7L/w==",
347 | "cpu": [
348 | "arm64"
349 | ],
350 | "dev": true,
351 | "license": "MIT",
352 | "optional": true,
353 | "os": [
354 | "android"
355 | ],
356 | "engines": {
357 | "node": ">=18"
358 | }
359 | },
360 | "node_modules/@esbuild/android-x64": {
361 | "version": "0.24.0",
362 | "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.24.0.tgz",
363 | "integrity": "sha512-t8GrvnFkiIY7pa7mMgJd7p8p8qqYIz1NYiAoKc75Zyv73L3DZW++oYMSHPRarcotTKuSs6m3hTOa5CKHaS02TQ==",
364 | "cpu": [
365 | "x64"
366 | ],
367 | "dev": true,
368 | "license": "MIT",
369 | "optional": true,
370 | "os": [
371 | "android"
372 | ],
373 | "engines": {
374 | "node": ">=18"
375 | }
376 | },
377 | "node_modules/@esbuild/darwin-arm64": {
378 | "version": "0.24.0",
379 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.24.0.tgz",
380 | "integrity": "sha512-CKyDpRbK1hXwv79soeTJNHb5EiG6ct3efd/FTPdzOWdbZZfGhpbcqIpiD0+vwmpu0wTIL97ZRPZu8vUt46nBSw==",
381 | "cpu": [
382 | "arm64"
383 | ],
384 | "dev": true,
385 | "license": "MIT",
386 | "optional": true,
387 | "os": [
388 | "darwin"
389 | ],
390 | "engines": {
391 | "node": ">=18"
392 | }
393 | },
394 | "node_modules/@esbuild/darwin-x64": {
395 | "version": "0.24.0",
396 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.24.0.tgz",
397 | "integrity": "sha512-rgtz6flkVkh58od4PwTRqxbKH9cOjaXCMZgWD905JOzjFKW+7EiUObfd/Kav+A6Gyud6WZk9w+xu6QLytdi2OA==",
398 | "cpu": [
399 | "x64"
400 | ],
401 | "dev": true,
402 | "license": "MIT",
403 | "optional": true,
404 | "os": [
405 | "darwin"
406 | ],
407 | "engines": {
408 | "node": ">=18"
409 | }
410 | },
411 | "node_modules/@esbuild/freebsd-arm64": {
412 | "version": "0.24.0",
413 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.0.tgz",
414 | "integrity": "sha512-6Mtdq5nHggwfDNLAHkPlyLBpE5L6hwsuXZX8XNmHno9JuL2+bg2BX5tRkwjyfn6sKbxZTq68suOjgWqCicvPXA==",
415 | "cpu": [
416 | "arm64"
417 | ],
418 | "dev": true,
419 | "license": "MIT",
420 | "optional": true,
421 | "os": [
422 | "freebsd"
423 | ],
424 | "engines": {
425 | "node": ">=18"
426 | }
427 | },
428 | "node_modules/@esbuild/freebsd-x64": {
429 | "version": "0.24.0",
430 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.24.0.tgz",
431 | "integrity": "sha512-D3H+xh3/zphoX8ck4S2RxKR6gHlHDXXzOf6f/9dbFt/NRBDIE33+cVa49Kil4WUjxMGW0ZIYBYtaGCa2+OsQwQ==",
432 | "cpu": [
433 | "x64"
434 | ],
435 | "dev": true,
436 | "license": "MIT",
437 | "optional": true,
438 | "os": [
439 | "freebsd"
440 | ],
441 | "engines": {
442 | "node": ">=18"
443 | }
444 | },
445 | "node_modules/@esbuild/linux-arm": {
446 | "version": "0.24.0",
447 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.24.0.tgz",
448 | "integrity": "sha512-gJKIi2IjRo5G6Glxb8d3DzYXlxdEj2NlkixPsqePSZMhLudqPhtZ4BUrpIuTjJYXxvF9njql+vRjB2oaC9XpBw==",
449 | "cpu": [
450 | "arm"
451 | ],
452 | "dev": true,
453 | "license": "MIT",
454 | "optional": true,
455 | "os": [
456 | "linux"
457 | ],
458 | "engines": {
459 | "node": ">=18"
460 | }
461 | },
462 | "node_modules/@esbuild/linux-arm64": {
463 | "version": "0.24.0",
464 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.24.0.tgz",
465 | "integrity": "sha512-TDijPXTOeE3eaMkRYpcy3LarIg13dS9wWHRdwYRnzlwlA370rNdZqbcp0WTyyV/k2zSxfko52+C7jU5F9Tfj1g==",
466 | "cpu": [
467 | "arm64"
468 | ],
469 | "dev": true,
470 | "license": "MIT",
471 | "optional": true,
472 | "os": [
473 | "linux"
474 | ],
475 | "engines": {
476 | "node": ">=18"
477 | }
478 | },
479 | "node_modules/@esbuild/linux-ia32": {
480 | "version": "0.24.0",
481 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.24.0.tgz",
482 | "integrity": "sha512-K40ip1LAcA0byL05TbCQ4yJ4swvnbzHscRmUilrmP9Am7//0UjPreh4lpYzvThT2Quw66MhjG//20mrufm40mA==",
483 | "cpu": [
484 | "ia32"
485 | ],
486 | "dev": true,
487 | "license": "MIT",
488 | "optional": true,
489 | "os": [
490 | "linux"
491 | ],
492 | "engines": {
493 | "node": ">=18"
494 | }
495 | },
496 | "node_modules/@esbuild/linux-loong64": {
497 | "version": "0.24.0",
498 | "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.24.0.tgz",
499 | "integrity": "sha512-0mswrYP/9ai+CU0BzBfPMZ8RVm3RGAN/lmOMgW4aFUSOQBjA31UP8Mr6DDhWSuMwj7jaWOT0p0WoZ6jeHhrD7g==",
500 | "cpu": [
501 | "loong64"
502 | ],
503 | "dev": true,
504 | "license": "MIT",
505 | "optional": true,
506 | "os": [
507 | "linux"
508 | ],
509 | "engines": {
510 | "node": ">=18"
511 | }
512 | },
513 | "node_modules/@esbuild/linux-mips64el": {
514 | "version": "0.24.0",
515 | "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.24.0.tgz",
516 | "integrity": "sha512-hIKvXm0/3w/5+RDtCJeXqMZGkI2s4oMUGj3/jM0QzhgIASWrGO5/RlzAzm5nNh/awHE0A19h/CvHQe6FaBNrRA==",
517 | "cpu": [
518 | "mips64el"
519 | ],
520 | "dev": true,
521 | "license": "MIT",
522 | "optional": true,
523 | "os": [
524 | "linux"
525 | ],
526 | "engines": {
527 | "node": ">=18"
528 | }
529 | },
530 | "node_modules/@esbuild/linux-ppc64": {
531 | "version": "0.24.0",
532 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.24.0.tgz",
533 | "integrity": "sha512-HcZh5BNq0aC52UoocJxaKORfFODWXZxtBaaZNuN3PUX3MoDsChsZqopzi5UupRhPHSEHotoiptqikjN/B77mYQ==",
534 | "cpu": [
535 | "ppc64"
536 | ],
537 | "dev": true,
538 | "license": "MIT",
539 | "optional": true,
540 | "os": [
541 | "linux"
542 | ],
543 | "engines": {
544 | "node": ">=18"
545 | }
546 | },
547 | "node_modules/@esbuild/linux-riscv64": {
548 | "version": "0.24.0",
549 | "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.24.0.tgz",
550 | "integrity": "sha512-bEh7dMn/h3QxeR2KTy1DUszQjUrIHPZKyO6aN1X4BCnhfYhuQqedHaa5MxSQA/06j3GpiIlFGSsy1c7Gf9padw==",
551 | "cpu": [
552 | "riscv64"
553 | ],
554 | "dev": true,
555 | "license": "MIT",
556 | "optional": true,
557 | "os": [
558 | "linux"
559 | ],
560 | "engines": {
561 | "node": ">=18"
562 | }
563 | },
564 | "node_modules/@esbuild/linux-s390x": {
565 | "version": "0.24.0",
566 | "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.24.0.tgz",
567 | "integrity": "sha512-ZcQ6+qRkw1UcZGPyrCiHHkmBaj9SiCD8Oqd556HldP+QlpUIe2Wgn3ehQGVoPOvZvtHm8HPx+bH20c9pvbkX3g==",
568 | "cpu": [
569 | "s390x"
570 | ],
571 | "dev": true,
572 | "license": "MIT",
573 | "optional": true,
574 | "os": [
575 | "linux"
576 | ],
577 | "engines": {
578 | "node": ">=18"
579 | }
580 | },
581 | "node_modules/@esbuild/linux-x64": {
582 | "version": "0.24.0",
583 | "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.24.0.tgz",
584 | "integrity": "sha512-vbutsFqQ+foy3wSSbmjBXXIJ6PL3scghJoM8zCL142cGaZKAdCZHyf+Bpu/MmX9zT9Q0zFBVKb36Ma5Fzfa8xA==",
585 | "cpu": [
586 | "x64"
587 | ],
588 | "dev": true,
589 | "license": "MIT",
590 | "optional": true,
591 | "os": [
592 | "linux"
593 | ],
594 | "engines": {
595 | "node": ">=18"
596 | }
597 | },
598 | "node_modules/@esbuild/netbsd-x64": {
599 | "version": "0.24.0",
600 | "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.24.0.tgz",
601 | "integrity": "sha512-hjQ0R/ulkO8fCYFsG0FZoH+pWgTTDreqpqY7UnQntnaKv95uP5iW3+dChxnx7C3trQQU40S+OgWhUVwCjVFLvg==",
602 | "cpu": [
603 | "x64"
604 | ],
605 | "dev": true,
606 | "license": "MIT",
607 | "optional": true,
608 | "os": [
609 | "netbsd"
610 | ],
611 | "engines": {
612 | "node": ">=18"
613 | }
614 | },
615 | "node_modules/@esbuild/openbsd-arm64": {
616 | "version": "0.24.0",
617 | "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.24.0.tgz",
618 | "integrity": "sha512-MD9uzzkPQbYehwcN583yx3Tu5M8EIoTD+tUgKF982WYL9Pf5rKy9ltgD0eUgs8pvKnmizxjXZyLt0z6DC3rRXg==",
619 | "cpu": [
620 | "arm64"
621 | ],
622 | "dev": true,
623 | "license": "MIT",
624 | "optional": true,
625 | "os": [
626 | "openbsd"
627 | ],
628 | "engines": {
629 | "node": ">=18"
630 | }
631 | },
632 | "node_modules/@esbuild/openbsd-x64": {
633 | "version": "0.24.0",
634 | "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.24.0.tgz",
635 | "integrity": "sha512-4ir0aY1NGUhIC1hdoCzr1+5b43mw99uNwVzhIq1OY3QcEwPDO3B7WNXBzaKY5Nsf1+N11i1eOfFcq+D/gOS15Q==",
636 | "cpu": [
637 | "x64"
638 | ],
639 | "dev": true,
640 | "license": "MIT",
641 | "optional": true,
642 | "os": [
643 | "openbsd"
644 | ],
645 | "engines": {
646 | "node": ">=18"
647 | }
648 | },
649 | "node_modules/@esbuild/sunos-x64": {
650 | "version": "0.24.0",
651 | "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.24.0.tgz",
652 | "integrity": "sha512-jVzdzsbM5xrotH+W5f1s+JtUy1UWgjU0Cf4wMvffTB8m6wP5/kx0KiaLHlbJO+dMgtxKV8RQ/JvtlFcdZ1zCPA==",
653 | "cpu": [
654 | "x64"
655 | ],
656 | "dev": true,
657 | "license": "MIT",
658 | "optional": true,
659 | "os": [
660 | "sunos"
661 | ],
662 | "engines": {
663 | "node": ">=18"
664 | }
665 | },
666 | "node_modules/@esbuild/win32-arm64": {
667 | "version": "0.24.0",
668 | "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.24.0.tgz",
669 | "integrity": "sha512-iKc8GAslzRpBytO2/aN3d2yb2z8XTVfNV0PjGlCxKo5SgWmNXx82I/Q3aG1tFfS+A2igVCY97TJ8tnYwpUWLCA==",
670 | "cpu": [
671 | "arm64"
672 | ],
673 | "dev": true,
674 | "license": "MIT",
675 | "optional": true,
676 | "os": [
677 | "win32"
678 | ],
679 | "engines": {
680 | "node": ">=18"
681 | }
682 | },
683 | "node_modules/@esbuild/win32-ia32": {
684 | "version": "0.24.0",
685 | "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.24.0.tgz",
686 | "integrity": "sha512-vQW36KZolfIudCcTnaTpmLQ24Ha1RjygBo39/aLkM2kmjkWmZGEJ5Gn9l5/7tzXA42QGIoWbICfg6KLLkIw6yw==",
687 | "cpu": [
688 | "ia32"
689 | ],
690 | "dev": true,
691 | "license": "MIT",
692 | "optional": true,
693 | "os": [
694 | "win32"
695 | ],
696 | "engines": {
697 | "node": ">=18"
698 | }
699 | },
700 | "node_modules/@esbuild/win32-x64": {
701 | "version": "0.24.0",
702 | "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.24.0.tgz",
703 | "integrity": "sha512-7IAFPrjSQIJrGsK6flwg7NFmwBoSTyF3rl7If0hNUFQU4ilTsEPL6GuMuU9BfIWVVGuRnuIidkSMC+c0Otu8IA==",
704 | "cpu": [
705 | "x64"
706 | ],
707 | "dev": true,
708 | "license": "MIT",
709 | "optional": true,
710 | "os": [
711 | "win32"
712 | ],
713 | "engines": {
714 | "node": ">=18"
715 | }
716 | },
717 | "node_modules/@floating-ui/core": {
718 | "version": "1.6.8",
719 | "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.8.tgz",
720 | "integrity": "sha512-7XJ9cPU+yI2QeLS+FCSlqNFZJq8arvswefkZrYI1yQBbftw6FyrZOxYSh+9S7z7TpeWlRt9zJ5IhM1WIL334jA==",
721 | "license": "MIT",
722 | "peer": true,
723 | "dependencies": {
724 | "@floating-ui/utils": "^0.2.8"
725 | }
726 | },
727 | "node_modules/@floating-ui/dom": {
728 | "version": "1.6.12",
729 | "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.12.tgz",
730 | "integrity": "sha512-NP83c0HjokcGVEMeoStg317VD9W7eDlGK7457dMBANbKA6GJZdc7rjujdgqzTaz93jkGgc5P/jeWbaCHnMNc+w==",
731 | "license": "MIT",
732 | "peer": true,
733 | "dependencies": {
734 | "@floating-ui/core": "^1.6.0",
735 | "@floating-ui/utils": "^0.2.8"
736 | }
737 | },
738 | "node_modules/@floating-ui/react": {
739 | "version": "0.26.28",
740 | "resolved": "https://registry.npmjs.org/@floating-ui/react/-/react-0.26.28.tgz",
741 | "integrity": "sha512-yORQuuAtVpiRjpMhdc0wJj06b9JFjrYF4qp96j++v2NBpbi6SEGF7donUJ3TMieerQ6qVkAv1tgr7L4r5roTqw==",
742 | "license": "MIT",
743 | "peer": true,
744 | "dependencies": {
745 | "@floating-ui/react-dom": "^2.1.2",
746 | "@floating-ui/utils": "^0.2.8",
747 | "tabbable": "^6.0.0"
748 | },
749 | "peerDependencies": {
750 | "react": ">=16.8.0",
751 | "react-dom": ">=16.8.0"
752 | }
753 | },
754 | "node_modules/@floating-ui/react-dom": {
755 | "version": "2.1.2",
756 | "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.2.tgz",
757 | "integrity": "sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==",
758 | "license": "MIT",
759 | "peer": true,
760 | "dependencies": {
761 | "@floating-ui/dom": "^1.0.0"
762 | },
763 | "peerDependencies": {
764 | "react": ">=16.8.0",
765 | "react-dom": ">=16.8.0"
766 | }
767 | },
768 | "node_modules/@floating-ui/utils": {
769 | "version": "0.2.8",
770 | "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.8.tgz",
771 | "integrity": "sha512-kym7SodPp8/wloecOpcmSnWJsK7M0E5Wg8UcFA+uO4B9s5d0ywXOEro/8HM9x0rW+TljRzul/14UYz3TleT3ig==",
772 | "license": "MIT",
773 | "peer": true
774 | },
775 | "node_modules/@headlessui/react": {
776 | "version": "2.2.0",
777 | "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-2.2.0.tgz",
778 | "integrity": "sha512-RzCEg+LXsuI7mHiSomsu/gBJSjpupm6A1qIZ5sWjd7JhARNlMiSA4kKfJpCKwU9tE+zMRterhhrP74PvfJrpXQ==",
779 | "license": "MIT",
780 | "peer": true,
781 | "dependencies": {
782 | "@floating-ui/react": "^0.26.16",
783 | "@react-aria/focus": "^3.17.1",
784 | "@react-aria/interactions": "^3.21.3",
785 | "@tanstack/react-virtual": "^3.8.1"
786 | },
787 | "engines": {
788 | "node": ">=10"
789 | },
790 | "peerDependencies": {
791 | "react": "^18 || ^19 || ^19.0.0-rc",
792 | "react-dom": "^18 || ^19 || ^19.0.0-rc"
793 | }
794 | },
795 | "node_modules/@jridgewell/gen-mapping": {
796 | "version": "0.3.5",
797 | "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
798 | "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==",
799 | "dev": true,
800 | "license": "MIT",
801 | "dependencies": {
802 | "@jridgewell/set-array": "^1.2.1",
803 | "@jridgewell/sourcemap-codec": "^1.4.10",
804 | "@jridgewell/trace-mapping": "^0.3.24"
805 | },
806 | "engines": {
807 | "node": ">=6.0.0"
808 | }
809 | },
810 | "node_modules/@jridgewell/resolve-uri": {
811 | "version": "3.1.2",
812 | "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
813 | "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
814 | "dev": true,
815 | "license": "MIT",
816 | "engines": {
817 | "node": ">=6.0.0"
818 | }
819 | },
820 | "node_modules/@jridgewell/set-array": {
821 | "version": "1.2.1",
822 | "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
823 | "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
824 | "dev": true,
825 | "license": "MIT",
826 | "engines": {
827 | "node": ">=6.0.0"
828 | }
829 | },
830 | "node_modules/@jridgewell/sourcemap-codec": {
831 | "version": "1.5.0",
832 | "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz",
833 | "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==",
834 | "dev": true,
835 | "license": "MIT"
836 | },
837 | "node_modules/@jridgewell/trace-mapping": {
838 | "version": "0.3.25",
839 | "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
840 | "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
841 | "dev": true,
842 | "license": "MIT",
843 | "dependencies": {
844 | "@jridgewell/resolve-uri": "^3.1.0",
845 | "@jridgewell/sourcemap-codec": "^1.4.14"
846 | }
847 | },
848 | "node_modules/@react-aria/focus": {
849 | "version": "3.19.0",
850 | "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.19.0.tgz",
851 | "integrity": "sha512-hPF9EXoUQeQl1Y21/rbV2H4FdUR2v+4/I0/vB+8U3bT1CJ+1AFj1hc/rqx2DqEwDlEwOHN+E4+mRahQmlybq0A==",
852 | "license": "Apache-2.0",
853 | "peer": true,
854 | "dependencies": {
855 | "@react-aria/interactions": "^3.22.5",
856 | "@react-aria/utils": "^3.26.0",
857 | "@react-types/shared": "^3.26.0",
858 | "@swc/helpers": "^0.5.0",
859 | "clsx": "^2.0.0"
860 | },
861 | "peerDependencies": {
862 | "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
863 | }
864 | },
865 | "node_modules/@react-aria/interactions": {
866 | "version": "3.22.5",
867 | "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.22.5.tgz",
868 | "integrity": "sha512-kMwiAD9E0TQp+XNnOs13yVJghiy8ET8L0cbkeuTgNI96sOAp/63EJ1FSrDf17iD8sdjt41LafwX/dKXW9nCcLQ==",
869 | "license": "Apache-2.0",
870 | "peer": true,
871 | "dependencies": {
872 | "@react-aria/ssr": "^3.9.7",
873 | "@react-aria/utils": "^3.26.0",
874 | "@react-types/shared": "^3.26.0",
875 | "@swc/helpers": "^0.5.0"
876 | },
877 | "peerDependencies": {
878 | "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
879 | }
880 | },
881 | "node_modules/@react-aria/ssr": {
882 | "version": "3.9.7",
883 | "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.9.7.tgz",
884 | "integrity": "sha512-GQygZaGlmYjmYM+tiNBA5C6acmiDWF52Nqd40bBp0Znk4M4hP+LTmI0lpI1BuKMw45T8RIhrAsICIfKwZvi2Gg==",
885 | "license": "Apache-2.0",
886 | "peer": true,
887 | "dependencies": {
888 | "@swc/helpers": "^0.5.0"
889 | },
890 | "engines": {
891 | "node": ">= 12"
892 | },
893 | "peerDependencies": {
894 | "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
895 | }
896 | },
897 | "node_modules/@react-aria/utils": {
898 | "version": "3.26.0",
899 | "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.26.0.tgz",
900 | "integrity": "sha512-LkZouGSjjQ0rEqo4XJosS4L3YC/zzQkfRM3KoqK6fUOmUJ9t0jQ09WjiF+uOoG9u+p30AVg3TrZRUWmoTS+koQ==",
901 | "license": "Apache-2.0",
902 | "peer": true,
903 | "dependencies": {
904 | "@react-aria/ssr": "^3.9.7",
905 | "@react-stately/utils": "^3.10.5",
906 | "@react-types/shared": "^3.26.0",
907 | "@swc/helpers": "^0.5.0",
908 | "clsx": "^2.0.0"
909 | },
910 | "peerDependencies": {
911 | "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
912 | }
913 | },
914 | "node_modules/@react-stately/utils": {
915 | "version": "3.10.5",
916 | "resolved": "https://registry.npmjs.org/@react-stately/utils/-/utils-3.10.5.tgz",
917 | "integrity": "sha512-iMQSGcpaecghDIh3mZEpZfoFH3ExBwTtuBEcvZ2XnGzCgQjeYXcMdIUwAfVQLXFTdHUHGF6Gu6/dFrYsCzySBQ==",
918 | "license": "Apache-2.0",
919 | "peer": true,
920 | "dependencies": {
921 | "@swc/helpers": "^0.5.0"
922 | },
923 | "peerDependencies": {
924 | "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
925 | }
926 | },
927 | "node_modules/@react-types/shared": {
928 | "version": "3.26.0",
929 | "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.26.0.tgz",
930 | "integrity": "sha512-6FuPqvhmjjlpEDLTiYx29IJCbCNWPlsyO+ZUmCUXzhUv2ttShOXfw8CmeHWHftT/b2KweAWuzqSlfeXPR76jpw==",
931 | "license": "Apache-2.0",
932 | "peer": true,
933 | "peerDependencies": {
934 | "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
935 | }
936 | },
937 | "node_modules/@rescript/core": {
938 | "version": "1.6.1",
939 | "resolved": "https://registry.npmjs.org/@rescript/core/-/core-1.6.1.tgz",
940 | "integrity": "sha512-vyb5k90ck+65Fgui+5vCja/mUfzKaK3kOPT4Z6aAJdHLH1eljEi1zKhXroCiCtpNLSWp8k4ulh1bdB5WS0hvqA==",
941 | "license": "MIT",
942 | "peer": true,
943 | "peerDependencies": {
944 | "rescript": ">=11.1.0"
945 | }
946 | },
947 | "node_modules/@rescript/react": {
948 | "version": "0.13.0",
949 | "resolved": "https://registry.npmjs.org/@rescript/react/-/react-0.13.0.tgz",
950 | "integrity": "sha512-YSIWIyMlyF9ZaP6Q3hScl1h3wRbdIP4+Cb7PlDt7Y1PG8M8VWYhLoIgLb78mbBHcwFbZu0d5zAt1LSX5ilOiWQ==",
951 | "license": "MIT",
952 | "peer": true,
953 | "peerDependencies": {
954 | "react": ">=18.0.0",
955 | "react-dom": ">=18.0.0"
956 | }
957 | },
958 | "node_modules/@rollup/rollup-android-arm-eabi": {
959 | "version": "4.27.4",
960 | "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.27.4.tgz",
961 | "integrity": "sha512-2Y3JT6f5MrQkICUyRVCw4oa0sutfAsgaSsb0Lmmy1Wi2y7X5vT9Euqw4gOsCyy0YfKURBg35nhUKZS4mDcfULw==",
962 | "cpu": [
963 | "arm"
964 | ],
965 | "dev": true,
966 | "license": "MIT",
967 | "optional": true,
968 | "os": [
969 | "android"
970 | ]
971 | },
972 | "node_modules/@rollup/rollup-android-arm64": {
973 | "version": "4.27.4",
974 | "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.27.4.tgz",
975 | "integrity": "sha512-wzKRQXISyi9UdCVRqEd0H4cMpzvHYt1f/C3CoIjES6cG++RHKhrBj2+29nPF0IB5kpy9MS71vs07fvrNGAl/iA==",
976 | "cpu": [
977 | "arm64"
978 | ],
979 | "dev": true,
980 | "license": "MIT",
981 | "optional": true,
982 | "os": [
983 | "android"
984 | ]
985 | },
986 | "node_modules/@rollup/rollup-darwin-arm64": {
987 | "version": "4.27.4",
988 | "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.27.4.tgz",
989 | "integrity": "sha512-PlNiRQapift4LNS8DPUHuDX/IdXiLjf8mc5vdEmUR0fF/pyy2qWwzdLjB+iZquGr8LuN4LnUoSEvKRwjSVYz3Q==",
990 | "cpu": [
991 | "arm64"
992 | ],
993 | "dev": true,
994 | "license": "MIT",
995 | "optional": true,
996 | "os": [
997 | "darwin"
998 | ]
999 | },
1000 | "node_modules/@rollup/rollup-darwin-x64": {
1001 | "version": "4.27.4",
1002 | "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.27.4.tgz",
1003 | "integrity": "sha512-o9bH2dbdgBDJaXWJCDTNDYa171ACUdzpxSZt+u/AAeQ20Nk5x+IhA+zsGmrQtpkLiumRJEYef68gcpn2ooXhSQ==",
1004 | "cpu": [
1005 | "x64"
1006 | ],
1007 | "dev": true,
1008 | "license": "MIT",
1009 | "optional": true,
1010 | "os": [
1011 | "darwin"
1012 | ]
1013 | },
1014 | "node_modules/@rollup/rollup-freebsd-arm64": {
1015 | "version": "4.27.4",
1016 | "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.27.4.tgz",
1017 | "integrity": "sha512-NBI2/i2hT9Q+HySSHTBh52da7isru4aAAo6qC3I7QFVsuhxi2gM8t/EI9EVcILiHLj1vfi+VGGPaLOUENn7pmw==",
1018 | "cpu": [
1019 | "arm64"
1020 | ],
1021 | "dev": true,
1022 | "license": "MIT",
1023 | "optional": true,
1024 | "os": [
1025 | "freebsd"
1026 | ]
1027 | },
1028 | "node_modules/@rollup/rollup-freebsd-x64": {
1029 | "version": "4.27.4",
1030 | "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.27.4.tgz",
1031 | "integrity": "sha512-wYcC5ycW2zvqtDYrE7deary2P2UFmSh85PUpAx+dwTCO9uw3sgzD6Gv9n5X4vLaQKsrfTSZZ7Z7uynQozPVvWA==",
1032 | "cpu": [
1033 | "x64"
1034 | ],
1035 | "dev": true,
1036 | "license": "MIT",
1037 | "optional": true,
1038 | "os": [
1039 | "freebsd"
1040 | ]
1041 | },
1042 | "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
1043 | "version": "4.27.4",
1044 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.27.4.tgz",
1045 | "integrity": "sha512-9OwUnK/xKw6DyRlgx8UizeqRFOfi9mf5TYCw1uolDaJSbUmBxP85DE6T4ouCMoN6pXw8ZoTeZCSEfSaYo+/s1w==",
1046 | "cpu": [
1047 | "arm"
1048 | ],
1049 | "dev": true,
1050 | "license": "MIT",
1051 | "optional": true,
1052 | "os": [
1053 | "linux"
1054 | ]
1055 | },
1056 | "node_modules/@rollup/rollup-linux-arm-musleabihf": {
1057 | "version": "4.27.4",
1058 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.27.4.tgz",
1059 | "integrity": "sha512-Vgdo4fpuphS9V24WOV+KwkCVJ72u7idTgQaBoLRD0UxBAWTF9GWurJO9YD9yh00BzbkhpeXtm6na+MvJU7Z73A==",
1060 | "cpu": [
1061 | "arm"
1062 | ],
1063 | "dev": true,
1064 | "license": "MIT",
1065 | "optional": true,
1066 | "os": [
1067 | "linux"
1068 | ]
1069 | },
1070 | "node_modules/@rollup/rollup-linux-arm64-gnu": {
1071 | "version": "4.27.4",
1072 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.27.4.tgz",
1073 | "integrity": "sha512-pleyNgyd1kkBkw2kOqlBx+0atfIIkkExOTiifoODo6qKDSpnc6WzUY5RhHdmTdIJXBdSnh6JknnYTtmQyobrVg==",
1074 | "cpu": [
1075 | "arm64"
1076 | ],
1077 | "dev": true,
1078 | "license": "MIT",
1079 | "optional": true,
1080 | "os": [
1081 | "linux"
1082 | ]
1083 | },
1084 | "node_modules/@rollup/rollup-linux-arm64-musl": {
1085 | "version": "4.27.4",
1086 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.27.4.tgz",
1087 | "integrity": "sha512-caluiUXvUuVyCHr5DxL8ohaaFFzPGmgmMvwmqAITMpV/Q+tPoaHZ/PWa3t8B2WyoRcIIuu1hkaW5KkeTDNSnMA==",
1088 | "cpu": [
1089 | "arm64"
1090 | ],
1091 | "dev": true,
1092 | "license": "MIT",
1093 | "optional": true,
1094 | "os": [
1095 | "linux"
1096 | ]
1097 | },
1098 | "node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
1099 | "version": "4.27.4",
1100 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.27.4.tgz",
1101 | "integrity": "sha512-FScrpHrO60hARyHh7s1zHE97u0KlT/RECzCKAdmI+LEoC1eDh/RDji9JgFqyO+wPDb86Oa/sXkily1+oi4FzJQ==",
1102 | "cpu": [
1103 | "ppc64"
1104 | ],
1105 | "dev": true,
1106 | "license": "MIT",
1107 | "optional": true,
1108 | "os": [
1109 | "linux"
1110 | ]
1111 | },
1112 | "node_modules/@rollup/rollup-linux-riscv64-gnu": {
1113 | "version": "4.27.4",
1114 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.27.4.tgz",
1115 | "integrity": "sha512-qyyprhyGb7+RBfMPeww9FlHwKkCXdKHeGgSqmIXw9VSUtvyFZ6WZRtnxgbuz76FK7LyoN8t/eINRbPUcvXB5fw==",
1116 | "cpu": [
1117 | "riscv64"
1118 | ],
1119 | "dev": true,
1120 | "license": "MIT",
1121 | "optional": true,
1122 | "os": [
1123 | "linux"
1124 | ]
1125 | },
1126 | "node_modules/@rollup/rollup-linux-s390x-gnu": {
1127 | "version": "4.27.4",
1128 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.27.4.tgz",
1129 | "integrity": "sha512-PFz+y2kb6tbh7m3A7nA9++eInGcDVZUACulf/KzDtovvdTizHpZaJty7Gp0lFwSQcrnebHOqxF1MaKZd7psVRg==",
1130 | "cpu": [
1131 | "s390x"
1132 | ],
1133 | "dev": true,
1134 | "license": "MIT",
1135 | "optional": true,
1136 | "os": [
1137 | "linux"
1138 | ]
1139 | },
1140 | "node_modules/@rollup/rollup-linux-x64-gnu": {
1141 | "version": "4.27.4",
1142 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.27.4.tgz",
1143 | "integrity": "sha512-Ni8mMtfo+o/G7DVtweXXV/Ol2TFf63KYjTtoZ5f078AUgJTmaIJnj4JFU7TK/9SVWTaSJGxPi5zMDgK4w+Ez7Q==",
1144 | "cpu": [
1145 | "x64"
1146 | ],
1147 | "dev": true,
1148 | "license": "MIT",
1149 | "optional": true,
1150 | "os": [
1151 | "linux"
1152 | ]
1153 | },
1154 | "node_modules/@rollup/rollup-linux-x64-musl": {
1155 | "version": "4.27.4",
1156 | "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.27.4.tgz",
1157 | "integrity": "sha512-5AeeAF1PB9TUzD+3cROzFTnAJAcVUGLuR8ng0E0WXGkYhp6RD6L+6szYVX+64Rs0r72019KHZS1ka1q+zU/wUw==",
1158 | "cpu": [
1159 | "x64"
1160 | ],
1161 | "dev": true,
1162 | "license": "MIT",
1163 | "optional": true,
1164 | "os": [
1165 | "linux"
1166 | ]
1167 | },
1168 | "node_modules/@rollup/rollup-win32-arm64-msvc": {
1169 | "version": "4.27.4",
1170 | "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.27.4.tgz",
1171 | "integrity": "sha512-yOpVsA4K5qVwu2CaS3hHxluWIK5HQTjNV4tWjQXluMiiiu4pJj4BN98CvxohNCpcjMeTXk/ZMJBRbgRg8HBB6A==",
1172 | "cpu": [
1173 | "arm64"
1174 | ],
1175 | "dev": true,
1176 | "license": "MIT",
1177 | "optional": true,
1178 | "os": [
1179 | "win32"
1180 | ]
1181 | },
1182 | "node_modules/@rollup/rollup-win32-ia32-msvc": {
1183 | "version": "4.27.4",
1184 | "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.27.4.tgz",
1185 | "integrity": "sha512-KtwEJOaHAVJlxV92rNYiG9JQwQAdhBlrjNRp7P9L8Cb4Rer3in+0A+IPhJC9y68WAi9H0sX4AiG2NTsVlmqJeQ==",
1186 | "cpu": [
1187 | "ia32"
1188 | ],
1189 | "dev": true,
1190 | "license": "MIT",
1191 | "optional": true,
1192 | "os": [
1193 | "win32"
1194 | ]
1195 | },
1196 | "node_modules/@rollup/rollup-win32-x64-msvc": {
1197 | "version": "4.27.4",
1198 | "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.27.4.tgz",
1199 | "integrity": "sha512-3j4jx1TppORdTAoBJRd+/wJRGCPC0ETWkXOecJ6PPZLj6SptXkrXcNqdj0oclbKML6FkQltdz7bBA3rUSirZug==",
1200 | "cpu": [
1201 | "x64"
1202 | ],
1203 | "dev": true,
1204 | "license": "MIT",
1205 | "optional": true,
1206 | "os": [
1207 | "win32"
1208 | ]
1209 | },
1210 | "node_modules/@swc/helpers": {
1211 | "version": "0.5.15",
1212 | "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.15.tgz",
1213 | "integrity": "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==",
1214 | "license": "Apache-2.0",
1215 | "peer": true,
1216 | "dependencies": {
1217 | "tslib": "^2.8.0"
1218 | }
1219 | },
1220 | "node_modules/@tanstack/react-virtual": {
1221 | "version": "3.10.9",
1222 | "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.10.9.tgz",
1223 | "integrity": "sha512-OXO2uBjFqA4Ibr2O3y0YMnkrRWGVNqcvHQXmGvMu6IK8chZl3PrDxFXdGZ2iZkSrKh3/qUYoFqYe+Rx23RoU0g==",
1224 | "license": "MIT",
1225 | "peer": true,
1226 | "dependencies": {
1227 | "@tanstack/virtual-core": "3.10.9"
1228 | },
1229 | "funding": {
1230 | "type": "github",
1231 | "url": "https://github.com/sponsors/tannerlinsley"
1232 | },
1233 | "peerDependencies": {
1234 | "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
1235 | "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
1236 | }
1237 | },
1238 | "node_modules/@tanstack/virtual-core": {
1239 | "version": "3.10.9",
1240 | "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.10.9.tgz",
1241 | "integrity": "sha512-kBknKOKzmeR7lN+vSadaKWXaLS0SZZG+oqpQ/k80Q6g9REn6zRHS/ZYdrIzHnpHgy/eWs00SujveUN/GJT2qTw==",
1242 | "license": "MIT",
1243 | "peer": true,
1244 | "funding": {
1245 | "type": "github",
1246 | "url": "https://github.com/sponsors/tannerlinsley"
1247 | }
1248 | },
1249 | "node_modules/@types/babel__core": {
1250 | "version": "7.20.5",
1251 | "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
1252 | "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
1253 | "dev": true,
1254 | "license": "MIT",
1255 | "dependencies": {
1256 | "@babel/parser": "^7.20.7",
1257 | "@babel/types": "^7.20.7",
1258 | "@types/babel__generator": "*",
1259 | "@types/babel__template": "*",
1260 | "@types/babel__traverse": "*"
1261 | }
1262 | },
1263 | "node_modules/@types/babel__generator": {
1264 | "version": "7.6.8",
1265 | "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz",
1266 | "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==",
1267 | "dev": true,
1268 | "license": "MIT",
1269 | "dependencies": {
1270 | "@babel/types": "^7.0.0"
1271 | }
1272 | },
1273 | "node_modules/@types/babel__template": {
1274 | "version": "7.4.4",
1275 | "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
1276 | "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
1277 | "dev": true,
1278 | "license": "MIT",
1279 | "dependencies": {
1280 | "@babel/parser": "^7.1.0",
1281 | "@babel/types": "^7.0.0"
1282 | }
1283 | },
1284 | "node_modules/@types/babel__traverse": {
1285 | "version": "7.20.6",
1286 | "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz",
1287 | "integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==",
1288 | "dev": true,
1289 | "license": "MIT",
1290 | "dependencies": {
1291 | "@babel/types": "^7.20.7"
1292 | }
1293 | },
1294 | "node_modules/@types/estree": {
1295 | "version": "1.0.6",
1296 | "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz",
1297 | "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==",
1298 | "dev": true,
1299 | "license": "MIT"
1300 | },
1301 | "node_modules/@vitejs/plugin-react": {
1302 | "version": "4.3.4",
1303 | "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.4.tgz",
1304 | "integrity": "sha512-SCCPBJtYLdE8PX/7ZQAs1QAZ8Jqwih+0VBLum1EGqmCCQal+MIUqLCzj3ZUy8ufbC0cAM4LRlSTm7IQJwWT4ug==",
1305 | "dev": true,
1306 | "license": "MIT",
1307 | "dependencies": {
1308 | "@babel/core": "^7.26.0",
1309 | "@babel/plugin-transform-react-jsx-self": "^7.25.9",
1310 | "@babel/plugin-transform-react-jsx-source": "^7.25.9",
1311 | "@types/babel__core": "^7.20.5",
1312 | "react-refresh": "^0.14.2"
1313 | },
1314 | "engines": {
1315 | "node": "^14.18.0 || >=16.0.0"
1316 | },
1317 | "peerDependencies": {
1318 | "vite": "^4.2.0 || ^5.0.0 || ^6.0.0"
1319 | }
1320 | },
1321 | "node_modules/browserslist": {
1322 | "version": "4.24.2",
1323 | "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz",
1324 | "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==",
1325 | "dev": true,
1326 | "funding": [
1327 | {
1328 | "type": "opencollective",
1329 | "url": "https://opencollective.com/browserslist"
1330 | },
1331 | {
1332 | "type": "tidelift",
1333 | "url": "https://tidelift.com/funding/github/npm/browserslist"
1334 | },
1335 | {
1336 | "type": "github",
1337 | "url": "https://github.com/sponsors/ai"
1338 | }
1339 | ],
1340 | "license": "MIT",
1341 | "dependencies": {
1342 | "caniuse-lite": "^1.0.30001669",
1343 | "electron-to-chromium": "^1.5.41",
1344 | "node-releases": "^2.0.18",
1345 | "update-browserslist-db": "^1.1.1"
1346 | },
1347 | "bin": {
1348 | "browserslist": "cli.js"
1349 | },
1350 | "engines": {
1351 | "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
1352 | }
1353 | },
1354 | "node_modules/caniuse-lite": {
1355 | "version": "1.0.30001684",
1356 | "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001684.tgz",
1357 | "integrity": "sha512-G1LRwLIQjBQoyq0ZJGqGIJUXzJ8irpbjHLpVRXDvBEScFJ9b17sgK6vlx0GAJFE21okD7zXl08rRRUfq6HdoEQ==",
1358 | "dev": true,
1359 | "funding": [
1360 | {
1361 | "type": "opencollective",
1362 | "url": "https://opencollective.com/browserslist"
1363 | },
1364 | {
1365 | "type": "tidelift",
1366 | "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
1367 | },
1368 | {
1369 | "type": "github",
1370 | "url": "https://github.com/sponsors/ai"
1371 | }
1372 | ],
1373 | "license": "CC-BY-4.0"
1374 | },
1375 | "node_modules/clsx": {
1376 | "version": "2.1.1",
1377 | "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
1378 | "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
1379 | "license": "MIT",
1380 | "peer": true,
1381 | "engines": {
1382 | "node": ">=6"
1383 | }
1384 | },
1385 | "node_modules/convert-source-map": {
1386 | "version": "2.0.0",
1387 | "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
1388 | "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
1389 | "dev": true,
1390 | "license": "MIT"
1391 | },
1392 | "node_modules/debug": {
1393 | "version": "4.3.7",
1394 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
1395 | "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
1396 | "dev": true,
1397 | "license": "MIT",
1398 | "dependencies": {
1399 | "ms": "^2.1.3"
1400 | },
1401 | "engines": {
1402 | "node": ">=6.0"
1403 | },
1404 | "peerDependenciesMeta": {
1405 | "supports-color": {
1406 | "optional": true
1407 | }
1408 | }
1409 | },
1410 | "node_modules/electron-to-chromium": {
1411 | "version": "1.5.66",
1412 | "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.66.tgz",
1413 | "integrity": "sha512-pI2QF6+i+zjPbqRzJwkMvtvkdI7MjVbSh2g8dlMguDJIXEPw+kwasS1Jl+YGPEBfGVxsVgGUratAKymPdPo2vQ==",
1414 | "dev": true,
1415 | "license": "ISC"
1416 | },
1417 | "node_modules/esbuild": {
1418 | "version": "0.24.0",
1419 | "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.24.0.tgz",
1420 | "integrity": "sha512-FuLPevChGDshgSicjisSooU0cemp/sGXR841D5LHMB7mTVOmsEHcAxaH3irL53+8YDIeVNQEySh4DaYU/iuPqQ==",
1421 | "dev": true,
1422 | "hasInstallScript": true,
1423 | "license": "MIT",
1424 | "bin": {
1425 | "esbuild": "bin/esbuild"
1426 | },
1427 | "engines": {
1428 | "node": ">=18"
1429 | },
1430 | "optionalDependencies": {
1431 | "@esbuild/aix-ppc64": "0.24.0",
1432 | "@esbuild/android-arm": "0.24.0",
1433 | "@esbuild/android-arm64": "0.24.0",
1434 | "@esbuild/android-x64": "0.24.0",
1435 | "@esbuild/darwin-arm64": "0.24.0",
1436 | "@esbuild/darwin-x64": "0.24.0",
1437 | "@esbuild/freebsd-arm64": "0.24.0",
1438 | "@esbuild/freebsd-x64": "0.24.0",
1439 | "@esbuild/linux-arm": "0.24.0",
1440 | "@esbuild/linux-arm64": "0.24.0",
1441 | "@esbuild/linux-ia32": "0.24.0",
1442 | "@esbuild/linux-loong64": "0.24.0",
1443 | "@esbuild/linux-mips64el": "0.24.0",
1444 | "@esbuild/linux-ppc64": "0.24.0",
1445 | "@esbuild/linux-riscv64": "0.24.0",
1446 | "@esbuild/linux-s390x": "0.24.0",
1447 | "@esbuild/linux-x64": "0.24.0",
1448 | "@esbuild/netbsd-x64": "0.24.0",
1449 | "@esbuild/openbsd-arm64": "0.24.0",
1450 | "@esbuild/openbsd-x64": "0.24.0",
1451 | "@esbuild/sunos-x64": "0.24.0",
1452 | "@esbuild/win32-arm64": "0.24.0",
1453 | "@esbuild/win32-ia32": "0.24.0",
1454 | "@esbuild/win32-x64": "0.24.0"
1455 | }
1456 | },
1457 | "node_modules/escalade": {
1458 | "version": "3.2.0",
1459 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
1460 | "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
1461 | "dev": true,
1462 | "license": "MIT",
1463 | "engines": {
1464 | "node": ">=6"
1465 | }
1466 | },
1467 | "node_modules/fsevents": {
1468 | "version": "2.3.3",
1469 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
1470 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
1471 | "dev": true,
1472 | "hasInstallScript": true,
1473 | "license": "MIT",
1474 | "optional": true,
1475 | "os": [
1476 | "darwin"
1477 | ],
1478 | "engines": {
1479 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
1480 | }
1481 | },
1482 | "node_modules/gensync": {
1483 | "version": "1.0.0-beta.2",
1484 | "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
1485 | "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
1486 | "dev": true,
1487 | "license": "MIT",
1488 | "engines": {
1489 | "node": ">=6.9.0"
1490 | }
1491 | },
1492 | "node_modules/globals": {
1493 | "version": "11.12.0",
1494 | "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
1495 | "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
1496 | "dev": true,
1497 | "license": "MIT",
1498 | "engines": {
1499 | "node": ">=4"
1500 | }
1501 | },
1502 | "node_modules/js-tokens": {
1503 | "version": "4.0.0",
1504 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
1505 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
1506 | "license": "MIT"
1507 | },
1508 | "node_modules/jsesc": {
1509 | "version": "3.0.2",
1510 | "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz",
1511 | "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==",
1512 | "dev": true,
1513 | "license": "MIT",
1514 | "bin": {
1515 | "jsesc": "bin/jsesc"
1516 | },
1517 | "engines": {
1518 | "node": ">=6"
1519 | }
1520 | },
1521 | "node_modules/json5": {
1522 | "version": "2.2.3",
1523 | "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
1524 | "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
1525 | "dev": true,
1526 | "license": "MIT",
1527 | "bin": {
1528 | "json5": "lib/cli.js"
1529 | },
1530 | "engines": {
1531 | "node": ">=6"
1532 | }
1533 | },
1534 | "node_modules/loose-envify": {
1535 | "version": "1.4.0",
1536 | "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
1537 | "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
1538 | "license": "MIT",
1539 | "peer": true,
1540 | "dependencies": {
1541 | "js-tokens": "^3.0.0 || ^4.0.0"
1542 | },
1543 | "bin": {
1544 | "loose-envify": "cli.js"
1545 | }
1546 | },
1547 | "node_modules/lru-cache": {
1548 | "version": "5.1.1",
1549 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
1550 | "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
1551 | "dev": true,
1552 | "license": "ISC",
1553 | "dependencies": {
1554 | "yallist": "^3.0.2"
1555 | }
1556 | },
1557 | "node_modules/ms": {
1558 | "version": "2.1.3",
1559 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
1560 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
1561 | "dev": true,
1562 | "license": "MIT"
1563 | },
1564 | "node_modules/nanoid": {
1565 | "version": "3.3.8",
1566 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz",
1567 | "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==",
1568 | "dev": true,
1569 | "funding": [
1570 | {
1571 | "type": "github",
1572 | "url": "https://github.com/sponsors/ai"
1573 | }
1574 | ],
1575 | "license": "MIT",
1576 | "bin": {
1577 | "nanoid": "bin/nanoid.cjs"
1578 | },
1579 | "engines": {
1580 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
1581 | }
1582 | },
1583 | "node_modules/node-releases": {
1584 | "version": "2.0.18",
1585 | "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz",
1586 | "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==",
1587 | "dev": true,
1588 | "license": "MIT"
1589 | },
1590 | "node_modules/picocolors": {
1591 | "version": "1.1.1",
1592 | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
1593 | "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
1594 | "dev": true,
1595 | "license": "ISC"
1596 | },
1597 | "node_modules/postcss": {
1598 | "version": "8.4.49",
1599 | "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz",
1600 | "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==",
1601 | "dev": true,
1602 | "funding": [
1603 | {
1604 | "type": "opencollective",
1605 | "url": "https://opencollective.com/postcss/"
1606 | },
1607 | {
1608 | "type": "tidelift",
1609 | "url": "https://tidelift.com/funding/github/npm/postcss"
1610 | },
1611 | {
1612 | "type": "github",
1613 | "url": "https://github.com/sponsors/ai"
1614 | }
1615 | ],
1616 | "license": "MIT",
1617 | "dependencies": {
1618 | "nanoid": "^3.3.7",
1619 | "picocolors": "^1.1.1",
1620 | "source-map-js": "^1.2.1"
1621 | },
1622 | "engines": {
1623 | "node": "^10 || ^12 || >=14"
1624 | }
1625 | },
1626 | "node_modules/react": {
1627 | "version": "18.3.1",
1628 | "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
1629 | "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
1630 | "license": "MIT",
1631 | "peer": true,
1632 | "dependencies": {
1633 | "loose-envify": "^1.1.0"
1634 | },
1635 | "engines": {
1636 | "node": ">=0.10.0"
1637 | }
1638 | },
1639 | "node_modules/react-dom": {
1640 | "version": "18.3.1",
1641 | "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
1642 | "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
1643 | "license": "MIT",
1644 | "peer": true,
1645 | "dependencies": {
1646 | "loose-envify": "^1.1.0",
1647 | "scheduler": "^0.23.2"
1648 | },
1649 | "peerDependencies": {
1650 | "react": "^18.3.1"
1651 | }
1652 | },
1653 | "node_modules/react-refresh": {
1654 | "version": "0.14.2",
1655 | "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz",
1656 | "integrity": "sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==",
1657 | "dev": true,
1658 | "license": "MIT",
1659 | "engines": {
1660 | "node": ">=0.10.0"
1661 | }
1662 | },
1663 | "node_modules/rescript": {
1664 | "version": "11.1.4",
1665 | "resolved": "https://registry.npmjs.org/rescript/-/rescript-11.1.4.tgz",
1666 | "integrity": "sha512-0bGU0bocihjSC6MsE3TMjHjY0EUpchyrREquLS8VsZ3ohSMD+VHUEwimEfB3kpBI1vYkw3UFZ3WD8R28guz/Vw==",
1667 | "hasInstallScript": true,
1668 | "license": "SEE LICENSE IN LICENSE",
1669 | "peer": true,
1670 | "bin": {
1671 | "bsc": "bsc",
1672 | "bstracing": "lib/bstracing",
1673 | "rescript": "rescript"
1674 | },
1675 | "engines": {
1676 | "node": ">=10"
1677 | }
1678 | },
1679 | "node_modules/rescript-webapi": {
1680 | "version": "0.9.1",
1681 | "resolved": "https://registry.npmjs.org/rescript-webapi/-/rescript-webapi-0.9.1.tgz",
1682 | "integrity": "sha512-6havxEsyCgcCB4EsH8ac2QpLVbv5Nv6IMjTIn6XifpU/bjgXEvMTpNJ78/JEKtSH6kFUeFV/T/QHPRSZb66Rew==",
1683 | "license": "MIT",
1684 | "peer": true
1685 | },
1686 | "node_modules/rollup": {
1687 | "version": "4.27.4",
1688 | "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.27.4.tgz",
1689 | "integrity": "sha512-RLKxqHEMjh/RGLsDxAEsaLO3mWgyoU6x9w6n1ikAzet4B3gI2/3yP6PWY2p9QzRTh6MfEIXB3MwsOY0Iv3vNrw==",
1690 | "dev": true,
1691 | "license": "MIT",
1692 | "dependencies": {
1693 | "@types/estree": "1.0.6"
1694 | },
1695 | "bin": {
1696 | "rollup": "dist/bin/rollup"
1697 | },
1698 | "engines": {
1699 | "node": ">=18.0.0",
1700 | "npm": ">=8.0.0"
1701 | },
1702 | "optionalDependencies": {
1703 | "@rollup/rollup-android-arm-eabi": "4.27.4",
1704 | "@rollup/rollup-android-arm64": "4.27.4",
1705 | "@rollup/rollup-darwin-arm64": "4.27.4",
1706 | "@rollup/rollup-darwin-x64": "4.27.4",
1707 | "@rollup/rollup-freebsd-arm64": "4.27.4",
1708 | "@rollup/rollup-freebsd-x64": "4.27.4",
1709 | "@rollup/rollup-linux-arm-gnueabihf": "4.27.4",
1710 | "@rollup/rollup-linux-arm-musleabihf": "4.27.4",
1711 | "@rollup/rollup-linux-arm64-gnu": "4.27.4",
1712 | "@rollup/rollup-linux-arm64-musl": "4.27.4",
1713 | "@rollup/rollup-linux-powerpc64le-gnu": "4.27.4",
1714 | "@rollup/rollup-linux-riscv64-gnu": "4.27.4",
1715 | "@rollup/rollup-linux-s390x-gnu": "4.27.4",
1716 | "@rollup/rollup-linux-x64-gnu": "4.27.4",
1717 | "@rollup/rollup-linux-x64-musl": "4.27.4",
1718 | "@rollup/rollup-win32-arm64-msvc": "4.27.4",
1719 | "@rollup/rollup-win32-ia32-msvc": "4.27.4",
1720 | "@rollup/rollup-win32-x64-msvc": "4.27.4",
1721 | "fsevents": "~2.3.2"
1722 | }
1723 | },
1724 | "node_modules/scheduler": {
1725 | "version": "0.23.2",
1726 | "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
1727 | "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
1728 | "license": "MIT",
1729 | "peer": true,
1730 | "dependencies": {
1731 | "loose-envify": "^1.1.0"
1732 | }
1733 | },
1734 | "node_modules/semver": {
1735 | "version": "6.3.1",
1736 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
1737 | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
1738 | "dev": true,
1739 | "license": "ISC",
1740 | "bin": {
1741 | "semver": "bin/semver.js"
1742 | }
1743 | },
1744 | "node_modules/source-map-js": {
1745 | "version": "1.2.1",
1746 | "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
1747 | "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
1748 | "dev": true,
1749 | "license": "BSD-3-Clause",
1750 | "engines": {
1751 | "node": ">=0.10.0"
1752 | }
1753 | },
1754 | "node_modules/tabbable": {
1755 | "version": "6.2.0",
1756 | "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.2.0.tgz",
1757 | "integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==",
1758 | "license": "MIT",
1759 | "peer": true
1760 | },
1761 | "node_modules/tslib": {
1762 | "version": "2.8.1",
1763 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
1764 | "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
1765 | "license": "0BSD",
1766 | "peer": true
1767 | },
1768 | "node_modules/update-browserslist-db": {
1769 | "version": "1.1.1",
1770 | "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz",
1771 | "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==",
1772 | "dev": true,
1773 | "funding": [
1774 | {
1775 | "type": "opencollective",
1776 | "url": "https://opencollective.com/browserslist"
1777 | },
1778 | {
1779 | "type": "tidelift",
1780 | "url": "https://tidelift.com/funding/github/npm/browserslist"
1781 | },
1782 | {
1783 | "type": "github",
1784 | "url": "https://github.com/sponsors/ai"
1785 | }
1786 | ],
1787 | "license": "MIT",
1788 | "dependencies": {
1789 | "escalade": "^3.2.0",
1790 | "picocolors": "^1.1.0"
1791 | },
1792 | "bin": {
1793 | "update-browserslist-db": "cli.js"
1794 | },
1795 | "peerDependencies": {
1796 | "browserslist": ">= 4.21.0"
1797 | }
1798 | },
1799 | "node_modules/vite": {
1800 | "version": "6.0.1",
1801 | "resolved": "https://registry.npmjs.org/vite/-/vite-6.0.1.tgz",
1802 | "integrity": "sha512-Ldn6gorLGr4mCdFnmeAOLweJxZ34HjKnDm4HGo6P66IEqTxQb36VEdFJQENKxWjupNfoIjvRUnswjn1hpYEpjQ==",
1803 | "dev": true,
1804 | "license": "MIT",
1805 | "dependencies": {
1806 | "esbuild": "^0.24.0",
1807 | "postcss": "^8.4.49",
1808 | "rollup": "^4.23.0"
1809 | },
1810 | "bin": {
1811 | "vite": "bin/vite.js"
1812 | },
1813 | "engines": {
1814 | "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
1815 | },
1816 | "funding": {
1817 | "url": "https://github.com/vitejs/vite?sponsor=1"
1818 | },
1819 | "optionalDependencies": {
1820 | "fsevents": "~2.3.3"
1821 | },
1822 | "peerDependencies": {
1823 | "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
1824 | "jiti": ">=1.21.0",
1825 | "less": "*",
1826 | "lightningcss": "^1.21.0",
1827 | "sass": "*",
1828 | "sass-embedded": "*",
1829 | "stylus": "*",
1830 | "sugarss": "*",
1831 | "terser": "^5.16.0",
1832 | "tsx": "^4.8.1",
1833 | "yaml": "^2.4.2"
1834 | },
1835 | "peerDependenciesMeta": {
1836 | "@types/node": {
1837 | "optional": true
1838 | },
1839 | "jiti": {
1840 | "optional": true
1841 | },
1842 | "less": {
1843 | "optional": true
1844 | },
1845 | "lightningcss": {
1846 | "optional": true
1847 | },
1848 | "sass": {
1849 | "optional": true
1850 | },
1851 | "sass-embedded": {
1852 | "optional": true
1853 | },
1854 | "stylus": {
1855 | "optional": true
1856 | },
1857 | "sugarss": {
1858 | "optional": true
1859 | },
1860 | "terser": {
1861 | "optional": true
1862 | },
1863 | "tsx": {
1864 | "optional": true
1865 | },
1866 | "yaml": {
1867 | "optional": true
1868 | }
1869 | }
1870 | },
1871 | "node_modules/yallist": {
1872 | "version": "3.1.1",
1873 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
1874 | "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
1875 | "dev": true,
1876 | "license": "ISC"
1877 | }
1878 | }
1879 | }
1880 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "rescript-headlessui",
3 | "version": "0.1.2",
4 | "description": "ReScript bindings to HeadlessUI React component library",
5 | "keywords": [
6 | "rescript",
7 | "bindings",
8 | "headlessui"
9 | ],
10 | "author": "Chris Bowling (https://github.com/cbowling)",
11 | "license": "MIT",
12 | "repository": {
13 | "type": "git",
14 | "url": "https://github.com/cbowling/rescript-headlessui.git"
15 | },
16 | "homepage": "https://github.com/cbowling/rescript-headlessui#readme",
17 | "bugs": "https://github.com/cbowling/rescript-headlessui/issues",
18 | "files": [
19 | "/src",
20 | "/rescript.json"
21 | ],
22 | "type": "module",
23 | "scripts": {
24 | "res:build": "rescript build",
25 | "res:dev": "rescript build -w",
26 | "res:clean": "rescript clean",
27 | "dev": "vite",
28 | "build": "vite build",
29 | "serve": "vite preview"
30 | },
31 | "devDependencies": {
32 | "@vitejs/plugin-react": "^4.3.4",
33 | "vite": "^6.0.1"
34 | },
35 | "peerDependencies": {
36 | "@rescript/core": "1.6.1",
37 | "@rescript/react": "0.13.0",
38 | "rescript": "11.1.4",
39 | "rescript-webapi": "0.9.1"
40 | },
41 | "dependencies": {
42 | "@headlessui/react": "2.2.0"
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/rescript.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "rescript-headlessui",
3 | "sources": [
4 | {
5 | "dir": "src",
6 | "subdirs": true
7 | }
8 | ],
9 | "package-specs": {
10 | "module": "esmodule"
11 | },
12 | "suffix": ".res.js",
13 | "bsc-flags": [
14 | "-bs-g",
15 | "-open RescriptCore"
16 | ],
17 | "bs-dependencies": [
18 | "@rescript/react",
19 | "@rescript/core",
20 | "rescript-webapi"
21 | ],
22 | "warnings": {
23 | "number": "+A-42-44-102-40-4-48",
24 | "error": "+A"
25 | },
26 | "reanalyze": {
27 | "analysis": ["dce", "exception"]
28 | },
29 | "namespace": true,
30 | "jsx": { "version": 4 }
31 | }
32 |
--------------------------------------------------------------------------------
/src/HeadlessUI.res:
--------------------------------------------------------------------------------
1 | @@ocaml.doc("
2 | ** External bindings to HeadlessUI components
3 | ** https://headlessui.com
4 | ")
5 |
6 | module Button = {
7 | type buttonState = {
8 | disabled: bool,
9 | focus: bool,
10 | hover: bool,
11 | active: bool,
12 | autoFocus: bool,
13 | }
14 | type buttonProps<'as_> = {
15 | ...Props.common<'as_>,
16 | disabled?: bool,
17 | autoFocus?: bool,
18 | @as("type")
19 | type_?: @string
20 | [
21 | | #button
22 | | #submit
23 | | #reset
24 | ],
25 | children?: React.component,
26 | }
27 |
28 | @module("@headlessui/react") @react.component(: buttonProps<'as_>)
29 | external make: unit => React.element = "Button"
30 | }
31 |
32 | module Checkbox = {
33 | type checkboxState = {
34 | checked: bool,
35 | indeterminate: bool,
36 | disabled: bool,
37 | focus: bool,
38 | hover: bool,
39 | active: bool,
40 | changing: bool,
41 | }
42 | type checkboxProps<'as_, 'value> = {
43 | ...Props.common<'as_>,
44 | checked?: bool,
45 | defaultChecked?: 'value,
46 | @as("onChange") onChangeHeadless?: 'value => unit,
47 | indeterminate?: bool,
48 | disabled?: bool,
49 | autoFocus?: bool,
50 | name?: string,
51 | form?: string,
52 | value?: string,
53 | children?: React.component,
54 | }
55 |
56 | @module("@headlessui/react") @react.component(: checkboxProps<'as_, 'value>)
57 | external make: unit => React.element = "Checkbox"
58 | }
59 |
60 | module CloseButton = {
61 | type closeButtonProps<'as_> = {
62 | ...Props.common<'as_>,
63 | children?: React.element,
64 | }
65 |
66 | @module("@headlessui/react") @react.component(: closeButtonProps<'as_>)
67 | external make: unit => React.element = "CloseButton"
68 | }
69 |
70 | module Combobox = {
71 | type comboboxState<'value> = {
72 | value: 'value,
73 | @as("open") open_: bool,
74 | activeOption: option<'value>,
75 | disabled: bool,
76 | activeIndex: option,
77 | }
78 | type comboboxProps<'as_, 'value> = {
79 | ...Props.common<'as_>,
80 | disabled?: bool,
81 | value?: 'value,
82 | defaultValue?: 'value,
83 | by?: ('value, 'value) => bool,
84 | @as("onChange") onChangeHeadless?: 'value => unit,
85 | @as("onClose") onCloseHeadless?: unit => unit,
86 | multiple?: bool,
87 | name?: string,
88 | form?: string,
89 | immediate?: bool,
90 | virtual?: {"options": array<'value>, "disabled": 'value => bool},
91 | children?: React.component>,
92 | }
93 |
94 | @module("@headlessui/react") @react.component(: comboboxProps<'as_, 'value>)
95 | external make: unit => React.element = "Combobox"
96 |
97 | module Input = {
98 | type inputState = {
99 | @as("open") open_: bool,
100 | disabled: bool,
101 | focus: bool,
102 | hover: bool,
103 | autoFocus: bool,
104 | }
105 | type inputProps<'as_, 'value> = {
106 | ...Props.common<'as_>,
107 | displayValue?: 'value => string,
108 | @as("onChange") onChangeHeadless?: ReactEvent.Form.t => unit,
109 | autoFocus?: bool,
110 | children?: React.component,
111 | }
112 |
113 | @module("@headlessui/react") @react.component(: inputProps<'as_, 'value>)
114 | external make: unit => React.element = "ComboboxInput"
115 | }
116 |
117 | module Button = {
118 | type buttonState<'value> = {
119 | value: 'value,
120 | @as("open") open_: bool,
121 | disabled: bool,
122 | focus: bool,
123 | hover: bool,
124 | active: bool,
125 | }
126 | type buttonProps<'as_, 'value> = {
127 | ...Props.common<'as_>,
128 | autoFocus?: bool,
129 | children?: React.component>,
130 | }
131 |
132 | @module("@headlessui/react") @react.component(: buttonProps<'as_, 'value>)
133 | external make: unit => React.element = "ComboboxButton"
134 | }
135 |
136 | module Options = {
137 | type optionsState = {@as("open") open_: bool}
138 | type optionsProps<'as_, 'anchor> = {
139 | ...Props.common<'as_>,
140 | transition?: bool,
141 | anchor?: 'anchor,
142 | static?: bool,
143 | unmount?: bool,
144 | portal?: bool,
145 | modal?: bool,
146 | children?: React.component,
147 | }
148 |
149 | @module("@headlessui/react") @react.component(: optionsProps<'as_, 'anchor>)
150 | external make: unit => React.element = "ComboboxOptions"
151 | }
152 |
153 | module Option = {
154 | type optionState = {
155 | selected: bool,
156 | disabled: bool,
157 | focus: bool,
158 | }
159 | type optionProps<'as_, 'value> = {
160 | ...Props.domProps,
161 | @as("as") as_?: 'as_,
162 | value?: 'value,
163 | disabled?: bool,
164 | order?: int,
165 | children?: React.component,
166 | }
167 |
168 | @module("@headlessui/react") @react.component(: optionProps<'as_, 'value>)
169 | external make: unit => React.element = "ComboboxOption"
170 | }
171 | }
172 |
173 | module Description = {
174 | type descriptionState = {@as("open") open_: bool}
175 | type descriptionProps<'as_> = {
176 | ...Props.common<'as_>,
177 | children?: React.component,
178 | }
179 |
180 | @module("@headlessui/react") @react.component(: descriptionProps<'as_>)
181 | external make: unit => React.element = "Description"
182 | }
183 |
184 | module Dialog = {
185 | type dialogState = {@as("open") open_: bool}
186 | type dialogProps<'as_> = {
187 | ...Props.common<'as_>,
188 | @as("open") open_?: bool,
189 | onClose?: bool => unit,
190 | autoFocus?: bool,
191 | transition?: bool,
192 | static?: bool,
193 | unmount?: bool,
194 | role?: @string
195 | [
196 | | #dialog
197 | | #alertdialog
198 | ],
199 | children?: React.component,
200 | }
201 |
202 | @module("@headlessui/react") @react.component(: dialogProps<'as_>)
203 | external make: unit => React.element = "Dialog"
204 |
205 | module Backdrop = {
206 | type backdropState = {@as("open") open_: bool}
207 | type backdropProps<'as_> = {
208 | ...Props.common<'as_>,
209 | transition?: bool,
210 | children?: React.component,
211 | }
212 |
213 | @module("@headlessui/react") @react.component(: backdropProps<'as_>)
214 | external make: unit => React.element = "DialogBackdrop"
215 | }
216 |
217 | module Panel = {
218 | type panelState = {@as("open") open_: bool}
219 | type panelProps<'as_> = {
220 | ...Props.common<'as_>,
221 | transition?: bool,
222 | children?: React.component,
223 | }
224 |
225 | @module("@headlessui/react") @react.component(: panelProps<'as_>)
226 | external make: unit => React.element = "DialogPanel"
227 | }
228 |
229 | module Title = {
230 | type titleState = {@as("open") open_: bool}
231 | type titleProps<'as_> = {
232 | ...Props.common<'as_>,
233 | children?: React.component,
234 | }
235 |
236 | @module("@headlessui/react") @react.component(: titleProps<'as_>)
237 | external make: unit => React.element = "DialogTitle"
238 | }
239 | }
240 |
241 | module Disclosure = {
242 | type disclosureState = {
243 | @as("open") open_: bool,
244 | close: option>> => unit,
245 | }
246 | type disclosureProps<'as_> = {
247 | ...Props.common<'as_>,
248 | defaultOpen?: bool,
249 | children?: React.component,
250 | }
251 |
252 | @module("@headlessui/react") @react.component(: disclosureProps<'as_>)
253 | external make: unit => React.element = "Disclosure"
254 |
255 | module Button = {
256 | type buttonState = {
257 | @as("open") open_: bool,
258 | focus: bool,
259 | hover: bool,
260 | active: bool,
261 | autoFocus: bool,
262 | }
263 | type buttonProps<'as_> = {
264 | ...Props.common<'as_>,
265 | autoFocus?: bool,
266 | children?: React.component,
267 | }
268 |
269 | @module("@headlessui/react") @react.component(: buttonProps<'as_>)
270 | external make: unit => React.element = "DisclosureButton"
271 | }
272 |
273 | module Panel = {
274 | type panelState = {
275 | @as("open") open_: bool,
276 | close: option>> => unit,
277 | }
278 | type panelProps<'as_> = {
279 | ...Props.common<'as_>,
280 | transition?: bool,
281 | static?: bool,
282 | unmount?: bool,
283 | children?: React.component,
284 | }
285 |
286 | @module("@headlessui/react") @react.component(: panelProps<'as_>)
287 | external make: unit => React.element = "DisclosurePanel"
288 | }
289 | }
290 |
291 | module Field = {
292 | type fieldState = {disabled: bool}
293 | type fieldProps<'as_> = {
294 | ...Props.common<'as_>,
295 | disabled?: bool,
296 | children?: React.component,
297 | }
298 |
299 | @module("headlessui/react") @react.component(: fieldProps<'as_>)
300 | external make: unit => React.element = "Field"
301 | }
302 |
303 | module Fieldset = {
304 | type fieldsetState = {disabled: bool}
305 | type fieldsetProps<'as_> = {
306 | ...Props.common<'as_>,
307 | disabled?: bool,
308 | children?: React.component,
309 | }
310 |
311 | @module("@headlessui/react") @react.component(: fieldsetProps<'as_>)
312 | external make: unit => React.element = "Fieldset"
313 | }
314 |
315 | module Input = {
316 | type inputState = {
317 | invalid: bool,
318 | disabled: bool,
319 | focus: bool,
320 | hover: bool,
321 | autoFocus: bool,
322 | }
323 | type inputProps<'as_> = {
324 | ...Props.common<'as_>,
325 | invalid?: bool,
326 | disabled?: bool,
327 | autoFocus?: bool,
328 | children?: React.component,
329 | }
330 |
331 | @module("@headlessui/react") @react.component(: inputProps<'as_>)
332 | external make: unit => React.element = "Input"
333 | }
334 |
335 | module Label = {
336 | type labelState = {disabled: bool}
337 | type labelProps<'as_> = {
338 | ...Props.common<'as_>,
339 | passive?: bool,
340 | children?: React.component,
341 | }
342 |
343 | @module("@headlessui/react") @react.component(: labelProps<'as_>)
344 | external make: unit => React.element = "Label"
345 | }
346 |
347 | module Legend = {
348 | type legendState = {disabled: bool}
349 | type legendProps<'as_> = {
350 | ...Props.common<'as_>,
351 | children?: React.component,
352 | }
353 |
354 | @module("@headlessui/react") @react.component(: legendProps<'as_>)
355 | external make: unit => React.element = "Legend"
356 | }
357 |
358 | module Listbox = {
359 | type listboxState<'value> = {
360 | value: 'value,
361 | @as("open") open_: bool,
362 | invalid: bool,
363 | disabled: bool,
364 | }
365 | type listboxProps<'as_, 'value> = {
366 | ...Props.common<'as_>,
367 | invalid?: bool,
368 | disabled?: bool,
369 | value?: 'value,
370 | defaultValue?: 'value,
371 | by?: ('value, 'value) => bool,
372 | @as("onChange") onChangeHeadless?: 'value => unit,
373 | horizontal?: bool,
374 | multiple?: bool,
375 | name?: string,
376 | form?: string,
377 | children?: React.component>,
378 | }
379 |
380 | @module("@headlessui/react") @react.component(: listboxProps<'as_, 'value>)
381 | external make: unit => React.element = "Listbox"
382 |
383 | module Button = {
384 | type buttonState<'value> = {
385 | value: 'value,
386 | @as("open") open_: bool,
387 | invalid: bool,
388 | disabled: bool,
389 | focus: bool,
390 | hover: bool,
391 | active: bool,
392 | autoFocus: bool,
393 | }
394 | type buttonProps<'as_, 'value> = {
395 | ...Props.common<'as_>,
396 | children: React.component>,
397 | }
398 |
399 | @module("@headlessui/react") @react.component(: buttonProps<'as_, 'value>)
400 | external make: unit => React.element = "ListboxButton"
401 | }
402 |
403 | module SelectedOption = {
404 | type selectOptionProps<'as_> = {
405 | ...Props.common<'as_>,
406 | placeholder?: React.element,
407 | options?: array,
408 | children?: React.element,
409 | }
410 |
411 | @module("@headlessui/react") @react.component(: selectOptionProps<'as_>)
412 | external make: unit => React.element = "ListboxSelectedOption"
413 | }
414 |
415 | module Options = {
416 | type optionsState = {@as("open") open_: bool}
417 | type optionsProps<'as_, 'anchor> = {
418 | ...Props.common<'as_>,
419 | transition?: bool,
420 | anchor?: 'anchor,
421 | static?: bool,
422 | unmount?: bool,
423 | portal?: bool,
424 | modal?: bool,
425 | children?: React.component,
426 | }
427 |
428 | @module("@headlessui/react") @react.component(: optionsProps<'as_, 'anchor>)
429 | external make: unit => React.element = "ListboxOptions"
430 | }
431 |
432 | module Option = {
433 | type optionState = {
434 | selected: bool,
435 | disabled: bool,
436 | focus: bool,
437 | selectedOption: bool,
438 | }
439 | type optionProps<'as_, 'value> = {
440 | ...Props.common<'as_>,
441 | value?: 'value,
442 | disabled?: bool,
443 | children?: React.component,
444 | }
445 |
446 | @module("@headlessui/react") @react.component(: optionProps<'as_, 'value>)
447 | external make: unit => React.element = "ListboxOption"
448 | }
449 | }
450 |
451 | module Menu = {
452 | type menuState = {@as("open") open_: bool, close: unit => unit}
453 | type menuProps<'as_> = {
454 | ...Props.common<'as_>,
455 | children?: React.component,
456 | }
457 |
458 | @module("@headlessui/react") @react.component(: menuProps<'as_>)
459 | external make: unit => React.element = "Menu"
460 |
461 | module Button = {
462 | type buttonState = {
463 | @as("open") open_: bool,
464 | focus: bool,
465 | hover: bool,
466 | active: bool,
467 | autoFocus: bool,
468 | }
469 | type buttonProps<'as_> = {
470 | ...Props.common<'as_>,
471 | disabled?: bool,
472 | children: React.component,
473 | }
474 |
475 | @module("@headlessui/react") @react.component(: buttonProps<'as_>)
476 | external make: unit => React.element = "MenuButton"
477 | }
478 |
479 | module Items = {
480 | type itemsState = {@as("open") open_: bool}
481 | type itemsProps<'as_, 'anchor> = {
482 | ...Props.common<'as_>,
483 | transition?: bool,
484 | anchor?: 'anchor,
485 | static?: bool,
486 | unmount?: bool,
487 | portal?: bool,
488 | modal?: bool,
489 | children?: React.component,
490 | }
491 |
492 | @module("@headlessui/react") @react.component(: itemsProps<'as_, 'anchor>)
493 | external make: unit => React.element = "MenuItems"
494 | }
495 |
496 | module Item = {
497 | type itemState = {
498 | disabled: bool,
499 | focus: bool,
500 | close: unit => unit,
501 | }
502 | type itemProps<'as_> = {
503 | ...Props.common<'as_>,
504 | disabled?: bool,
505 | children?: React.component,
506 | }
507 |
508 | @module("@headlessui/react") @react.component(: itemProps<'as_>)
509 | external make: unit => React.element = "MenuItem"
510 | }
511 |
512 | module Section = {
513 | type sectionProps<'as_> = {
514 | ...Props.common<'as_>,
515 | children?: React.element,
516 | }
517 |
518 | @module("@headlessui/react") @react.component(: sectionProps<'as_>)
519 | external make: unit => React.element = "MenuSection"
520 | }
521 |
522 | module Heading = {
523 | type headingProps<'as_> = {
524 | ...Props.common<'as_>,
525 | children?: React.element,
526 | }
527 |
528 | @module("@headlessui/react") @react.component(: headingProps<'as_>)
529 | external make: unit => React.element = "MenuHeading"
530 | }
531 |
532 | module Separator = {
533 | type separatorProps<'as_> = {
534 | ...Props.common<'as_>,
535 | children?: React.element,
536 | }
537 |
538 | @module("@headlessui/react") @react.component(: separatorProps<'as_>)
539 | external make: unit => React.element = "MenuSeparator"
540 | }
541 | }
542 |
543 | module Popover = {
544 | type popoverState = {
545 | @as("open") open_: bool,
546 | close: option>> => unit,
547 | }
548 | type popoverProps<'as_> = {
549 | ...Props.common<'as_>,
550 | children?: React.component,
551 | }
552 |
553 | @module("@headlessui/react") @react.component(: popoverProps<'as_>)
554 | external make: unit => React.element = "Popover"
555 |
556 | module Backdrop = {
557 | type backdropState = {@as("open") open_: bool}
558 |
559 | type backdropProps<'as_> = {
560 | ...Props.common<'as_>,
561 | transition?: bool,
562 | children?: React.component,
563 | }
564 |
565 | @module("@headlessui/react") @react.component(: backdropProps<'as_>)
566 | external make: unit => React.element = "PopoverBackdrop"
567 | }
568 |
569 | module Button = {
570 | type buttonState = {
571 | @as("open") open_: bool,
572 | focus: bool,
573 | hover: bool,
574 | active: bool,
575 | autoFocus: bool,
576 | }
577 | type buttonProps<'as_> = {
578 | ...Props.common<'as_>,
579 | disabled?: bool,
580 | autoFocus?: bool,
581 | children?: React.component,
582 | }
583 |
584 | @module("@headlessui/react") @react.component(: buttonProps<'as_>)
585 | external make: unit => React.element = "PopoverButton"
586 | }
587 |
588 | module Panel = {
589 | type panelState = {
590 | @as("open") open_: bool,
591 | close: unit => unit,
592 | }
593 | type panelProps<'as_, 'anchor> = {
594 | ...Props.common<'as_>,
595 | transition?: bool,
596 | anchor?: 'anchor,
597 | static?: bool,
598 | unmount?: bool,
599 | portal?: bool,
600 | modal?: bool,
601 | focus?: bool,
602 | children?: React.component,
603 | }
604 |
605 | @module("@headlessui/react") @react.component(: panelProps<'as_, 'anchor>)
606 | external make: unit => React.element = "PopoverPanel"
607 | }
608 |
609 | module Group = {
610 | type groupProps<'as_> = {
611 | ...Props.common<'as_>,
612 | children?: React.element,
613 | }
614 |
615 | @module("@headlessui/react") @react.component(: groupProps<'as_>)
616 | external make: unit => React.element = "PopoverGroup"
617 | }
618 | }
619 |
620 | module RadioGroup = {
621 | type radioGroupProps<'as_, 'value> = {
622 | ...Props.common<'as_>,
623 | value?: 'value,
624 | defaultValue?: 'value,
625 | by?: ('value, 'value) => bool,
626 | @as("onChange") onChangeHeadless?: 'value => bool,
627 | disabled?: bool,
628 | name?: string,
629 | form?: string,
630 | children?: React.element,
631 | }
632 |
633 | @module("@headlessui/react") @react.component(: radioGroupProps<'as_, 'value>)
634 | external make: unit => React.element = "RadioGroup"
635 |
636 | module Radio = {
637 | type radioState = {
638 | checked: bool,
639 | disabled: bool,
640 | focus: bool,
641 | hover: bool,
642 | autoFocus: bool,
643 | }
644 | type radioProps<'as_, 'value> = {
645 | ...Props.common<'as_>,
646 | value?: 'value,
647 | disabled?: bool,
648 | autoFocus?: bool,
649 | children?: React.component,
650 | }
651 |
652 | @module("@headlessui/react") @react.component(: radioProps<'as_, 'value>)
653 | external make: unit => React.element = "Radio"
654 | }
655 |
656 | module Label = {
657 | type labelProps<'as_> = {
658 | ...Props.common<'as_>,
659 | children?: React.element,
660 | }
661 |
662 | @module("@headlessui/react") @react.component(: labelProps<'as_>)
663 | external make: unit => React.element = "RadioGroupLabel"
664 | }
665 |
666 | module Description = {
667 | type descriptionProps<'as_> = {
668 | ...Props.common<'as_>,
669 | children?: React.element,
670 | }
671 |
672 | @module("@headlessui/react") @react.component(: descriptionProps<'as_>)
673 | external make: unit => React.element = "RadioGroupDescription"
674 | }
675 | }
676 |
677 | module Select = {
678 | type selectState = {
679 | invalid: bool,
680 | disabled: bool,
681 | focus: bool,
682 | hover: bool,
683 | autoFocus: bool,
684 | }
685 | type selectProps<'as_> = {
686 | ...Props.common<'as_>,
687 | invalid?: bool,
688 | disabled?: bool,
689 | autoFocus?: bool,
690 | children?: React.component,
691 | }
692 |
693 | @module("@headlessui/react") @react.component(: selectProps<'as_>)
694 | external make: unit => React.element = "Select"
695 | }
696 |
697 | module Switch = {
698 | type switchState = {
699 | checked: bool,
700 | disabled: bool,
701 | focus: bool,
702 | hover: bool,
703 | active: bool,
704 | autoFocus: bool,
705 | changing: bool,
706 | }
707 | type switchProps<'as_, 'value> = {
708 | ...Props.common<'as_>,
709 | checked?: bool,
710 | defaultChecked?: 'value,
711 | @as("onChange") onChangeHeadless?: bool => unit,
712 | name?: string,
713 | form?: string,
714 | value?: string,
715 | children?: React.component,
716 | }
717 |
718 | @module("@headlessui/react") @react.component(: switchProps<'as_, 'value>)
719 | external make: unit => React.element = "Switch"
720 | }
721 |
722 | module TabGroup = {
723 | type groupState = {selectedIndex: int}
724 | type groupProps<'as_> = {
725 | ...Props.common<'as_>,
726 | defaultIndex?: int,
727 | selectedIndex?: int,
728 | @as("onChange") onChangeHeadless?: int => unit,
729 | vertical?: bool,
730 | manual?: bool,
731 | children?: React.component,
732 | }
733 |
734 | @module("@headlessui/react") @react.component(: groupProps<'as_>)
735 | external make: unit => React.element = "TabGroup"
736 |
737 | module List = {
738 | type listState = {selectedIndex: int}
739 |
740 | type listProps<'as_> = {
741 | ...Props.common<'as_>,
742 | children?: React.component,
743 | }
744 |
745 | @module("@headlessui/react") @react.component(: listProps<'as_>)
746 | external make: unit => React.element = "TabList"
747 | }
748 |
749 | module Tab = {
750 | type tabState = {
751 | selected: bool,
752 | focus: bool,
753 | hover: bool,
754 | active: bool,
755 | autoFocus: bool,
756 | }
757 | type tabProps<'as_> = {
758 | ...Props.common<'as_>,
759 | disabled?: bool,
760 | autoFocus?: bool,
761 | children?: React.component,
762 | }
763 |
764 | @module("@headlessui/react") @react.component(: tabProps<'as_>)
765 | external make: unit => React.element = "Tab"
766 | }
767 |
768 | module TabPanels = {
769 | type panelsState = {selectedIndex: int}
770 |
771 | type panelsProps<'as_> = {
772 | ...Props.common<'as_>,
773 | children?: React.component,
774 | }
775 |
776 | @module("@headlessui/react") @react.component(: panelsProps<'as_>)
777 | external make: unit => React.element = "TabPanels"
778 | }
779 |
780 | module TabPanel = {
781 | type panelState = {selected: int}
782 | type panelProps<'as_> = {
783 | ...Props.common<'as_>,
784 | static?: bool,
785 | unmount?: bool,
786 | children?: React.component,
787 | }
788 |
789 | @module("@headlessui/react") @react.component(: panelProps<'as_>)
790 | external make: unit => React.element = "TabPanel"
791 | }
792 | }
793 |
794 | module Textarea = {
795 | type textareaState = {
796 | invalid: bool,
797 | disabled: bool,
798 | focus: bool,
799 | hover: bool,
800 | autoFocus: bool,
801 | }
802 | type textareaProps<'as_> = {
803 | ...Props.common<'as_>,
804 | invalid?: bool,
805 | disabled?: bool,
806 | autoFocus?: bool,
807 | children?: React.component,
808 | }
809 |
810 | @module("@headlessui/react") @react.component(: textareaProps<'as_>)
811 | external make: unit => React.element = "Textarea"
812 | }
813 |
814 | module Tooltip = {
815 | type tooltipProps<'as_> = {
816 | ...Props.common<'as_>,
817 | showDelayMs?: int,
818 | hideDelay?: int,
819 | children?: React.element,
820 | }
821 |
822 | @module("@headlessui/react") @react.component(: tooltipProps<'as_>)
823 | external make: unit => React.element = "Tooltip"
824 |
825 | module Trigger = {
826 | type triggerState = {
827 | focus: bool,
828 | hover: bool,
829 | autoFocus: bool,
830 | }
831 | type triggerProps<'as_> = {
832 | ...Props.common<'as_>,
833 | disabled?: bool,
834 | autoFocus?: bool,
835 | children?: React.component,
836 | }
837 |
838 | @module("@headlessui/react") @react.component(: triggerProps<'as_>)
839 | external make: unit => React.element = "TooltipTrigger"
840 | }
841 |
842 | module Panel = {
843 | type panelProps<'as_, 'anchor> = {
844 | ...Props.common<'as_>,
845 | anchor?: 'anchor,
846 | static?: bool,
847 | unmount?: bool,
848 | children?: React.element,
849 | }
850 |
851 | @module("@headlessui/react") @react.component(: panelProps<'as_, 'anchor>)
852 | external make: unit => React.element = "TooltipPanel"
853 | }
854 | }
855 |
856 | module Transition = {
857 | type transitionProps<'as_> = {
858 | ...Props.common<'as_>,
859 | show?: bool,
860 | appear?: bool,
861 | unmount?: bool,
862 | beforeEnter?: unit => unit,
863 | afterEnter?: unit => unit,
864 | beforeLeave?: unit => unit,
865 | afterLeave?: unit => unit,
866 | children?: React.element,
867 | }
868 |
869 | @module("@headlessui/react") @react.component(: transitionProps<'as_>)
870 | external make: unit => React.element = "Transition"
871 |
872 | module Child = {
873 | type transitionChildProps<'as_> = {
874 | ...Props.common<'as_>,
875 | appear?: bool,
876 | unmount?: bool,
877 | beforeEnter?: unit => unit,
878 | afterEnter?: unit => unit,
879 | beforeLeave?: unit => unit,
880 | afterLeave?: unit => unit,
881 | children?: React.element,
882 | }
883 |
884 | @module("@headlessui/react") @react.component(: transitionChildProps<'as_>)
885 | external make: unit => React.element = "TransitionChild"
886 | }
887 | }
888 |
--------------------------------------------------------------------------------
/src/Props.res:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2022- Authors of ReScript
3 | *
4 | * This program is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU Lesser General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * In addition to the permissions granted to you by the LGPL, you may combine
10 | * or link a "work that uses the Library" with a publicly distributed version
11 | * of this file to produce a combined library or application, then distribute
12 | * that combined work under the terms of your choosing, with no requirement
13 | * to comply with the obligations normally placed on you by section 4 of the
14 | * LGPL version 3 (or the corresponding section of a later version of the LGPL
15 | * should you choose to use a later version).
16 | *
17 | * This program is distributed in the hope that it will be useful,
18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 | * GNU Lesser General Public License for more details.
21 | *
22 | * You should have received a copy of the GNU Lesser General Public License
23 | * along with this program; if not, write to the Free Software
24 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 | */
26 |
27 | /*
28 | * Taken from the ReScript v11.1 `jsxDOMU.res` file and modified to avoid
29 | * collisions with HeadlessUI specific properties.
30 | */
31 |
32 | type domRef
33 |
34 | type domProps = {
35 | key?: string,
36 | ref?: domRef,
37 | /* accessibility */
38 | /* https://www.w3.org/TR/wai-aria-1.1/ */
39 | /* https://accessibilityresources.org/ is a great resource for these */
40 | @as("aria-current")
41 | ariaCurrent?: [#page | #step | #location | #date | #time | #"true" | #"false"],
42 | @as("aria-details")
43 | ariaDetails?: string,
44 | @as("aria-disabled")
45 | ariaDisabled?: bool,
46 | @as("aria-hidden")
47 | ariaHidden?: bool,
48 | @as("aria-invalid") ariaInvalid?: [#grammar | #"false" | #spelling | #"true"],
49 | @as("aria-keyshortcuts")
50 | ariaKeyshortcuts?: string,
51 | @as("aria-label")
52 | ariaLabel?: string,
53 | @as("aria-roledescription")
54 | ariaRoledescription?: string,
55 | /* Widget Attributes */
56 | @as("aria-autocomplete") ariaAutocomplete?: [#inline | #list | #both | #none],
57 | /* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate */
58 | @as("aria-checked")
59 | ariaChecked?: [#"true" | #"false" | #mixed],
60 | @as("aria-expanded")
61 | ariaExpanded?: bool,
62 | @as("aria-haspopup")
63 | ariaHaspopup?: [#menu | #listbox | #tree | #grid | #dialog | #"true" | #"false"],
64 | @as("aria-level")
65 | ariaLevel?: int,
66 | @as("aria-modal")
67 | ariaModal?: bool,
68 | @as("aria-multiline")
69 | ariaMultiline?: bool,
70 | @as("aria-multiselectable")
71 | ariaMultiselectable?: bool,
72 | @as("aria-orientation") ariaOrientation?: [#horizontal | #vertical | #undefined],
73 | @as("aria-placeholder")
74 | ariaPlaceholder?: string,
75 | /* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate */
76 | @as("aria-pressed") ariaPressed?: [#"true" | #"false" | #mixed],
77 | @as("aria-readonly")
78 | ariaReadonly?: bool,
79 | @as("aria-required")
80 | ariaRequired?: bool,
81 | @as("aria-selected")
82 | ariaSelected?: bool,
83 | @as("aria-sort")
84 | ariaSort?: string,
85 | @as("aria-valuemax")
86 | ariaValuemax?: float,
87 | @as("aria-valuemin")
88 | ariaValuemin?: float,
89 | @as("aria-valuenow")
90 | ariaValuenow?: float,
91 | @as("aria-valuetext")
92 | ariaValuetext?: string,
93 | /* Live Region Attributes */
94 | @as("aria-atomic")
95 | ariaAtomic?: bool,
96 | @as("aria-busy")
97 | ariaBusy?: bool,
98 | @as("aria-live") ariaLive?: [#off | #polite | #assertive | #rude],
99 | @as("aria-relevant")
100 | ariaRelevant?: string,
101 | /* Drag-and-Drop Attributes */
102 | @as("aria-dropeffect") ariaDropeffect?: [#copy | #move | #link | #execute | #popup | #none],
103 | @as("aria-grabbed")
104 | ariaGrabbed?: bool,
105 | /* Relationship Attributes */
106 | @as("aria-activedescendant")
107 | ariaActivedescendant?: string,
108 | @as("aria-colcount")
109 | ariaColcount?: int,
110 | @as("aria-colindex")
111 | ariaColindex?: int,
112 | @as("aria-colspan")
113 | ariaColspan?: int,
114 | @as("aria-controls")
115 | ariaControls?: string,
116 | @as("aria-describedby")
117 | ariaDescribedby?: string,
118 | @as("aria-errormessage")
119 | ariaErrormessage?: string,
120 | @as("aria-flowto")
121 | ariaFlowto?: string,
122 | @as("aria-labelledby")
123 | ariaLabelledby?: string,
124 | @as("aria-owns")
125 | ariaOwns?: string,
126 | @as("aria-posinset")
127 | ariaPosinset?: int,
128 | @as("aria-rowcount")
129 | ariaRowcount?: int,
130 | @as("aria-rowindex")
131 | ariaRowindex?: int,
132 | @as("aria-rowspan")
133 | ariaRowspan?: int,
134 | @as("aria-setsize")
135 | ariaSetsize?: int,
136 | /* global html attributes */
137 | accessKey?: string,
138 | className?: string /* substitute for "class" */,
139 | contentEditable?: bool,
140 | contextMenu?: string,
141 | @as("data-testid") dataTestId?: string,
142 | dir?: string /* "ltr", "rtl" or "auto" */,
143 | draggable?: bool,
144 | hidden?: bool,
145 | id?: string,
146 | lang?: string,
147 | style?: JsxDOMStyle.t,
148 | spellCheck?: bool,
149 | tabIndex?: int,
150 | title?: string,
151 | /* html5 microdata */
152 | itemID?: string,
153 | itemProp?: string,
154 | itemRef?: string,
155 | itemScope?: bool,
156 | itemType?: string /* uri */,
157 | /* tag-specific html attributes */
158 | accept?: string,
159 | acceptCharset?: string,
160 | action?: string /* uri */,
161 | allowFullScreen?: bool,
162 | alt?: string,
163 | async?: bool,
164 | autoComplete?: string /* has a fixed, but large-ish, set of possible values */,
165 | autoCapitalize?: string /* Mobile Safari specific */,
166 | autoPlay?: bool,
167 | challenge?: string,
168 | charSet?: string,
169 | cite?: string /* uri */,
170 | crossOrigin?: string /* anonymous, use-credentials */,
171 | cols?: int,
172 | colSpan?: int,
173 | content?: string,
174 | controls?: bool,
175 | coords?: string /* set of values specifying the coordinates of a region */,
176 | data?: string /* uri */,
177 | dateTime?: string /* "valid date string with optional time" */,
178 | default?: bool,
179 | defer?: bool,
180 | download?: string /* should really be either a boolean, signifying presence, or a string */,
181 | encType?: string /* "application/x-www-form-urlencoded", "multipart/form-data" or "text/plain" */,
182 | formAction?: string /* uri */,
183 | formTarget?: string /* "_blank", "_self", etc. */,
184 | formMethod?: string /* "post", "get", "put" */,
185 | headers?: string,
186 | height?: string /* in html5 this can only be a number, but in html4 it can ba a percentage as well */,
187 | high?: int,
188 | href?: string /* uri */,
189 | hrefLang?: string,
190 | htmlFor?: string /* substitute for "for" */,
191 | httpEquiv?: string /* has a fixed set of possible values */,
192 | icon?: string /* uri? */,
193 | inputMode?: string /* "verbatim", "latin", "numeric", etc. */,
194 | integrity?: string,
195 | keyType?: string,
196 | kind?: string /* has a fixed set of possible values */,
197 | label?: string,
198 | list?: string,
199 | loading?: [#"lazy" | #eager],
200 | loop?: bool,
201 | low?: int,
202 | manifest?: string /* uri */,
203 | max?: string /* should be int or Js.Date.t */,
204 | maxLength?: int,
205 | media?: string /* a valid media query */,
206 | mediaGroup?: string,
207 | method?: string /* "post" or "get" */,
208 | min?: string,
209 | minLength?: int,
210 | muted?: bool,
211 | nonce?: string,
212 | noValidate?: bool,
213 | optimum?: int,
214 | pattern?: string /* valid Js RegExp */,
215 | playsInline?: bool,
216 | poster?: string /* uri */,
217 | preload?: string /* "none", "metadata" or "auto" (and "" as a synonym for "auto") */,
218 | radioGroup?: string,
219 | readOnly?: bool,
220 | rel?: string /* a space- or comma-separated (depending on the element) list of a fixed set of "link types" */,
221 | required?: bool,
222 | reversed?: bool,
223 | rows?: int,
224 | rowSpan?: int,
225 | sandbox?: string /* has a fixed set of possible values */,
226 | scope?: string /* has a fixed set of possible values */,
227 | scoped?: bool,
228 | scrolling?: string /* html4 only, "auto", "yes" or "no" */,
229 | /* seamless - supported by React, but removed from the html5 spec */
230 | selected?: bool,
231 | shape?: string,
232 | size?: int,
233 | sizes?: string,
234 | span?: int,
235 | src?: string /* uri */,
236 | srcDoc?: string,
237 | srcLang?: string,
238 | srcSet?: string,
239 | start?: int,
240 | step?: float,
241 | summary?: string /* deprecated */,
242 | target?: string,
243 | useMap?: string,
244 | width?: string /* in html5 this can only be a number, but in html4 it can ba a percentage as well */,
245 | wrap?: string /* "hard" or "soft" */,
246 | /* Clipboard events */
247 | onCopy?: JsxEventU.Clipboard.t => unit,
248 | onCut?: JsxEventU.Clipboard.t => unit,
249 | onPaste?: JsxEventU.Clipboard.t => unit,
250 | /* Composition events */
251 | onCompositionEnd?: JsxEventU.Composition.t => unit,
252 | onCompositionStart?: JsxEventU.Composition.t => unit,
253 | onCompositionUpdate?: JsxEventU.Composition.t => unit,
254 | /* Keyboard events */
255 | onKeyDown?: JsxEventU.Keyboard.t => unit,
256 | onKeyPress?: JsxEventU.Keyboard.t => unit,
257 | onKeyUp?: JsxEventU.Keyboard.t => unit,
258 | /* Focus events */
259 | onFocus?: JsxEventU.Focus.t => unit,
260 | onBlur?: JsxEventU.Focus.t => unit,
261 | /* Form events */
262 | onBeforeInput?: JsxEventU.Form.t => unit,
263 | onChange?: JsxEventU.Form.t => unit,
264 | onInput?: JsxEventU.Form.t => unit,
265 | onReset?: JsxEventU.Form.t => unit,
266 | onSubmit?: JsxEventU.Form.t => unit,
267 | onInvalid?: JsxEventU.Form.t => unit,
268 | /* Mouse events */
269 | onClick?: JsxEventU.Mouse.t => unit,
270 | onContextMenu?: JsxEventU.Mouse.t => unit,
271 | onDoubleClick?: JsxEventU.Mouse.t => unit,
272 | onDrag?: JsxEventU.Mouse.t => unit,
273 | onDragEnd?: JsxEventU.Mouse.t => unit,
274 | onDragEnter?: JsxEventU.Mouse.t => unit,
275 | onDragExit?: JsxEventU.Mouse.t => unit,
276 | onDragLeave?: JsxEventU.Mouse.t => unit,
277 | onDragOver?: JsxEventU.Mouse.t => unit,
278 | onDragStart?: JsxEventU.Mouse.t => unit,
279 | onDrop?: JsxEventU.Mouse.t => unit,
280 | onMouseDown?: JsxEventU.Mouse.t => unit,
281 | onMouseEnter?: JsxEventU.Mouse.t => unit,
282 | onMouseLeave?: JsxEventU.Mouse.t => unit,
283 | onMouseMove?: JsxEventU.Mouse.t => unit,
284 | onMouseOut?: JsxEventU.Mouse.t => unit,
285 | onMouseOver?: JsxEventU.Mouse.t => unit,
286 | onMouseUp?: JsxEventU.Mouse.t => unit,
287 | /* Selection events */
288 | onSelect?: JsxEventU.Selection.t => unit,
289 | /* Touch events */
290 | onTouchCancel?: JsxEventU.Touch.t => unit,
291 | onTouchEnd?: JsxEventU.Touch.t => unit,
292 | onTouchMove?: JsxEventU.Touch.t => unit,
293 | onTouchStart?: JsxEventU.Touch.t => unit,
294 | // Pointer events
295 | onPointerOver?: JsxEventU.Pointer.t => unit,
296 | onPointerEnter?: JsxEventU.Pointer.t => unit,
297 | onPointerDown?: JsxEventU.Pointer.t => unit,
298 | onPointerMove?: JsxEventU.Pointer.t => unit,
299 | onPointerUp?: JsxEventU.Pointer.t => unit,
300 | onPointerCancel?: JsxEventU.Pointer.t => unit,
301 | onPointerOut?: JsxEventU.Pointer.t => unit,
302 | onPointerLeave?: JsxEventU.Pointer.t => unit,
303 | onGotPointerCapture?: JsxEventU.Pointer.t => unit,
304 | onLostPointerCapture?: JsxEventU.Pointer.t => unit,
305 | /* UI events */
306 | onScroll?: JsxEventU.UI.t => unit,
307 | /* Wheel events */
308 | onWheel?: JsxEventU.Wheel.t => unit,
309 | /* Media events */
310 | onAbort?: JsxEventU.Media.t => unit,
311 | onCanPlay?: JsxEventU.Media.t => unit,
312 | onCanPlayThrough?: JsxEventU.Media.t => unit,
313 | onDurationChange?: JsxEventU.Media.t => unit,
314 | onEmptied?: JsxEventU.Media.t => unit,
315 | onEncrypted?: JsxEventU.Media.t => unit,
316 | onEnded?: JsxEventU.Media.t => unit,
317 | onError?: JsxEventU.Media.t => unit,
318 | onLoadedData?: JsxEventU.Media.t => unit,
319 | onLoadedMetadata?: JsxEventU.Media.t => unit,
320 | onLoadStart?: JsxEventU.Media.t => unit,
321 | onPause?: JsxEventU.Media.t => unit,
322 | onPlay?: JsxEventU.Media.t => unit,
323 | onPlaying?: JsxEventU.Media.t => unit,
324 | onProgress?: JsxEventU.Media.t => unit,
325 | onRateChange?: JsxEventU.Media.t => unit,
326 | onSeeked?: JsxEventU.Media.t => unit,
327 | onSeeking?: JsxEventU.Media.t => unit,
328 | onStalled?: JsxEventU.Media.t => unit,
329 | onSuspend?: JsxEventU.Media.t => unit,
330 | onTimeUpdate?: JsxEventU.Media.t => unit,
331 | onVolumeChange?: JsxEventU.Media.t => unit,
332 | onWaiting?: JsxEventU.Media.t => unit,
333 | /* Image events */
334 | onLoad?: JsxEventU.Image.t => unit /* duplicate */ /* ~onError: ReactEvent.Image.t => unit=?, */,
335 | /* Animation events */
336 | onAnimationStart?: JsxEventU.Animation.t => unit,
337 | onAnimationEnd?: JsxEventU.Animation.t => unit,
338 | onAnimationIteration?: JsxEventU.Animation.t => unit,
339 | /* Transition events */
340 | onTransitionEnd?: JsxEventU.Transition.t => unit,
341 | /* svg */
342 | accentHeight?: string,
343 | accumulate?: string,
344 | additive?: string,
345 | alignmentBaseline?: string,
346 | allowReorder?: string,
347 | alphabetic?: string,
348 | amplitude?: string,
349 | arabicForm?: string,
350 | ascent?: string,
351 | attributeName?: string,
352 | attributeType?: string,
353 | autoReverse?: string,
354 | azimuth?: string,
355 | baseFrequency?: string,
356 | baseProfile?: string,
357 | baselineShift?: string,
358 | bbox?: string,
359 | begin?: string,
360 | @deprecated("Please use begin")
361 | begin_?: string,
362 | bias?: string,
363 | calcMode?: string,
364 | capHeight?: string,
365 | clip?: string,
366 | clipPath?: string,
367 | clipPathUnits?: string,
368 | clipRule?: string,
369 | colorInterpolation?: string,
370 | colorInterpolationFilters?: string,
371 | colorProfile?: string,
372 | colorRendering?: string,
373 | contentScriptType?: string,
374 | contentStyleType?: string,
375 | cursor?: string,
376 | cx?: string,
377 | cy?: string,
378 | d?: string,
379 | decelerate?: string,
380 | descent?: string,
381 | diffuseConstant?: string,
382 | direction?: string,
383 | display?: string,
384 | divisor?: string,
385 | dominantBaseline?: string,
386 | dur?: string,
387 | dx?: string,
388 | dy?: string,
389 | edgeMode?: string,
390 | elevation?: string,
391 | enableBackground?: string,
392 | end?: string,
393 | @deprecated("Please use end")
394 | end_?: string,
395 | exponent?: string,
396 | externalResourcesRequired?: string,
397 | fill?: string,
398 | fillOpacity?: string,
399 | fillRule?: string,
400 | filter?: string,
401 | filterRes?: string,
402 | filterUnits?: string,
403 | floodColor?: string,
404 | floodOpacity?: string,
405 | focusable?: string,
406 | fontFamily?: string,
407 | fontSize?: string,
408 | fontSizeAdjust?: string,
409 | fontStretch?: string,
410 | fontStyle?: string,
411 | fontVariant?: string,
412 | fontWeight?: string,
413 | fomat?: string,
414 | from?: string,
415 | fx?: string,
416 | fy?: string,
417 | g1?: string,
418 | g2?: string,
419 | glyphName?: string,
420 | glyphOrientationHorizontal?: string,
421 | glyphOrientationVertical?: string,
422 | glyphRef?: string,
423 | gradientTransform?: string,
424 | gradientUnits?: string,
425 | hanging?: string,
426 | horizAdvX?: string,
427 | horizOriginX?: string,
428 | ideographic?: string,
429 | imageRendering?: string,
430 | @as("in")
431 | in_?: string /* use this one. Previous one is deprecated */,
432 | in2?: string,
433 | intercept?: string,
434 | k?: string,
435 | k1?: string,
436 | k2?: string,
437 | k3?: string,
438 | k4?: string,
439 | kernelMatrix?: string,
440 | kernelUnitLength?: string,
441 | kerning?: string,
442 | keyPoints?: string,
443 | keySplines?: string,
444 | keyTimes?: string,
445 | lengthAdjust?: string,
446 | letterSpacing?: string,
447 | lightingColor?: string,
448 | limitingConeAngle?: string,
449 | local?: string,
450 | markerEnd?: string,
451 | markerHeight?: string,
452 | markerMid?: string,
453 | markerStart?: string,
454 | markerUnits?: string,
455 | markerWidth?: string,
456 | mask?: string,
457 | maskContentUnits?: string,
458 | maskUnits?: string,
459 | mathematical?: string,
460 | mode?: string,
461 | numOctaves?: string,
462 | offset?: string,
463 | opacity?: string,
464 | operator?: string,
465 | orient?: string,
466 | orientation?: string,
467 | origin?: string,
468 | overflow?: string,
469 | overflowX?: string,
470 | overflowY?: string,
471 | overlinePosition?: string,
472 | overlineThickness?: string,
473 | paintOrder?: string,
474 | panose1?: string,
475 | pathLength?: string,
476 | patternContentUnits?: string,
477 | patternTransform?: string,
478 | patternUnits?: string,
479 | pointerEvents?: string,
480 | points?: string,
481 | pointsAtX?: string,
482 | pointsAtY?: string,
483 | pointsAtZ?: string,
484 | preserveAlpha?: string,
485 | preserveAspectRatio?: string,
486 | primitiveUnits?: string,
487 | r?: string,
488 | radius?: string,
489 | refX?: string,
490 | refY?: string,
491 | renderingIntent?: string,
492 | repeatCount?: string,
493 | repeatDur?: string,
494 | requiredExtensions?: string,
495 | requiredFeatures?: string,
496 | restart?: string,
497 | result?: string,
498 | rotate?: string,
499 | rx?: string,
500 | ry?: string,
501 | scale?: string,
502 | seed?: string,
503 | shapeRendering?: string,
504 | slope?: string,
505 | spacing?: string,
506 | specularConstant?: string,
507 | specularExponent?: string,
508 | speed?: string,
509 | spreadMethod?: string,
510 | startOffset?: string,
511 | stdDeviation?: string,
512 | stemh?: string,
513 | stemv?: string,
514 | stitchTiles?: string,
515 | stopColor?: string,
516 | stopOpacity?: string,
517 | strikethroughPosition?: string,
518 | strikethroughThickness?: string,
519 | string?: string,
520 | stroke?: string,
521 | strokeDasharray?: string,
522 | strokeDashoffset?: string,
523 | strokeLinecap?: string,
524 | strokeLinejoin?: string,
525 | strokeMiterlimit?: string,
526 | strokeOpacity?: string,
527 | strokeWidth?: string,
528 | surfaceScale?: string,
529 | systemLanguage?: string,
530 | tableValues?: string,
531 | targetX?: string,
532 | targetY?: string,
533 | textAnchor?: string,
534 | textDecoration?: string,
535 | textLength?: string,
536 | textRendering?: string,
537 | to?: string,
538 | @deprecated("Please use to")
539 | to_?: string,
540 | transform?: string,
541 | u1?: string,
542 | u2?: string,
543 | underlinePosition?: string,
544 | underlineThickness?: string,
545 | unicode?: string,
546 | unicodeBidi?: string,
547 | unicodeRange?: string,
548 | unitsPerEm?: string,
549 | vAlphabetic?: string,
550 | vHanging?: string,
551 | vIdeographic?: string,
552 | vMathematical?: string,
553 | values?: string,
554 | vectorEffect?: string,
555 | version?: string,
556 | vertAdvX?: string,
557 | vertAdvY?: string,
558 | vertOriginX?: string,
559 | vertOriginY?: string,
560 | viewBox?: string,
561 | viewTarget?: string,
562 | visibility?: string,
563 | /* width::string? => */
564 | widths?: string,
565 | wordSpacing?: string,
566 | writingMode?: string,
567 | x?: string,
568 | x1?: string,
569 | x2?: string,
570 | xChannelSelector?: string,
571 | xHeight?: string,
572 | xlinkActuate?: string,
573 | xlinkArcrole?: string,
574 | xlinkHref?: string,
575 | xlinkRole?: string,
576 | xlinkShow?: string,
577 | xlinkTitle?: string,
578 | xlinkType?: string,
579 | xmlns?: string,
580 | xmlnsXlink?: string,
581 | xmlBase?: string,
582 | xmlLang?: string,
583 | xmlSpace?: string,
584 | y?: string,
585 | y1?: string,
586 | y2?: string,
587 | yChannelSelector?: string,
588 | z?: string,
589 | zoomAndPan?: string,
590 | /* RDFa */
591 | about?: string,
592 | datatype?: string,
593 | inlist?: string,
594 | prefix?: string,
595 | property?: string,
596 | resource?: string,
597 | typeof?: string,
598 | vocab?: string,
599 | /* react-specific */
600 | dangerouslySetInnerHTML?: {"__html": string},
601 | suppressContentEditableWarning?: bool,
602 | }
603 |
604 | type common<'as_> = {
605 | ...domProps,
606 | @as("as") as_?: 'as_
607 | }
608 |
--------------------------------------------------------------------------------
/vite.config.js:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'vite';
2 | import react from '@vitejs/plugin-react';
3 |
4 | export default defineConfig({
5 | plugins: [react()],
6 | resolve: {
7 | alias: {
8 | '@': '/lib/es6/src' // Optional: Alias for cleaner imports
9 | },
10 | extensions: ['.js', '.res.js'], // Ensure Vite recognizes `.res.js`
11 | },
12 | optimizeDeps: {
13 | esbuildOptions: {
14 | target: 'esnext', // Ensure compatibility with ES modules
15 | },
16 | },
17 | server: {
18 | open: true, // Automatically opens the browser
19 | }
20 | });
21 |
--------------------------------------------------------------------------------