@jobber/generators 0.6.1-pre.28 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
name: Generators
|
|
3
|
-
menu: Changelog
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# @jobber/generators: Change Log
|
|
1
|
+
# Change Log
|
|
7
2
|
|
|
8
3
|
All notable changes to this project will be documented in this file.
|
|
9
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
10
5
|
|
|
6
|
+
## [0.7.1](https://github.com/GetJobber/atlantis/compare/@jobber/generators@0.7.0...@jobber/generators@0.7.1) (2023-02-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @jobber/generators
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [0.7.0](https://github.com/GetJobber/atlantis/compare/@jobber/generators@0.6.0...@jobber/generators@0.7.0) (2023-02-23)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **generators:** JOB-62646 Update generator to create storybook file ([#1063](https://github.com/GetJobber/atlantis/issues/1063)) ([7347292](https://github.com/GetJobber/atlantis/commit/734729221c8c6331ddbfbb5b84692a504b270e67))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
11
25
|
# [0.6.0](https://github.com/GetJobber/atlantis/compare/@jobber/generators@0.5.1...@jobber/generators@0.6.0) (2023-02-07)
|
|
12
26
|
|
|
13
27
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/generators",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {},
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"inquirer-path": "^1.0.0-beta5"
|
|
9
9
|
},
|
|
10
|
-
"gitHead": "
|
|
10
|
+
"gitHead": "bb90f77e6a841ec59113b3a7931ff13039e7d9f5"
|
|
11
11
|
}
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
name: {{ pascalCase name }}
|
|
3
|
-
menu: Components
|
|
4
|
-
route: /components/{{ dashCase name }}
|
|
5
|
-
showDirectoryLink: true
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
import { Playground, Props } from "docz";
|
|
1
|
+
import { ArgsTable, Canvas, Meta, Story } from "@storybook/addon-docs";
|
|
9
2
|
import { {{name}} } from ".";
|
|
3
|
+
import { Figma } from "storybook-addon-designs/blocks";
|
|
4
|
+
|
|
10
5
|
|
|
11
6
|
# {{ titleCase name }}
|
|
12
7
|
|
|
8
|
+
<Meta title="Components/{{ name }}" component={ {{ name }} } />
|
|
9
|
+
|
|
13
10
|
```ts
|
|
14
11
|
import { {{ name }} } from "@jobber/components/{{ name }}";
|
|
15
12
|
```
|
|
16
13
|
|
|
17
|
-
<
|
|
18
|
-
<{{ name }}
|
|
19
|
-
|
|
14
|
+
<Canvas>
|
|
15
|
+
<Story name="{{ name }}" args={ { "text": "Bob"} }>
|
|
16
|
+
{args => <{{ name }} {...args} />}
|
|
17
|
+
</Story>
|
|
18
|
+
</Canvas>
|
|
20
19
|
|
|
21
20
|
<!--
|
|
22
21
|
INTERFACE: This is for the proposal stage of the component
|
|
@@ -29,7 +28,7 @@ import { {{ name }} } from "@jobber/components/{{ name }}";
|
|
|
29
28
|
|
|
30
29
|
## Props
|
|
31
30
|
|
|
32
|
-
<
|
|
31
|
+
<ArgsTable of={ {{ name }} } story="{{ name }}" />
|
|
33
32
|
|
|
34
33
|
<!--
|
|
35
34
|
It is not necessary to provide an example of each prop. Use usage examples to
|
|
@@ -81,13 +80,7 @@ The `<{{name}}>` will... _Add a brief description of the component_
|
|
|
81
80
|
|
|
82
81
|
## Mockup
|
|
83
82
|
|
|
84
|
-
<
|
|
85
|
-
style="border: 1px solid rgba(0, 0, 0, 0.1);"
|
|
86
|
-
width="800"
|
|
87
|
-
height="450"
|
|
88
|
-
src="https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Ffile%2F3BXCXXD9glMtj8RAHjXiQC%2FDesign-System-Contribution-TEMPLATE%3Fnode-id%3D332%253A5526"
|
|
89
|
-
allowfullscreen>
|
|
90
|
-
</iframe>
|
|
83
|
+
<Figma collapsable />
|
|
91
84
|
|
|
92
85
|
<!--
|
|
93
86
|
Insert a Figma mockup from the [Design System Contribution template](https://www.figma.com/file/3BXCXXD9glMtj8RAHjXiQC/Design-System-Contribution-TEMPLATE?node-id=26%3A2)
|