Refactor
parent
1fce27abb7
commit
d19969fb9b
|
@ -3,7 +3,7 @@
|
||||||
<p>Colors are exported as CSS variables and used with the standard <i>var</i> syntax such as <i>var(--text-color)</i>. Following is the list of general variables used in a theme.</p>
|
<p>Colors are exported as CSS variables and used with the standard <i>var</i> syntax such as <i>var(--text-color)</i>. Following is the list of general variables used in a theme.</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
|
|
||||||
<div className="doc-tablewrapper">
|
<div class="doc-tablewrapper">
|
||||||
<table class="doc-table">
|
<table class="doc-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<p>A floating label appears on top of the input field when focused.</p>
|
<p>A floating label appears on top of the input field when focused.</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<span className="p-float-label">
|
<span class="p-float-label">
|
||||||
<label for="ssn">SSN</label>
|
<label for="ssn">SSN</label>
|
||||||
<InputMask id="ssn" v-model="value" mask="999-99-9999" placeholder="999-99-9999" />
|
<InputMask id="ssn" v-model="value" mask="999-99-9999" placeholder="999-99-9999" />
|
||||||
</span>
|
</span>
|
||||||
|
@ -18,14 +18,14 @@ export default {
|
||||||
value: '',
|
value: '',
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<span className="p-float-label">
|
<span class="p-float-label">
|
||||||
<label for="ssn">SSN</label>
|
<label for="ssn">SSN</label>
|
||||||
<InputMask id="ssn" v-model="value" mask="999-99-9999" placeholder="999-99-9999" />
|
<InputMask id="ssn" v-model="value" mask="999-99-9999" placeholder="999-99-9999" />
|
||||||
</span>`,
|
</span>`,
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<span className="p-float-label">
|
<span class="p-float-label">
|
||||||
<label for="ssn">SSN</label>
|
<label for="ssn">SSN</label>
|
||||||
<InputMask id="ssn" v-model="value" mask="999-99-9999" placeholder="999-99-9999" />
|
<InputMask id="ssn" v-model="value" mask="999-99-9999" placeholder="999-99-9999" />
|
||||||
</span>
|
</span>
|
||||||
|
@ -45,7 +45,7 @@ export default {
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<span className="p-float-label">
|
<span class="p-float-label">
|
||||||
<label for="ssn">SSN</label>
|
<label for="ssn">SSN</label>
|
||||||
<InputMask id="ssn" v-model="val2" mask="999-99-9999" placeholder="999-99-9999" />
|
<InputMask id="ssn" v-model="val2" mask="999-99-9999" placeholder="999-99-9999" />
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -18,7 +18,7 @@ export default {
|
||||||
<InputText type="text" v-model="value" />`,
|
<InputText type="text" v-model="value" />`,
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div className="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<InputText type="text" v-model="value" />
|
<InputText type="text" v-model="value" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -35,7 +35,7 @@ export default {
|
||||||
`,
|
`,
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div className="card flex justify-content-center">
|
<div class="card flex justify-content-center">
|
||||||
<InputText type="text" v-model="value" />
|
<InputText type="text" v-model="value" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div className="doc-main">
|
<div class="doc-main">
|
||||||
<div className="doc-intro">
|
<div class="doc-intro">
|
||||||
<h1>{{ header }} API</h1>
|
<h1>{{ header }} API</h1>
|
||||||
<p>{{ description }}</p>
|
<p>{{ description }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue