-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented usage documentation for dnn-collapsible
- Loading branch information
1 parent
22b35de
commit 94e8fe7
Showing
6 changed files
with
229 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,94 @@ | ||
{ | ||
"@babel/code-frame@7.12.11": { | ||
"licenses": "MIT", | ||
"repository": "https://github.com/babel/babel", | ||
"publisher": "Sebastian McKenzie", | ||
"email": "sebmck@gmail.com", | ||
"path": "node_modules\\@babel\\code-frame", | ||
"licenseFile": "C:\\dev\\dnn-elements\\packages\\stencil-library\\node_modules\\@babel\\code-frame\\LICENSE" | ||
}, | ||
"@dnncommunity/dnn-elements@0.23.3-alpha.7": { | ||
"licenses": "MIT", | ||
"repository": "https://github.com/dnncommunity/dnn-elements", | ||
"path": "", | ||
"licenseFile": "D:\\dnn-elements\\dnn-elements\\packages\\stencil-library\\README.md" | ||
"licenseFile": "C:\\dev\\dnn-elements\\packages\\stencil-library\\README.md" | ||
}, | ||
"@eslint/eslintrc@0.4.3": { | ||
"licenses": "MIT", | ||
"repository": "https://github.com/eslint/eslintrc", | ||
"publisher": "Nicholas C. Zakas", | ||
"path": "node_modules\\@eslint\\eslintrc", | ||
"licenseFile": "C:\\dev\\dnn-elements\\packages\\stencil-library\\node_modules\\@eslint\\eslintrc\\LICENSE" | ||
}, | ||
"@humanwhocodes/config-array@0.5.0": { | ||
"licenses": "Apache-2.0", | ||
"repository": "https://github.com/humanwhocodes/config-array", | ||
"publisher": "Nicholas C. Zakas", | ||
"path": "node_modules\\@humanwhocodes\\config-array", | ||
"licenseFile": "C:\\dev\\dnn-elements\\packages\\stencil-library\\node_modules\\@humanwhocodes\\config-array\\LICENSE" | ||
}, | ||
"@stencil/eslint-plugin@0.4.0": { | ||
"licenses": "MIT", | ||
"repository": "https://github.com/ionic-team/stencil-eslint", | ||
"path": "node_modules\\@stencil\\eslint-plugin", | ||
"licenseFile": "C:\\dev\\dnn-elements\\packages\\stencil-library\\node_modules\\@stencil\\eslint-plugin\\LICENSE.md" | ||
}, | ||
"eslint-utils@2.1.0": { | ||
"licenses": "MIT", | ||
"repository": "https://github.com/mysticatea/eslint-utils", | ||
"publisher": "Toru Nagashima", | ||
"path": "node_modules\\eslint\\node_modules\\eslint-utils", | ||
"licenseFile": "C:\\dev\\dnn-elements\\packages\\stencil-library\\node_modules\\eslint\\node_modules\\eslint-utils\\LICENSE" | ||
}, | ||
"eslint-visitor-keys@1.3.0": { | ||
"licenses": "Apache-2.0", | ||
"repository": "https://github.com/eslint/eslint-visitor-keys", | ||
"publisher": "Toru Nagashima", | ||
"path": "node_modules\\espree\\node_modules\\eslint-visitor-keys", | ||
"licenseFile": "C:\\dev\\dnn-elements\\packages\\stencil-library\\node_modules\\espree\\node_modules\\eslint-visitor-keys\\LICENSE" | ||
}, | ||
"eslint@7.32.0": { | ||
"licenses": "MIT", | ||
"repository": "https://github.com/eslint/eslint", | ||
"publisher": "Nicholas C. Zakas", | ||
"email": "nicholas+npm@nczconsulting.com", | ||
"path": "node_modules\\eslint", | ||
"licenseFile": "C:\\dev\\dnn-elements\\packages\\stencil-library\\node_modules\\eslint\\LICENSE" | ||
}, | ||
"espree@7.3.1": { | ||
"licenses": "BSD-2-Clause", | ||
"repository": "https://github.com/eslint/espree", | ||
"publisher": "Nicholas C. Zakas", | ||
"email": "nicholas+npm@nczconsulting.com", | ||
"path": "node_modules\\espree", | ||
"licenseFile": "C:\\dev\\dnn-elements\\packages\\stencil-library\\node_modules\\espree\\LICENSE" | ||
}, | ||
"ignore@4.0.6": { | ||
"licenses": "MIT", | ||
"repository": "https://github.com/kaelzhang/node-ignore", | ||
"publisher": "kael", | ||
"path": "node_modules\\ignore", | ||
"licenseFile": "C:\\dev\\dnn-elements\\packages\\stencil-library\\node_modules\\ignore\\LICENSE-MIT" | ||
}, | ||
"tslib@1.14.1": { | ||
"licenses": "0BSD", | ||
"repository": "https://github.com/Microsoft/tslib", | ||
"publisher": "Microsoft Corp.", | ||
"path": "node_modules\\tslib", | ||
"licenseFile": "C:\\dev\\dnn-elements\\packages\\stencil-library\\node_modules\\tslib\\LICENSE.txt" | ||
}, | ||
"tsutils@3.0.0": { | ||
"licenses": "MIT", | ||
"repository": "https://github.com/ajafff/tsutils", | ||
"publisher": "Klaus Meinhardt", | ||
"path": "node_modules\\tsutils", | ||
"licenseFile": "C:\\dev\\dnn-elements\\packages\\stencil-library\\node_modules\\tsutils\\LICENSE" | ||
}, | ||
"typescript@5.2.2": { | ||
"typescript@4.9.5": { | ||
"licenses": "Apache-2.0", | ||
"repository": "https://github.com/Microsoft/TypeScript", | ||
"publisher": "Microsoft Corp.", | ||
"path": "node_modules\\typescript", | ||
"licenseFile": "D:\\dnn-elements\\dnn-elements\\packages\\stencil-library\\node_modules\\typescript\\LICENSE.txt" | ||
"licenseFile": "C:\\dev\\dnn-elements\\packages\\stencil-library\\node_modules\\typescript\\LICENSE.txt" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
packages/stencil-library/src/components/dnn-collapsible/usage/HTML.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
```html | ||
<div class="collapse-row"> | ||
<style type="text/css"> | ||
.collapse-row{ | ||
border: 1px solid grey; | ||
} | ||
.collapse-row .collapse-title{ | ||
display:flex; | ||
align-items: center; | ||
background-color: whitesmoke; | ||
} | ||
.collapse-row .collapse-title>*{ | ||
margin: 10px; | ||
} | ||
</style> | ||
<div class="collapse-title"> | ||
<dnn-chevron id="dnn-chevron1" expanded="false"></dnn-chevron> | ||
<strong>Collapsible Panel</strong> | ||
</div> | ||
<dnn-collapsible id="dnn-collapsible1" expanded="false" transition-duration="300"> | ||
<div id="collapsible-slot-content" style="padding: 15px;"> | ||
<h2>Details</h2> | ||
<p> | ||
Spicy jalapeno bacon ipsum dolor amet bresaola kielbasa doner ham hock biltong, swine shoulder leberkas cupim. Sausage capicola buffalo, tongue jerky frankfurter biltong pork swine landjaeger. Porchetta alcatra burgdoggen beef ribs short ribs corned beef, biltong flank bresaola kielbasa. Ham hock beef kielbasa, cupim cow beef ribs doner. T-bone cow shoulder chuck pastrami. Alcatra pig filet mignon shank. Pancetta shankle meatloaf sausage meatball cupim. | ||
</p> | ||
</div> | ||
</dnn-collapsible> | ||
</div> | ||
``` |
29 changes: 29 additions & 0 deletions
29
packages/stencil-library/src/components/dnn-collapsible/usage/JSX-TSX.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
```tsx | ||
<div class="collapse-row"> | ||
<style type="text/css"> | ||
.collapse-row{ | ||
border: 1px solid grey; | ||
} | ||
.collapse-row .collapse-title{ | ||
display:flex; | ||
align-items: center; | ||
background-color: whitesmoke; | ||
} | ||
.collapse-row .collapse-title>*{ | ||
margin: 10px; | ||
} | ||
</style> | ||
<div class="collapse-title"> | ||
<dnn-chevron id="dnn-chevron1" expanded="false"></dnn-chevron> | ||
<strong>Collapsible Panel</strong> | ||
</div> | ||
<dnn-collapsible id="dnn-collapsible1" expanded="false" transitionDuration="300"> | ||
<div id="collapsible-slot-content" style="padding: 15px;"> | ||
<h2>Details</h2> | ||
<p> | ||
Spicy jalapeno bacon ipsum dolor amet bresaola kielbasa doner ham hock biltong, swine shoulder leberkas cupim. Sausage capicola buffalo, tongue jerky frankfurter biltong pork swine landjaeger. Porchetta alcatra burgdoggen beef ribs short ribs corned beef, biltong flank bresaola kielbasa. Ham hock beef kielbasa, cupim cow beef ribs doner. T-bone cow shoulder chuck pastrami. Alcatra pig filet mignon shank. Pancetta shankle meatloaf sausage meatball cupim. | ||
</p> | ||
</div> | ||
</dnn-collapsible> | ||
</div> | ||
``` |
Oops, something went wrong.