Skip to content

Commit

Permalink
Refactor on PrimeFlex
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Jul 17, 2021
1 parent d31b23c commit 8d412cf
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/assets/menu/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
]
},
{
"name": "PrimeFlex",
"name": "PrimeFlex 2.0",
"meta": ["primeflex"],
"children": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/views/dataview/DataViewDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ export default {
</div>

<h5>Dependencies</h5>
<p>None.</p>
<p>PrimeFlex 2.0.0.</p>
</AppDoc>
</template>

Expand Down
3 changes: 3 additions & 0 deletions src/views/display/DisplayDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@

<h5>Customization</h5>
<p>A custom build with different values can be obtained from <a href="https://github.com/primefaces/primeflex">PrimeFlex</a> using the _variables.scss file.</p>

<h5>Dependencies</h5>
<p>PrimeFlex 2.0.0.</p>
</AppDoc>
</template>

Expand Down
3 changes: 3 additions & 0 deletions src/views/elevation/ElevationDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
&lt;div class="p-shadow-24" /&gt;

</code></pre>

<h5>Dependencies</h5>
<p>PrimeFlex 2.0.0.</p>
</AppDoc>
</template>

Expand Down
3 changes: 3 additions & 0 deletions src/views/flexbox/FlexBoxDemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,9 @@
<div>Item 1</div>
<div class="p-mt-auto">Item 2</div>
</div>

<h5>Dependencies</h5>
<p>PrimeFlex 2.0.0.</p>
</div>
</div>
</template>
Expand Down
4 changes: 2 additions & 2 deletions src/views/primeflex/PrimeFlexSetup.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<template>
<div>
<div class="content-section documentation">
<h1>PrimeFlex</h1>
<h1>PrimeFlex (v2.0.0)</h1>
<p>PrimeFlex is a CSS utility library featuring various helpers such as a grid system, flexbox, spacing, elevation and more. Although it is not required, it is highly
recommended to add PrimeFlex as it is likely to need such utilities when developing applications with PrimeVue.</p>

<h5>Download</h5>
<p>PrimeFlex is available at <a href="https://www.npmjs.com/package/primeflex">npm</a>, if you have an existing application run the following commands to install it.</p>

<pre v-code.script><code>
npm install primeflex --save
npm install primeflex@2.0.0 --save

</code></pre>

Expand Down
3 changes: 3 additions & 0 deletions src/views/spacing/SpacingDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@

<h5>Customization</h5>
<p>A custom build with different values can be obtained from <a href="https://github.com/primefaces/primeflex">PrimeFlex</a> using the _variables.scss file.</p>

<h5>Dependencies</h5>
<p>PrimeFlex 2.0.0.</p>
</AppDoc>
</template>

Expand Down
6 changes: 6 additions & 0 deletions src/views/text/TextDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@
&lt;div class="p-text-italic"&gt;Italic&lt;/div&gt;
</template>
</code></pre>

<h5>Customization</h5>
<p>A custom build with different values can be obtained from <a href="https://github.com/primefaces/primeflex">PrimeFlex</a> using the _variables.scss file.</p>

<h5>Dependencies</h5>
<p>PrimeFlex 2.0.0.</p>
</AppDoc>
</template>

Expand Down

0 comments on commit 8d412cf

Please sign in to comment.