@exhaustive-ui/mcp 22.4.0 → 22.6.0

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 (205) hide show
  1. package/README.md +13 -1
  2. package/data/cards/accordion.md +91 -0
  3. package/data/cards/animateonscroll.md +155 -0
  4. package/data/cards/autocomplete.md +109 -0
  5. package/data/cards/autofocus.md +36 -0
  6. package/data/cards/avatar.md +45 -0
  7. package/data/cards/badge.md +44 -0
  8. package/data/cards/blockui.md +51 -0
  9. package/data/cards/breadcrumb.md +56 -0
  10. package/data/cards/button.md +83 -0
  11. package/data/cards/card.md +49 -0
  12. package/data/cards/carousel.md +101 -0
  13. package/data/cards/cascadeselect.md +77 -0
  14. package/data/cards/chart.md +105 -0
  15. package/data/cards/checkbox.md +59 -0
  16. package/data/cards/chip.md +50 -0
  17. package/data/cards/classnames.md +91 -0
  18. package/data/cards/colorpicker.md +52 -0
  19. package/data/cards/confirmdialog.md +119 -0
  20. package/data/cards/confirmpopup.md +96 -0
  21. package/data/cards/contextmenu.md +60 -0
  22. package/data/cards/dataview.md +134 -0
  23. package/data/cards/datepicker.md +103 -0
  24. package/data/cards/dialog.md +89 -0
  25. package/data/cards/divider.md +55 -0
  26. package/data/cards/dock.md +106 -0
  27. package/data/cards/dragdrop.md +106 -0
  28. package/data/cards/drawer.md +62 -0
  29. package/data/cards/dynamicdialog.md +103 -0
  30. package/data/cards/editor.md +55 -0
  31. package/data/cards/fieldset.md +54 -0
  32. package/data/cards/fileinput.md +72 -0
  33. package/data/cards/fileupload.md +88 -0
  34. package/data/cards/floatlabel.md +41 -0
  35. package/data/cards/fluid.md +49 -0
  36. package/data/cards/focustrap.md +64 -0
  37. package/data/cards/galleria.md +94 -0
  38. package/data/cards/iconfield.md +45 -0
  39. package/data/cards/iftalabel.md +38 -0
  40. package/data/cards/image.md +58 -0
  41. package/data/cards/imagecompare.md +45 -0
  42. package/data/cards/inplace.md +56 -0
  43. package/data/cards/inputgroup.md +77 -0
  44. package/data/cards/inputmask.md +71 -0
  45. package/data/cards/inputnumber.md +78 -0
  46. package/data/cards/inputotp.md +60 -0
  47. package/data/cards/inputtext.md +41 -0
  48. package/data/cards/keyfilter.md +49 -0
  49. package/data/cards/knob.md +55 -0
  50. package/data/cards/listbox.md +105 -0
  51. package/data/cards/megamenu.md +96 -0
  52. package/data/cards/menu.md +64 -0
  53. package/data/cards/menubar.md +102 -0
  54. package/data/cards/message.md +51 -0
  55. package/data/cards/metergroup.md +53 -0
  56. package/data/cards/multiselect.md +115 -0
  57. package/data/cards/orderlist.md +96 -0
  58. package/data/cards/organizationchart.md +84 -0
  59. package/data/cards/overlay.md +63 -0
  60. package/data/cards/paginator.md +62 -0
  61. package/data/cards/panel.md +57 -0
  62. package/data/cards/panelmenu.md +94 -0
  63. package/data/cards/password.md +81 -0
  64. package/data/cards/picklist.md +106 -0
  65. package/data/cards/popover.md +53 -0
  66. package/data/cards/progressbar.md +42 -0
  67. package/data/cards/progressspinner.md +38 -0
  68. package/data/cards/radiobutton.md +52 -0
  69. package/data/cards/rating.md +56 -0
  70. package/data/cards/ripple.md +37 -0
  71. package/data/cards/scroller.md +32 -0
  72. package/data/cards/scrollpanel.md +50 -0
  73. package/data/cards/scrolltop.md +48 -0
  74. package/data/cards/select.md +108 -0
  75. package/data/cards/selectbutton.md +64 -0
  76. package/data/cards/skeleton.md +54 -0
  77. package/data/cards/slider.md +52 -0
  78. package/data/cards/speeddial.md +102 -0
  79. package/data/cards/splitbutton.md +96 -0
  80. package/data/cards/splitter.md +52 -0
  81. package/data/cards/stepper.md +125 -0
  82. package/data/cards/styleclass.md +46 -0
  83. package/data/cards/table.md +305 -0
  84. package/data/cards/tabs.md +97 -0
  85. package/data/cards/tag.md +41 -0
  86. package/data/cards/terminal.md +76 -0
  87. package/data/cards/textarea.md +45 -0
  88. package/data/cards/tieredmenu.md +121 -0
  89. package/data/cards/timeline.md +58 -0
  90. package/data/cards/toast.md +58 -0
  91. package/data/cards/togglebutton.md +59 -0
  92. package/data/cards/toggleswitch.md +52 -0
  93. package/data/cards/toolbar.md +74 -0
  94. package/data/cards/tooltip.md +43 -0
  95. package/data/cards/tree.md +93 -0
  96. package/data/cards/treeselect.md +98 -0
  97. package/data/cards/treetable.md +231 -0
  98. package/data/components/accordion.md +31 -23
  99. package/data/components/animateonscroll.md +18 -15
  100. package/data/components/autocomplete.md +162 -93
  101. package/data/components/autofocus.md +9 -7
  102. package/data/components/avatar.md +56 -43
  103. package/data/components/badge.md +27 -18
  104. package/data/components/blockui.md +15 -8
  105. package/data/components/breadcrumb.md +20 -14
  106. package/data/components/button.md +121 -94
  107. package/data/components/card.md +12 -10
  108. package/data/components/carousel.md +75 -53
  109. package/data/components/cascadeselect.md +271 -238
  110. package/data/components/chart.md +88 -74
  111. package/data/components/checkbox.md +107 -97
  112. package/data/components/chip.md +20 -16
  113. package/data/components/classnames.md +22 -4
  114. package/data/components/colorpicker.md +54 -36
  115. package/data/components/confirmdialog.md +146 -43
  116. package/data/components/confirmpopup.md +95 -22
  117. package/data/components/contextmenu.md +110 -39
  118. package/data/components/dataview.md +176 -83
  119. package/data/components/datepicker.md +171 -141
  120. package/data/components/dialog.md +80 -68
  121. package/data/components/divider.md +17 -12
  122. package/data/components/dock.md +65 -29
  123. package/data/components/dragdrop.md +26 -12
  124. package/data/components/drawer.md +67 -48
  125. package/data/components/dynamicdialog.md +22 -13
  126. package/data/components/editor.md +42 -33
  127. package/data/components/fieldset.md +20 -17
  128. package/data/components/fileinput.md +92 -35
  129. package/data/components/fileupload.md +101 -61
  130. package/data/components/floatlabel.md +20 -11
  131. package/data/components/fluid.md +11 -9
  132. package/data/components/focustrap.md +11 -7
  133. package/data/components/galleria.md +231 -90
  134. package/data/components/iconfield.md +23 -15
  135. package/data/components/iftalabel.md +15 -9
  136. package/data/components/image.md +31 -26
  137. package/data/components/imagecompare.md +8 -6
  138. package/data/components/inplace.md +27 -22
  139. package/data/components/inputgroup.md +53 -29
  140. package/data/components/inputmask.md +107 -85
  141. package/data/components/inputnumber.md +128 -90
  142. package/data/components/inputotp.md +55 -42
  143. package/data/components/inputtext.md +72 -50
  144. package/data/components/keyfilter.md +6 -3
  145. package/data/components/knob.md +70 -58
  146. package/data/components/listbox.md +171 -141
  147. package/data/components/llms.md +4 -0
  148. package/data/components/megamenu.md +24 -23
  149. package/data/components/menu.md +37 -34
  150. package/data/components/menubar.md +27 -22
  151. package/data/components/message.md +44 -32
  152. package/data/components/metergroup.md +48 -17
  153. package/data/components/multiselect.md +232 -168
  154. package/data/components/orderlist.md +55 -48
  155. package/data/components/organizationchart.md +182 -13
  156. package/data/components/overlay.md +31 -26
  157. package/data/components/paginator.md +49 -34
  158. package/data/components/panel.md +23 -19
  159. package/data/components/panelmenu.md +51 -25
  160. package/data/components/password.md +104 -91
  161. package/data/components/picklist.md +93 -71
  162. package/data/components/popover.md +68 -46
  163. package/data/components/progressbar.md +28 -22
  164. package/data/components/progressspinner.md +13 -11
  165. package/data/components/radiobutton.md +69 -35
  166. package/data/components/rating.md +48 -40
  167. package/data/components/ripple.md +8 -6
  168. package/data/components/scroller.md +29 -29
  169. package/data/components/scrollpanel.md +9 -7
  170. package/data/components/scrolltop.md +20 -18
  171. package/data/components/select.md +248 -169
  172. package/data/components/selectbutton.md +118 -56
  173. package/data/components/skeleton.md +22 -18
  174. package/data/components/slider.md +73 -49
  175. package/data/components/speeddial.md +77 -59
  176. package/data/components/splitbutton.md +354 -329
  177. package/data/components/splitter.md +22 -18
  178. package/data/components/stepper.md +38 -21
  179. package/data/components/styleclass.md +12 -6
  180. package/data/components/table.md +524 -315
  181. package/data/components/tabs.md +44 -26
  182. package/data/components/tag.md +18 -14
  183. package/data/components/terminal.md +38 -27
  184. package/data/components/textarea.md +82 -47
  185. package/data/components/tieredmenu.md +34 -29
  186. package/data/components/timeline.md +29 -28
  187. package/data/components/toast.md +115 -57
  188. package/data/components/togglebutton.md +53 -39
  189. package/data/components/toggleswitch.md +41 -28
  190. package/data/components/toolbar.md +19 -18
  191. package/data/components/tooltip.md +43 -32
  192. package/data/components/tree.md +114 -81
  193. package/data/components/treeselect.md +176 -174
  194. package/data/components/treetable.md +1250 -1045
  195. package/data/components.json +4134 -4088
  196. package/data/llms-full.txt +8979 -6437
  197. package/data/llms.txt +100 -96
  198. package/data/manifest.json +183 -15
  199. package/data/pages/llms.md +29 -0
  200. package/data/pages/tailwind.md +20 -10
  201. package/data/snapshot.json +2 -2
  202. package/dist/index.d.mts +37 -2
  203. package/dist/index.mjs +1395 -1079
  204. package/dist/index.mjs.map +1 -1
  205. package/package.json +1 -1
