@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.
Files changed (121) hide show
  1. package/LICENSE +23 -0
  2. package/README.md +167 -2
  3. package/data/components/accordion.md +421 -0
  4. package/data/components/animateonscroll.md +163 -0
  5. package/data/components/autocomplete.md +1077 -0
  6. package/data/components/autofocus.md +38 -0
  7. package/data/components/avatar.md +417 -0
  8. package/data/components/badge.md +234 -0
  9. package/data/components/blockui.md +108 -0
  10. package/data/components/breadcrumb.md +178 -0
  11. package/data/components/button.md +774 -0
  12. package/data/components/card.md +138 -0
  13. package/data/components/carousel.md +440 -0
  14. package/data/components/cascadeselect.md +1387 -0
  15. package/data/components/chart.md +1178 -0
  16. package/data/components/checkbox.md +529 -0
  17. package/data/components/chip.md +180 -0
  18. package/data/components/colorpicker.md +301 -0
  19. package/data/components/confirmdialog.md +287 -0
  20. package/data/components/confirmpopup.md +417 -0
  21. package/data/components/contextmenu.md +491 -0
  22. package/data/components/dataview.md +600 -0
  23. package/data/components/datepicker.md +1262 -0
  24. package/data/components/dialog.md +622 -0
  25. package/data/components/divider.md +250 -0
  26. package/data/components/dock.md +500 -0
  27. package/data/components/dragdrop.md +285 -0
  28. package/data/components/drawer.md +510 -0
  29. package/data/components/dynamicdialog.md +109 -0
  30. package/data/components/editor.md +291 -0
  31. package/data/components/fieldset.md +182 -0
  32. package/data/components/fileupload.md +430 -0
  33. package/data/components/floatlabel.md +155 -0
  34. package/data/components/fluid.md +72 -0
  35. package/data/components/focustrap.md +65 -0
  36. package/data/components/galleria.md +627 -0
  37. package/data/components/iconfield.md +246 -0
  38. package/data/components/iftalabel.md +105 -0
  39. package/data/components/imagecompare.md +97 -0
  40. package/data/components/inplace.md +233 -0
  41. package/data/components/inputgroup.md +306 -0
  42. package/data/components/inputmask.md +518 -0
  43. package/data/components/inputnumber.md +675 -0
  44. package/data/components/inputotp.md +336 -0
  45. package/data/components/inputtext.md +488 -0
  46. package/data/components/keyfilter.md +85 -0
  47. package/data/components/knob.md +462 -0
  48. package/data/components/listbox.md +798 -0
  49. package/data/components/llms.md +28 -0
  50. package/data/components/megamenu.md +587 -0
  51. package/data/components/menu.md +483 -0
  52. package/data/components/menubar.md +462 -0
  53. package/data/components/message.md +449 -0
  54. package/data/components/metergroup.md +241 -0
  55. package/data/components/multiselect.md +1047 -0
  56. package/data/components/orderlist.md +342 -0
  57. package/data/components/organizationchart.md +197 -0
  58. package/data/components/overlay.md +217 -0
  59. package/data/components/paginator.md +314 -0
  60. package/data/components/panel.md +214 -0
  61. package/data/components/panelmenu.md +699 -0
  62. package/data/components/password.md +570 -0
  63. package/data/components/picklist.md +420 -0
  64. package/data/components/popover.md +378 -0
  65. package/data/components/progressbar.md +181 -0
  66. package/data/components/progressspinner.md +91 -0
  67. package/data/components/radiobutton.md +377 -0
  68. package/data/components/rating.md +312 -0
  69. package/data/components/ripple.md +89 -0
  70. package/data/components/scroller.md +122 -0
  71. package/data/components/scrollpanel.md +149 -0
  72. package/data/components/scrolltop.md +105 -0
  73. package/data/components/select.md +1206 -0
  74. package/data/components/selectbutton.md +356 -0
  75. package/data/components/skeleton.md +242 -0
  76. package/data/components/slider.md +337 -0
  77. package/data/components/speeddial.md +589 -0
  78. package/data/components/splitbutton.md +945 -0
  79. package/data/components/splitter.md +196 -0
  80. package/data/components/stepper.md +411 -0
  81. package/data/components/styleclass.md +126 -0
  82. package/data/components/table.md +4557 -0
  83. package/data/components/tabs.md +467 -0
  84. package/data/components/tag.md +200 -0
  85. package/data/components/terminal.md +118 -0
  86. package/data/components/textarea.md +416 -0
  87. package/data/components/tieredmenu.md +578 -0
  88. package/data/components/timeline.md +310 -0
  89. package/data/components/toast.md +596 -0
  90. package/data/components/togglebutton.md +356 -0
  91. package/data/components/toggleswitch.md +285 -0
  92. package/data/components/toolbar.md +182 -0
  93. package/data/components/tooltip.md +211 -0
  94. package/data/components/tree.md +746 -0
  95. package/data/components/treeselect.md +912 -0
  96. package/data/components/treetable.md +2814 -0
  97. package/data/components.json +43751 -0
  98. package/data/llms-full.txt +47433 -0
  99. package/data/llms.txt +121 -0
  100. package/data/manifest.json +46513 -0
  101. package/data/pages/accessibility.md +28 -0
  102. package/data/pages/animations.md +28 -0
  103. package/data/pages/configuration.md +210 -0
  104. package/data/pages/contribution.md +20 -0
  105. package/data/pages/customicons.md +20 -0
  106. package/data/pages/faq.md +20 -0
  107. package/data/pages/icons.md +66 -0
  108. package/data/pages/installation.md +71 -0
  109. package/data/pages/llms.md +61 -0
  110. package/data/pages/passthrough.md +32 -0
  111. package/data/pages/philosophy.md +28 -0
  112. package/data/pages/primeflex.md +20 -0
  113. package/data/pages/rtl.md +12 -0
  114. package/data/pages/styled.md +132 -0
  115. package/data/pages/tailwind.md +40 -0
  116. package/data/pages/unstyled.md +39 -0
  117. package/data/snapshot.json +9 -0
  118. package/dist/index.d.mts +448 -0
  119. package/dist/index.mjs +2501 -0
  120. package/dist/index.mjs.map +1 -0
  121. package/package.json +67 -3
