@exhaustive-ui/mcp 0.0.0-stage → 3.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +23 -0
- package/README.md +167 -2
- package/data/components/accordion.md +421 -0
- package/data/components/animateonscroll.md +163 -0
- package/data/components/autocomplete.md +1077 -0
- package/data/components/autofocus.md +38 -0
- package/data/components/avatar.md +417 -0
- package/data/components/badge.md +234 -0
- package/data/components/blockui.md +108 -0
- package/data/components/breadcrumb.md +178 -0
- package/data/components/button.md +774 -0
- package/data/components/card.md +138 -0
- package/data/components/carousel.md +440 -0
- package/data/components/cascadeselect.md +1387 -0
- package/data/components/chart.md +1178 -0
- package/data/components/checkbox.md +529 -0
- package/data/components/chip.md +180 -0
- package/data/components/colorpicker.md +301 -0
- package/data/components/confirmdialog.md +287 -0
- package/data/components/confirmpopup.md +417 -0
- package/data/components/contextmenu.md +491 -0
- package/data/components/dataview.md +600 -0
- package/data/components/datepicker.md +1262 -0
- package/data/components/dialog.md +622 -0
- package/data/components/divider.md +250 -0
- package/data/components/dock.md +500 -0
- package/data/components/dragdrop.md +285 -0
- package/data/components/drawer.md +510 -0
- package/data/components/dynamicdialog.md +109 -0
- package/data/components/editor.md +291 -0
- package/data/components/fieldset.md +182 -0
- package/data/components/fileupload.md +430 -0
- package/data/components/floatlabel.md +155 -0
- package/data/components/fluid.md +72 -0
- package/data/components/focustrap.md +65 -0
- package/data/components/galleria.md +627 -0
- package/data/components/iconfield.md +246 -0
- package/data/components/iftalabel.md +105 -0
- package/data/components/imagecompare.md +97 -0
- package/data/components/inplace.md +233 -0
- package/data/components/inputgroup.md +306 -0
- package/data/components/inputmask.md +518 -0
- package/data/components/inputnumber.md +675 -0
- package/data/components/inputotp.md +336 -0
- package/data/components/inputtext.md +488 -0
- package/data/components/keyfilter.md +85 -0
- package/data/components/knob.md +462 -0
- package/data/components/listbox.md +798 -0
- package/data/components/llms.md +28 -0
- package/data/components/megamenu.md +587 -0
- package/data/components/menu.md +483 -0
- package/data/components/menubar.md +462 -0
- package/data/components/message.md +449 -0
- package/data/components/metergroup.md +241 -0
- package/data/components/multiselect.md +1047 -0
- package/data/components/orderlist.md +342 -0
- package/data/components/organizationchart.md +197 -0
- package/data/components/overlay.md +217 -0
- package/data/components/paginator.md +314 -0
- package/data/components/panel.md +214 -0
- package/data/components/panelmenu.md +699 -0
- package/data/components/password.md +570 -0
- package/data/components/picklist.md +420 -0
- package/data/components/popover.md +378 -0
- package/data/components/progressbar.md +181 -0
- package/data/components/progressspinner.md +91 -0
- package/data/components/radiobutton.md +377 -0
- package/data/components/rating.md +312 -0
- package/data/components/ripple.md +89 -0
- package/data/components/scroller.md +122 -0
- package/data/components/scrollpanel.md +149 -0
- package/data/components/scrolltop.md +105 -0
- package/data/components/select.md +1206 -0
- package/data/components/selectbutton.md +356 -0
- package/data/components/skeleton.md +242 -0
- package/data/components/slider.md +337 -0
- package/data/components/speeddial.md +589 -0
- package/data/components/splitbutton.md +945 -0
- package/data/components/splitter.md +196 -0
- package/data/components/stepper.md +411 -0
- package/data/components/styleclass.md +126 -0
- package/data/components/table.md +4557 -0
- package/data/components/tabs.md +467 -0
- package/data/components/tag.md +200 -0
- package/data/components/terminal.md +118 -0
- package/data/components/textarea.md +416 -0
- package/data/components/tieredmenu.md +578 -0
- package/data/components/timeline.md +310 -0
- package/data/components/toast.md +596 -0
- package/data/components/togglebutton.md +356 -0
- package/data/components/toggleswitch.md +285 -0
- package/data/components/toolbar.md +182 -0
- package/data/components/tooltip.md +211 -0
- package/data/components/tree.md +746 -0
- package/data/components/treeselect.md +912 -0
- package/data/components/treetable.md +2814 -0
- package/data/components.json +43751 -0
- package/data/llms-full.txt +47433 -0
- package/data/llms.txt +121 -0
- package/data/manifest.json +46513 -0
- package/data/pages/accessibility.md +28 -0
- package/data/pages/animations.md +28 -0
- package/data/pages/configuration.md +210 -0
- package/data/pages/contribution.md +20 -0
- package/data/pages/customicons.md +20 -0
- package/data/pages/faq.md +20 -0
- package/data/pages/icons.md +66 -0
- package/data/pages/installation.md +71 -0
- package/data/pages/llms.md +61 -0
- package/data/pages/passthrough.md +32 -0
- package/data/pages/philosophy.md +28 -0
- package/data/pages/primeflex.md +20 -0
- package/data/pages/rtl.md +12 -0
- package/data/pages/styled.md +132 -0
- package/data/pages/tailwind.md +40 -0
- package/data/pages/unstyled.md +39 -0
- package/data/snapshot.json +9 -0
- package/dist/index.d.mts +448 -0
- package/dist/index.mjs +2501 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +67 -3
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
# Angular Divider Component
|
|
2
|
+
|
|
3
|
+
Divider is used to separate contents.
|
|
4
|
+
|
|
5
|
+
## Accessibility
|
|
6
|
+
|
|
7
|
+
Screen Reader Divider uses a separator role with aria-orientation set to either "horizontal" or "vertical". Keyboard Support Component does not include any interactive elements.
|
|
8
|
+
|
|
9
|
+
## Basic
|
|
10
|
+
|
|
11
|
+
Divider is basically placed between the items to separate.
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { Component } from '@angular/core';
|
|
15
|
+
import { DividerModule } from '@exhaustive-ui/core/divider';
|
|
16
|
+
|
|
17
|
+
@Component({
|
|
18
|
+
template: `
|
|
19
|
+
<div class="card">
|
|
20
|
+
<p>
|
|
21
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
|
22
|
+
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
23
|
+
</p>
|
|
24
|
+
<p-divider />
|
|
25
|
+
<p>
|
|
26
|
+
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam
|
|
27
|
+
voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Consectetur, adipisci velit, sed quia non numquam eius modi.
|
|
28
|
+
</p>
|
|
29
|
+
<p-divider />
|
|
30
|
+
<p>
|
|
31
|
+
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui
|
|
32
|
+
officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus.
|
|
33
|
+
</p>
|
|
34
|
+
<p-divider />
|
|
35
|
+
<p>
|
|
36
|
+
Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis
|
|
37
|
+
voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. Donec vel volutpat ipsum. Integer nunc magna, posuere ut tincidunt eget, egestas vitae sapien. Morbi dapibus luctus odio.
|
|
38
|
+
</p>
|
|
39
|
+
</div>
|
|
40
|
+
`,
|
|
41
|
+
standalone: true,
|
|
42
|
+
imports: [DividerModule]
|
|
43
|
+
})
|
|
44
|
+
export class DividerBasicDemo {}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Content
|
|
48
|
+
|
|
49
|
+
Children are rendered within the boundaries of the divider where location of the content is configured with the align property. In horizontal layout, alignment options are left , center and right whereas vertical mode supports top , center and bottom .
|
|
50
|
+
|
|
51
|
+
```typescript
|
|
52
|
+
import { Component } from '@angular/core';
|
|
53
|
+
import { DividerModule } from '@exhaustive-ui/core/divider';
|
|
54
|
+
|
|
55
|
+
@Component({
|
|
56
|
+
template: `
|
|
57
|
+
<div class="card">
|
|
58
|
+
<p class="m-0">
|
|
59
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
|
60
|
+
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
61
|
+
</p>
|
|
62
|
+
<p-divider align="left" type="solid">
|
|
63
|
+
<b>Left</b>
|
|
64
|
+
</p-divider>
|
|
65
|
+
<p class="m-0">
|
|
66
|
+
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam
|
|
67
|
+
voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Consectetur, adipisci velit, sed quia non numquam eius modi.
|
|
68
|
+
</p>
|
|
69
|
+
<p-divider align="center" type="dotted">
|
|
70
|
+
<b>Center</b>
|
|
71
|
+
</p-divider>
|
|
72
|
+
<p class="m-0">
|
|
73
|
+
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui
|
|
74
|
+
officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus.
|
|
75
|
+
</p>
|
|
76
|
+
<p-divider align="right" type="dashed">
|
|
77
|
+
<b>Right</b>
|
|
78
|
+
</p-divider>
|
|
79
|
+
<p class="m-0">
|
|
80
|
+
Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis
|
|
81
|
+
voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. Donec vel volutpat ipsum. Integer nunc magna, posuere ut tincidunt eget, egestas vitae sapien. Morbi dapibus luctus odio.
|
|
82
|
+
</p>
|
|
83
|
+
</div>
|
|
84
|
+
`,
|
|
85
|
+
standalone: true,
|
|
86
|
+
imports: [DividerModule]
|
|
87
|
+
})
|
|
88
|
+
export class DividerContentDemo {}
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Login
|
|
92
|
+
|
|
93
|
+
Sample implementation of a login form using a divider with content.
|
|
94
|
+
|
|
95
|
+
```typescript
|
|
96
|
+
import { Component } from '@angular/core';
|
|
97
|
+
import { ButtonModule } from '@exhaustive-ui/core/button';
|
|
98
|
+
import { DividerModule } from '@exhaustive-ui/core/divider';
|
|
99
|
+
import { InputTextModule } from '@exhaustive-ui/core/inputtext';
|
|
100
|
+
|
|
101
|
+
@Component({
|
|
102
|
+
template: `
|
|
103
|
+
<div class="card">
|
|
104
|
+
<div class="flex flex-col md:flex-row">
|
|
105
|
+
<div class="w-full md:w-5/12 flex flex-col items-center justify-center gap-3 py-5">
|
|
106
|
+
<div class="flex flex-col gap-2">
|
|
107
|
+
<label for="username">Username</label>
|
|
108
|
+
<input pInputText id="username" type="text" />
|
|
109
|
+
</div>
|
|
110
|
+
<div class="flex flex-col gap-2">
|
|
111
|
+
<label for="password">Password</label>
|
|
112
|
+
<input pInputText id="password" type="password" />
|
|
113
|
+
</div>
|
|
114
|
+
<div class="flex">
|
|
115
|
+
<p-button label="Login" icon="pi pi-user" class="w-full max-w-[17.35rem]" styleClass="w-full mx-auto" />
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
<div class="w-full md:w-2/12">
|
|
119
|
+
<p-divider layout="vertical" class="!hidden md:!flex"><b>OR</b></p-divider>
|
|
120
|
+
<p-divider layout="horizontal" class="!flex md:!hidden" align="center"><b>OR</b></p-divider>
|
|
121
|
+
</div>
|
|
122
|
+
<div class="w-full md:w-5/12 flex items-center justify-center py-5">
|
|
123
|
+
<p-button label="Sign Up" icon="pi pi-user-plus" severity="success" class="w-full max-w-[17.35rem]" styleClass="w-full mx-auto" />
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
|
+
`,
|
|
128
|
+
standalone: true,
|
|
129
|
+
imports: [ButtonModule, DividerModule, InputTextModule]
|
|
130
|
+
})
|
|
131
|
+
export class DividerLoginDemo {}
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
## Type
|
|
135
|
+
|
|
136
|
+
Style of the border is configured with the type property that can either be solid , dotted or dashed .
|
|
137
|
+
|
|
138
|
+
```typescript
|
|
139
|
+
import { Component } from '@angular/core';
|
|
140
|
+
import { DividerModule } from '@exhaustive-ui/core/divider';
|
|
141
|
+
|
|
142
|
+
@Component({
|
|
143
|
+
template: `
|
|
144
|
+
<div class="card">
|
|
145
|
+
<p>
|
|
146
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
|
147
|
+
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
148
|
+
</p>
|
|
149
|
+
<p-divider type="solid" />
|
|
150
|
+
<p>
|
|
151
|
+
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam
|
|
152
|
+
voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Consectetur, adipisci velit, sed quia non numquam eius modi.
|
|
153
|
+
</p>
|
|
154
|
+
<p-divider type="dotted" />
|
|
155
|
+
<p>
|
|
156
|
+
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui
|
|
157
|
+
officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus.
|
|
158
|
+
</p>
|
|
159
|
+
<p-divider type="dashed" />
|
|
160
|
+
<p>
|
|
161
|
+
Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis
|
|
162
|
+
voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat. Donec vel volutpat ipsum. Integer nunc magna, posuere ut tincidunt eget, egestas vitae sapien. Morbi dapibus luctus odio.
|
|
163
|
+
</p>
|
|
164
|
+
</div>
|
|
165
|
+
`,
|
|
166
|
+
standalone: true,
|
|
167
|
+
imports: [DividerModule]
|
|
168
|
+
})
|
|
169
|
+
export class DividerTypeDemo {}
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
## Vertical
|
|
173
|
+
|
|
174
|
+
Vertical divider is enabled by setting the layout property as vertical .
|
|
175
|
+
|
|
176
|
+
```typescript
|
|
177
|
+
import { Component } from '@angular/core';
|
|
178
|
+
import { DividerModule } from '@exhaustive-ui/core/divider';
|
|
179
|
+
|
|
180
|
+
@Component({
|
|
181
|
+
template: `
|
|
182
|
+
<div class="card flex">
|
|
183
|
+
<p>
|
|
184
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
|
185
|
+
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
186
|
+
</p>
|
|
187
|
+
<p-divider layout="vertical" />
|
|
188
|
+
<p>
|
|
189
|
+
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam
|
|
190
|
+
voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Consectetur, adipisci velit, sed quia non numquam eius modi.
|
|
191
|
+
</p>
|
|
192
|
+
<p-divider layout="vertical" />
|
|
193
|
+
<p>
|
|
194
|
+
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui
|
|
195
|
+
officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus.
|
|
196
|
+
</p>
|
|
197
|
+
</div>
|
|
198
|
+
`,
|
|
199
|
+
standalone: true,
|
|
200
|
+
imports: [DividerModule]
|
|
201
|
+
})
|
|
202
|
+
export class DividerVerticalDemo {}
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
## Divider
|
|
206
|
+
|
|
207
|
+
Divider is used to separate contents.
|
|
208
|
+
|
|
209
|
+
### Props
|
|
210
|
+
|
|
211
|
+
| Name | Type | Default | Description |
|
|
212
|
+
|------|------|---------|-------------|
|
|
213
|
+
| dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
|
|
214
|
+
| unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
|
|
215
|
+
| pt | InputSignal<DividerPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
|
|
216
|
+
| ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
|
|
217
|
+
| layout | InputSignal<"vertical" \| "horizontal"> | ... | Specifies the orientation. |
|
|
218
|
+
| type | InputSignal<"solid" \| "dashed" \| "dotted"> | ... | Border style type. |
|
|
219
|
+
| align | InputSignal<"top" \| "bottom" \| "center" \| "left" \| "right"> | ... | Alignment of the content. |
|
|
220
|
+
|
|
221
|
+
## Pass Through Options
|
|
222
|
+
|
|
223
|
+
| Name | Type | Description |
|
|
224
|
+
|------|------|-------------|
|
|
225
|
+
| root | PassThroughOption<HTMLElement, I> | Used to pass attributes to the root's DOM element. |
|
|
226
|
+
| content | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the content's DOM element. |
|
|
227
|
+
|
|
228
|
+
## Theming
|
|
229
|
+
|
|
230
|
+
### CSS Classes
|
|
231
|
+
|
|
232
|
+
| Class | Description |
|
|
233
|
+
|-------|-------------|
|
|
234
|
+
| p-divider | Class name of the root element |
|
|
235
|
+
| p-divider-content | Class name of the content element |
|
|
236
|
+
|
|
237
|
+
### Design Tokens
|
|
238
|
+
|
|
239
|
+
| Token | CSS Variable | Description |
|
|
240
|
+
|-------|--------------|-------------|
|
|
241
|
+
| divider.border.color | --p-divider-border-color | Border color of root |
|
|
242
|
+
| divider.content.background | --p-divider-content-background | Background of content |
|
|
243
|
+
| divider.content.color | --p-divider-content-color | Color of content |
|
|
244
|
+
| divider.horizontal.margin | --p-divider-horizontal-margin | Margin of horizontal |
|
|
245
|
+
| divider.horizontal.padding | --p-divider-horizontal-padding | Padding of horizontal |
|
|
246
|
+
| divider.horizontal.content.padding | --p-divider-horizontal-content-padding | Content padding of horizontal |
|
|
247
|
+
| divider.vertical.margin | --p-divider-vertical-margin | Margin of vertical |
|
|
248
|
+
| divider.vertical.padding | --p-divider-vertical-padding | Padding of vertical |
|
|
249
|
+
| divider.vertical.content.padding | --p-divider-vertical-content-padding | Content padding of vertical |
|
|
250
|
+
|