Skip to content

Commit 7e04b5f

Browse files
committed
Merge remote-tracking branch 'origin/dev' into feature/storybook-readme
2 parents 6b4e537 + 58df700 commit 7e04b5f

File tree

54 files changed

+4307
-9982
lines changed

Some content is hidden

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

54 files changed

+4307
-9982
lines changed

.gitattributes

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout.
6+
*.ts text eol=lf
7+
*.js text eol=lf
8+
*.cjs text eol=lf
9+
*.mjs text eol=lf
10+
*.json text eol=lf
11+
*.html text eol=lf
12+
*.md text eol=lf
13+
*.hbs text eol=lf
14+
15+
# Declare files that will always have CRLF line endings on checkout.
16+
# *.sln text eol=crlf
17+
18+
# Denote all files that are truly binary and should not be modified.
19+
*.png binary
20+
*.jpg binary
21+
*.gif binary

.github/workflows/chromatic.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,26 @@ name: 'Chromatic'
77
on:
88
push:
99
paths:
10+
- 'package.json'
11+
- 'package-lock.json'
12+
- '.github/workflows/chromatic.yml'
1013
- '.storybook/**'
1114
- 'packages/*/package.json'
1215
- 'packages/*/lib/**'
1316
- 'packages/*/assets/**'
1417
branches-ignore:
1518
- 'dependabot/*'
1619

20+
# Allows you to run this workflow manually from the Actions tab
21+
workflow_dispatch:
22+
inputs:
23+
sha:
24+
description: The SHA-1 hash referring to the commit to check.
25+
required: true
26+
ref:
27+
description: The head branch associated with the pull request.
28+
required: true
29+
1730
# List of jobs
1831
jobs:
1932
chromatic-deployment:
@@ -22,8 +35,13 @@ jobs:
2235
# Job steps
2336
steps:
2437
- uses: actions/checkout@v1
38+
- name: Use Node.js 16.x
39+
uses: actions/setup-node@v2
40+
with:
41+
node-version: 16.x
42+
cache: 'npm'
2543
- name: Install dependencies
26-
run: npm ci --ignore-scripts
44+
run: npm ci
2745
- name: Publish to Chromatic
2846
uses: chromaui/action@v1
2947
with:

.storybook/preview-head.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
<style>
2+
/* Make stories able to use 100% height */
3+
html {
4+
height: 100vh;
5+
}
6+
/* Make stories able to use 100% height */
7+
body,
8+
#root,
9+
#root-inner {
10+
height: 100%;
11+
}
12+
213
body {
314
/* reset defaults: */
415
margin: 24px;

0 commit comments

Comments
 (0)