Skip to content

Commit 228cc13

Browse files
committed
chore: add pnpm script to start the website
1 parent 7f7490b commit 228cc13

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

apps/website/src/app/(local-pages)/shadcn/pwmb/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ export default function ShadcnPage() {
1414

1515
return (
1616
<form className="container relative flex-1 flex flex-col justify-center items-center">
17-
<input
17+
{/* <input
1818
// test pwmb
1919
type="text"
2020
autoComplete="username webauthn"
2121
pattern={REGEXP_ONLY_DIGITS_AND_CHARS}
22-
/>
22+
/> */}
2323
<InputOTP
2424
autoFocus
2525
// test pwmb

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"dev": "turbo run dev --filter=*",
1717
"dev:website": "turbo run dev --filter=website...",
1818
"dev:test": "turbo run dev --filter=test...",
19+
"start:website": "pnpm --filter=website start",
1920
"storybook": "turbo run storybook",
2021
"test": "turbo run test --filter=test...",
2122
"test:ui": "turbo run test:ui --filter=test...",

packages/input-otp/src/input.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const OTPInput = React.forwardRef<HTMLInputElement, OTPInputProps>(
2020
pushPasswordManagerStrategy = 'increase-width',
2121
render,
2222
containerClassName,
23+
noScriptCSSFallback = NOSCRIPT_CSS_FALLBACK,
2324
...props
2425
},
2526
ref,
@@ -454,7 +455,7 @@ export const OTPInput = React.forwardRef<HTMLInputElement, OTPInputProps>(
454455
</div>
455456

456457
<noscript>
457-
<style>{NOSCRIPT_CSS_FALLBACK}</style>
458+
<style>{noScriptCSSFallback}</style>
458459
</noscript>
459460
</div>
460461
)
@@ -489,7 +490,7 @@ const NOSCRIPT_CSS_FALLBACK = `
489490
--nojs-fg: black !important;
490491
491492
background-color: var(--nojs-bg) !important;
492-
color: unset !important;
493+
color: var(--nojs-fg) !important;
493494
caret-color: var(--nojs-fg) !important;
494495
letter-spacing: .25em !important;
495496
text-align: center !important;

packages/input-otp/src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ export type OTPInputProps = OverrideProps<
2929
render: (props: RenderProps) => React.ReactElement
3030

3131
containerClassName?: string
32+
33+
noScriptCSSFallback?: string
3234
}
3335
>
3436
export enum SelectionType {

0 commit comments

Comments
 (0)