Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function ExampleAutocompleteCommandPalette() {
>
<Autocomplete.Input
className={styles.Input}
placeholder="Search for apps and commands..."
placeholder="Search for apps and commands"
/>
<Dialog.Close className={styles.VisuallyHiddenClose}>
Close command palette
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function ExampleAutocompleteCommandPalette() {
>
<Autocomplete.Input
className="w-full border-0 border-b border-gray-100 bg-transparent p-4 text-base font-normal tracking-[0.016em] text-gray-900 placeholder:text-gray-500 outline-none"
placeholder="Search for apps and commands..."
placeholder="Search for apps and commands"
/>
<Dialog.Close className="sr-only">Close command palette</Dialog.Close>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const values = Object.keys(languages) as Language[];

function renderValue(value: Language[]) {
if (value.length === 0) {
return 'Select languages';
return 'Select languages';
}

const firstLanguage = languages[value[0]];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const values = Object.keys(languages) as Language[];

function renderValue(value: Language[]) {
if (value.length === 0) {
return 'Select languages';
return 'Select languages';
}

const firstLanguage = languages[value[0]];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function Experiment() {
onCreate={(label) => {
setItems((prev) => [...prev, label].sort());
}}
placeholder="Red, Green, Blue..."
placeholder="Red, Green, Blue"
/>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function CustomCombobox(props: { items: Priority[] }) {
<Combobox.Positioner align="start" sideOffset={4} disableAnchorTracking={true}>
<Combobox.Popup className={styles.Popup} aria-label="Select priority">
<div className={styles.InputRow}>
<Combobox.Input placeholder="Set priority to..." className={styles.Input} />
<Combobox.Input placeholder="Set priority to" className={styles.Input} />
<div className={styles.ShortcutKey}>P</div>
</div>
<Combobox.Separator className={styles.Separator} />
Expand Down
2 changes: 1 addition & 1 deletion docs/src/app/(private)/experiments/popover/vertical.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function DiscussionPanel() {
<div className={styles.DiscussionPanel}>
<Popover.Title className={styles.Title}>Discussion</Popover.Title>
<p className={styles.NoComments}>There aren't any comments yet.</p>
<textarea className={styles.TextArea} placeholder="Write a comment..." />
<textarea className={styles.TextArea} placeholder="Write a comment" />
<div className={styles.Actions}>
<button className={styles.Button} type="button">
Post
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/dialog/portal/DialogPortal.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe('<Dialog.Portal />', () => {
const { LazyComponent, resolve } = createLazyComponent();

await render(
<React.Suspense fallback="Loading...">
<React.Suspense fallback="Loading">
<Dialog.Root open>
<Dialog.Portal>
<Dialog.Popup>
Expand All @@ -48,7 +48,7 @@ describe('<Dialog.Portal />', () => {
</React.Suspense>,
);

expect(await screen.findByText('Loading...')).not.toBe(null);
expect(await screen.findByText('Loading')).not.toBe(null);
resolve({ default: () => <p>Greetings</p> });
expect(await screen.findByText('Greetings')).not.toBe(null);
});
Expand Down
Loading