Skip to content

Commit 9720d9f

Browse files
authored
Merge pull request #12 from DanielleHuisman/feature/passthrough
Add support for PrimeVue passthrough prop
2 parents d3b7836 + cdbf82e commit 9720d9f

21 files changed

+21
-0
lines changed

src/formkit/PrimeCalendar.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ const styleClass = computed(() => (context?.state.validationVisible && !context?
6969
:append-to="attrs.appendTo ?? 'body'"
7070
:panel-style="attrs.panelStyle"
7171
:panel-class="attrs.panelClass"
72+
:pt="attrs.pt"
7273
@date-select="handleSelect"
7374
@input="handleInput"
7475
/>

src/formkit/PrimeCheckbox.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const styleClass = computed(() => (context?.state.validationVisible && !context?
2929
:binary="attrs.binary ?? true"
3030
:true-value="attrs.trueValue ?? undefined"
3131
:false-value="attrs.falseValue ?? undefined"
32+
:pt="attrs.pt"
3233
@input="handleInput"
3334
/>
3435
<span v-if="context.attrs.labelRight" class="formkit-prime-right">{{ context.attrs.labelRight }}</span>

src/formkit/PrimeChips.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const styleClass = computed(() => (context?.state.validationVisible && !context?
2929
:max="attrs.max ?? undefined"
3030
:placeholder="attrs.placeholder"
3131
:separator="attrs.separator"
32+
:pt="attrs.pt"
3233
@add="handleInput"
3334
@remove="handleInput"
3435
/>

src/formkit/PrimeColorPicker.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function handleChange(e: any) {
2525
:default-color="attrs.defaultColor ?? 'ff0000'"
2626
:inline="attrs.inline ?? false"
2727
:format="attrs.format"
28+
:pt="attrs.pt"
2829
@change="handleChange"
2930
/>
3031
</div>

src/formkit/PrimeDropdown.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const styleClass = computed(() => (context?.state.validationVisible && !context?
3333
:placeholder="attrs.placeholder"
3434
:filter="attrs.filter ?? false"
3535
:show-clear="attrs.showClear ?? false"
36+
:pt="attrs.pt"
3637
@change="handleInput"
3738
@blur="handleBlur"
3839
/>

src/formkit/PrimeEditor.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const styleClass = computed(() => (context?.state.validationVisible && !context?
3535
:placeholder="attrs.placeholder"
3636
:formats="attrs.formats"
3737
:modules="attrs.modules"
38+
:pt="attrs.pt"
3839
@text-change="handleInput"
3940
@selection-change="handleSelection"
4041
/>

src/formkit/PrimeInputMask.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const styleClass = computed(() => (context?.state.validationVisible && !context?
3030
:slot-char="attrs.slotChar ?? '_'"
3131
:auto-clear="attrs.autoClear ?? true"
3232
:unmask="attrs.unmask ?? false"
33+
:pt="attrs.pt"
3334
@blur="handleInput"
3435
/>
3536
</div>

src/formkit/PrimeInputNumber.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ const styleClass = computed(() => (context?.state.validationVisible && !context?
4040
:show-buttons="attrs.showButtons ?? undefined"
4141
:button-layout="attrs.buttonLayout ?? 'stacked'"
4242
:step="attrs.step ?? undefined"
43+
:pt="attrs.pt"
4344
@input="handleInput"
4445
@blur="handleBlur"
4546
/>

src/formkit/PrimeInputSwitch.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const styleClass = computed(() => (context?.state.validationVisible && !context?
2727
:aria-labelledby="attrs.ariaLabelledby"
2828
:true-value="attrs.trueValue ?? undefined"
2929
:false-value="attrs.falseValue ?? undefined"
30+
:pt="attrs.pt"
3031
@input="handleInput"
3132
/>
3233
<span v-if="context.attrs.labelRight" class="formkit-prime-right">{{ context.attrs.labelRight }}</span>

src/formkit/PrimeInputText.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ const styleClass = computed(() => (context?.state.validationVisible && !context?
5050
:aria-label="attrs.ariaLabel"
5151
:aria-labelledby="attrs.ariaLabelledby"
5252
:placeholder="attrs.placeholder"
53+
:pt="attrs.pt"
5354
@input="handleInput"
5455
@blur="handleBlur"
5556
/>

0 commit comments

Comments
 (0)