Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4cfda299dc | |||
| d7a003a5c2 | |||
| 31a04541c4 | |||
| 112924cb05 | |||
| 99ff845f44 |
16
README.md
16
README.md
@@ -1,6 +1,6 @@
|
|||||||
# @resultium/svelte-headlessui
|
# @resultium/svelte-headlessui
|
||||||
|
|
||||||
This is a fork of Rgossiaux's svelte-headlessui made due to lack of maintainment of the initial package. This package is not published to any registries as it was never meant to be used anywhere outside Resultium projects, however you are free to use it as per MIT license.
|
This is a fork of Rgossiaux's svelte-headlessui made due to lack of maintainment of the initial package. This package is not published to any public registries as it was never meant to be used anywhere outside Resultium projects, however you are free to use it as per MIT license.
|
||||||
|
|
||||||
This is an unofficial, complete Svelte port of the Headless UI component library (https://headlessui.dev/). It contains **fully accessible, feature-rich, unstyled** UI components.
|
This is an unofficial, complete Svelte port of the Headless UI component library (https://headlessui.dev/). It contains **fully accessible, feature-rich, unstyled** UI components.
|
||||||
|
|
||||||
@@ -18,20 +18,6 @@ This project is intended to keep an API as close as possible to the React API fo
|
|||||||
|
|
||||||
This project is an **unofficial** port. I have no affiliation with Tailwind Labs and cannot offer commercial support for this project. With that said, I intend to keep it as up to date as possible with the upstream Headless UI project, including porting new components when they are released.
|
This project is an **unofficial** port. I have no affiliation with Tailwind Labs and cannot offer commercial support for this project. With that said, I intend to keep it as up to date as possible with the upstream Headless UI project, including porting new components when they are released.
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
```bash
|
|
||||||
yarn add -D git+https://git.resultium.net/public/svelte-headlessui.git
|
|
||||||
```
|
|
||||||
|
|
||||||
```bash
|
|
||||||
pnpm i -D git+https://git.resultium.net/public/svelte-headlessui.git
|
|
||||||
```
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm i -D git+https://git.resultium.net/public/svelte-headlessui.git
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
See https://svelte-headlessui.goss.io for full documentation.
|
See https://svelte-headlessui.goss.io for full documentation.
|
||||||
|
|||||||
15
package.json
15
package.json
@@ -18,7 +18,7 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://git.resultium.net/public/svelte-headlessui.git"
|
"url": "git+https://git.resultium.net/public/svelte-headlessui.git"
|
||||||
},
|
},
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite dev",
|
"dev": "vite dev",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
"test": "jest"
|
"test": "jest"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"svelte": "^3.47.0"
|
"svelte": "^4.2.12"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.23.9",
|
"@babel/cli": "^7.23.9",
|
||||||
@@ -76,5 +76,14 @@
|
|||||||
"typescript": "^5.3.3",
|
"typescript": "^5.3.3",
|
||||||
"vite": "^4.5.2"
|
"vite": "^4.5.2"
|
||||||
},
|
},
|
||||||
"type": "module"
|
"type": "module",
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"svelte": "./index.js",
|
||||||
|
"exports": {
|
||||||
|
"./package.json": "./package.json",
|
||||||
|
".": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"svelte": "./index.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
resultium-svelte-headlessui-1.0.0.tgz
Normal file
BIN
resultium-svelte-headlessui-1.0.0.tgz
Normal file
Binary file not shown.
10
vite.config.js.timestamp-1710278438191-bba20b59ead62.mjs
Normal file
10
vite.config.js.timestamp-1710278438191-bba20b59ead62.mjs
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
// vite.config.js
|
||||||
|
import { sveltekit } from "file:///home/ovitins/Desktop/Code/git.resultium.net/public/svelte-headlessui/node_modules/.pnpm/@sveltejs+kit@1.30.4_svelte@3.59.2_vite@4.5.2/node_modules/@sveltejs/kit/src/exports/vite/index.js";
|
||||||
|
var config = {
|
||||||
|
plugins: [sveltekit()]
|
||||||
|
};
|
||||||
|
var vite_config_default = config;
|
||||||
|
export {
|
||||||
|
vite_config_default as default
|
||||||
|
};
|
||||||
|
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvaG9tZS9vdml0aW5zL0Rlc2t0b3AvQ29kZS9naXQucmVzdWx0aXVtLm5ldC9wdWJsaWMvc3ZlbHRlLWhlYWRsZXNzdWlcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIi9ob21lL292aXRpbnMvRGVza3RvcC9Db2RlL2dpdC5yZXN1bHRpdW0ubmV0L3B1YmxpYy9zdmVsdGUtaGVhZGxlc3N1aS92aXRlLmNvbmZpZy5qc1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRfbWV0YV91cmwgPSBcImZpbGU6Ly8vaG9tZS9vdml0aW5zL0Rlc2t0b3AvQ29kZS9naXQucmVzdWx0aXVtLm5ldC9wdWJsaWMvc3ZlbHRlLWhlYWRsZXNzdWkvdml0ZS5jb25maWcuanNcIjtpbXBvcnQgeyBzdmVsdGVraXQgfSBmcm9tICdAc3ZlbHRlanMva2l0L3ZpdGUnO1xuXG4vKiogQHR5cGUge2ltcG9ydCgndml0ZScpLlVzZXJDb25maWd9ICovXG5jb25zdCBjb25maWcgPSB7XG4gIHBsdWdpbnM6IFtzdmVsdGVraXQoKV1cbn07XG5cbmV4cG9ydCBkZWZhdWx0IGNvbmZpZztcblxuIl0sCiAgIm1hcHBpbmdzIjogIjtBQUFpWSxTQUFTLGlCQUFpQjtBQUczWixJQUFNLFNBQVM7QUFBQSxFQUNiLFNBQVMsQ0FBQyxVQUFVLENBQUM7QUFDdkI7QUFFQSxJQUFPLHNCQUFROyIsCiAgIm5hbWVzIjogW10KfQo=
|
||||||
Reference in New Issue
Block a user