create-storybook 8.3.0-alpha.6 → 8.3.0-alpha.7

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-storybook",
3
- "version": "8.3.0-alpha.6",
3
+ "version": "8.3.0-alpha.7",
4
4
  "description": "Initialize Storybook into your project",
5
5
  "homepage": "https://github.com/storybookjs/storybook/tree/next/code/lib/create-storybook",
6
6
  "bugs": {
@@ -66,7 +66,7 @@
66
66
  "prettier": "^3.1.1",
67
67
  "prompts": "^2.4.0",
68
68
  "semver": "^7.3.7",
69
- "storybook": "8.3.0-alpha.6",
69
+ "storybook": "8.3.0-alpha.7",
70
70
  "tiny-invariant": "^1.3.1",
71
71
  "ts-dedent": "^2.0.0"
72
72
  },
@@ -1,12 +1,9 @@
1
1
  {
2
2
  "rules": {
3
3
  "no-undef": "off",
4
- "@typescript-eslint/ban-types": "off",
5
4
  "react/prop-types": "off",
6
5
  "react/react-in-jsx-scope": "off",
7
- "import/extensions": "off",
8
- "import/no-unresolved": "off",
9
- "import/no-extraneous-dependencies": "off"
6
+ "import/extensions": "off"
10
7
  },
11
8
  "overrides": [
12
9
  {
@@ -1,30 +1,30 @@
1
1
  .storybook-button {
2
- font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
3
- font-weight: 700;
2
+ display: inline-block;
3
+ cursor: pointer;
4
4
  border: 0;
5
5
  border-radius: 3em;
6
- cursor: pointer;
7
- display: inline-block;
6
+ font-weight: 700;
8
7
  line-height: 1;
8
+ font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
9
9
  }
10
10
  .storybook-button--primary {
11
- color: white;
12
11
  background-color: #1ea7fd;
12
+ color: white;
13
13
  }
14
14
  .storybook-button--secondary {
15
- color: #333;
16
- background-color: transparent;
17
15
  box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 0px 1px inset;
16
+ background-color: transparent;
17
+ color: #333;
18
18
  }
19
19
  .storybook-button--small {
20
- font-size: 12px;
21
20
  padding: 10px 16px;
21
+ font-size: 12px;
22
22
  }
23
23
  .storybook-button--medium {
24
- font-size: 14px;
25
24
  padding: 11px 20px;
25
+ font-size: 14px;
26
26
  }
27
27
  .storybook-button--large {
28
- font-size: 16px;
29
28
  padding: 12px 24px;
29
+ font-size: 16px;
30
30
  }
@@ -1,10 +1,10 @@
1
1
  .storybook-header {
2
- font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
3
- border-bottom: 1px solid rgba(0, 0, 0, 0.1);
4
- padding: 15px 20px;
5
2
  display: flex;
6
- align-items: center;
7
3
  justify-content: space-between;
4
+ align-items: center;
5
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
6
+ padding: 15px 20px;
7
+ font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
8
8
  }
9
9
 
10
10
  .storybook-header svg {
@@ -13,12 +13,12 @@
13
13
  }
14
14
 
15
15
  .storybook-header h1 {
16
+ display: inline-block;
17
+ vertical-align: top;
18
+ margin: 6px 0 6px 10px;
16
19
  font-weight: 700;
17
20
  font-size: 20px;
18
21
  line-height: 1;
19
- margin: 6px 0 6px 10px;
20
- display: inline-block;
21
- vertical-align: top;
22
22
  }
23
23
 
24
24
  .storybook-header button + button {
@@ -26,7 +26,7 @@
26
26
  }
27
27
 
28
28
  .storybook-header .welcome {
29
+ margin-right: 10px;
29
30
  color: #333;
30
31
  font-size: 14px;
31
- margin-right: 10px;
32
32
  }
@@ -1,20 +1,20 @@
1
1
  .storybook-page {
2
- font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
3
- font-size: 14px;
4
- line-height: 24px;
5
- padding: 48px 20px;
6
2
  margin: 0 auto;
3
+ padding: 48px 20px;
7
4
  max-width: 600px;
8
5
  color: #333;
6
+ font-size: 14px;
7
+ line-height: 24px;
8
+ font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
9
9
  }
10
10
 
11
11
  .storybook-page h2 {
12
+ display: inline-block;
13
+ vertical-align: top;
14
+ margin: 0 0 4px;
12
15
  font-weight: 700;
13
16
  font-size: 32px;
14
17
  line-height: 1;
15
- margin: 0 0 4px;
16
- display: inline-block;
17
- vertical-align: top;
18
18
  }
19
19
 
20
20
  .storybook-page p {
@@ -22,13 +22,13 @@
22
22
  }
23
23
 
24
24
  .storybook-page a {
25
- text-decoration: none;
26
25
  color: #1ea7fd;
26
+ text-decoration: none;
27
27
  }
28
28
 
29
29
  .storybook-page ul {
30
- padding-left: 30px;
31
30
  margin: 1em 0;
31
+ padding-left: 30px;
32
32
  }
33
33
 
34
34
  .storybook-page li {
@@ -37,31 +37,31 @@
37
37
 
38
38
  .storybook-page .tip {
39
39
  display: inline-block;
40
+ vertical-align: top;
41
+ margin-right: 10px;
40
42
  border-radius: 1em;
41
- font-size: 11px;
42
- line-height: 12px;
43
- font-weight: 700;
44
43
  background: #e7fdd8;
45
- color: #66bf3c;
46
44
  padding: 4px 12px;
47
- margin-right: 10px;
48
- vertical-align: top;
45
+ color: #66bf3c;
46
+ font-weight: 700;
47
+ font-size: 11px;
48
+ line-height: 12px;
49
49
  }
50
50
 
51
51
  .storybook-page .tip-wrapper {
52
- font-size: 13px;
53
- line-height: 20px;
54
52
  margin-top: 40px;
55
53
  margin-bottom: 40px;
54
+ font-size: 13px;
55
+ line-height: 20px;
56
56
  }
57
57
 
58
58
  .storybook-page .tip-wrapper svg {
59
59
  display: inline-block;
60
- height: 12px;
61
- width: 12px;
62
- margin-right: 4px;
63
60
  vertical-align: top;
64
61
  margin-top: 3px;
62
+ margin-right: 4px;
63
+ width: 12px;
64
+ height: 12px;
65
65
  }
66
66
 
67
67
  .storybook-page .tip-wrapper svg path {