Skip to content

Commit

Permalink
Merge pull request #1638 from skeletonlabs/dev
Browse files Browse the repository at this point in the history
Merge for release
  • Loading branch information
endigo9740 authored Jun 6, 2023
2 parents 91daeaa + f17aaf0 commit bf5c466
Show file tree
Hide file tree
Showing 160 changed files with 4,794 additions and 396 deletions.
5 changes: 5 additions & 0 deletions .changeset/big-maps-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": patch
---

chore: Added types to the `Stepper` store and `dispatchParent`
5 changes: 5 additions & 0 deletions .changeset/big-paws-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": patch
---

bugfix: Updated `focusablePopupElements` in Popup to resolve issues when tabbing into Autocomplete options
14 changes: 14 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@svitejs/changesets-changelog-github-compact",
{ "repo": "skeletonlabs/skeleton" }
],
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "dev",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 5 additions & 0 deletions .changeset/empty-apricots-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": minor
---

feat: The Paginator component can now be displayed as a numeric row of pages
5 changes: 5 additions & 0 deletions .changeset/empty-students-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": patch
---

bugfix: The Drawer's `backdrop` event only fires on backdrop interaction
5 changes: 5 additions & 0 deletions .changeset/famous-pears-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": minor
---

feat: Added additional forwarded events for AppRailTile and AppRailAnchor
5 changes: 5 additions & 0 deletions .changeset/few-flowers-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": minor
---

feat: Added `digits` prop to Conic Gradient to limit decimal points
5 changes: 5 additions & 0 deletions .changeset/fluffy-gorillas-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": patch
---

bugfix: `typography-prose.css` must now be imported directly to enable the default Tailwind Typography plugin styles
5 changes: 5 additions & 0 deletions .changeset/funny-plants-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": patch
---

docs: Updated Autocomplete documentation to demonstrate Firefox tab navigation fix for wrapping elements
5 changes: 5 additions & 0 deletions .changeset/hip-dancers-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": patch
---

bugfix: Fixed an undesired jiggle within the animation for Toasts
5 changes: 5 additions & 0 deletions .changeset/itchy-mice-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": minor
---

feat: Added a navigation slot to the Step component, which can replace the Back button for the first step only
5 changes: 5 additions & 0 deletions .changeset/nasty-deers-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": minor
---

feat: Modal backdrop clicks now take into account both the `mouseup` and `mousedown` events for better accuracy
5 changes: 5 additions & 0 deletions .changeset/nervous-cheetahs-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": minor
---

feat: Added a `background` prop to the SlideToggle component
5 changes: 5 additions & 0 deletions .changeset/ninety-eagles-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": patch
---

chore: Added additional type safeguard to the Table of Contents `scrollToHeading`
5 changes: 5 additions & 0 deletions .changeset/odd-countries-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": patch
---

bugfix: Replaced unicode arrows with SVGs for the Paginator component
5 changes: 5 additions & 0 deletions .changeset/pink-vans-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": patch
---

bugfix: All relative import paths now fully specify the `.js` extension to adhere to Node's ESM algorithm
5 changes: 5 additions & 0 deletions .changeset/purple-mice-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": minor
---

feat: Added a missing dark mode modifier for each background hover design token
5 changes: 5 additions & 0 deletions .changeset/slimy-knives-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": patch
---

bugfix: ListBoxItem now supports the use of objects for the `value` property
5 changes: 5 additions & 0 deletions .changeset/smooth-rockets-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": patch
---

bugfix: Updated `typesVersions` map to fix auto imports paths
5 changes: 5 additions & 0 deletions .changeset/swift-parrots-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": patch
---

