Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
with:
ref: ${{ github.ref }}
fetch-depth: 0
submodules: recursive

- uses: pnpm/action-setup@v4

Expand Down Expand Up @@ -294,7 +293,6 @@ jobs:
- uses: actions/checkout@v4
with:
ref: v${{ needs.release.outputs.version }}
submodules: recursive

- uses: pnpm/action-setup@v4

Expand Down
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ FROM base AS deps

COPY package.json pnpm-lock.yaml ./
COPY patches ./patches/
COPY diadem-vaul-svelte ./diadem-vaul-svelte/
RUN pnpm install --frozen-lockfile

FROM base AS builder
Expand Down
1 change: 0 additions & 1 deletion diadem-vaul-svelte
Submodule diadem-vaul-svelte deleted from 175ea8
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
"type": "module",
"packageManager": "pnpm@9.15.9",
"scripts": {
"dev": "pnpm run prepare:vaul && vite dev",
"prepare:vaul": "CI=true pnpm --dir diadem-vaul-svelte install --frozen-lockfile && pnpm --dir diadem-vaul-svelte run package",
"build": "pnpm run prepare:vaul && vite build",
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
Expand All @@ -21,7 +20,7 @@
"cap:sync": "cap sync",
"cap:sync:android": "cap sync android",
"cap:sync:ios": "cap sync ios",
"build:native": "pnpm run prepare:vaul && BUILD_TARGET=native vite build",
"build:native": "BUILD_TARGET=native vite build",
"build:native:android": "pnpm run build:native && cap sync android",
"build:native:ios": "pnpm run build:native && cap sync ios",
"native:android:nogms": "bash scripts/native/build-nogms.sh"
Expand Down Expand Up @@ -78,7 +77,6 @@
"chalk": "^5.6.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"diadem-vaul-svelte": "file:./diadem-vaul-svelte",
"drizzle-orm": "^0.40.0",
"emojilib": "^4.0.2",
"maplibre-gl": "^5.14.0",
Expand Down
17 changes: 0 additions & 17 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/menus/mobile/MobileMenuCoverageMap.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { Drawer } from "diadem-vaul-svelte";
import { Drawer } from "$lib/diadem-vaul-svelte/src/lib";
import {
closeMenu,
getOpenedMenu,
Expand Down
2 changes: 1 addition & 1 deletion src/components/menus/mobile/MobileMenuMain.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { Drawer } from "diadem-vaul-svelte";
import { Drawer } from "$lib/diadem-vaul-svelte/src/lib";
import {
closeMenu,
getOpenedMenu,
Expand Down
2 changes: 1 addition & 1 deletion src/components/menus/mobile/MobileMenuStatic.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { Drawer } from "diadem-vaul-svelte";
import { Drawer } from "$lib/diadem-vaul-svelte/src/lib";
import {
closeMenu,
getOpenedMenu,
Expand Down
2 changes: 1 addition & 1 deletion src/components/menus/mobile/MobileTitle.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import { closeMenu, getOpenedMenu } from "@/lib/ui/menus.svelte";
import CloseButton from "@/components/ui/CloseButton.svelte";
import { Drawer } from "diadem-vaul-svelte";
import { Drawer } from "$lib/diadem-vaul-svelte/src/lib";
import { mAny } from "@/lib/utils/anyMessage";
</script>

Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/popups/common/PopupBaseDrawer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<script lang="ts">
import { onDestroy, tick, untrack } from "svelte";
import { Drawer } from "diadem-vaul-svelte";
import { Drawer } from "$lib/diadem-vaul-svelte/src/lib";
import { watch } from "runed";
import { closePopup } from "$lib/mapObjects/interact";
import { bindPopupDrawerSnapPoint } from "$lib/ui/popupDrawer.svelte";
Expand Down
8 changes: 8 additions & 0 deletions src/lib/diadem-vaul-svelte/.changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
14 changes: 14 additions & 0 deletions src/lib/diadem-vaul-svelte/.changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
"changelog": [
"@svitejs/changesets-changelog-github-compact",
{ "repo": "huntabyte/vaul-svelte" }
],
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
16 changes: 16 additions & 0 deletions src/lib/diadem-vaul-svelte/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example
.changeset

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock
dist
.vercel
77 changes: 77 additions & 0 deletions src/lib/diadem-vaul-svelte/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
/** @type { import("eslint").Linter.Config } */
module.exports = {
root: true,
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:svelte/recommended",
"prettier",
],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
parserOptions: {
sourceType: "module",
ecmaVersion: "latest",
extraFileExtensions: [".svelte"],
},
env: {
browser: true,
es2024: true,
node: true,
},
globals: { $$Generic: "readable", NodeJS: true },
rules: {
"no-console": "warn",
"@typescript-eslint/no-unused-vars": [
"warn",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
},
],
"svelte/no-target-blank": "off",
"svelte/no-immutable-reactive-statements": "error",
"svelte/prefer-style-directive": "error",
"svelte/no-reactive-literals": "error",
"svelte/no-useless-mustaches": "error",
"svelte/button-has-type": "off",
"svelte/require-each-key": "off",
"svelte/no-at-html-tags": "off",
"svelte/no-unused-svelte-ignore": "off",
"svelte/require-stores-init": "off",
"svelte/css-unused-selector": "off",
},
overrides: [
{
files: ["*.svelte"],
parser: "svelte-eslint-parser",
parserOptions: {
parser: "@typescript-eslint/parser",
},
rules: {
"@typescript-eslint/no-unused-vars": [
"warn",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^(\\$\\$(Props|Events|Slots|Generic)|_*)$",
},
],
},
},
{
files: ["*.ts"],
parser: "@typescript-eslint/parser",
rules: {
"@typescript-eslint/ban-types": [
"error",
{
extendDefaults: true,
types: {
"{}": false,
},
},
],
},
},
],
};
12 changes: 12 additions & 0 deletions src/lib/diadem-vaul-svelte/.github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: [huntabyte]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: huntabyte
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
50 changes: 50 additions & 0 deletions src/lib/diadem-vaul-svelte/.github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: "🐛 Bug report"
description: Report an issue with vaul-svelte
labels: ["type: bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: bug-description
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us how in the description. Thanks!
placeholder: Bug description
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Reproduction
description: Please provide a link to a repo or Stackblitz that can reproduce the problem you ran into. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "need reproduction" label. If no reproduction is provided within a reasonable time-frame, the issue will be closed.
placeholder: Reproduction
validations:
required: true
- type: textarea
id: logs
attributes:
label: Logs
description: "Please include browser console and server logs around the time this bug occurred. Optional if provided reproduction. Please try not to insert an image but copy paste the log text."
render: bash
- type: textarea
id: system-info
attributes:
label: System Info
description: Output of `npx envinfo --system --npmPackages svelte,bits-ui,vaul-svelte,@sveltejs/kit,typescript --binaries --browsers`
render: bash
placeholder: System, Binaries, Browsers
validations:
required: true
- type: dropdown
id: severity
attributes:
label: Severity
description: Select the severity of this issue
options:
- annoyance
- blocking an upgrade
- blocking all usage of vaul-svelte
validations:
required: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 📖 Report Docs Issue
description: Suggest an addition or modification to the documentation
labels: ["type: documentation"]
body:
- type: dropdown
attributes:
label: Change Type
description: What type of change are you proposing?
options:
- Addition
- Correction
- Removal
- Cleanup (formatting, typos, etc.)
validations:
required: true

- type: textarea
attributes:
label: Proposed Changes
description: Describe the proposed changes and why they are necessary
validations:
required: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Borrowed from https://github.com/skeletonlabs/skeleton

name: 🛠️ Request New Feature
description: Let us know what you would like to see added.
labels: ["type: feature"]
body:
- type: textarea
id: description
attributes:
label: Describe the feature in detail (code, mocks, or screenshots encouraged)
validations:
required: true
- type: dropdown
id: category
attributes:
label: What type of pull request would this be?
options:
- "New Feature"
- "Enhancement"
- "Guide"
- "Docs"
- "Other"
- type: textarea
id: references
attributes:
label: Provide relevant links or additional information.
Loading
Loading