Skip to content

Commit

Permalink
Merge pull request #45 from spicy-ui/next
Browse files Browse the repository at this point in the history
0.1.0-alpha.5
South-Paw authored Feb 28, 2021
2 parents d384f8b + e7557cd commit 296d1ca
Showing 17 changed files with 797 additions and 826 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ on:
- synchronize

jobs:
deployDraftOnAnyPullRequest:
deploy-draft-on-any-pull-request:
name: Deploy draft to Netlify
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' && github.ref != 'refs/heads/master'
@@ -22,11 +22,11 @@ jobs:
run: npm run build:storybook

- name: Deploy draft to Netlify
uses: South-Paw/action-netlify-deploy@v1.0.4
uses: South-Paw/action-netlify-deploy@v1.2.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
netlify-site-id: ${{ secrets.NETLIFY_SITE_ID }}
build-dir: "./storybook-static"
github-deployment-environment: development
draft: true
comment-on-pull-request: true
7 changes: 4 additions & 3 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -29,9 +29,9 @@ jobs:
run: npm ci

- name: Test
run: npm run test
env:
CI: true
run: npm run test

build:
name: Build
@@ -47,7 +47,7 @@ jobs:
- name: Build Package
run: npm run build

deployDraftOnMasterCommit:
deploy-draft-on-master-commit:
name: Deploy draft to Netlify
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
@@ -62,11 +62,12 @@ jobs:
run: npm run build:storybook

- name: Deploy draft build to Netlify
uses: South-Paw/action-netlify-deploy@v1.0.4
uses: South-Paw/action-netlify-deploy@v1.2.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
netlify-site-id: ${{ secrets.NETLIFY_SITE_ID }}
build-dir: "./storybook-static"
github-deployment-environment: development
draft: true
comment-on-commit: true
7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ on:
- created

jobs:
deployProductionOnMasterRelease:
deploy-production-on-master-release:
name: Publish release to Netlify
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'created'
@@ -21,15 +21,16 @@ jobs:
run: npm run build:storybook

- name: Deploy production to Netlify
uses: South-Paw/action-netlify-deploy@v1.0.4
uses: South-Paw/action-netlify-deploy@v1.2.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
netlify-site-id: ${{ secrets.NETLIFY_SITE_ID }}
build-dir: "./storybook-static"
github-deployment-environment: production
comment-on-commit: true

publishPackage:
publish-package:
name: Publish
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'created'
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -16,6 +16,27 @@
-->

## 0.1.0-alpha.5 (28 February, 2021)

### Features

- Added `useDisclosure` hook

### Changes

- Added `autoFocus` prop to Select component ([#44](https://github.com/spicy-ui/core/issues/44))
- Made some child elements within the Select component unselectable
- Removed `setIsOpen` prop from `usePopper`
- Added `onClose` prop to `usePopper`
- Removed `isOpen`, `onOpen`, `onClose` and `onToggle` from `usePopper` return
- Implemented `useDisclosure` hook to Menu component
- Implemented `useDisclosure` hook to Tooltip component
- Adjusted Menu transition time

### Bug Fixes

- Fixed Heading component (was `p`, should have been `h2`)

## 0.1.0-alpha.4 (21 February, 2021)

### Features
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ Install Spicy UI to your React project with `npm i @spicy-ui/core styled-compone

```js
import React from 'react';
import { Button, ThemeProvider } from '@spciy-ui/core';
import { Button, ThemeProvider } from '@spicy-ui/core';

export const App = () => (
<ThemeProvider>
Loading

1 comment on commit 296d1ca

@github-actions
Copy link

Choose a reason for hiding this comment

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

🚀 Netlify deployed spicy-ui as draft

https://603b18a73393c1e827882bd5--spicy-ui.netlify.app

Please sign in to comment.