Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 7785f24

Browse files
committed
add modal snippets, update readme and changelog, bump up the version
1 parent 0cfc82e commit 7785f24

File tree

4 files changed

+41
-1
lines changed

4 files changed

+41
-1
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,12 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
2121
- Breadcrumbs
2222
- Tag
2323
- Tooltip
24+
25+
## [1.1.0] - 24-08-2019
26+
27+
### Added
28+
29+
- Modal
30+
- Modal.Header
31+
- Modal.Content
32+
- Modal.Footer

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ Supercharge your react component development with zoids using zoids snippets
2626
| `zbr→` | `<Breadcrumbs breadcrumbs={} inline={} />` |
2727
| `ztag→` | `<Tag color=''></Tag>` |
2828
| `zto→` | `<Tooltip content='' placement=''></Tooltip>` |
29+
| `zmod→` | `<Modal size='m' open={}></Modal>` |
30+
| `zmodf→` | `<Modal.Footer></Modal.Footer>` |
2931

3032
### See it in action
3133

@@ -34,3 +36,5 @@ Supercharge your react component development with zoids using zoids snippets
3436
## Super snippet
3537

3638
Use `snip` snippet to create Zoids snippets
39+
40+
![snippet](https://assets1.cleartax-cdn.com/cleargst-frontend/misx/1566657235_zoids_snippet.gif)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "zoids-snippets",
33
"displayName": "Zoids Snippets",
44
"description": "Supercharge your react component development with Zoids using Zoids snippets",
5-
"version": "1.0.3",
5+
"version": "1.1.0",
66
"publisher": "cleartax",
77
"engines": {
88
"vscode": "^1.37.0"

snippets/zoids.json

+27
Original file line numberDiff line numberDiff line change
@@ -154,5 +154,32 @@
154154
"\t$0",
155155
"</Tooltip>"
156156
]
157+
},
158+
"zoidsModal": {
159+
"description": "Zoids Modal",
160+
"prefix": "zmod",
161+
"body": [
162+
"<Modal size='m' open={$1} onDismiss={$2}>",
163+
"\t<Modal.Header text='$3' onDismiss={$4} />",
164+
"\t<Modal.Content>",
165+
"\t\t$0",
166+
"\t</Modal.Content>",
167+
"</Modal>"
168+
]
169+
},
170+
"zoidsModalwithFooter": {
171+
"description": "Zoids Modal with Footer",
172+
"prefix": "zmodf",
173+
"body": [
174+
"<Modal size='m' open={$1} onDismiss={$2}>",
175+
"\t<Modal.Header text='$3' onDismiss={$4} />",
176+
"\t<Modal.Content>",
177+
"\t\t$0",
178+
"\t</Modal.Content>",
179+
"\t<Modal.Footer>",
180+
"\t\t$5",
181+
"\t</Modal.Footer>",
182+
"</Modal>"
183+
]
157184
}
158185
}

0 commit comments

Comments
 (0)