@@ -22,7 +22,7 @@ import { KnobModule } from '@exhaustive-ui/core/knob';
22
22
  </div>
23
23
  `,
24
24
  standalone: true,
25
- imports: [KnobModule, FormsModule]
25
+ imports: [FormsModule, KnobModule]
26
26
  })
27
27
  export class KnobBasicDemo {
28
28
  value!: number;
@@ -45,7 +45,7 @@ import { KnobModule } from '@exhaustive-ui/core/knob';
45
45
  </div>
46
46
  `,
47
47
  standalone: true,
48
- imports: [KnobModule, FormsModule]
48
+ imports: [FormsModule, KnobModule]
49
49
  })
50
50
  export class KnobColorDemo {
51
51
  value: number = 50;
@@ -68,7 +68,7 @@ import { KnobModule } from '@exhaustive-ui/core/knob';
68
68
  </div>
69
69
  `,
70
70
  standalone: true,
71
- imports: [KnobModule, FormsModule]
71
+ imports: [FormsModule, KnobModule]
72
72
  })
73
73
  export class KnobDisabledDemo {
74
74
  value: number = 75;
@@ -91,7 +91,7 @@ import { KnobModule } from '@exhaustive-ui/core/knob';
91
91
  </div>
92
92
  `,
93
93
  standalone: true,
94
- imports: [KnobModule, FormsModule]
94
+ imports: [FormsModule, KnobModule]
95
95
  })
