Skip to content

Commit

Permalink
Uodate PBR
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfheij-sil committed Nov 21, 2024
1 parent d09b405 commit 98c384c
Show file tree
Hide file tree
Showing 5 changed files with 995 additions and 989 deletions.
58 changes: 29 additions & 29 deletions lib/platform-bible-react/dist/index.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/platform-bible-react/dist/index.cjs.map

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions lib/platform-bible-react/dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -669,10 +669,10 @@ export type ComboBoxProps<T> = {
/** Additional css classes to help with unique styling of the combo box */
className?: string;
/**
* The selected value that the combo box currently holds. Must be shallow equal to one of the
* options entries.
* The selected value(s) that the combo box currently holds. Must be shallow equal to one or more
* of the options entries.
*/
value?: T;
value?: T | T[];
/** Triggers when content of textfield is changed */
onChange?: (newValue: T) => void;
/** Used to determine the string value for a given option. */
Expand All @@ -685,6 +685,8 @@ export type ComboBoxProps<T> = {
commandEmptyMessage?: string;
/** Variant of button */
buttonVariant?: ButtonProps["variant"];
/** Option boolean to set if popover should stay open after clicking an entry */
keepOpen?: boolean;
/** Text direction ltr or rtl */
dir?: Direction;
/** Optional boolean to set if trigger should be disabled */
Expand All @@ -697,7 +699,7 @@ export type Direction = "ltr" | "rtl";
* Thanks to Shadcn for heavy inspiration and documentation
* https://ui.shadcn.com/docs/components/combobox
*/
export declare function ComboBox<T extends ComboBoxOption = ComboBoxOption>({ id, options, className, value, onChange, getOptionLabel, buttonPlaceholder, textPlaceholder, commandEmptyMessage, buttonVariant, dir, isDisabled, ...props }: ComboBoxProps<T>): import("react/jsx-runtime").JSX.Element;
export declare function ComboBox<T extends ComboBoxOption = ComboBoxOption>({ id, options, className, value, onChange, getOptionLabel, buttonPlaceholder, textPlaceholder, commandEmptyMessage, buttonVariant, keepOpen, dir, isDisabled, ...props }: ComboBoxProps<T>): import("react/jsx-runtime").JSX.Element;
export type MenuItemInfoBase = {
/** Text (displayable in the UI) as the name of the menu item */
label: string;
Expand Down
Loading

0 comments on commit 98c384c

Please sign in to comment.