@@ -0,0 +1,500 @@
1
+ # Angular Dock Component
2
+
3
+ Dock is a navigation component consisting of menuitems.
4
+
5
+ ## Accessibility
6
+
7
+ Screen Reader Dock component uses the menu role with the aria-orientation and the value to describe the menu can either be provided with aria-labelledby or aria-label props. Each list item has a presentation role whereas anchor elements have a menuitem role with aria-label referring to the label of the item and aria-disabled defined if the item is disabled. Keyboard Support Key Function tab Add focus to the first item if focus moves in to the menu. If the focus is already within the menu, focus moves to the next focusable item in the page tab sequence. shift + tab Add focus to the last item if focus moves in to the menu. If the focus is already within the menu, focus moves to the previous focusable item in the page tab sequence. enter Activates the focused menuitem. space Activates the focused menuitem. down arrow Moves focus to the next menuitem in vertical layout. up arrow Moves focus to the previous menuitem in vertical layout. home Moves focus to the first menuitem in horizontal layout. end Moves focus to the last menuitem in horizontal layout.
8
+
9
+ ## Advanced
10
+
11
+ A mock desktop UI implemented with various components in addition to Dock.
12
+
13
+ ```typescript
14
+ import { Component, OnInit, inject } from '@angular/core';
15
+ import { DialogModule } from '@exhaustive-ui/core/dialog';
16
+ import { DockModule } from '@exhaustive-ui/core/dock';
17
+ import { GalleriaModule } from '@exhaustive-ui/core/galleria';
18
+ import { MenubarModule } from '@exhaustive-ui/core/menubar';
19
+ import { TerminalModule } from '@exhaustive-ui/core/terminal';
20
+ import { ToastModule } from '@exhaustive-ui/core/toast';
21
+ import { TreeModule } from '@exhaustive-ui/core/tree';
22
+ import { TooltipModule } from '@exhaustive-ui/core/tooltip';
23
+ import { NodeService } from '@/service/nodeservice';
24
+ import { PhotoService } from '@/service/photoservice';
25
+ import { MenuItem, MessageService } from '@exhaustive-ui/core/api';
26
+
27
+ @Component({
28
+ template: `
29
+ <div class="card dock-demo">
30
+ <p-menubar [model]="menubarItems">
31
+ <ng-template #start>
32
+ <i class="pi pi-apple px-2"></i>
33
+ </ng-template>
34
+ <ng-template #end>
35
+ <i class="pi pi-video px-2"></i>
36
+ <i class="pi pi-wifi px-2"></i>
37
+ <i class="pi pi-volume-up px-2"></i>
38
+ <span class="px-2">Fri 13:07</span>
39
+ <i class="pi pi-search px-2"></i>
40
+ <i class="pi pi-bars px-2"></i>
41
+ </ng-template>
42
+ </p-menubar>
43
+ <div class="dock-window">
44
+ <p-dock [model]="dockItems" position="bottom">
45
+ <ng-template #item let-item>
46
+ <a [pTooltip]="item.label" tooltipPosition="top" class="p-dock-item-link">
47
+ <img [alt]="item.label" [src]="item.icon" style="width: 100%" />
48
+ </a>
49
+ </ng-template>
50
+ </p-dock>
51
+ <p-toast position="top-center" key="tc" />
52
+ <p-dialog [(visible)]="displayFinder" [breakpoints]="{ '960px': '50vw' }" [style]="{ width: '30vw', height: '18rem' }" [draggable]="false" [resizable]="false" header="Finder">
53
+ <p-tree [value]="nodes" />
54
+ </p-dialog>
55
+ <p-dialog [maximizable]="true" [(visible)]="displayTerminal" [breakpoints]="{ '960px': '50vw' }" [style]="{ width: '30vw' }" [draggable]="false" [resizable]="false" header="Terminal">
56
+ <p-terminal welcomeMessage="Welcome to ExhaustiveUI (cmd: 'date', 'greet {0}', 'random')" prompt="exhaustive $" />
57
+ </p-dialog>
58
+ <p-galleria
59
+ [(value)]="images"
60
+ [showThumbnails]="false"
61
+ [showThumbnailNavigators]="false"
62
+ [showItemNavigators]="true"
63
+ [(visible)]="displayGalleria"
64
+ [circular]="true"
65
+ [responsiveOptions]="responsiveOptions"
66
+ [circular]="true"
67
+ [fullScreen]="true"
68
+ [containerStyle]="{ width: '400px' }"
69
+ >
70
+ <ng-template #item let-item>
71
+ <img [src]="item.itemImageSrc" style="width: 100%; display: block;" />
72
+ </ng-template>
73
+ </p-galleria>
74
+ </div>
75
+ </div>
76
+ `,
77
+ standalone: true,
78
+ imports: [DialogModule, DockModule, GalleriaModule, MenubarModule, TerminalModule, ToastModule, TreeModule, TooltipModule],
79
+ providers: [NodeService, PhotoService, MessageService]
80
+ })
81
+ export class DockAdvancedDemo implements OnInit {
82
+ private nodeService = inject(NodeService);
83
+ private photoService = inject(PhotoService);
84
+ private messageService = inject(MessageService);
85
+ displayTerminal: boolean | undefined;
86
+ displayFinder: boolean | undefined;
87
+ displayGalleria: boolean | undefined;
88
+ dockItems: MenuItem[] | undefined;
89
+ menubarItems: any[] | undefined;
90
+ responsiveOptions: any[] | undefined;
91
+ images: any[] | undefined;
92
+ nodes: any[] | undefined;
93
+ subscription: Subscription | undefined;
94
+
95
+ ngOnInit() {
96
+ this.dockItems = [
97
+ {
98
+ label: 'Finder',
99
+ tooltipOptions: {
100
+ tooltipLabel: 'Finder',
101
+ tooltipPosition: 'top',
102
+ positionTop: -15,
103
+ positionLeft: 15,
104
+ showDelay: 1000
105
+ },
106
+ icon: 'https://exhaustive-ui.e-xiste.com/demo/dock/finder.svg',
107
+ command: () => {
108
+ this.displayFinder = true;
109
+ }
110
+ },
111
+ {
112
+ label: 'Terminal',
113
+ tooltipOptions: {
114
+ tooltipLabel: 'Terminal',
115
+ tooltipPosition: 'top',
116
+ positionTop: -15,
117
+ positionLeft: 15,
118
+ showDelay: 1000
119
+ },
120
+ icon: 'https://exhaustive-ui.e-xiste.com/demo/dock/terminal.svg',
121
+ command: () => {
122
+ this.displayTerminal = true;
123
+ }
124
+ },
125
+ {
126
+ label: 'App Store',
127
+ tooltipOptions: {
128
+ tooltipLabel: 'App Store',
129
+ tooltipPosition: 'top',
130
+ positionTop: -15,
131
+ positionLeft: 15,
132
+ showDelay: 1000
133
+ },
134
+ icon: 'https://exhaustive-ui.e-xiste.com/demo/dock/appstore.svg',
135
+ url: 'https://www.apple.com/app-store/'
136
+ },
137
+ {
138
+ label: 'Safari',
139
+ tooltipOptions: {
140
+ tooltipLabel: 'Safari',
141
+ tooltipPosition: 'top',
142
+ positionTop: -15,
143
+ positionLeft: 15,
144
+ showDelay: 1000
145
+ },
146
+ icon: 'https://exhaustive-ui.e-xiste.com/demo/dock/safari.svg'
147
+ },
148
+ {
149
+ label: 'Photos',
150
+ tooltipOptions: {
151
+ tooltipLabel: 'Photos',
152
+ tooltipPosition: 'top',
153
+ positionTop: -15,
154
+ positionLeft: 15,
155
+ showDelay: 1000
156
+ },
157
+ icon: 'https://exhaustive-ui.e-xiste.com/demo/dock/photos.svg',
158
+ command: () => {
159
+ this.displayGalleria = true;
160
+ }
161
+ },
162
+ {
163
+ label: 'GitHub',
164
+ tooltipOptions: {
165
+ tooltipLabel: 'GitHub',
166
+ tooltipPosition: 'top',
167
+ positionTop: -15,
168
+ positionLeft: 15,
169
+ showDelay: 1000
170
+ },
171
+ icon: 'https://exhaustive-ui.e-xiste.com/demo/dock/github.svg',
172
+ url: 'https://github.com/e-xiste/exhaustive-ui'
173
+ },
174
+ {
175
+ label: 'Trash',
176
+ tooltipOptions: {
177
+ tooltipLabel: 'Trash',
178
+ tooltipPosition: 'top',
179
+ positionTop: -15,
180
+ positionLeft: 15,
181
+ showDelay: 1000
182
+ },
183
+ icon: 'https://exhaustive-ui.e-xiste.com/demo/dock/trash.png',
184
+ command: () => {
185
+ this.messageService.add({ severity: 'info', summary: 'Trash is empty', key: 'tc' });
186
+ }
187
+ }
188
+ ];
189
+ this.menubarItems = [
190
+ {
191
+ label: 'Finder',
192
+ styleClass: 'menubar-root'
193
+ },
194
+ {
195
+ label: 'File',
196
+ items: [
197
+ {
198
+ label: 'New',
199
+ icon: 'pi pi-fw pi-plus',
200
+ items: [
201
+ {
202
+ label: 'Bookmark',
203
+ icon: 'pi pi-fw pi-bookmark'
204
+ },
205
+ {
206
+ label: 'Video',
207
+ icon: 'pi pi-fw pi-video'
208
+ }
209
+ ]
210
+ },
211
+ {
212
+ label: 'Delete',
213
+ icon: 'pi pi-fw pi-trash'
214
+ },
215
+ {
216
+ separator: true
217
+ },
218
+ {
219
+ label: 'Export',
220
+ icon: 'pi pi-fw pi-external-link'
221
+ }
222
+ ]
223
+ },
224
+ {
225
+ label: 'Edit',
226
+ items: [
227
+ {
228
+ label: 'Left',
229
+ icon: 'pi pi-fw pi-align-left'
230
+ },
231
+ {
232
+ label: 'Right',
233
+ icon: 'pi pi-fw pi-align-right'
234
+ },
235
+ {
236
+ label: 'Center',
237
+ icon: 'pi pi-fw pi-align-center'
238
+ },
239
+ {
240
+ label: 'Justify',
241
+ icon: 'pi pi-fw pi-align-justify'
242
+ }
243
+ ]
244
+ },
245
+ {
246
+ label: 'Users',
247
+ items: [
248
+ {
249
+ label: 'New',
250
+ icon: 'pi pi-fw pi-user-plus'
251
+ },
252
+ {
253
+ label: 'Delete',
254
+ icon: 'pi pi-fw pi-user-minus'
255
+ },
256
+ {
257
+ label: 'Search',
258
+ icon: 'pi pi-fw pi-users',
259
+ items: [
260
+ {
261
+ label: 'Filter',
262
+ icon: 'pi pi-fw pi-filter',
263
+ items: [
264
+ {
265
+ label: 'Print',
266
+ icon: 'pi pi-fw pi-print'
267
+ }
268
+ ]
269
+ },
270
+ {
271
+ icon: 'pi pi-fw pi-bars',
272
+ label: 'List'
273
+ }
274
+ ]
275
+ }
276
+ ]
277
+ },
278
+ {
279
+ label: 'Events',
280
+ items: [
281
+ {
282
+ label: 'Edit',
283
+ icon: 'pi pi-fw pi-pencil',
284
+ items: [
285
+ {
286
+ label: 'Save',
287
+ icon: 'pi pi-fw pi-calendar-plus'
288
+ },
289
+ {
290
+ label: 'Delete',
291
+ icon: 'pi pi-fw pi-calendar-minus'
292
+ }
293
+ ]
294
+ },
295
+ {
296
+ label: 'Archieve',
297
+ icon: 'pi pi-fw pi-calendar-times',
298
+ items: [
299
+ {
300
+ label: 'Remove',
301
+ icon: 'pi pi-fw pi-calendar-minus'
302
+ }
303
+ ]
304
+ }
305
+ ]
306
+ },
307
+ {
308
+ label: 'Quit'
309
+ }
310
+ ];
311
+ this.responsiveOptions = [
312
+ {
313
+ breakpoint: '1024px',
314
+ numVisible: 3
315
+ },
316
+ {
317
+ breakpoint: '768px',
318
+ numVisible: 2
319
+ },
320
+ {
321
+ breakpoint: '560px',
322
+ numVisible: 1
323
+ }
324
+ ];
325
+ this.subscription = this.terminalService.commandHandler.subscribe((command) => this.commandHandler(command));
326
+ this.galleriaService.getImages().then((data) => (this.images = data));
327
+ this.nodeService.getFiles().then((data) => (this.nodes = data));
328
+ }
329
+
330
+ commandHandler(text: any) {
331
+ let response;
332
+ let argsIndex = text.indexOf(' ');
333
+ let command = argsIndex !== -1 ? text.substring(0, argsIndex) : text;
334
+
335
+ switch (command) {
336
+ case 'date':
337
+ response = 'Today is ' + new Date().toDateString();
338
+ break;
339
+
340
+ case 'greet':
341
+ response = 'Hola ' + text.substring(argsIndex + 1) + '!';
342
+ break;
343
+
344
+ case 'random':
345
+ response = Math.floor(Math.random() * 100);
346
+ break;
347
+
348
+ default:
349
+ response = 'Unknown command: ' + command;
350
+ break;
351
+ }
352
+
353
+ if (response) {
354
+ this.terminalService.sendResponse(response as string);
355
+ }
356
+ }
357
+
358
+ ngOnDestroy() {
359
+ if (this.subscription) {
360
+ this.subscription.unsubscribe();
361
+ }
362
+ }
363
+ }
364
+ ```
365
+
366
+ ## Basic
367
+
368
+ Dock requires a collection of menuitems as its model . Default location is bottom and other sides are also available when defined with the position property. Content of the dock component is defined by item template.
369
+
370
+ ```typescript
371
+ import { Component, OnInit } from '@angular/core';
372
+ import { FormsModule } from '@angular/forms';
373
+ import { DockModule } from '@exhaustive-ui/core/dock';
374
+ import { RadioButtonModule } from '@exhaustive-ui/core/radiobutton';
375
+ import { TooltipModule } from '@exhaustive-ui/core/tooltip';
376
+ import { MenuItem } from '@exhaustive-ui/core/api';
377
+
378
+ @Component({
379
+ template: `
380
+ <div class="card">
381
+ <div class="flex flex-wrap gap-4 mb-8">
382
+ <div *ngFor="let pos of positionOptions" class="flex items-center">
383
+ <p-radiobutton name="dock" [value]="pos.value" [label]="pos.label" [(ngModel)]="position" [inputId]="pos.label" />
384
+ <label [for]="pos.label" class="ml-2"> {{ pos.label }} </label>
385
+ </div>
386
+ </div>
387
+ <div class="dock-window">
388
+ <p-dock [model]="items" [position]="position">
389
+ <ng-template #item let-item>
390
+ <img [pTooltip]="item.label" tooltipPosition="top" [src]="item.icon" [alt]="item.label" width="100%" />
391
+ </ng-template>
392
+ </p-dock>
393
+ </div>
394
+ </div>
395
+ `,
396
+ standalone: true,
397
+ imports: [DockModule, RadioButtonModule, TooltipModule, FormsModule]
398
+ })
399
+ export class DockBasicDemo implements OnInit {
400
+ items: MenuItem[] | undefined;
401
+ positionOptions: any[];
402
+
403
+ ngOnInit() {
404
+ this.items = [
405
+ {
406
+ label: 'Finder',
407
+ icon: 'https://exhaustive-ui.e-xiste.com/demo/dock/finder.svg'
408
+ },
409
+ {
410
+ label: 'App Store',
411
+ icon: 'https://exhaustive-ui.e-xiste.com/demo/dock/appstore.svg'
412
+ },
413
+ {
414
+ label: 'Photos',
415
+ icon: 'https://exhaustive-ui.e-xiste.com/demo/dock/photos.svg'
416
+ },
417
+ {
418
+ label: 'Trash',
419
+ icon: 'https://exhaustive-ui.e-xiste.com/demo/dock/trash.png'
420
+ }
421
+ ];
422
+ }
423
+ }
424
+ ```
425
+
426
+ ## Dock
427
+
428
+ Dock is a navigation component consisting of menuitems.
429
+
430
+ ### Props
431
+
432
+ | Name | Type | Default | Description |
433
+ |------|------|---------|-------------|
434
+ | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
435
+ | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
436
+ | pt | InputSignal<DockPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
437
+ | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
438
+ | id | InputSignal<string> | ... | Current id state as a string. |
439
+ | model | InputSignal<MenuItem[]> | ... | MenuModel instance to define the action items. |
440
+ | position | InputSignal<"top" \| "bottom" \| "left" \| "right"> | ... | Position of element. |
441
+ | ariaLabel | InputSignal<string> | ... | Defines a string that labels the input for accessibility. |
442
+ | breakpoint | InputSignal<string> | 960px | The breakpoint to define the maximum width boundary. |
443
+ | ariaLabelledBy | InputSignal<string> | ... | Defines a string that labels the dropdown button for accessibility. |
444
+
445
+ ### Emits
446
+
447
+ | Name | Parameters | Description |
448
+ |------|------------|-------------|
449
+ | onFocus | event: FocusEvent | Callback to execute when button is focused. |
450
+ | onBlur | event: FocusEvent | Callback to invoke when the component loses focus. |
451
+
452
+ ### Templates
453
+
454
+ | Name | Type | Description |
455
+ |------|------|-------------|
456
+ | item | TemplateRef<DockItemTemplateContext> | Custom item template. |
457
+
458
+ ## Pass Through Options
459
+
460
+ | Name | Type | Description |
461
+ |------|------|-------------|
462
+ | root | PassThroughOption<HTMLElement, I> | Used to pass attributes to the root's DOM element. |
463
+ | listContainer | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the list container's DOM element. |
464
+ | list | PassThroughOption<HTMLUListElement, I> | Used to pass attributes to the list's DOM element. |
465
+ | item | PassThroughOption<HTMLLIElement, I> | Used to pass attributes to the item's DOM element. |
466
+ | itemContent | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the item content's DOM element. |
467
+ | itemLink | PassThroughOption<HTMLAnchorElement, I> | Used to pass attributes to the item link's DOM element. |
468
+ | itemIcon | PassThroughOption<HTMLSpanElement, I> | Used to pass attributes to the item icon's DOM element. |
469
+
470
+ ## Theming
471
+
472
+ ### CSS Classes
473
+
474
+ | Class | Description |
475
+ |-------|-------------|
476
+ | p-dock | Class name of the root element |
477
+ | p-dock-list-container | Class name of the list container element |
478
+ | p-dock-list | Class name of the list element |
479
+ | p-dock-item | Class name of the item element |
480
+ | p-dock-item-content | Class name of the item content element |
481
+ | p-dock-item-link | Class name of the item link element |
482
+ | p-dock-item-icon | Class name of the item icon element |
483
+
484
+ ### Design Tokens
485
+
486
+ | Token | CSS Variable | Description |
487
+ |-------|--------------|-------------|
488
+ | dock.background | --p-dock-background | Background of root |
489
+ | dock.border.color | --p-dock-border-color | Border color of root |
490
+ | dock.padding | --p-dock-padding | Padding of root |
491
+ | dock.border.radius | --p-dock-border-radius | Border radius of root |
492
+ | dock.item.border.radius | --p-dock-item-border-radius | Border radius of item |
493
+ | dock.item.padding | --p-dock-item-padding | Padding of item |
494
+ | dock.item.size | --p-dock-item-size | Size of item |
495
+ | dock.item.focus.ring.width | --p-dock-item-focus-ring-width | Focus ring width of item |
496
+ | dock.item.focus.ring.style | --p-dock-item-focus-ring-style | Focus ring style of item |
497
+ | dock.item.focus.ring.color | --p-dock-item-focus-ring-color | Focus ring color of item |
498
+ | dock.item.focus.ring.offset | --p-dock-item-focus-ring-offset | Focus ring offset of item |
499
+ | dock.item.focus.ring.shadow | --p-dock-item-focus-ring-shadow | Focus ring shadow of item |
500
+