List components #31

Merged
stne3960 merged 68 commits from list_item into main 2025-12-18 12:41:13 +01:00
Showing only changes of commit 91a002cc9a - Show all commits

View File

@ -264,9 +264,27 @@ export default function ComponentLibrary() {
<section className="mt-lg">
<h2 className="mb-md">Combobox - Sizes</h2>
<div className="flex flex-wrap items-start gap-md">
<Combobox options={peopleOptions} placeholder="Small" size="sm" />
<Combobox options={peopleOptions} placeholder="Medium" size="md" />
<Combobox options={peopleOptions} placeholder="Large" size="lg" />
<Combobox
options={peopleOptions}
placeholder="Small"
size="sm"
label="Small"
hideLabel
/>
<Combobox
options={peopleOptions}
placeholder="Medium"
size="md"
label="Medium"
hideLabel
/>
<Combobox
options={peopleOptions}
placeholder="Large"
size="lg"
label="Large"
hideLabel
/>
</div>
</section>
@ -277,6 +295,8 @@ export default function ComponentLibrary() {
options={peopleOptions}
placeholder="Sök..."
customWidth="350px"
label="Custom width"
hideLabel
/>
<Combobox
options={peopleOptions}
@ -316,6 +336,8 @@ export default function ComponentLibrary() {
onChange={setParticipants}
placeholder="Small"
size="sm"
label="Small"
hideLabel
/>
<ParticipantPicker
options={peopleOptions}
@ -323,6 +345,8 @@ export default function ComponentLibrary() {
onChange={setParticipants}
placeholder="Medium"
size="md"
label="Medium"
hideLabel
/>
<ParticipantPicker
options={peopleOptions}
@ -330,6 +354,8 @@ export default function ComponentLibrary() {
onChange={setParticipants}
placeholder="Large"
size="lg"
label="Large"
hideLabel
/>
</div>
</section>
@ -343,6 +369,8 @@ export default function ComponentLibrary() {
onChange={setParticipants}
placeholder="Sök..."
customWidth="350px"
label="Custom width"
hideLabel
/>
<ParticipantPicker
options={peopleOptions}