This commit is contained in:
tugcekucukoglu 2024-05-06 18:23:01 +03:00
parent 3cc675e50f
commit e1367fd494
89 changed files with 376 additions and 339 deletions

View file

@ -68,7 +68,7 @@ export interface InputOtpPassThroughOptions {
* Used to pass attributes to the InputText component.
* @see {@link InputTextPassThroughOptions}
*/
input?: InputTextPassThroughOptions<InputOtpSharedPassThroughMethodOptions>;
pcInput?: InputTextPassThroughOptions<InputOtpSharedPassThroughMethodOptions>;
/**
* Used to manage all lifecycle hooks.
* @see {@link BaseComponent.ComponentHooks}

View file

@ -5,7 +5,7 @@
<OtpInputText
:value="tokens[i - 1]"
:type="inputType"
:class="cx('input')"
:class="cx('pcInput')"
:inputmode="inputMode"
:variant="variant"
:readonly="readonly"
@ -18,7 +18,7 @@
@blur="onBlur($event)"
@paste="onPaste($event)"
@keydown="onKeyDown($event)"
:pt="ptm('input')"
:pt="ptm('pcInput')"
/>
</slot>
</template>

View file

@ -15,7 +15,7 @@ const theme = ({ dt }) => `
const classes = {
root: 'p-inputotp p-component',
input: 'p-inputotp-input'
pcInput: 'p-inputotp-input'
};
export default BaseStyle.extend({