[Feature] Add language #19

Merged
chris-kruining merged 25 commits from feature/add-language into main 2024-12-19 15:22:42 +00:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit 41bd3463e7 - Show all commits

View file

@ -3,3 +3,8 @@
background-color: color(from var(--info) xyz x y z / .2); background-color: color(from var(--info) xyz x y z / .2);
} }
} }
.root {
display: contents !important;
all: inherit;
}

View file

@ -177,7 +177,7 @@ const Root: ParentComponent = (props) => {
}); });
}; };
return <div ref={setRoot} tabIndex={0} onKeyDown={onKeyboardEvent} onKeyUp={onKeyboardEvent} style={{ 'display': 'contents' }}>{c()}</div>; return <div ref={setRoot} tabIndex={0} onKeyDown={onKeyboardEvent} onKeyUp={onKeyboardEvent} class={css.root}>{c()}</div>;
}; };
export const selectable = (element: HTMLElement, options: Accessor<{ value: object, key?: string }>) => { export const selectable = (element: HTMLElement, options: Accessor<{ value: object, key?: string }>) => {