List components #31
@ -264,9 +264,27 @@ export default function ComponentLibrary() {
|
|||||||
<section className="mt-lg">
|
<section className="mt-lg">
|
||||||
<h2 className="mb-md">Combobox - Sizes</h2>
|
<h2 className="mb-md">Combobox - Sizes</h2>
|
||||||
<div className="flex flex-wrap items-start gap-md">
|
<div className="flex flex-wrap items-start gap-md">
|
||||||
<Combobox options={peopleOptions} placeholder="Small" size="sm" />
|
<Combobox
|
||||||
<Combobox options={peopleOptions} placeholder="Medium" size="md" />
|
options={peopleOptions}
|
||||||
<Combobox options={peopleOptions} placeholder="Large" size="lg" />
|
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>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@ -277,6 +295,8 @@ export default function ComponentLibrary() {
|
|||||||
options={peopleOptions}
|
options={peopleOptions}
|
||||||
placeholder="Sök..."
|
placeholder="Sök..."
|
||||||
customWidth="350px"
|
customWidth="350px"
|
||||||
|
label="Custom width"
|
||||||
|
hideLabel
|
||||||
/>
|
/>
|
||||||
<Combobox
|
<Combobox
|
||||||
options={peopleOptions}
|
options={peopleOptions}
|
||||||
@ -316,6 +336,8 @@ export default function ComponentLibrary() {
|
|||||||
onChange={setParticipants}
|
onChange={setParticipants}
|
||||||
placeholder="Small"
|
placeholder="Small"
|
||||||
size="sm"
|
size="sm"
|
||||||
|
label="Small"
|
||||||
|
hideLabel
|
||||||
/>
|
/>
|
||||||
<ParticipantPicker
|
<ParticipantPicker
|
||||||
options={peopleOptions}
|
options={peopleOptions}
|
||||||
@ -323,6 +345,8 @@ export default function ComponentLibrary() {
|
|||||||
onChange={setParticipants}
|
onChange={setParticipants}
|
||||||
placeholder="Medium"
|
placeholder="Medium"
|
||||||
size="md"
|
size="md"
|
||||||
|
label="Medium"
|
||||||
|
hideLabel
|
||||||
/>
|
/>
|
||||||
<ParticipantPicker
|
<ParticipantPicker
|
||||||
options={peopleOptions}
|
options={peopleOptions}
|
||||||
@ -330,6 +354,8 @@ export default function ComponentLibrary() {
|
|||||||
onChange={setParticipants}
|
onChange={setParticipants}
|
||||||
placeholder="Large"
|
placeholder="Large"
|
||||||
size="lg"
|
size="lg"
|
||||||
|
label="Large"
|
||||||
|
hideLabel
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@ -343,6 +369,8 @@ export default function ComponentLibrary() {
|
|||||||
onChange={setParticipants}
|
onChange={setParticipants}
|
||||||
placeholder="Sök..."
|
placeholder="Sök..."
|
||||||
customWidth="350px"
|
customWidth="350px"
|
||||||
|
label="Custom width"
|
||||||
|
hideLabel
|
||||||
/>
|
/>
|
||||||
<ParticipantPicker
|
<ParticipantPicker
|
||||||
options={peopleOptions}
|
options={peopleOptions}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user