96
96
  export class KnobMinmaxDemo {
97
97
  value: number = 10;
@@ -105,21 +105,21 @@ Knob can be controlled with custom controls as well.
105
105
  ```typescript
106
106
  import { Component } from '@angular/core';
107
107
  import { FormsModule } from '@angular/forms';
108
- import { ButtonModule } from '@exhaustive-ui/core/button';
109
108
  import { KnobModule } from '@exhaustive-ui/core/knob';
109
+ import { ButtonModule } from '@exhaustive-ui/core/button';
110
110
 
111
111
  @Component({
112
112
  template: `
113
113
  <div class="card flex flex-col items-center gap-2">
114
114
  <p-knob [(ngModel)]="value" size="150" readonly="true" />
115
115
  <div class="flex gap-2">
116
- <p-button icon="pi pi-plus" (click)="value = value + 1" [disabled]="value >= 100" />
117
- <p-button icon="pi pi-minus" (click)="value = value - 1" [disabled]="value <= 0" />
116
+ <p-button icon="pi pi-plus" ariaLabel="Increase" (click)="value = value + 1" [disabled]="value >= 100" />
117
+ <p-button icon="pi pi-minus" ariaLabel="Decrease" (click)="value = value - 1" [disabled]="value <= 0" />
118
118
  </div>
119
119
  </div>
120
120
  `,
121
121
  standalone: true,
122
- imports: [ButtonModule, KnobModule, FormsModule]
122
+ imports: [FormsModule, KnobModule, ButtonModule]
123
123
  })
124
124
  export class KnobReactiveDemo {
125
125
  value: number = 0;
@@ -132,12 +132,12 @@ Knob can also be used with reactive forms. In this case, the formControlName pro
132
132
 
133
133
  ```typescript
134
134
  import { Component, inject } from '@angular/core';
135
- import { ReactiveFormsModule } from '@angular/forms';
135
+ import { AbstractControl, FormBuilder, FormGroup, ReactiveFormsModule, Validators } from '@angular/forms';
136
+ import { MessageService } from '@exhaustive-ui/core/api';
137
+ import { ButtonModule } from '@exhaustive-ui/core/button';
136
138
  import { KnobModule } from '@exhaustive-ui/core/knob';
137
139
  import { MessageModule } from '@exhaustive-ui/core/message';
138
140
  import { ToastModule } from '@exhaustive-ui/core/toast';
139
- import { ButtonModule } from '@exhaustive-ui/core/button';
140
- import { MessageService } from '@exhaustive-ui/core/api';
141
141
 
142
142
  @Component({
143
143
  template: `
@@ -155,18 +155,24 @@ import { MessageService } from '@exhaustive-ui/core/api';
155
155
  </div>
156
156
  `,
157
157
  standalone: true,
158
- imports: [KnobModule, MessageModule, ToastModule, ButtonModule, ReactiveFormsModule]
158
+ imports: [ReactiveFormsModule, KnobModule, ButtonModule, ToastModule, MessageModule],
159
+ providers: [MessageService]
159
160
  })
160
161
  export class KnobReactiveformsDemo {
162
+ private fb = inject(FormBuilder);
163
+
161
164
  messageService = inject(MessageService);
165
+
162
166
  items: any[] | undefined;
167
+
163
168
  exampleForm: FormGroup | undefined;
169
+
164
170
  formSubmitted: boolean = false;
165
171
 
166
172
  constructor() {
167
173
  this.exampleForm = this.fb.group({
168
- value: [15, [Validators.min(25), Validators.max(75)]]
169
- });
174
+ value: [15, [Validators.min(25), Validators.max(75)]]
175
+ });
170
176
  }
171
177
 
172
178
  onSubmit() {
@@ -187,11 +193,11 @@ export class KnobReactiveformsDemo {
187
193
  getErrorMessage(controlName: string): string | null {
188
194
  const control = this.getControl(controlName);
189
195
  if (!control || !control.errors) return null;
190
-
196
+
191
197
  if (control.errors['min']) {
192
198
  return 'Value must be greater than 15.';
193
199
  }
194
-
200
+
195
201
  if (control.errors['max']) {
196
202
  return 'Must be less than 75.';
197
203
  }
@@ -220,7 +226,7 @@ import { KnobModule } from '@exhaustive-ui/core/knob';
220
226
  </div>
221
227
  `,
222
228
  standalone: true,
223
- imports: [KnobModule, FormsModule]
229
+ imports: [FormsModule, KnobModule]
224
230
  })
225
231
  export class KnobReadonlyDemo {
226
232
  value: number = 50;
@@ -234,11 +240,11 @@ Knob can also be used with Angular Signal Forms , the @angular/forms/signals API
234
240
  ```typescript
235
241
  import { Component, inject, signal } from '@angular/core';
236
242
  import { form, FormField, submit, validate } from '@angular/forms/signals';
243
+ import { MessageService } from '@exhaustive-ui/core/api';
237
244
  import { KnobModule } from '@exhaustive-ui/core/knob';
238
- import { MessageModule } from '@exhaustive-ui/core/message';
239
- import { ToastModule } from '@exhaustive-ui/core/toast';
240
245
  import { ButtonModule } from '@exhaustive-ui/core/button';
241
- import { MessageService } from '@exhaustive-ui/core/api';
246
+ import { ToastModule } from '@exhaustive-ui/core/toast';
247
+ import { MessageModule } from '@exhaustive-ui/core/message';
242
248
 
243
249
  @Component({
244
250
  template: `
@@ -262,11 +268,14 @@ import { MessageService } from '@exhaustive-ui/core/api';
262
268
  </div>
263
269
  `,
264
270
  standalone: true,
265
- imports: [KnobModule, MessageModule, ToastModule, ButtonModule, FormField]
271
+ imports: [FormField, KnobModule, ButtonModule, ToastModule, MessageModule],
272
+ providers: [MessageService]
266
273
  })
267
274
  export class KnobSignalformsDemo {
268
275
  messageService = inject(MessageService);
276
+
269
277
  model = signal({ value: 15 });
278
+
270
279
  exampleForm = form(this.model, (f) => {
271
280
  // min() and max() would also set the range of the knob, so the bounds are checked by a validator
272
281
  validate(f.value, ({ value }) => (value() < 25 ? { kind: 'min' } : value() > 75 ? { kind: 'max' } : null));
@@ -298,7 +307,7 @@ import { KnobModule } from '@exhaustive-ui/core/knob';
298
307
  </div>
299
308
  `,
300
309
  standalone: true,
301
- imports: [KnobModule, FormsModule]
310
+ imports: [FormsModule, KnobModule]
302
311
  })
303
312
  export class KnobSizeDemo {
304
313
  value: number = 60;
@@ -321,7 +330,7 @@ import { KnobModule } from '@exhaustive-ui/core/knob';
321
330
  </div>
322
331
  `,
323
332
  standalone: true,
324
- imports: [KnobModule, FormsModule]
333
+ imports: [FormsModule, KnobModule]
325
334
  })
326
335
  export class KnobStepDemo {
327
336
  value!: number;
@@ -344,7 +353,7 @@ import { KnobModule } from '@exhaustive-ui/core/knob';
344
353
  </div>
345
354
  `,
346
355
  standalone: true,
347
- imports: [KnobModule, FormsModule]
356
+ imports: [FormsModule, KnobModule]
348
357
  })
349
358
  export class KnobStrokeDemo {
350
359
  value: number = 40;
@@ -367,7 +376,7 @@ import { KnobModule } from '@exhaustive-ui/core/knob';
367
376
  </div>
368
377
  `,
369
378
  standalone: true,
370
- imports: [KnobModule, FormsModule]
379
+ imports: [FormsModule, KnobModule]
371
380
  })
372
381
  export class KnobTemplateDemo {
373
382
  value: number = 60;
@@ -378,12 +387,12 @@ export class KnobTemplateDemo {
378
387
 
379
388
  ```typescript
380
389
  import { Component, inject } from '@angular/core';
381
- import { FormsModule } from '@angular/forms';
390
+ import { FormsModule, NgForm } from '@angular/forms';
391
+ import { MessageService } from '@exhaustive-ui/core/api';
392
+ import { ButtonModule } from '@exhaustive-ui/core/button';
382
393
  import { KnobModule } from '@exhaustive-ui/core/knob';
383
394
  import { MessageModule } from '@exhaustive-ui/core/message';
384
395
  import { ToastModule } from '@exhaustive-ui/core/toast';
385
- import { ButtonModule } from '@exhaustive-ui/core/button';
386
- import { MessageService } from '@exhaustive-ui/core/api';
387
396
 
388
397
  @Component({
389
398
  template: `
@@ -401,16 +410,19 @@ import { MessageService } from '@exhaustive-ui/core/api';
401
410
  </div>
402
411
  `,
403
412
  standalone: true,
404
- imports: [KnobModule, MessageModule, ToastModule, ButtonModule, FormsModule]
413
+ imports: [FormsModule, KnobModule, ButtonModule, ToastModule, MessageModule],
414
+ providers: [MessageService]
405
415
  })
406
416
  export class KnobTemplatedrivenformsDemo {
407
417
  messageService = inject(MessageService);
418
+
408
419
  value: number = 15;
420
+
409
421
  formSubmitted: boolean = false;
410
422
 
411
423
  onSubmit(form: NgForm) {
412
424
  this.formSubmitted = true;
413
-
425
+
414
426
  if (!this.isInvalid(form.controls['knob'])) {
415
427
  this.messageService.add({
416
428
  severity: 'success',
@@ -418,26 +430,26 @@ export class KnobTemplatedrivenformsDemo {
418
430
  detail: 'Form is submitted',
419
431
  life: 3000
420
432
  });
421
-
433
+
422
434
  form.resetForm({ knob: 15 });
423
-
435
+
424
436
  this.formSubmitted = false;
425
437
  }
426
438
  }
427
439
 
428
440
  getErrorMessage(control: any): string | null {
429
441
  const value = control?.value;
430
-
442
+
431
443
  return value < 25 ? 'Value must be greater than 25.' : value > 75 ? 'Must be less than 75.' : null;
432
444
  }
433
445
 
434
446
  isInvalid(control: any): boolean {
435
447
  if (!control) return false;
436
-
448
+
437
449
  const value = control.value;
438
-
450
+
439
451
  const hasError = value < 25 || value > 75;
440
-
452
+
441
453
  return hasError && (this.formSubmitted || control.dirty);
442
454
  }
443
455
  }
@@ -451,28 +463,28 @@ Knob is a form component to define number inputs with a dial.
451
463
 
452
464
  | Name | Type | Default | Description |
453
465
  |------|------|---------|-------------|
454
- | dt | InputSignal<Object> | undefined | Defines scoped design tokens of the component. |
455
- | unstyled | InputSignal<boolean> | undefined | Indicates whether the component should be rendered without styles. |
456
- | pt | InputSignal<KnobPassThrough> | undefined | Used to pass attributes to DOM elements inside the component. |
457
- | ptOptions | InputSignal<PassThroughOptions> | undefined | Used to configure passthrough(pt) options of the component. |
458
- | required | InputSignalWithTransform<boolean, unknown> | false | There must be a value (if set). |
459
- | invalid | InputSignalWithTransform<boolean, unknown> | false | When present, it specifies that the component should have invalid state style. |
460
- | disabled | InputSignalWithTransform<boolean, unknown> | false | When present, it specifies that the component should have disabled state style. |
461
- | name | InputSignal<string> | undefined | When present, it specifies that the name of the input. |
462
- | ariaLabel | InputSignal<string> | ... | Defines a string that labels the input for accessibility. |
463
- | ariaLabelledBy | InputSignal<string> | ... | Specifies one or more IDs in the DOM that labels the input field. |
464
- | tabindex | InputSignalWithTransform<number, unknown> | ... | Index of the element in tabbing order. |
465
- | valueColor | InputSignal<string> | ... | Background of the value. |
466
- | rangeColor | InputSignal<string> | ... | Background color of the range. |
467
- | textColor | InputSignal<string> | ... | Color of the value text. |
468
- | valueTemplate | InputSignal<string> | ... | Template string of the value. |
469
- | size | InputSignalWithTransform<number, unknown> | ... | Size of the component in pixels. |
470
- | min | InputSignalWithTransform<number, unknown> | ... | Mininum boundary value. |
471
- | max | InputSignalWithTransform<number, unknown> | ... | Maximum boundary value. |
472
- | step | InputSignalWithTransform<number, unknown> | ... | Step factor to increment/decrement the value. |
473
- | strokeWidth | InputSignalWithTransform<number, unknown> | ... | Width of the knob stroke. |
474
- | showValue | InputSignalWithTransform<boolean, unknown> | ... | Whether the show the value inside the knob. |
475
- | readonly | InputSignalWithTransform<boolean, unknown> | ... | When present, it specifies that the component value cannot be edited. |
466
+ | dt | Object | undefined | Defines scoped design tokens of the component. |
467
+ | unstyled | boolean | undefined | Indicates whether the component should be rendered without styles. |
468
+ | pt | KnobPassThrough | undefined | Used to pass attributes to DOM elements inside the component. |
469
+ | ptOptions | PassThroughOptions | undefined | Used to configure passthrough(pt) options of the component. |
470
+ | required | boolean | false | There must be a value (if set). |
471
+ | invalid | boolean | false | When present, it specifies that the component should have invalid state style. |
472
+ | disabled | boolean | false | When present, it specifies that the component should have disabled state style. |
473
+ | name | string | undefined | When present, it specifies that the name of the input. |
474
+ | ariaLabel | string | - | Defines a string that labels the input for accessibility. |
475
+ | ariaLabelledBy | string | - | Specifies one or more IDs in the DOM that labels the input field. |
476
+ | tabindex | number | 0 | Index of the element in tabbing order. |
477
+ | valueColor | string | $dt('knob.value.background').variable | Background of the value. |
478
+ | rangeColor | string | $dt('knob.range.background').variable | Background color of the range. |
479
+ | textColor | string | $dt('knob.text.color').variable | Color of the value text. |
480
+ | valueTemplate | string | '{value}' | Template string of the value. |
481
+ | size | number | 100 | Size of the component in pixels. |
482
+ | min | number | 0 | Mininum boundary value. |
483
+ | max | number | 100 | Maximum boundary value. |
484
+ | step | number | 1 | Step factor to increment/decrement the value. |
485
+ | strokeWidth | number | 14 | Width of the knob stroke. |
486
+ | showValue | boolean | true | Whether the show the value inside the knob. |
487
+ | readonly | boolean | false | When present, it specifies that the component value cannot be edited. |
476
488
 
477
489
  ### Emits
478
490