Start time grid #62

Merged
stne3960 merged 30 commits from start_time_grid into main 2026-01-16 14:17:09 +01:00
4 changed files with 23 additions and 18 deletions
Showing only changes of commit 3a6b4789f4 - Show all commits

View File

@ -57,7 +57,9 @@ export default function Choicebox({
...props
}: ChoiceboxProps) {
const isDisabled = unavailable || disabled;
const textColorClass = unavailable ? "text-base-ink-placeholder" : "text-primary";
const textColorClass = unavailable
? "text-base-ink-placeholder"
: "text-primary";
return (
<label

View File

@ -1,21 +1,9 @@
import clsx from "clsx";
import Button from "../../components/Button/Button";
export const componentCategories = [
"Button",
"TextInput",
"Dropdown",
"ListItem",
"SearchResultList",
"Combobox",
"ListCard",
"ParticipantPicker",
"InlineModal",
"Choicebox",
"StartTimeGrid",
] as const;
export type ComponentCategory = (typeof componentCategories)[number];
import {
componentCategories,
type ComponentCategory,
} from "./componentCategories";
interface SidebarProps {
selectedCategory: ComponentCategory;

View File

@ -0,0 +1,15 @@
export const componentCategories = [
"Button",
"TextInput",
"Dropdown",
"ListItem",
"SearchResultList",
"Combobox",
"ListCard",
"ParticipantPicker",
"InlineModal",
"Choicebox",
"StartTimeGrid",
] as const;
export type ComponentCategory = (typeof componentCategories)[number];

View File

@ -7,4 +7,4 @@ main {
max-width: var(--max-page-width);
margin: 0 auto;
padding: 0 1em;
}
}