Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
zaporter-work committed Sep 19, 2024
1 parent e19992c commit 40c88bc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@viamrobotics/prime-core",
"version": "0.0.151",
"version": "0.0.152",
"repository": {
"type": "git",
"url": "https://github.com/viamrobotics/prime.git",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/lib/select/searchable-select.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ const handleKeydown = createHandleKey({
/>
{/if}
<div class="flex flex-col">
<p class="text-wrap text-sm">
<p class="text-wrap break-words text-sm">
{#if highlight !== undefined}
{@const [prefix, match, suffix] = highlight}
{prefix}<span class="bg-yellow-100">{match}</span>{suffix}
Expand All @@ -418,7 +418,7 @@ const handleKeydown = createHandleKey({
{#if option.description}
<p
id={descriptionID}
class="text-wrap text-xs text-subtle-2"
class="text-wrap break-all text-xs text-subtle-2"
>
{option.description}
</p>
Expand Down
5 changes: 5 additions & 0 deletions packages/core/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,11 @@ const onHoverDelayMsInput = (event: Event) => {
'Option 2',
{ value: 'C.) Option', description: 'second' },
'A really long forth option just in case you need it',
{
value: 'Option with a long description',
description:
'usb-Generic_Laptop_Camera_200901010001-video-index0',
},
]}
placeholder="Select an option"
onChange={(value) => {
Expand Down

0 comments on commit 40c88bc

Please sign in to comment.