File tree Expand file tree Collapse file tree 12 files changed +131
-3
lines changed Expand file tree Collapse file tree 12 files changed +131
-3
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ '@qwik-ui/styled': patch
3
+ ---
4
+
5
+ feat(styled kit): add Separator component
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ export const statusByComponent: ComponentKitsStatuses = {
24
24
Popover: ComponentStatus.Draft,
25
25
Separator: ComponentStatus.Beta,
26
26
Tabs: ComponentStatus.Beta,
27
+ Textarea: ComponentStatus.Draft,
27
28
},
28
29
headless: {
29
30
Accordion: ComponentStatus.Beta,
Original file line number Diff line number Diff line change 1220
1220
background-color: var(--qwikui-slate-500);
1221
1221
border-radius: 0.5rem;
1222
1222
background-clip: padding-box;
1223
- border: 0.3rem solid transparent;
1223
+ border-left: 0.3rem solid transparent;
1224
+ border-right: 0.3rem solid transparent;
1224
1225
}
1225
1226
1226
1227
*::-webkit-scrollbar-corner {
1227
1228
background: transparent;
1228
1229
}
1229
1230
1230
1231
*::-webkit-scrollbar-track {
1231
- background: #f1f1f1 ;
1232
+ background: transparent ;
1232
1233
border-left: 1px solid var(--qwikui-slate-300);
1233
1234
}
1234
1235
1239
1240
.dark *::-webkit-scrollbar-track {
1240
1241
background: transparent;
1241
1242
border-left: 1px solid var(--qwikui-slate-800);
1243
+ border-right: 1px solid var(--qwikui-slate-800);
1242
1244
}
1243
1245
1244
1246
.code-example *::-webkit-scrollbar-track {
1245
1247
background: transparent;
1246
- border-left : 0px;
1248
+ border: 0px;
1247
1249
}
1248
1250
1249
1251
.code-example *::-webkit-scrollbar-thumb {
Original file line number Diff line number Diff line change 20
20
- [Popover](/docs/styled/popover)
21
21
- [Separator](/docs/styled/separator)
22
22
- [Tabs](/docs/styled/tabs)
23
+ - [Textarea](/docs/styled/textarea)
Original file line number Diff line number Diff line change
1
+ import { component$ } from '@builder.io/qwik';
2
+ import { Textarea } from '@qwik-ui/styled';
3
+
4
+ export default component$(() => {
5
+ return <Textarea placeholder="Type your message here." disabled />;
6
+ });
Original file line number Diff line number Diff line change
1
+ import { component$ } from '@builder.io/qwik';
2
+ import { Textarea } from '@qwik-ui/styled';
3
+
4
+ export default component$(() => {
5
+ return <Textarea placeholder="Type your message here." />;
6
+ });
Original file line number Diff line number Diff line change
1
+ import { component$ } from '@builder.io/qwik';
2
+ import { Button, Textarea } from '@qwik-ui/styled';
3
+
4
+ export default component$(() => {
5
+ return (
6
+ <div class="grid w-full gap-2">
7
+ <Textarea placeholder="Type your message here." />
8
+ <Button>Send message</Button>
9
+ </div>
10
+ );
11
+ });
Original file line number Diff line number Diff line change
1
+ import { component$ } from '@builder.io/qwik';
2
+ import { Label, Textarea } from '@qwik-ui/styled';
3
+
4
+ export default component$(() => {
5
+ return (
6
+ <div class="grid w-full gap-1.5">
7
+ <Label for="message">Your message</Label>
8
+ <Textarea placeholder="Type your message here." id="message" />
9
+ </div>
10
+ );
11
+ });
Original file line number Diff line number Diff line change
1
+ import { component$ } from '@builder.io/qwik';
2
+ import { Label, Textarea } from '@qwik-ui/styled';
3
+
4
+ export default component$(() => {
5
+ return (
6
+ <div class="grid w-full gap-1.5">
7
+ <Label for="message-2">Your Message</Label>
8
+ <Textarea placeholder="Type your message here." id="message-2" />
9
+ <p class="text-muted-foreground text-sm">
10
+ Your message will be copied to the support team.
11
+ </p>
12
+ </div>
13
+ );
14
+ });
Original file line number Diff line number Diff line change
1
+ ---
2
+ title: Qwik UI | Styled Textarea Component
3
+ ---
4
+
5
+ import { statusByComponent } from '~/_state/component-statuses';
6
+
7
+ <StatusBanner status={statusByComponent.styled.Textarea} />
8
+
9
+ # Textarea
10
+
11
+ Displays a form textarea field or a component that looks like a textarea.
12
+
13
+ <Showcase name="hero" />
14
+
15
+ ## Installation
16
+
17
+ ```sh
18
+ qwik-ui add textarea
19
+ ```
20
+
21
+ ## Usage
22
+
23
+ ```tsx
24
+ import { Textarea } from '@/components/ui/textarea';
25
+ ```
26
+
27
+ ```tsx
28
+ <Textarea />
29
+ ```
30
+
31
+ ## Examples
32
+
33
+ ### Disabled
34
+
35
+ <Showcase name="disabled" vertical />
36
+
37
+ ### With Label
38
+
39
+ <Showcase name="with-label" vertical />
40
+
41
+ ### With button
42
+
43
+ <Showcase name="with-button" vertical />
44
+
45
+ ### With text
46
+
47
+ <Showcase name="with-text" vertical />
You can’t perform that action at this time.
0 commit comments