Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into chore/package-descrip…
Browse files Browse the repository at this point in the history
…tion

# Conflicts:
#	package.json
  • Loading branch information
adrian-potepa committed Nov 13, 2023
2 parents a83c590 + 0d18440 commit e0f558e
Show file tree
Hide file tree
Showing 153 changed files with 6,614 additions and 4,776 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI
name: Build and test

on:
push:
branches: ['development']
branches: ['main']
pull_request:
branches: ['development']
branches: ['main']

jobs:
build:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/build-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build Storybook
on:
push:
branches:
- development
- main
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on

Expand All @@ -21,8 +21,6 @@ jobs:
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build Storybook
env:
STORYBOOK_HOST: tetrisly-react
run: yarn build-storybook

# Popular action to deploy to GitHub Pages:
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/release-latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
on:
push:
branches:
- "main"
workflow_dispatch:

name: Release Latest [Automatic]

permissions:
contents: write
pull-requests: write

jobs:
release-latest:
name: Release Latest
runs-on: ubuntu-latest
environment:
name: production
strategy:
matrix:
node-version: [18.x]
if: contains(github.event.head_commit.message, 'chore(main)')
steps:
- name: Create Tag and Release
uses: google-github-actions/[email protected]
id: release-latest
with:
release-type: node
package-name: "@virtuslab/tetrisly-react"
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
- name: Change from RC to Latest
run: npm dist-tag add $(npm dist-tag rm @virtuslab/tetrisly-react@rc rc | cut -c 6-) latest
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
43 changes: 43 additions & 0 deletions .github/workflows/release-rc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
on:
workflow_dispatch:
name: Prepare Release [Manual]

permissions:
contents: write
pull-requests: write

jobs:
release-rc:
name: Release Candidate
runs-on: ubuntu-latest
environment:
name: rc
strategy:
matrix:
node-version: [18.x]
steps:
- name: Prepare Pull Request
uses: google-github-actions/[email protected]
id: release
with:
release-type: node
package-name: "@virtuslab/tetrisly-react"
prerelease: true
- uses: actions/checkout@v4
with:
ref: ${{ fromJson(steps.release.outputs.pr).headBranchName }}
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build package
run: yarn build
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Publish Release Candidate
run: npm publish --tag rc
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
4 changes: 1 addition & 3 deletions .storybook/lightTheme.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { create } from '@storybook/theming/create';

const STORYBOOK_HOST = process?.env?.STORYBOOK_HOST;

