Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(wizard-dialog): add code editor to wizards #233

Merged
merged 7 commits into from
Jul 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion __snapshots__/open-scd.md
Original file line number Diff line number Diff line change
Expand Up @@ -902,10 +902,10 @@
>
<form>
<mwc-select
fixedmenuposition=""
icon="language"
id="language"
label="Language"
naturalmenuwidth=""
>
<mwc-list-item
aria-disabled="false"
Expand Down Expand Up @@ -934,6 +934,10 @@
<mwc-switch id="dark">
</mwc-switch>
</mwc-formfield>
<mwc-formfield label="Pro mode">
<mwc-switch id="mode">
</mwc-switch>
</mwc-formfield>
</form>
<mwc-button
dialogaction="close"
Expand Down
22 changes: 22 additions & 0 deletions __snapshots__/wizard-dialog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# `wizard-dialog`

## `with a nonempty wizard property`

## `in pro mode`

#### `looks like its snapshot`

```html
<wizard-dialog>
</wizard-dialog>

```

#### `switches to code editor view on code toggle button click`

```html
<wizard-dialog>
</wizard-dialog>

```

5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@material/mwc-tab-bar": "^0.21.0",
"@material/mwc-textfield": "^0.21.0",
"@material/mwc-top-app-bar-fixed": "^0.21.0",
"ace-custom-element": "^1.6.5",
"carehtml": "^0.1.3",
"lit-element": "2.4.0",
"lit-html": "1.3.0",
Expand Down
8 changes: 8 additions & 0 deletions public/ace/ext-searchbox.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading