Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Commit 99ebb18

Browse files
authored
Merge pull request #104 from skeletonlabs/dev
2 parents 421a722 + 78d4edc commit 99ebb18

File tree

107 files changed

+8299
-5280
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+8299
-5280
lines changed

.changeset/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
3-
"changelog": "@changesets/cli/changelog",
3+
"changelog": ["@changesets/cli/changelog", { "repo": "skeletonlabs/floating-ui-svelte" }],
44
"commit": false,
55
"fixed": [],
66
"linked": [],
7-
"access": "restricted",
7+
"access": "public",
88
"baseBranch": "dev",
99
"updateInternalDependencies": "patch",
1010
"ignore": []

.changeset/green-pots-occur.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@skeletonlabs/floating-ui-svelte": minor
3+
---
4+
5+
Added `useId` hook

.changeset/purple-olives-rest.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@skeletonlabs/floating-ui-svelte": minor
3+
---
4+
5+
Added the `useClick` hook

.eslintrc.cjs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,28 @@ module.exports = {
55
'eslint:recommended',
66
'plugin:@typescript-eslint/recommended',
77
'plugin:svelte/recommended',
8-
'prettier'
8+
'prettier',
99
],
1010
parser: '@typescript-eslint/parser',
1111
plugins: ['@typescript-eslint'],
1212
parserOptions: {
1313
sourceType: 'module',
1414
ecmaVersion: 2020,
15-
extraFileExtensions: ['.svelte']
15+
extraFileExtensions: ['.svelte'],
1616
},
1717
env: {
1818
browser: true,
1919
es2017: true,
20-
node: true
20+
node: true,
2121
},
2222
overrides: [
2323
{
2424
files: ['*.svelte'],
2525
parser: 'svelte-eslint-parser',
2626
parserOptions: {
27-
parser: '@typescript-eslint/parser'
28-
}
29-
}
27+
parser: '@typescript-eslint/parser',
28+
},
29+
},
3030
],
3131
rules: {
3232
'@typescript-eslint/no-unused-vars': [
@@ -38,8 +38,8 @@ module.exports = {
3838
caughtErrorsIgnorePattern: '^_',
3939
destructuredArrayIgnorePattern: '^_',
4040
varsIgnorePattern: '^_',
41-
ignoreRestSiblings: true
42-
}
43-
]
44-
}
41+
ignoreRestSiblings: true,
42+
},
43+
],
44+
},
4545
};

.github/FUNDING.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# These are supported funding model platforms
2+
3+
github: [skeletonlabs]
4+
patreon: 'user?u=83786276' # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: skeletonlabs # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: 🐞 Bug
2+
description: Report an issue or bug
3+
labels: [bug]
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Current Behavior
8+
description: A description of what you're experiencing.
9+
validations:
10+
required: false
11+
- type: textarea
12+
attributes:
13+
label: Expected Behavior
14+
description: A description of what you're experiencing.
15+
validations:
16+
required: false
17+
- type: textarea
18+
attributes:
19+
label: Steps To Reproduce
20+
description: Describe how to reproduce the issue.
21+
placeholder: |
22+
1. Using this component...
23+
2. With these properties...
24+
3. Click '...'
25+
4. See error...
26+
validations:
27+
required: false
28+
- type: input
29+
id: reproduction
30+
attributes:
31+
label: Link to Reproduction / Stackblitz
32+
- type: textarea
33+
attributes:
34+
label: More Information
35+
description: |
36+
Provide relevant links or additional information.
37+
validations:
38+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Get support on Discord
4+
url: https://discord.com/channels/1003691521280856084/1003691521721245792
5+
about: Reach out on Discord in the floating-ui-svelte channel
6+
- name: Ask a question, give feedback, share your project
7+
url: https://github.com/skeletonlabs/floating-ui-svelte/discussions
8+
about: Connect with other community members with GitHub discussions
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: 📗 Report Docs Issue
2+
description: Use this to report a typo or incorrect information.
3+
labels: [documentation]
4+
body:
5+
- type: input
6+
id: link
7+
attributes:
8+
label: Link to the Page
9+
- type: textarea
10+
id: quote
11+
attributes:
12+
label: Describe the Issue (screenshots encouraged!)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: 🛠️ Request New Feature
2+
description: Let us know what you would like to see added.
3+
labels: ['feature request']
4+
body:
5+
- type: textarea
6+
id: description
7+
attributes:
8+
label: Describe the feature in detail (code, mocks, or screenshots encouraged)
9+
- type: textarea
10+
id: references
11+
attributes:
12+
label: Provide relevant links or additional information.

.github/pull_request_template.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
## Linked Issue
2+
3+
Closes #{issueNumber}
4+
5+
## Description
6+
7+
{description}
8+
9+
## Changesets
10+
11+
We use [Changesets](https://github.com/changesets/changesets) to automatically create our changelog per each release. Any changes or additions to the Library assets in `/lib` must be documented with a new Changeset. This can be done as follows:
12+
13+
1. Navigate to the root of the project on your feature branch.
14+
2. Run `pnpm changeset` to trigger the Changeset CLI.
15+
3. Follow the instructions when prompted.
16+
- Changesets should be either `minor` or `patch`. Never `major`.
17+
- Prefix your Changeset description using: `feature:`, `chore:` or `bugfix:`.
18+
4. Changeset `.md` files are added to the `/.changeset` directory.
19+
5. Commit and push the the new changeset file.
20+
21+
## Checklist
22+
23+
Please read and apply all [contribution requirements](https://github.com/skeletonlabs/floating-ui-svelte/blob/chore/main/CONTRIBUTING.md).
24+
25+
- [ ] PR targets the `dev` branch (NEVER `master`)
26+
- [ ] All website documentation is current with your changes
27+
- [ ] Ensure Prettier formatting is current - run `pnpm format`
28+
- [ ] Ensure ESLint linting is current - run `pnpm lint`
29+
- [ ] All test cases are passing - run `pnpm test`
30+
- [ ] Includes a changeset (if relevant; see above)

0 commit comments

Comments
 (0)