chore: Replaced the now deprecated `eslint-plugin-svelte3` for `eslint-plugin-svelte`
25 changes: 14 additions & 11 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: 🐞 Bug
description: File a bug/issue
title: "<title>"
description: Report an issue or bug
labels: [bug]
body:
- type: textarea
Expand All @@ -11,25 +10,29 @@ body:
required: false
- type: textarea
attributes:
label: Reproduction / Steps To Reproduce
description: Stackblitz/Link to a repository with steps to reproduce the behavior.
label: Expected Behavior
description: A description of what you're experiencing.
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: Describe how to reproduce the issue.
placeholder: |
As you can see in this code example/Stackblitz link/repostitory
1. Using this component...
2. With these properties...
3. Click '...'
4. See error...
validations:
required: false
- type: markdown
- type: input
id: reproduction
attributes:
value: |
Bug Reports with a repository with a full reproduction or a Stackblitz can be anwswered far quicker, so please consider including as much information as possible to let us help you quicker!
label: Link to Reproduction / Stackblitz
- type: textarea
attributes:
label: Anything else?
label: More Information
description: |
Links? References? Anything that will give us more context about the issue you are encountering!
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
Provide relevant links or additionl information.
validations:
required: false
15 changes: 2 additions & 13 deletions .github/ISSUE_TEMPLATE/docs_issue.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
name: 📗 Report Docs Issue
description: See a typo? Outdated or incorrect information? Let us know!
title: "<title>"
description: Use this to report a typo or incorrect information.
labels: [documentation]
body:
- type: markdown
attributes:
value: Sometimes something slips through the cracks, and the documentation is not quite right. Thanks for letting us know!
- type: input
id: link
attributes:
label: Link to the Page
- type: textarea
id: quote
attributes:
label: Describe the Issue
- type: dropdown
id: participate
attributes:
label: Are you able to create a Pull Request with the fix?
options:
- 'Yes'
- 'No'
label: Describe the Issue (screenshots encouraged!)
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: 🛠️ Request New Feature
description: Let us know what we should add.
description: Let us know what you would like to see added.
labels: ['feature request']
body:
- type: textarea
id: description
attributes:
label: Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!
label: Describe the feature in detail (code, mocks, or screenshots encouraged)
- type: dropdown
id: category
attributes:
Expand All @@ -19,4 +19,4 @@ body:
- type: textarea
id: references
attributes:
label: Any links to similar examples or other references we should review?
label: Provide relevant links or additional information.
31 changes: 20 additions & 11 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
## Before submitting the PR:
- [ ] Does your PR reference an issue? If not, please [chat to the team on Discord](https://discord.gg/EXqV7W8MtY) or [GitHub](https://github.com/skeletonlabs/skeleton/discussions) before submission.
- [ ] Did you update and run tests before submission using `npm run test`?
- [ ] Does your branch follow our [naming convention](https://www.skeleton.dev/docs/contributing)? If not, please amend the branch name using `branch -m new-branch-name`
- [ ] Did you update documentation related to your new feature or changes?
## Linked Issue

## What does your PR address?
Closes #{issueNumber}

Please briefly describe your changes here.
## Description

### Tips
- Tap "convert to draft" to indicate this is work in progress.
- Link to an issue using the verbiage [Fixes #XX](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword)
- Linked issues will auto-close when the PR is merged.
{description}

## Changsets

Instructions: Changesets automate our changelog. If you modify files in `/package/skeleton`, run `pnpm changeset` in the root of the monorepo, follow the prompts, then commit the markdown file. Changes that add features should be `minor` while chores and bugfixes should be `patch`. Please prefix the changeset message with `feat:`, `bugfix:` or `chore:`.

## Checklist

Please read and apply all [contribution requirements](https://www.skeleton.dev/docs/contributing).

- [ ] This PR targets the `dev` branch (NEVER `master`)
- [ ] Documentation reflects all relevant changes
- [ ] Branch is prefixed with: `docs/`, `feat/`, `chore/`, `bugfix/`
- [ ] Ensure Svelte and Typescript linting is current - run `pnpm check`
- [ ] Ensure Prettier linting is current - run `pnpm format`
- [ ] All test cases are passing - run `pnpm test`
- [ ] Includes a changeset (if relevant; see above)
75 changes: 75 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: CI

on:
pull_request:

# cancel in-progress runs on new commits to same PR (github.event.number)
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true

jobs:
check:
name: Run svelte-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18

# PNPM Store cache setup
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install

- name: Run svelte-check
run: pnpm ci:check
env:
VERCEL_ENV: dev

lint:
name: Run linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18

# PNPM Store cache setup
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install

- name: Run prettier and eslint
run: pnpm ci:lint

61 changes: 61 additions & 0 deletions .github/workflows/release-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Publish Skeleton @dev Release
on:
push:
branches:
- dev
paths:
- "packages/skeleton/**"

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
dev-release:
name: Build & Publish @dev Release
if: github.repository == 'skeletonlabs/skeleton'
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Use PNPM v8
uses: pnpm/action-setup@v2
with:
version: 8

- name: Use Node v18
uses: actions/setup-node@v3
with:
node-version: 18

# PNPM Store cache setup
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install

- name: Bump version to dev release
run: node scripts/dev-version.js

- name: Packaging
run: pnpm ci:package

- name: Authenticate to NPM & Publish
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
pnpm publish packages/skeleton --access public --tag dev --no-git-checks
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading

1 comment on commit bf5c466

@vercel
Copy link

@vercel vercel bot commented on bf5c466 Jun 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.