export default create({
base: 'light',
colorPrimary: '#272E35',
Expand All @@ -12,7 +10,7 @@ export default create({

// Branding
brandTitle: 'Tetrisly - React Components',
brandImage: `${STORYBOOK_HOST ? '/' + STORYBOOK_HOST : ''}/logo.svg`,
brandImage: '/logo.svg',

// UI
appBg: '#ffffff',
Expand Down
2 changes: 2 additions & 0 deletions .storybook/manager-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap"
rel="stylesheet"
/>
<link rel="icon" href="/favicon.png" sizes="512x512" />

<style>
.search-field {
margin: 24px 0 !important;
Expand Down
57 changes: 57 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Changelog

## [1.2.0](https://github.com/VirtusLab/tetrisly-react/compare/v1.1.0...v1.2.0) (2023-10-13)


### Features

* tag component ([#91](https://github.com/VirtusLab/tetrisly-react/issues/91)) ([a9ba9ab](https://github.com/VirtusLab/tetrisly-react/commit/a9ba9abbb96f13cde9a4be6174436c798234dbba))

## [1.1.0](https://github.com/VirtusLab/tetrisly-react/compare/v1.0.0...v1.1.0) (2023-10-13)


### Features

* changelog and reame pages in storybook NO-JIRA ([#85](https://github.com/VirtusLab/tetrisly-react/issues/85)) ([5bd9825](https://github.com/VirtusLab/tetrisly-react/commit/5bd9825e7e99492f608a91b9f65807d6c39987f3))


### Bug Fixes

* images paths in readme NO-JIRA ([#86](https://github.com/VirtusLab/tetrisly-react/issues/86)) ([6557317](https://github.com/VirtusLab/tetrisly-react/commit/6557317f6edea19fce4bf7a53d1708aaaa5689bc))

## 1.0.0 (2023-10-12)


### Features

* **861n1w5zd:** helper text ([#12](https://github.com/VirtusLab/tetrisly-react/issues/12)) ([d9acc62](https://github.com/VirtusLab/tetrisly-react/commit/d9acc62ab61a7aa4cbc20cf4e932c9874deaa13c))
* add checkbox group ([#26](https://github.com/VirtusLab/tetrisly-react/issues/26)) ([4e5ebda](https://github.com/VirtusLab/tetrisly-react/commit/4e5ebda842fce345745b7e794971d220bb1ff214))
* add Label ([#13](https://github.com/VirtusLab/tetrisly-react/issues/13)) ([91cf31f](https://github.com/VirtusLab/tetrisly-react/commit/91cf31f3e6211676b8078db006fb1db8e1a7bd9d))
* add status dot ([#11](https://github.com/VirtusLab/tetrisly-react/issues/11)) ([a1885a3](https://github.com/VirtusLab/tetrisly-react/commit/a1885a3020555e8af6eb848e85bb1a07687253ae))
* divider ([#20](https://github.com/VirtusLab/tetrisly-react/issues/20)) ([8af17e4](https://github.com/VirtusLab/tetrisly-react/commit/8af17e45e00293b38ded8eae9c0dc705dfd7746a))
* favicon added and polished bnadge component NO-JIRA ([#83](https://github.com/VirtusLab/tetrisly-react/issues/83)) ([7ccd050](https://github.com/VirtusLab/tetrisly-react/commit/7ccd050a04c88f27bb8eaa422d4dd3ea6d15f619))
* setup storybook library ([#2](https://github.com/VirtusLab/tetrisly-react/issues/2)) ([b14dc94](https://github.com/VirtusLab/tetrisly-react/commit/b14dc94aef1450a6aabafe714a82bc757d9006d3))
* TET-128 custom prop tester ([#30](https://github.com/VirtusLab/tetrisly-react/issues/30)) ([bc94444](https://github.com/VirtusLab/tetrisly-react/commit/bc9444479a28a4f37f00513ee23d933e8eac16ac))
* TET-130 text input hasClearButton ([#33](https://github.com/VirtusLab/tetrisly-react/issues/33)) ([ea7a3c0](https://github.com/VirtusLab/tetrisly-react/commit/ea7a3c092a5378d2b667bbc92db95327e2d92e5d))
* TET-136 alert banner ([#41](https://github.com/VirtusLab/tetrisly-react/issues/41)) ([b955fa4](https://github.com/VirtusLab/tetrisly-react/commit/b955fa41980ef3d1f90a239c3957df848e5e3a9e))
* TET-137 inline banner ([#46](https://github.com/VirtusLab/tetrisly-react/issues/46)) ([5b97834](https://github.com/VirtusLab/tetrisly-react/commit/5b9783496fc4383362cccf23a8fe7d6cbe9c3732))
* TET-141 select ([#65](https://github.com/VirtusLab/tetrisly-react/issues/65)) ([65e1f27](https://github.com/VirtusLab/tetrisly-react/commit/65e1f278e0ffe0852726b1d8e1edc40106d071ff))
* tet-196 counter ([#43](https://github.com/VirtusLab/tetrisly-react/issues/43)) ([709f3ca](https://github.com/VirtusLab/tetrisly-react/commit/709f3ca61591fa7bf25d86faa8cd1db2302a83d6))
* tet-196 merge custom prop ([#45](https://github.com/VirtusLab/tetrisly-react/issues/45)) ([dda3aef](https://github.com/VirtusLab/tetrisly-react/commit/dda3aef73106dcae22d4a75cd10b9040ba448948))
* TET-63 inline message ([#24](https://github.com/VirtusLab/tetrisly-react/issues/24)) ([234a3e7](https://github.com/VirtusLab/tetrisly-react/commit/234a3e74ed633b1cccf8af676e488a8ed5b67ef3))
* tet-64 popover ([#37](https://github.com/VirtusLab/tetrisly-react/issues/37)) ([2eed7bb](https://github.com/VirtusLab/tetrisly-react/commit/2eed7bb0b8f657211241f39bdfd7f0aa818defbf))
* TET-65 search input ([#35](https://github.com/VirtusLab/tetrisly-react/issues/35)) ([bb92fac](https://github.com/VirtusLab/tetrisly-react/commit/bb92facd09bf52170ec07ac6d799633f6007f94d))
* TET-66 inline search input ([#38](https://github.com/VirtusLab/tetrisly-react/issues/38)) ([11483e1](https://github.com/VirtusLab/tetrisly-react/commit/11483e1dc3ca43d3e5a0adba30233971b17a7bda))
* theme tokens update after figma variables release ([#8](https://github.com/VirtusLab/tetrisly-react/issues/8)) ([124ce87](https://github.com/VirtusLab/tetrisly-react/commit/124ce873f213f8bd39235c357711235a90d90ca7))


### Bug Fixes

* fix medium size in theme ([#9](https://github.com/VirtusLab/tetrisly-react/issues/9)) ([e690061](https://github.com/VirtusLab/tetrisly-react/commit/e690061ca930be884128d1fb82858f9810cbefa8))
* NO-JIRA text input onChange behavior ([#44](https://github.com/VirtusLab/tetrisly-react/issues/44)) ([a267e35](https://github.com/VirtusLab/tetrisly-react/commit/a267e3540e968101195a7a4120a01a3659be1d28))
* **storybook:** path to brand logo TET-138 ([#56](https://github.com/VirtusLab/tetrisly-react/issues/56)) ([dc23158](https://github.com/VirtusLab/tetrisly-react/commit/dc2315832bc241a1642c52a3f5bcd9b734727e3c))
* TET-135 add missing file extension ([#79](https://github.com/VirtusLab/tetrisly-react/issues/79)) ([dc1618f](https://github.com/VirtusLab/tetrisly-react/commit/dc1618fd2c325782e1cab8184210c9b1a2618ec5))
* TET-135 max line length ([#76](https://github.com/VirtusLab/tetrisly-react/issues/76)) ([286483c](https://github.com/VirtusLab/tetrisly-react/commit/286483c47dc5eddf4bf237b955b5732689e20a66))
* TET-135 semantic release ([#75](https://github.com/VirtusLab/tetrisly-react/issues/75)) ([fdc9bb6](https://github.com/VirtusLab/tetrisly-react/commit/fdc9bb69bd6103f13afc5079b3cb9e9305bca599))
* TET-191 remove extract margin props util, fix double focus ([#64](https://github.com/VirtusLab/tetrisly-react/issues/64)) ([e9382f4](https://github.com/VirtusLab/tetrisly-react/commit/e9382f47357d18bf557bb6ebb17ddf5a2fe09268))
* TET-245 deep clone default config ([#67](https://github.com/VirtusLab/tetrisly-react/issues/67)) ([ac917ee](https://github.com/VirtusLab/tetrisly-react/commit/ac917eeaf7666af4be34d8345ee04cc3a32c309e))
15 changes: 15 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
APACHE LICENSE, VERSION 2.0

Copyright 2023 VirtusLab

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Loading

0 comments on commit e0f558e

Please sign in to comment.