@primeng/mcp 21.1.2 → 21.1.3

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 (2) hide show
  1. package/dist/index.js +608 -454
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { runPrimeMcpServer } from "@primeuix/mcp";
6
6
  // data/components.json
7
7
  var components_default = {
8
8
  version: "1.0.0",
9
- generatedAt: "2026-03-03",
9
+ generatedAt: "2026-03-04",
10
10
  components: [
11
11
  {
12
12
  name: "accordion",
@@ -543,6 +543,11 @@ export class AccordionTemplateDemo {}`
543
543
  variable: "--p-accordion-header-font-weight",
544
544
  description: "Font weight of header"
545
545
  },
546
+ {
547
+ token: "accordion.header.font.size",
548
+ variable: "--p-accordion-header-font-size",
549
+ description: "Font size of header"
550
+ },
546
551
  {
547
552
  token: "accordion.header.border.radius",
548
553
  variable: "--p-accordion-header-border-radius",
@@ -908,9 +913,7 @@ export class AnimateonscrollBasicDemo {}`
908
913
  id: "accessibility",
909
914
  label: "Accessibility",
910
915
  description: "Screen Reader Value to describe the component can either be provided via label tag combined with inputId prop or using ariaLabelledBy , ariaLabel props. The input element has combobox role in addition to aria-autocomplete , aria-haspopup and aria-expanded attributes. The relation between the input and the popup is created with aria-controls and aria-activedescendant attribute is used to instruct screen reader which option to read during keyboard navigation within the popup list. In multiple mode, chip list uses listbox role whereas each chip has the option role with aria-label set to the label of the chip. The popup list has an id that refers to the aria-controls attribute of the input element and uses listbox as the role. Each list item has option role and an id to match the aria-activedescendant of the input element.",
911
- examples: {
912
- typescript: '<label for="ac1">Username</label>\n<p-autocomplete inputId="ac1"/>\n\n<span id="ac2">Email</span>\n<p-autocomplete ariaLabelledBy="ac2" />\n\n<p-autocomplete ariaLabel="City" />'
913
- }
916
+ examples: null
914
917
  },
915
918
  {
916
919
  id: "advanced-chips",
@@ -2969,6 +2972,16 @@ export class AutocompleteVirtualScrollDemo implements OnInit {
2969
2972
  variable: "--p-autocomplete-option-border-radius",
2970
2973
  description: "Border radius of option"
2971
2974
  },
2975
+ {
2976
+ token: "autocomplete.option.font.weight",
2977
+ variable: "--p-autocomplete-option-font-weight",
2978
+ description: "Font weight of option"
2979
+ },
2980
+ {
2981
+ token: "autocomplete.option.font.size",
2982
+ variable: "--p-autocomplete-option-font-size",
2983
+ description: "Font size of option"
2984
+ },
2972
2985
  {
2973
2986
  token: "autocomplete.option.group.background",
2974
2987
  variable: "--p-autocomplete-option-group-background",
@@ -2984,6 +2997,11 @@ export class AutocompleteVirtualScrollDemo implements OnInit {
2984
2997
  variable: "--p-autocomplete-option-group-font-weight",
2985
2998
  description: "Font weight of option group"
2986
2999
  },
3000
+ {
3001
+ token: "autocomplete.option.group.font.size",
3002
+ variable: "--p-autocomplete-option-group-font-size",
3003
+ description: "Font size of option group"
3004
+ },
2987
3005
  {
2988
3006
  token: "autocomplete.option.group.padding",
2989
3007
  variable: "--p-autocomplete-option-group-padding",
@@ -3620,6 +3638,11 @@ export class AvatarTemplateDemo {}`
3620
3638
  variable: "--p-avatar-height",
3621
3639
  description: "Height of root"
3622
3640
  },
3641
+ {
3642
+ token: "avatar.font.weight",
3643
+ variable: "--p-avatar-font-weight",
3644
+ description: "Font weight of root"
3645
+ },
3623
3646
  {
3624
3647
  token: "avatar.font.size",
3625
3648
  variable: "--p-avatar-font-size",
@@ -4609,6 +4632,21 @@ export class BreadcrumbTemplateDemo implements OnInit {
4609
4632
  variable: "--p-breadcrumb-item-icon-hover-color",
4610
4633
  description: "Icon hover color of item"
4611
4634
  },
4635
+ {
4636
+ token: "breadcrumb.item.icon.size",
4637
+ variable: "--p-breadcrumb-item-icon-size",
4638
+ description: "Icon size of item icon"
4639
+ },
4640
+ {
4641
+ token: "breadcrumb.item.label.font.weight",
4642
+ variable: "--p-breadcrumb-item-label-font-weight",
4643
+ description: "Font weight of item label"
4644
+ },
4645
+ {
4646
+ token: "breadcrumb.item.label.font.size",
4647
+ variable: "--p-breadcrumb-item-label-font-size",
4648
+ description: "Font size of item label"
4649
+ },
4612
4650
  {
4613
4651
  token: "breadcrumb.item.focus.ring.width",
4614
4652
  variable: "--p-breadcrumb-item-focus-ring-width",
@@ -4651,9 +4689,7 @@ export class BreadcrumbTemplateDemo implements OnInit {
4651
4689
  id: "accessibility",
4652
4690
  label: "Accessibility",
4653
4691
  description: "Screen Reader Button component renders a native button element that implicitly includes any passed prop. Text to describe the button is defined with the aria-label prop, if not present label prop is used as the value. If the button is icon only or custom templating is used, it is recommended to use aria-label so that screen readers would be able to read the element properly.",
4654
- examples: {
4655
- typescript: '<p-button icon="pi pi-check" aria-label="Submit" />\n<p-button icon="pi pi-check" label="Submit" />\n\n<p-button class="youtube p-0" aria-label="Youtube">\n <i class="pi pi-youtube px-2"></i>\n <span class="px-4">Youtube</span>\n</p-button>'
4656
- }
4692
+ examples: null
4657
4693
  },
4658
4694
  {
4659
4695
  id: "badge",
@@ -5510,6 +5546,11 @@ export class ButtonTextDemo {}`
5510
5546
  variable: "--p-button-icon-only-width",
5511
5547
  description: "Icon only width of root"
5512
5548
  },
5549
+ {
5550
+ token: "button.icon.only.width",
5551
+ variable: "--p-button-icon-only-width",
5552
+ description: "Font size of root"
5553
+ },
5513
5554
  {
5514
5555
  token: "button.sm.font.size",
5515
5556
  variable: "--p-button-sm-font-size",
@@ -6641,6 +6682,16 @@ export class CardBasicDemo {}`
6641
6682
  token: "card.subtitle.color",
6642
6683
  variable: "--p-card-subtitle-color",
6643
6684
  description: "Color of subtitle"
6685
+ },
6686
+ {
6687
+ token: "card.subtitle.font.size",
6688
+ variable: "--p-card-subtitle-font-size",
6689
+ description: "Font size of subtitle"
6690
+ },
6691
+ {
6692
+ token: "card.subtitle.font.weight",
6693
+ variable: "--p-card-subtitle-font-weight",
6694
+ description: "Font weight of subtitle"
6644
6695
  }
6645
6696
  ]
6646
6697
  }
@@ -7404,9 +7455,7 @@ export class CarouselVerticalDemo implements OnInit {
7404
7455
  id: "accessibility",
7405
7456
  label: "Accessibility",
7406
7457
  description: "Screen Reader Value to describe the component can either be provided with ariaLabelledBy or ariaLabel props. The cascadeselect element has a combobox role in addition to aria-haspopup and aria-expanded attributes. The relation between the combobox and the popup is created with aria-controls that refers to the id of the popup. The popup list has an id that refers to the aria-controls attribute of the combobox element and uses tree as the role. Each list item has a treeitem role along with aria-label , aria-selected and aria-expanded attributes. The container element of a treenode has the group role. The aria-setsize , aria-posinset and aria-level attributes are calculated implicitly and added to each treeitem.",
7407
- examples: {
7408
- typescript: '<span id="dd1">Options</span>\n<p-cascadeselect ariaLabelledBy="dd1"/>\n\n<p-cascadeselect ariaLabel="Options"/>'
7409
- }
7458
+ examples: null
7410
7459
  },
7411
7460
  {
7412
7461
  id: "basic",
@@ -9437,6 +9486,16 @@ export class CascadeselectTemplatedrivenformsDemo {
9437
9486
  variable: "--p-cascadeselect-lg-padding-y",
9438
9487
  description: "Lg padding y of root"
9439
9488
  },
9489
+ {
9490
+ token: "cascadeselect.font.weight",
9491
+ variable: "--p-cascadeselect-font-weight",
9492
+ description: "Font weight of current value"
9493
+ },
9494
+ {
9495
+ token: "cascadeselect.font.size",
9496
+ variable: "--p-cascadeselect-font-size",
9497
+ description: "Font size of current value"
9498
+ },
9440
9499
  {
9441
9500
  token: "cascadeselect.dropdown.width",
9442
9501
  variable: "--p-cascadeselect-dropdown-width",
@@ -9522,6 +9581,11 @@ export class CascadeselectTemplatedrivenformsDemo {
9522
9581
  variable: "--p-cascadeselect-option-selected-focus-color",
9523
9582
  description: "Selected focus color of option"
9524
9583
  },
9584
+ {
9585
+ token: "cascadeselect.option.selected.font.weight",
9586
+ variable: "--p-cascadeselect-option-selected-font-weight",
9587
+ description: "Font weight of a selected option"
9588
+ },
9525
9589
  {
9526
9590
  token: "cascadeselect.option.padding",
9527
9591
  variable: "--p-cascadeselect-option-padding",
@@ -9547,6 +9611,16 @@ export class CascadeselectTemplatedrivenformsDemo {
9547
9611
  variable: "--p-cascadeselect-option-icon-size",
9548
9612
  description: "Icon size of option"
9549
9613
  },
9614
+ {
9615
+ token: "cascadeselect.option.font.weight",
9616
+ variable: "--p-cascadeselect-option-font-weight",
9617
+ description: "Font weight of option"
9618
+ },
9619
+ {
9620
+ token: "cascadeselect.option.font.size",
9621
+ variable: "--p-cascadeselect-option-font-size",
9622
+ description: "Font size of option"
9623
+ },
9550
9624
  {
9551
9625
  token: "cascadeselect.clear.icon.color",
9552
9626
  variable: "--p-cascadeselect-clear-icon-color",
@@ -11972,6 +12046,16 @@ export class ChipTemplateDemo {}`
11972
12046
  variable: "--p-chip-icon-color",
11973
12047
  description: "Color of icon"
11974
12048
  },
12049
+ {
12050
+ token: "chip.label.font.weight",
12051
+ variable: "--p-chip-label-font-weight",
12052
+ description: "Font weight of label"
12053
+ },
12054
+ {
12055
+ token: "chip.label.font.size",
12056
+ variable: "--p-chip-label-font-size",
12057
+ description: "Font size of label"
12058
+ },
11975
12059
  {
11976
12060
  token: "chip.remove.icon.size",
11977
12061
  variable: "--p-chip-remove-icon-size",
@@ -13203,6 +13287,21 @@ export class ConfirmdialogTemplateDemo {
13203
13287
  token: "confirmdialog.content.gap",
13204
13288
  variable: "--p-confirmdialog-content-gap",
13205
13289
  description: "Gap of content"
13290
+ },
13291
+ {
13292
+ token: "confirmdialog.message.color",
13293
+ variable: "--p-confirmdialog-message-color",
13294
+ description: "Color of message"
13295
+ },
13296
+ {
13297
+ token: "confirmdialog.message.font.weight",
13298
+ variable: "--p-confirmdialog-message-font-weight",
13299
+ description: "Font weight of message"
13300
+ },
13301
+ {
13302
+ token: "confirmdialog.message.font.size",
13303
+ variable: "--p-confirmdialog-message-font-size",
13304
+ description: "Font size of message"
13206
13305
  }
13207
13306
  ]
13208
13307
  }
@@ -13636,6 +13735,21 @@ export class ConfirmpopupTemplateDemo {
13636
13735
  variable: "--p-confirmpopup-icon-color",
13637
13736
  description: "Color of icon"
13638
13737
  },
13738
+ {
13739
+ token: "confirmpopup.message.color",
13740
+ variable: "--p-confirmpopup-message-color",
13741
+ description: "Color of message"
13742
+ },
13743
+ {
13744
+ token: "confirmpopup.message.font.weight",
13745
+ variable: "--p-confirmpopup-message-font-weight",
13746
+ description: "Font weight of message"
13747
+ },
13748
+ {
13749
+ token: "confirmpopup.message.font.size",
13750
+ variable: "--p-confirmpopup-message-font-size",
13751
+ description: "Font size of message"
13752
+ },
13639
13753
  {
13640
13754
  token: "confirmpopup.footer.gap",
13641
13755
  variable: "--p-confirmpopup-footer-gap",
@@ -14408,6 +14522,21 @@ export class ContextmenuTemplateDemo implements OnInit {
14408
14522
  variable: "--p-contextmenu-item-icon-active-color",
14409
14523
  description: "Icon active color of item"
14410
14524
  },
14525
+ {
14526
+ token: "contextmenu.item.icon.size",
14527
+ variable: "--p-contextmenu-item-icon-size",
14528
+ description: "Icon size of item"
14529
+ },
14530
+ {
14531
+ token: "contextmenu.item.label.font.weight",
14532
+ variable: "--p-contextmenu-item-label-font-weight",
14533
+ description: "Font weight of item label"
14534
+ },
14535
+ {
14536
+ token: "contextmenu.item.label.font.size",
14537
+ variable: "--p-contextmenu-item-label-font-size",
14538
+ description: "Font size of item label"
14539
+ },
14411
14540
  {
14412
14541
  token: "contextmenu.submenu.mobile.indent",
14413
14542
  variable: "--p-contextmenu-submenu-mobile-indent",
@@ -15492,9 +15621,7 @@ export class DataviewSortingDemo implements OnInit {
15492
15621
  id: "accessibility",
15493
15622
  label: "Accessibility",
15494
15623
  description: 'Screen Reader Value to describe the component can either be provided via label tag combined with inputId prop or using aria-labelledby , aria-label props. The input element has combobox role in addition to aria-autocomplete as "none", aria-haspopup as "dialog" and aria-expanded attributes. The relation between the input and the popup is created with aria-controls attribute that refers to the id of the popup. The optional DatePicker button requires includes aria-haspopup , aria-expanded for states along with aria-controls to define the relation between the popup and the button. The value to read is retrieved from the chooseDate key of the aria property from the locale API. This label is also used for the aria-label of the popup as well. When there is a value selected, it is formatted and appended to the label to be able to notify users about the current value. Popup has a dialog role along with aria-modal and aria-label . The navigation buttons at the header has an aria-label retrieved from the prevYear , nextYear , prevMonth , nextMonth , prevDecade and nextDecade keys of the locale aria API. Similarly month picker button uses the chooseMonth and year picker button uses the chooseYear keys. Main date table uses grid role that contains th elements with col as the scope along with abbr tag resolving to the full name of the month. Each date cell has an aria-label referring to the full date value. Buttons at the footer utilize their readable labels as aria-label as well. Selected date also receives the aria-selected attribute. Timepicker spinner buttons get their labels for aria-label from the aria locale API using the prevHour , nextHour , prevMinute , nextMinute , prevSecond , nextSecond , am and pm keys. DatePicker also includes a hidden section that is only available to screen readers with aria-live as "polite". This element is updated when the selected date changes to instruct the user about the current date selected.',
15495
- examples: {
15496
- typescript: '<label for="date1">Date</label>\n<p-datepicker inputId="date1"/>\n\n<span id="date2">Date</span>\n<p-datepicker ariaLabelledBy="date2"/>\n\n<p-datepicker ariaLabel="Date"/>'
15497
- }
15624
+ examples: null
15498
15625
  },
15499
15626
  {
15500
15627
  id: "basic",
@@ -17510,6 +17637,11 @@ export class DatepickerYearDemo {
17510
17637
  variable: "--p-datepicker-title-font-weight",
17511
17638
  description: "Font weight of title"
17512
17639
  },
17640
+ {
17641
+ token: "datepicker.title.font.size",
17642
+ variable: "--p-datepicker-title-font-size",
17643
+ description: "Font size of title"
17644
+ },
17513
17645
  {
17514
17646
  token: "datepicker.dropdown.width",
17515
17647
  variable: "--p-datepicker-dropdown-width",
@@ -17630,6 +17762,16 @@ export class DatepickerYearDemo {
17630
17762
  variable: "--p-datepicker-select-month-border-radius",
17631
17763
  description: "Border radius of select month"
17632
17764
  },
17765
+ {
17766
+ token: "datepicker.select.month.font.weight",
17767
+ variable: "--p-datepicker-select-month-font-weight",
17768
+ description: "Font weight of select month"
17769
+ },
17770
+ {
17771
+ token: "datepicker.select.month.font.size",
17772
+ variable: "--p-datepicker-select-month-font-size",
17773
+ description: "Font size of select month"
17774
+ },
17633
17775
  {
17634
17776
  token: "datepicker.select.year.hover.background",
17635
17777
  variable: "--p-datepicker-select-year-hover-background",
@@ -17655,6 +17797,16 @@ export class DatepickerYearDemo {
17655
17797
  variable: "--p-datepicker-select-year-border-radius",
17656
17798
  description: "Border radius of select year"
17657
17799
  },
17800
+ {
17801
+ token: "datepicker.select.year.font.weight",
17802
+ variable: "--p-datepicker-select-year-font-weight",
17803
+ description: "Font weight of select year"
17804
+ },
17805
+ {
17806
+ token: "datepicker.select.year.font.size",
17807
+ variable: "--p-datepicker-select-year-font-size",
17808
+ description: "Font size of select year"
17809
+ },
17658
17810
  {
17659
17811
  token: "datepicker.group.border.color",
17660
17812
  variable: "--p-datepicker-group-border-color",
@@ -17680,6 +17832,11 @@ export class DatepickerYearDemo {
17680
17832
  variable: "--p-datepicker-week-day-font-weight",
17681
17833
  description: "Font weight of week day"
17682
17834
  },
17835
+ {
17836
+ token: "datepicker.week.day.font.size",
17837
+ variable: "--p-datepicker-week-day-font-size",
17838
+ description: "Font size of week day"
17839
+ },
17683
17840
  {
17684
17841
  token: "datepicker.week.day.color",
17685
17842
  variable: "--p-datepicker-week-day-color",
@@ -17765,6 +17922,16 @@ export class DatepickerYearDemo {
17765
17922
  variable: "--p-datepicker-date-focus-ring-shadow",
17766
17923
  description: "Focus ring shadow of date"
17767
17924
  },
17925
+ {
17926
+ token: "datepicker.date.font.weight",
17927
+ variable: "--p-datepicker-date-font-weight",
17928
+ description: "Font weight of date"
17929
+ },
17930
+ {
17931
+ token: "datepicker.date.font.size",
17932
+ variable: "--p-datepicker-date-font-size",
17933
+ description: "Font size of date"
17934
+ },
17768
17935
  {
17769
17936
  token: "datepicker.month.view.margin",
17770
17937
  variable: "--p-datepicker-month-view-margin",
@@ -17825,6 +17992,21 @@ export class DatepickerYearDemo {
17825
17992
  variable: "--p-datepicker-time-picker-button-gap",
17826
17993
  description: "Button gap of time picker"
17827
17994
  },
17995
+ {
17996
+ token: "datepicker.time.picker.color",
17997
+ variable: "--p-datepicker-time-picker-color",
17998
+ description: "Color of time picker label"
17999
+ },
18000
+ {
18001
+ token: "datepicker.time.picker.font.weight",
18002
+ variable: "--p-datepicker-time-picker-font-weight",
18003
+ description: "Font weight of time picker label"
18004
+ },
18005
+ {
18006
+ token: "datepicker.time.picker.font.size",
18007
+ variable: "--p-datepicker-time-picker-font-size",
18008
+ description: "Font size of time picker label"
18009
+ },
17828
18010
  {
17829
18011
  token: "datepicker.today.background",
17830
18012
  variable: "--p-datepicker-today-background",
@@ -17847,13 +18029,7 @@ export class DatepickerYearDemo {
17847
18029
  id: "accessibility",
17848
18030
  label: "Accessibility",
17849
18031
  description: "Screen Reader Dialog component uses dialog role along with aria-labelledby referring to the header element however any attribute is passed to the root element so you may use aria-labelledby to override this default behavior. In addition aria-modal is added since focus is kept within the popup. It is recommended to use a trigger component that can be accessed with keyboard such as a button, if not adding tabIndex would be necessary. Trigger element also requires aria-expanded and aria-controls to be handled explicitly. Close element is a button with an aria-label that refers to the aria.close property of the locale API by default, you may use closeButtonProps to customize the element and override the default aria-label . Maximize element is a button with an aria-label that refers to the aria.maximizeLabel and aria.minimizeLabel property of the locale API. It cannot be customized using the maximizeButtonProps . Overlay Keyboard Support Key Function tab Moves focus to the next the focusable element within the dialog. shift + tab Moves focus to the previous the focusable element within the dialog. escape Closes the dialog if closeOnEscape is true. Close Button Keyboard Support Key Function enter Closes the dialog. space Closes the dialog.",
17850
- examples: {
17851
- typescript: `<p-button icon="pi pi-external-link" (click)="visible = true" aria-controls="{{visible ? 'dialog' : null}}" aria-expanded="{{visible ? true : false}}" />
17852
-
17853
- <p-dialog id="dialog" header="Header" [(visible)]="visible" [style]="{ width: '50vw' }" (onHide)="visible = false">
17854
- <p>Content</p>
17855
- </p-dialog>`
17856
- }
18032
+ examples: null
17857
18033
  },
17858
18034
  {
17859
18035
  id: "basic",
@@ -20287,22 +20463,7 @@ export class DragdropDropindicatorDemo implements OnInit {
20287
20463
  id: "accessibility",
20288
20464
  label: "Accessibility",
20289
20465
  description: "Screen Reader Drawer component uses complementary role by default, since any attribute is passed to the root element aria role can be changed depending on your use case and additional attributes like aria-labelledby can be added. In addition aria-modal is added since focus is kept within the drawer when opened. It is recommended to use a trigger component that can be accessed with keyboard such as a button, if not adding tabIndex would be necessary. Trigger element also requires aria-expanded and aria-controls to be handled explicitly. Overlay Keyboard Support Key Function tab Moves focus to the next the focusable element within the drawer. shift + tab Moves focus to the previous the focusable element within the drawer. escape Closes the dialog if closeOnEscape is true. Close Button Keyboard Support Key Function enter Closes the drawer. space Closes the drawer.",
20290
- examples: {
20291
- typescript: `<p-button
20292
- icon="pi pi-arrow-right"
20293
- (click)="visible = true"
20294
- aria-controls="{{visible ? 'drawer' : null}}"
20295
- aria-expanded="{{visible ? true : false}}"
20296
- ></p-button>
20297
- <p-drawer
20298
- [(visible)]="visible"
20299
- id="drawer"
20300
- (onHide)="visible = false"
20301
- role="region"
20302
- >
20303
- content
20304
- </p-drawer>`
20305
- }
20466
+ examples: null
20306
20467
  },
20307
20468
  {
20308
20469
  id: "basic",
@@ -22156,6 +22317,11 @@ export class FieldsetToggleableDemo {}`
22156
22317
  variable: "--p-fieldset-legend-font-weight",
22157
22318
  description: "Font weight of legend"
22158
22319
  },
22320
+ {
22321
+ token: "fieldset.legend.font.size",
22322
+ variable: "--p-fieldset-legend-font-size",
22323
+ description: "Font size of legend"
22324
+ },
22159
22325
  {
22160
22326
  token: "fieldset.legend.focus.ring.width",
22161
22327
  variable: "--p-fieldset-legend-focus-ring-width",
@@ -23232,6 +23398,36 @@ export class FileuploadTemplateDemo {
23232
23398
  variable: "--p-fileupload-file-info-gap",
23233
23399
  description: "Info gap of file"
23234
23400
  },
23401
+ {
23402
+ token: "fileupload.file.name.color",
23403
+ variable: "--p-fileupload-file-name-color",
23404
+ description: "Color of file name"
23405
+ },
23406
+ {
23407
+ token: "fileupload.file.name.font.weight",
23408
+ variable: "--p-fileupload-file-name-font-weight",
23409
+ description: "Font weight of file name"
23410
+ },
23411
+ {
23412
+ token: "fileupload.file.name.font.size",
23413
+ variable: "--p-fileupload-file-name-font-size",
23414
+ description: "Font size of file name"
23415
+ },
23416
+ {
23417
+ token: "fileupload.file.size.color",
23418
+ variable: "--p-fileupload-file-size-color",
23419
+ description: "Color of file size"
23420
+ },
23421
+ {
23422
+ token: "fileupload.file.size.font.weight",
23423
+ variable: "--p-fileupload-file-size-font-weight",
23424
+ description: "Font weight of file size"
23425
+ },
23426
+ {
23427
+ token: "fileupload.file.size.font.size",
23428
+ variable: "--p-fileupload-file-size-font-size",
23429
+ description: "Font size of file size"
23430
+ },
23235
23431
  {
23236
23432
  token: "fileupload.file.list.gap",
23237
23433
  variable: "--p-fileupload-file-list-gap",
@@ -23453,6 +23649,11 @@ export class FloatlabelVariantsDemo {
23453
23649
  variable: "--p-floatlabel-position-y",
23454
23650
  description: "Position y of root"
23455
23651
  },
23652
+ {
23653
+ token: "floatlabel.font.size",
23654
+ variable: "--p-floatlabel-font-size",
23655
+ description: "Font size of root"
23656
+ },
23456
23657
  {
23457
23658
  token: "floatlabel.font.weight",
23458
23659
  variable: "--p-floatlabel-font-weight",
@@ -25524,9 +25725,7 @@ export class IftalabelInvalidDemo {
25524
25725
  id: "accessibility",
25525
25726
  label: "Accessibility",
25526
25727
  description: "Screen Reader ImageComponent component uses a native range slider internally. Value to describe the component can be defined using aria-labelledby and aria-label props. Keyboard Support Key Function tab Moves focus to the component. left arrow up arrow Decrements the value. right arrow down arrow Increments the value. home Set the minimum value. end Set the maximum value. page up Increments the value by 10 steps. page down Decrements the value by 10 steps.",
25527
- examples: {
25528
- typescript: '<span id="image_label">Compare Images</span>\n<p-imagecompare class="shadow-lg rounded-2xl" aria-labelledby="image-label">\n ...\n</p-imagecompare>\n\n<p-imagecompare class="shadow-lg rounded-2xl" aria-label="Compare Images">\n ...\n</p-imagecompare>'
25529
- }
25728
+ examples: null
25530
25729
  },
25531
25730
  {
25532
25731
  id: "basic",
@@ -26506,6 +26705,16 @@ export class InputgroupMultipleDemo {}`
26506
26705
  token: "inputgroup.addon.min.width",
26507
26706
  variable: "--p-inputgroup-addon-min-width",
26508
26707
  description: "Min width of addon"
26708
+ },
26709
+ {
26710
+ token: "inputgroup.addon.font.weight",
26711
+ variable: "--p-inputgroup-addon-font-weight",
26712
+ description: "Font weight of addon"
26713
+ },
26714
+ {
26715
+ token: "inputgroup.addon.font.size",
26716
+ variable: "--p-inputgroup-addon-font-size",
26717
+ description: "Font size of addon"
26509
26718
  }
26510
26719
  ]
26511
26720
  }
@@ -26519,9 +26728,7 @@ export class InputgroupMultipleDemo {}`
26519
26728
  id: "accessibility",
26520
26729
  label: "Accessibility",
26521
26730
  description: "Screen Reader InputMask directive is used with a native input element that implicitly includes any passed attribute. Value to describe the component can either be provided via label tag combined with id attribute or using aria-labelledby , aria-label attributes.",
26522
- examples: {
26523
- typescript: '<label for="date">Date</label>\n<input pInputText id="date" pInputMask="99/99/9999" />\n\n<span id="phone">Phone</span>\n<input pInputText pInputMask="(999) 999-9999" aria-labelledby="phone" />\n\n<input pInputText pInputMask="99" aria-label="Age" />'
26524
- }
26731
+ examples: null
26525
26732
  },
26526
26733
  {
26527
26734
  id: "basic",
@@ -27337,9 +27544,7 @@ export class InputmaskTemplatedrivenformsDemo {
27337
27544
  id: "accessibility",
27338
27545
  label: "Accessibility",
27339
27546
  description: "Screen Reader Value to describe the component can either be provided via label tag combined with inputId prop or using ariaLabelledBy , ariaLabel , ariaDescribedBy props. The input element uses spinbutton role in addition to the aria-valuemin , aria-valuemax and aria-valuenow attributes.",
27340
- examples: {
27341
- typescript: '<label for="price">Price</label>\n<p-inputnumber inputId="price" />\n\n<span id="label_number">Number</span>\n<p-inputnumber ariaLabelledBy="label_number" />\n\n<p-inputnumber ariaLabel="Number" />\n\n<p-inputnumber ariaDescribedBy="describe" />\n<small id="describe">Information</small>'
27342
- }
27547
+ examples: null
27343
27548
  },
27344
27549
  {
27345
27550
  id: "buttons",
@@ -28959,9 +29164,7 @@ export class InputotpTemplatedrivenformsDemo {
28959
29164
  id: "accessibility",
28960
29165
  label: "Accessibility",
28961
29166
  description: "Screen Reader InputText component renders a native input element that implicitly includes any passed prop. Value to describe the component can either be provided via label tag combined with id prop or using aria-labelledby , aria-label props.",
28962
- examples: {
28963
- typescript: '<label for="firstname">Firstname</label>\n<input pInputText id="firstname" />\n\n<span id="lastname">Lastname</span>\n<input pInputText aria-labelledby="lastname" />\n\n<input pInputText aria-label="Age" />'
28964
- }
29167
+ examples: null
28965
29168
  },
28966
29169
  {
28967
29170
  id: "basic",
@@ -29621,6 +29824,16 @@ export class InputtextTemplatedrivenformsDemo {
29621
29824
  token: "inputtext.lg.padding.y",
29622
29825
  variable: "--p-inputtext-lg-padding-y",
29623
29826
  description: "Lg padding y of root"
29827
+ },
29828
+ {
29829
+ token: "inputtext.font.weight",
29830
+ variable: "--p-inputtext-font-weight",
29831
+ description: "Font weight of root"
29832
+ },
29833
+ {
29834
+ token: "inputtext.font.size",
29835
+ variable: "--p-inputtext-font-size",
29836
+ description: "Font size of root"
29624
29837
  }
29625
29838
  ]
29626
29839
  }
@@ -29759,9 +29972,7 @@ export class KeyfilterRegexDemo {
29759
29972
  id: "accessibility",
29760
29973
  label: "Accessibility",
29761
29974
  description: "Screen Reader Knob element component uses slider role in addition to the aria-valuemin , aria-valuemax and aria-valuenow attributes. Value to describe the component can be defined using ariaLabelledBy and ariaLabel props.",
29762
- examples: {
29763
- typescript: '<span id="label_number">Number</span>\n<p-knob ariaLabelledBy="label_number"/>\n\n<p-knob ariaLabel="Number"/>'
29764
- }
29975
+ examples: null
29765
29976
  },
29766
29977
  {
29767
29978
  id: "basic",
@@ -30416,6 +30627,16 @@ export class KnobTemplatedrivenformsDemo {
30416
30627
  token: "knob.text.color",
30417
30628
  variable: "--p-knob-text-color",
30418
30629
  description: "Color of text"
30630
+ },
30631
+ {
30632
+ token: "knob.text.font.size",
30633
+ variable: "--p-knob-text-font-size",
30634
+ description: "Font size of text"
30635
+ },
30636
+ {
30637
+ token: "knob.text.font.weight",
30638
+ variable: "--p-knob-text-font-weight",
30639
+ description: "Font weight of text"
30419
30640
  }
30420
30641
  ]
30421
30642
  }
@@ -30429,9 +30650,7 @@ export class KnobTemplatedrivenformsDemo {
30429
30650
  id: "accessibility",
30430
30651
  label: "Accessibility",
30431
30652
  description: "Screen Reader Value to describe the component can be provided ariaLabelledBy or ariaLabel props. The list element has a listbox role with the aria-multiselectable attribute that sets to true when multiple selection is enabled. Each list item has an option role with aria-selected and aria-disabled as their attributes.",
30432
- examples: {
30433
- typescript: '<span id="lb">Options</span>\n<p-listbox ariaLabelledBy="lb"/>\n\n<p-listbox ariaLabel="City"/>'
30434
- }
30653
+ examples: null
30435
30654
  },
30436
30655
  {
30437
30656
  id: "basic",
@@ -31856,6 +32075,11 @@ export class ListboxVirtualscrollDemo {
31856
32075
  variable: "--p-listbox-option-selected-focus-color",
31857
32076
  description: "Selected focus color of option"
31858
32077
  },
32078
+ {
32079
+ token: "listbox.option.selected.font.weight",
32080
+ variable: "--p-listbox-option-selected-font-weight",
32081
+ description: "Font weight of a selected option"
32082
+ },
31859
32083
  {
31860
32084
  token: "listbox.option.padding",
31861
32085
  variable: "--p-listbox-option-padding",
@@ -31871,6 +32095,16 @@ export class ListboxVirtualscrollDemo {
31871
32095
  variable: "--p-listbox-option-striped-background",
31872
32096
  description: "Striped background of option"
31873
32097
  },
32098
+ {
32099
+ token: "listbox.option.font.weight",
32100
+ variable: "--p-listbox-option-font-weight",
32101
+ description: "Font weight of option"
32102
+ },
32103
+ {
32104
+ token: "listbox.option.font.size",
32105
+ variable: "--p-listbox-option-font-size",
32106
+ description: "Font size of option"
32107
+ },
31874
32108
  {
31875
32109
  token: "listbox.option.group.background",
31876
32110
  variable: "--p-listbox-option-group-background",
@@ -31886,6 +32120,11 @@ export class ListboxVirtualscrollDemo {
31886
32120
  variable: "--p-listbox-option-group-font-weight",
31887
32121
  description: "Font weight of option group"
31888
32122
  },
32123
+ {
32124
+ token: "listbox.option.group.font.size",
32125
+ variable: "--p-listbox-option-group-font-size",
32126
+ description: "Font size of option group"
32127
+ },
31889
32128
  {
31890
32129
  token: "listbox.option.group.padding",
31891
32130
  variable: "--p-listbox-option-group-padding",
@@ -32907,6 +33146,21 @@ export class MegamenuVerticalDemo implements OnInit {
32907
33146
  variable: "--p-megamenu-item-icon-active-color",
32908
33147
  description: "Icon active color of item"
32909
33148
  },
33149
+ {
33150
+ token: "megamenu.item.icon.size",
33151
+ variable: "--p-megamenu-item-icon-size",
33152
+ description: "Icon size of item"
33153
+ },
33154
+ {
33155
+ token: "megamenu.item.label.font.weight",
33156
+ variable: "--p-megamenu-item-label-font-weight",
33157
+ description: "Font weight of item label"
33158
+ },
33159
+ {
33160
+ token: "megamenu.item.label.font.size",
33161
+ variable: "--p-megamenu-item-label-font-size",
33162
+ description: "Font size of item label"
33163
+ },
32910
33164
  {
32911
33165
  token: "megamenu.overlay.padding",
32912
33166
  variable: "--p-megamenu-overlay-padding",
@@ -32962,6 +33216,11 @@ export class MegamenuVerticalDemo implements OnInit {
32962
33216
  variable: "--p-megamenu-submenu-label-font-weight",
32963
33217
  description: "Font weight of submenu label"
32964
33218
  },
33219
+ {
33220
+ token: "megamenu.submenu.label.font.size",
33221
+ variable: "--p-megamenu-submenu-label-font-size",
33222
+ description: "Font size of submenu label"
33223
+ },
32965
33224
  {
32966
33225
  token: "megamenu.submenu.label.background",
32967
33226
  variable: "--p-megamenu-submenu-label-background",
@@ -33844,6 +34103,21 @@ export class MenuTemplateDemo implements OnInit {
33844
34103
  variable: "--p-menu-item-icon-focus-color",
33845
34104
  description: "Icon focus color of item"
33846
34105
  },
34106
+ {
34107
+ token: "menu.item.icon.size",
34108
+ variable: "--p-menu-item-icon-size",
34109
+ description: "Icon size of item"
34110
+ },
34111
+ {
34112
+ token: "menu.item.label.font.weight",
34113
+ variable: "--p-menu-item-label-font-weight",
34114
+ description: "Font weight of item label"
34115
+ },
34116
+ {
34117
+ token: "menu.item.label.font.size",
34118
+ variable: "--p-menu-item-label-font-size",
34119
+ description: "Font size of item label"
34120
+ },
33847
34121
  {
33848
34122
  token: "menu.submenu.label.padding",
33849
34123
  variable: "--p-menu-submenu-label-padding",
@@ -33854,6 +34128,11 @@ export class MenuTemplateDemo implements OnInit {
33854
34128
  variable: "--p-menu-submenu-label-font-weight",
33855
34129
  description: "Font weight of submenu label"
33856
34130
  },
34131
+ {
34132
+ token: "menu.submenu.label.font.size",
34133
+ variable: "--p-menu-submenu-label-font-size",
34134
+ description: "Font size of submenu label"
34135
+ },
33857
34136
  {
33858
34137
  token: "menu.submenu.label.background",
33859
34138
  variable: "--p-menu-submenu-label-background",
@@ -34603,6 +34882,21 @@ export class MenubarTemplateDemo implements OnInit {
34603
34882
  variable: "--p-menubar-item-icon-active-color",
34604
34883
  description: "Icon active color of item"
34605
34884
  },
34885
+ {
34886
+ token: "menubar.item.icon.size",
34887
+ variable: "--p-menubar-item-icon-size",
34888
+ description: "Icon size of item"
34889
+ },
34890
+ {
34891
+ token: "menubar.item.label.font.weight",
34892
+ variable: "--p-menubar-item-label-font-weight",
34893
+ description: "Font weight of item label"
34894
+ },
34895
+ {
34896
+ token: "menubar.item.label.font.size",
34897
+ variable: "--p-menubar-item-label-font-size",
34898
+ description: "Font size of item label"
34899
+ },
34606
34900
  {
34607
34901
  token: "menubar.submenu.padding",
34608
34902
  variable: "--p-menubar-submenu-padding",
@@ -36075,6 +36369,16 @@ export class MetergroupVerticalDemo {
36075
36369
  variable: "--p-metergroup-label-marker-size",
36076
36370
  description: "Size of label marker"
36077
36371
  },
36372
+ {
36373
+ token: "metergroup.label.text.font.weight",
36374
+ variable: "--p-metergroup-label-text-font-weight",
36375
+ description: "Font weight of label text"
36376
+ },
36377
+ {
36378
+ token: "metergroup.label.text.font.size",
36379
+ variable: "--p-metergroup-label-text-font-size",
36380
+ description: "Font size of label text"
36381
+ },
36078
36382
  {
36079
36383
  token: "metergroup.label.icon.size",
36080
36384
  variable: "--p-metergroup-label-icon-size",
@@ -36102,9 +36406,7 @@ export class MetergroupVerticalDemo {
36102
36406
  id: "accessibility",
36103
36407
  label: "Accessibility",
36104
36408
  description: "Screen Reader Value to describe the component can either be provided with ariaLabelledBy or ariaLabel props. The multiselect component has a combobox role in addition to aria-haspopup and aria-expanded attributes. The relation between the combobox and the popup is created with aria-controls attribute that refers to the id of the popup listbox. The popup listbox uses listbox as the role with aria-multiselectable enabled. Each list item has an option role along with aria-label , aria-selected and aria-disabled attributes. Checkbox component at the header uses a hidden native checkbox element internally that is only visible to screen readers. Value to read is defined with the selectAll and unselectAll keys of the aria property from the locale API. If filtering is enabled, filterInputProps can be defined to give aria-* props to the input element. Close button uses close key of the aria property from the locale API as the aria-label by default, this can be overriden with the closeButtonProps .",
36105
- examples: {
36106
- typescript: '<span id="dd1">Options</span>\n<p-multiselect ariaLabelledBy="dd1"/>\n\n<p-multiselect ariaLabel="Options"/>'
36107
- }
36409
+ examples: null
36108
36410
  },
36109
36411
  {
36110
36412
  id: "basic",
@@ -37996,6 +38298,16 @@ export class MultiselectVirtualscrollDemo {
37996
38298
  variable: "--p-multiselect-lg-padding-y",
37997
38299
  description: "Lg padding y of root"
37998
38300
  },
38301
+ {
38302
+ token: "multiselect.font.weight",
38303
+ variable: "--p-multiselect-font-weight",
38304
+ description: "Font weight of root"
38305
+ },
38306
+ {
38307
+ token: "multiselect.font.size",
38308
+ variable: "--p-multiselect-font-size",
38309
+ description: "Font size of root"
38310
+ },
37999
38311
  {
38000
38312
  token: "multiselect.dropdown.width",
38001
38313
  variable: "--p-multiselect-dropdown-width",
@@ -38081,6 +38393,11 @@ export class MultiselectVirtualscrollDemo {
38081
38393
  variable: "--p-multiselect-option-selected-focus-color",
38082
38394
  description: "Selected focus color of option"
38083
38395
  },
38396
+ {
38397
+ token: "multiselect.option.selected.font.weight",
38398
+ variable: "--p-multiselect-option-selected-font-weight",
38399
+ description: "Font weight of a selected option"
38400
+ },
38084
38401
  {
38085
38402
  token: "multiselect.option.padding",
38086
38403
  variable: "--p-multiselect-option-padding",
@@ -38096,6 +38413,16 @@ export class MultiselectVirtualscrollDemo {
38096
38413
  variable: "--p-multiselect-option-gap",
38097
38414
  description: "Gap of option"
38098
38415
  },
38416
+ {
38417
+ token: "multiselect.option.font.weight",
38418
+ variable: "--p-multiselect-option-font-weight",
38419
+ description: "Font weight of option"
38420
+ },
38421
+ {
38422
+ token: "multiselect.option.font.size",
38423
+ variable: "--p-multiselect-option-font-size",
38424
+ description: "Font size of option"
38425
+ },
38099
38426
  {
38100
38427
  token: "multiselect.option.group.background",
38101
38428
  variable: "--p-multiselect-option-group-background",
@@ -38111,6 +38438,11 @@ export class MultiselectVirtualscrollDemo {
38111
38438
  variable: "--p-multiselect-option-group-font-weight",
38112
38439
  description: "Font weight of option group"
38113
38440
  },
38441
+ {
38442
+ token: "multiselect.option.group.font.size",
38443
+ variable: "--p-multiselect-option-group-font-size",
38444
+ description: "Font size of option group"
38445
+ },
38114
38446
  {
38115
38447
  token: "multiselect.option.group.padding",
38116
38448
  variable: "--p-multiselect-option-group-padding",
@@ -38143,9 +38475,7 @@ export class MultiselectVirtualscrollDemo {
38143
38475
  id: "accessibility",
38144
38476
  label: "Accessibility",
38145
38477
  description: "Screen Reader Value to describe the source listbox and target listbox can be provided with sourceListProps and targetListProps by passing aria-labelledby or aria-label props. The list elements has a listbox role with the aria-multiselectable attribute. Each list item has an option role with aria-selected and aria-disabled as their attributes. Controls buttons are button elements with an aria-label that refers to the aria.moveTop , aria.moveUp , aria.moveDown , aria.moveBottom , aria.moveTo , aria.moveAllTo , aria.moveFrom and aria.moveAllFrom properties of the locale API by default, alternatively you may use moveTopButtonProps , moveUpButtonProps , moveDownButtonProps , moveToButtonProps , moveAllToButtonProps , moveFromButtonProps , moveFromButtonProps and moveAllFromButtonProps to customize the buttons like overriding the default aria-label attributes. OrderList Keyboard Support Key Function tab Moves focus to the first selected option, if there is none then first option receives the focus. up arrow Moves focus to the previous option. down arrow Moves focus to the next option. enter Toggles the selected state of the focused option. space Toggles the selected state of the focused option. home Moves focus to the first option. end Moves focus to the last option. shift + down arrow Moves focus to the next option and toggles the selection state. shift + up arrow Moves focus to the previous option and toggles the selection state. shift + space Selects the items between the most recently selected option and the focused option. control + shift + home Selects the focused options and all the options up to the first one. control + shift + end Selects the focused options and all the options down to the first one. control + a Selects all options. Buttons Keyboard Support Key Function enter Executes button action. space Executes button action.",
38146
- examples: {
38147
- typescript: '<span id="lb">Options</span>\n<p-orderlist ariaLabelledBy="lb" />\n\n<p-orderlist ariaLabel="City" />'
38148
- }
38478
+ examples: null
38149
38479
  },
38150
38480
  {
38151
38481
  id: "basic",
@@ -40415,6 +40745,16 @@ export class PaginatorTemplateDemo {
40415
40745
  variable: "--p-paginator-nav-button-border-radius",
40416
40746
  description: "Border radius of nav button"
40417
40747
  },
40748
+ {
40749
+ token: "paginator.nav.button.font.weight",
40750
+ variable: "--p-paginator-nav-button-font-weight",
40751
+ description: "Font weight of nav button"
40752
+ },
40753
+ {
40754
+ token: "paginator.nav.button.font.size",
40755
+ variable: "--p-paginator-nav-button-font-size",
40756
+ description: "Font size of nav button"
40757
+ },
40418
40758
  {
40419
40759
  token: "paginator.nav.button.focus.ring.width",
40420
40760
  variable: "--p-paginator-nav-button-focus-ring-width",
@@ -40445,6 +40785,16 @@ export class PaginatorTemplateDemo {
40445
40785
  variable: "--p-paginator-current-page-report-color",
40446
40786
  description: "Color of current page report"
40447
40787
  },
40788
+ {
40789
+ token: "paginator.current.page.report.font.weight",
40790
+ variable: "--p-paginator-current-page-report-font-weight",
40791
+ description: "Font weight of current page report"
40792
+ },
40793
+ {
40794
+ token: "paginator.current.page.report.font.size",
40795
+ variable: "--p-paginator-current-page-report-font-size",
40796
+ description: "Font size of current page report"
40797
+ },
40448
40798
  {
40449
40799
  token: "paginator.jump.to.page.input.max.width",
40450
40800
  variable: "--p-paginator-jump-to-page-input-max-width",
@@ -40899,6 +41249,11 @@ export class PanelToggleableDemo {}`
40899
41249
  variable: "--p-panel-title-font-weight",
40900
41250
  description: "Font weight of title"
40901
41251
  },
41252
+ {
41253
+ token: "panel.title.font.size",
41254
+ variable: "--p-panel-title-font-size",
41255
+ description: "Font size of title"
41256
+ },
40902
41257
  {
40903
41258
  token: "panel.content.padding",
40904
41259
  variable: "--p-panel-content-padding",
@@ -41889,6 +42244,21 @@ export class PanelmenuTemplateDemo implements OnInit {
41889
42244
  variable: "--p-panelmenu-item-icon-focus-color",
41890
42245
  description: "Icon focus color of item"
41891
42246
  },
42247
+ {
42248
+ token: "panelmenu.item.icon.size",
42249
+ variable: "--p-panelmenu-item-icon-size",
42250
+ description: "Icon size of item"
42251
+ },
42252
+ {
42253
+ token: "panelmenu.item.label.font.weight",
42254
+ variable: "--p-panelmenu-item-label-font-weight",
42255
+ description: "Font weight of item label"
42256
+ },
42257
+ {
42258
+ token: "panelmenu.item.label.font.size",
42259
+ variable: "--p-panelmenu-item-label-font-size",
42260
+ description: "Font size of item label"
42261
+ },
41892
42262
  {
41893
42263
  token: "panelmenu.submenu.indent",
41894
42264
  variable: "--p-panelmenu-submenu-indent",
@@ -41916,9 +42286,7 @@ export class PanelmenuTemplateDemo implements OnInit {
41916
42286
  id: "accessibility",
41917
42287
  label: "Accessibility",
41918
42288
  description: "Screen Reader Value to describe the component can either be provided via label tag combined with id prop or using ariaLabelledBy , ariaLabel props. Screen reader is notified about the changes to the strength of the password using a section that has aria-live while typing.",
41919
- examples: {
41920
- typescript: '<label for="pwd1">Password</label>\n<p-password inputId="pwd1" />\n\n<span id="pwd2">Password</span>\n<p-password ariaLabelledBy="pwd2" />\n\n<p-password ariaLabel="Password" />'
41921
- }
42289
+ examples: null
41922
42290
  },
41923
42291
  {
41924
42292
  id: "basic",
@@ -42901,6 +43269,16 @@ export class PasswordTogglemaskDemo {
42901
43269
  variable: "--p-password-content-gap",
42902
43270
  description: "Gap of content"
42903
43271
  },
43272
+ {
43273
+ token: "password.meter.text.font.weight",
43274
+ variable: "--p-password-meter-text-font-weight",
43275
+ description: "Font weight of meter text"
43276
+ },
43277
+ {
43278
+ token: "password.meter.text.font.size",
43279
+ variable: "--p-password-meter-text-font-size",
43280
+ description: "Font size of meter text"
43281
+ },
42904
43282
  {
42905
43283
  token: "password.strength.weak.background",
42906
43284
  variable: "--p-password-strength-weak-background",
@@ -42928,9 +43306,7 @@ export class PasswordTogglemaskDemo {
42928
43306
  id: "accessibility",
42929
43307
  label: "Accessibility",
42930
43308
  description: "Screen Reader Value to describe the source listbox and target listbox can be provided with ariaLabelledBy or ariaLabel props. The list elements has a listbox role with the aria-multiselectable attribute. Each list item has an option role with aria-selected and aria-disabled as their attributes. Controls buttons are button elements with an aria-label that refers to the aria.moveTop , aria.moveUp , aria.moveDown , aria.moveBottom , aria.moveTo , aria.moveAllTo , aria.moveFrom and aria.moveAllFrom properties of the locale API by default, alternatively you may use moveTopButtonProps , moveUpButtonProps , moveDownButtonProps , moveToButtonProps , moveAllToButtonProps , moveFromButtonProps , moveFromButtonProps and moveAllFromButtonProps to customize the buttons like overriding the default aria-label attributes. PickList Keyboard Support Key Function tab Moves focus to the first selected option, if there is none then first option receives the focus. up arrow Moves focus to the previous option. down arrow Moves focus to the next option. enter Toggles the selected state of the focused option. space Toggles the selected state of the focused option. home Moves focus to the first option. end Moves focus to the last option. shift + down arrow Moves focus to the next option and toggles the selection state. shift + up arrow Moves focus to the previous option and toggles the selection state. shift + space Selects the items between the most recently selected option and the focused option. control + shift + home Selects the focused options and all the options up to the first one. control + shift + end Selects the focused options and all the options down to the first one. control + a Selects all options. Buttons Keyboard Support Key Function enter Executes button action. space Executes button action.",
42931
- examples: {
42932
- typescript: '<span id="lb">Options</span>\n<p-picklist ariaLabelledBy="lb" />\n\n<p-picklist ariaLabel="City" />'
42933
- }
43309
+ examples: null
42934
43310
  },
42935
43311
  {
42936
43312
  id: "basic",
@@ -44439,9 +44815,7 @@ export class PopoverTemplateDemo {}`
44439
44815
  id: "accessibility",
44440
44816
  label: "Accessibility",
44441
44817
  description: "Screen Reader ProgressBar components uses progressbar role along with aria-valuemin , aria-valuemax and aria-valuenow attributes. Value to describe the component can be defined using aria-labelledby and aria-label props.",
44442
- examples: {
44443
- typescript: '<span id="label_status">Status</span>\n<p-progressbar aria-labelledby="label_status" />\n\n<p-progressbar aria-label="Status" />'
44444
- }
44818
+ examples: null
44445
44819
  },
44446
44820
  {
44447
44821
  id: "basic",
@@ -44734,9 +45108,7 @@ export class ProgressbarTemplateDemo {}`
44734
45108
  id: "accessibility",
44735
45109
  label: "Accessibility",
44736
45110
  description: "Screen Reader ProgressSpinner components uses progressbar role. Value to describe the component can be defined using aria-labelledby and aria-label props.",
44737
- examples: {
44738
- typescript: '<p-progress-spinner aria-label="Loading"></p-progress-spinner>'
44739
- }
45111
+ examples: null
44740
45112
  },
44741
45113
  {
44742
45114
  id: "basic",
@@ -44904,9 +45276,7 @@ export class ProgressspinnerCustomDemo {}`
44904
45276
  id: "accessibility",
44905
45277
  label: "Accessibility",
44906
45278
  description: "Screen Reader RadioButton component uses a hidden native radio button element internally that is only visible to screen readers. Value to describe the component can either be provided via label tag combined with inputId prop or using ariaLabelledBy , ariaLabel props.",
44907
- examples: {
44908
- typescript: '<label for="rb1">One</label>\n<p-radiobutton inputId="rb1" />\n\n<span id="rb2">Two</span>\n<p-radiobutton ariaLabelledBy="rb2" />\n\n<p-radiobutton ariaLabel="Three" />'
44909
- }
45279
+ examples: null
44910
45280
  },
44911
45281
  {
44912
45282
  id: "disabled",
@@ -46258,303 +46628,43 @@ export class RippleDefaultDemo {}`
46258
46628
  id: "basic",
46259
46629
  label: "Basic",
46260
46630
  description: "VirtualScroller requires items as the data to display, itemSize for the dimensions of an item and item template are required on component. In addition, an initial array is required based on the total number of items to display. Size of the viewport is configured using scrollWidth , scrollHeight properties directly or with CSS width and height styles.",
46261
- examples: {
46262
- typescript: `import { Component, OnInit } from '@angular/core';
46263
- import { VirtualScrollerModule } from 'primeng/virtualscroller';
46264
-
46265
- @Component({
46266
- template: \`
46267
- <div class="card flex justify-center">
46268
- <p-virtualscroller [items]="items" [itemSize]="50" scrollHeight="200px" styleClass="border border-surface" [style]="{ width: '200px', height: '200px' }">
46269
- <ng-template #item let-item let-options="options">
46270
- <div class="flex items-center p-2" [ngClass]="{ 'bg-surface-100 dark:bg-surface-700': options.odd }" style="height: 50px;">
46271
- {{ item }}
46272
- </div>
46273
- </ng-template>
46274
- </p-virtualscroller>
46275
- </div>
46276
- \`,
46277
- standalone: true,
46278
- imports: [VirtualScrollerModule]
46279
- })
46280
- export class ScrollerBasicDemo implements OnInit {
46281
- items!: string[];
46282
-
46283
- ngOnInit() {
46284
- this.items = Array.from({ length: 1000 }).map((_, i) => \`Item #\${i}\`);
46285
- }
46286
- }`
46287
- }
46631
+ examples: null
46288
46632
  },
46289
46633
  {
46290
46634
  id: "delay",
46291
46635
  label: "Delay",
46292
46636
  description: "Scroll delay is adjusted by using delay property.",
46293
- examples: {
46294
- typescript: `import { Component, OnInit } from '@angular/core';
46295
- import { VirtualScrollerModule } from 'primeng/virtualscroller';
46296
-
46297
- @Component({
46298
- template: \`
46299
- <div class="card flex flex-wrap justify-center gap-4">
46300
- <div>
46301
- <span class="font-bold block mb-2">No Delay</span>
46302
- <p-virtualscroller [items]="items" [itemSize]="50" styleClass="border border-surface" [style]="{ width: '200px', height: '200px' }">
46303
- <ng-template #item let-item let-options="options">
46304
- <div class="flex items-center p-2" [ngClass]="{ 'bg-surface-100 dark:bg-surface-700': options.odd }" style="height: 50px;">
46305
- {{ item }}
46306
- </div>
46307
- </ng-template>
46308
- </p-virtualscroller>
46309
- </div>
46310
- <div>
46311
- <span class="font-bold block mb-2">150ms</span>
46312
- <p-virtualscroller [items]="items" [itemSize]="50" [delay]="150" styleClass="border border-surface" [style]="{ width: '200px', height: '200px' }">
46313
- <ng-template #item let-item let-options="options">
46314
- <div class="flex items-center p-2" [ngClass]="{ 'bg-surface-100 dark:bg-surface-700': options.odd }" style="height: 50px;">
46315
- {{ item }}
46316
- </div>
46317
- </ng-template>
46318
- </p-virtualscroller>
46319
- </div>
46320
- <div>
46321
- <span class="font-bold block mb-2">500ms</span>
46322
- <p-virtualscroller [items]="items" [itemSize]="50" [delay]="500" styleClass="border border-surface" [style]="{ width: '200px', height: '200px' }">
46323
- <ng-template #item let-item let-options="options">
46324
- <div class="flex items-center p-2" [ngClass]="{ 'bg-surface-100 dark:bg-surface-700': options.odd }" style="height: 50px;">
46325
- {{ item }}
46326
- </div>
46327
- </ng-template>
46328
- </p-virtualscroller>
46329
- </div>
46330
- </div>
46331
- \`,
46332
- standalone: true,
46333
- imports: [VirtualScrollerModule]
46334
- })
46335
- export class ScrollerDelayDemo implements OnInit {
46336
- items!: string[];
46337
-
46338
- ngOnInit() {
46339
- this.items = Array.from({ length: 1000 }).map((_, i) => \`Item #\${i}\`);
46340
- }
46341
- }`
46342
- }
46637
+ examples: null
46343
46638
  },
46344
46639
  {
46345
46640
  id: "grid",
46346
46641
  label: "Grid",
46347
46642
  description: "Scrolling can be enabled vertically and horizontally when orientation is set as both . In this mode, itemSize should be an array where first value is the height of an item and second is the width.",
46348
- examples: {
46349
- typescript: `import { Component, OnInit } from '@angular/core';
46350
- import { VirtualScrollerModule } from 'primeng/virtualscroller';
46351
-
46352
- @Component({
46353
- template: \`
46354
- <div class="card flex justify-center">
46355
- <p-virtualscroller [items]="items" [itemSize]="[50, 100]" orientation="both" styleClass="border border-surface" [style]="{ width: '200px', height: '200px' }">
46356
- <ng-template #item let-item let-options="options">
46357
- <div class="flex items-center p-2" [ngClass]="{ 'bg-surface-100 dark:bg-surface-700': options.odd }" style="height: 50px;">
46358
- <div *ngFor="let el of item" style="width: 100px">{{ el }}</div>
46359
- </div>
46360
- </ng-template>
46361
- </p-virtualscroller>
46362
- </div>
46363
- \`,
46364
- standalone: true,
46365
- imports: [VirtualScrollerModule]
46366
- })
46367
- export class ScrollerGridDemo implements OnInit {
46368
- items!: string[][];
46369
-
46370
- ngOnInit() {
46371
- this.items = Array.from({ length: 1000 }).map((_, i) => Array.from({ length: 1000 }).map((_j, j) => \`Item #\${i}_\${j}\`));
46372
- }
46373
- }`
46374
- }
46643
+ examples: null
46375
46644
  },
46376
46645
  {
46377
46646
  id: "horizontal",
46378
46647
  label: "Horizontal",
46379
46648
  description: "Setting orientation to horizontal enables scrolling horizontally. In this case, the itemSize should refer to the width of an item.",
46380
- examples: {
46381
- typescript: `import { Component, OnInit } from '@angular/core';
46382
- import { VirtualScrollerModule } from 'primeng/virtualscroller';
46383
-
46384
- @Component({
46385
- template: \`
46386
- <div class="card flex justify-center">
46387
- <p-virtualscroller [items]="items" [itemSize]="50" scrollHeight="200px" orientation="horizontal" styleClass="border border-surface" [style]="{ width: '200px', height: '200px' }">
46388
- <ng-template #item let-item let-options="options">
46389
- <div class="flex items-center p-2" style="writing-mode: vertical-lr; width: 50px;" [ngClass]="{ 'bg-surface-100 dark:bg-surface-700': options.odd }">
46390
- {{ item }}
46391
- </div>
46392
- </ng-template>
46393
- </p-virtualscroller>
46394
- </div>
46395
- \`,
46396
- standalone: true,
46397
- imports: [VirtualScrollerModule]
46398
- })
46399
- export class ScrollerHorizontalDemo implements OnInit {
46400
- items!: string[];
46401
-
46402
- ngOnInit() {
46403
- this.items = Array.from({ length: 1000 }).map((_, i) => \`Item #\${i}\`);
46404
- }
46405
- }`
46406
- }
46649
+ examples: null
46407
46650
  },
46408
46651
  {
46409
46652
  id: "lazyload",
46410
46653
  label: "lazyload-doc",
46411
46654
  description: "Lazy mode is handy to deal with large datasets where instead of loading the entire data, small chunks of data are loaded on demand by invoking onLazyLoad callback everytime scrolling requires a new chunk. To implement lazy loading, enable lazy attribute, initialize your data as a placeholder with a length and finally implement a method callback using onLazyLoad that actually loads a chunk from a datasource. onLazyLoad gets an event object that contains information about the chunk of data to load such as the index and number of items to load. Notice that a new template called loadingItem is also required to display as a placeholder while the new items are being loaded.",
46412
- examples: {
46413
- typescript: `import { Component, OnInit } from '@angular/core';
46414
- import { VirtualScrollerModule } from 'primeng/virtualscroller';
46415
-
46416
- interface LazyEvent {
46417
- first: number;
46418
- last: number;
46419
- }
46420
-
46421
- @Component({
46422
- template: \`
46423
- <div class="card flex justify-center">
46424
- <p-virtualscroller [items]="items" [itemSize]="50" [showLoader]="true" [delay]="250" [loading]="lazyLoading" [lazy]="true" (onLazyLoad)="onLazyLoad($event)" styleClass="border border-surface" [style]="{ width: '200px', height: '200px' }">
46425
- <ng-template #item let-item let-options="options">
46426
- <div class="flex items-center p-2" [ngClass]="{ 'bg-surface-100 dark:bg-surface-700': options.odd }" style="height: 50px;">
46427
- {{ item }}
46428
- </div>
46429
- </ng-template>
46430
- </p-virtualscroller>
46431
- </div>
46432
- \`,
46433
- standalone: true,
46434
- imports: [VirtualScrollerModule]
46435
- })
46436
- export class ScrollerLazyloadDemo implements OnInit {
46437
- items!: string[];
46438
- lazyLoading: boolean = true;
46439
- loadLazyTimeout: any;
46440
-
46441
- ngOnInit() {
46442
- this.items = Array.from({ length: 1000 });
46443
- }
46444
-
46445
- onLazyLoad(event: LazyEvent) {
46446
- this.lazyLoading = true;
46447
-
46448
- if (this.loadLazyTimeout) {
46449
- clearTimeout(this.loadLazyTimeout);
46450
- }
46451
-
46452
- //imitate delay of a backend call
46453
- this.loadLazyTimeout = setTimeout(
46454
- () => {
46455
- const { first, last } = event;
46456
- const lazyItems = [...this.items];
46457
-
46458
- for (let i = first; i < last; i++) {
46459
- lazyItems[i] = \`Item #\${i}\`;
46460
- }
46461
-
46462
- this.items = lazyItems;
46463
- this.lazyLoading = false;
46464
- this.cd.markForCheck();
46465
- },
46466
- Math.random() * 1000 + 250
46467
- );
46468
- }
46469
- }`
46470
- }
46655
+ examples: null
46471
46656
  },
46472
46657
  {
46473
46658
  id: "loader",
46474
46659
  label: "loader-doc",
46475
46660
  description: "Busy state is enabled by adding showLoader property which blocks the UI with a modal by default. Alternatively, loader template can be used to customize items e.g. with Skeleton .",
46476
- examples: {
46477
- typescript: `import { Component, OnInit } from '@angular/core';
46478
- import { SkeletonModule } from 'primeng/skeleton';
46479
- import { VirtualScrollerModule } from 'primeng/virtualscroller';
46480
-
46481
- @Component({
46482
- template: \`
46483
- <div class="card flex flex-wrap justify-center gap-4">
46484
- <div>
46485
- <p-virtualscroller [items]="items" [itemSize]="50" [showLoader]="true" [delay]="250" styleClass="border border-surface" [style]="{ width: '200px', height: '200px' }">
46486
- <ng-template #item let-item let-options="options">
46487
- <div class="flex items-center p-2" [ngClass]="{ 'bg-surface-100 dark:bg-surface-700': options.odd }" style="height: 50px;">
46488
- {{ item }}
46489
- </div>
46490
- </ng-template>
46491
- </p-virtualscroller>
46492
- </div>
46493
- <div>
46494
- <p-virtualscroller [items]="items" [itemSize]="50" [showLoader]="true" [delay]="250" styleClass="border border-surface" [style]="{ width: '200px', height: '200px' }">
46495
- <ng-template #item let-item let-options="options">
46496
- <div class="flex items-center p-2" [ngClass]="{ 'bg-surface-100 dark:bg-surface-700': options.odd }" style="height: 50px;">
46497
- {{ item }}
46498
- </div>
46499
- </ng-template>
46500
- <ng-template pTemplate="loader" let-options="options">
46501
- <div class="flex items-center p-2" [ngClass]="{ 'bg-surface-100 dark:bg-surface-700': options.odd }" style="height: 50px;">
46502
- <p-skeleton [width]="options.even ? '60%' : '50%'" height="1.3rem"></p-skeleton>
46503
- </div>
46504
- </ng-template>
46505
- </p-virtualscroller>
46506
- </div>
46507
- </div>
46508
- \`,
46509
- standalone: true,
46510
- imports: [SkeletonModule, VirtualScrollerModule]
46511
- })
46512
- export class ScrollerLoaderDemo implements OnInit {
46513
- items!: string[];
46514
-
46515
- ngOnInit() {
46516
- this.items = Array.from({ length: 1000 }).map((_, i) => \`Item #\${i}\`);
46517
- }
46518
- }`
46519
- }
46661
+ examples: null
46520
46662
  },
46521
46663
  {
46522
46664
  id: "programmatic",
46523
46665
  label: "Programmatic",
46524
46666
  description: "Scrolling to a specific index can be done with the scrollToIndex function.",
46525
- examples: {
46526
- typescript: `import { Component, OnInit } from '@angular/core';
46527
- import { ButtonModule } from 'primeng/button';
46528
- import { VirtualScrollerModule } from 'primeng/virtualscroller';
46529
-
46530
- @Component({
46531
- template: \`
46532
- <div class="card flex flex-col items-center gap-4">
46533
- <p-button label="Reset" (click)="reset()" />
46534
- <p-virtualscroller #sc [items]="items" [itemSize]="50" scrollHeight="200px" styleClass="border border-surface" [style]="{ width: '200px', height: '200px' }">
46535
- <ng-template #item let-item let-options="options">
46536
- <div class="flex items-center p-2" [ngClass]="{ 'bg-surface-100 dark:bg-surface-700': options.odd }" style="height: 50px;">
46537
- {{ item }}
46538
- </div>
46539
- </ng-template>
46540
- </p-virtualscroller>
46541
- </div>
46542
- \`,
46543
- standalone: true,
46544
- imports: [ButtonModule, VirtualScrollerModule]
46545
- })
46546
- export class ScrollerProgrammaticDemo implements OnInit {
46547
- items: string[] = [];
46548
-
46549
- ngOnInit() {
46550
- this.items = Array.from({ length: 1000 }).map((_, i) => \`Item #\${i}\`);
46551
- }
46552
-
46553
- reset() {
46554
- this.sc.scrollToIndex(0, 'smooth');
46555
- }
46556
- }`
46557
- }
46667
+ examples: null
46558
46668
  },
46559
46669
  {
46560
46670
  id: "scrolloptions",
@@ -46566,51 +46676,7 @@ export class ScrollerProgrammaticDemo implements OnInit {
46566
46676
  id: "template",
46567
46677
  label: "Template",
46568
46678
  description: "Scroller content is customizable by using ng-template . Valid values are content , item , loader and loadericon",
46569
- examples: {
46570
- typescript: `import { Component, OnInit } from '@angular/core';
46571
- import { SkeletonModule } from 'primeng/skeleton';
46572
- import { VirtualScrollerModule } from 'primeng/virtualscroller';
46573
-
46574
- @Component({
46575
- template: \`
46576
- <div class="card flex justify-center">
46577
- <p-virtualscroller [items]="items" [itemSize]="25 * 7" [showLoader]="true" [delay]="250" [numToleratedItems]="20" styleClass="border border-surface" [style]="{ width: '200px', height: '200px' }">
46578
- <ng-template #item let-item let-options="options">
46579
- <div class="flex flex-col align-items-strech" [ngClass]="{ 'bg-surface-100 dark:bg-surface-700': options.odd }">
46580
- <div class="flex items-center px-2" style="height: 25px">Item: {{ item }}</div>
46581
- <div class="flex items-center px-2" style="height: 25px">Index: {{ options.index }}</div>
46582
- <div class="flex items-center px-2" style="height: 25px">Count: {{ options.count }}</div>
46583
- <div class="flex items-center px-2" style="height: 25px">First: {{ options.first }}</div>
46584
- <div class="flex items-center px-2" style="height: 25px">Last: {{ options.last }}</div>
46585
- <div class="flex items-center px-2" style="height: 25px">Even: {{ options.even }}</div>
46586
- <div class="flex items-center px-2" style="height: 25px">Odd: {{ options.odd }}</div>
46587
- </div>
46588
- </ng-template>
46589
- <ng-template #loader let-options="options">
46590
- <div class="flex flex-col items-stretch" [ngClass]="{ 'bg-surface-100 dark:bg-surface-700': options.odd }">
46591
- <div class="flex items-center px-2" style="height: 25px"><p-skeleton width="60%" height="1.2rem"></p-skeleton></div>
46592
- <div class="flex items-center px-2" style="height: 25px"><p-skeleton width="50%" height="1.2rem"></p-skeleton></div>
46593
- <div class="flex items-center px-2" style="height: 25px"><p-skeleton width="60%" height="1.2rem"></p-skeleton></div>
46594
- <div class="flex items-center px-2" style="height: 25px"><p-skeleton width="50%" height="1.2rem"></p-skeleton></div>
46595
- <div class="flex items-center px-2" style="height: 25px"><p-skeleton width="60%" height="1.2rem"></p-skeleton></div>
46596
- <div class="flex items-center px-2" style="height: 25px"><p-skeleton width="50%" height="1.2rem"></p-skeleton></div>
46597
- <div class="flex items-center px-2" style="height: 25px"><p-skeleton width="60%" height="1.2rem"></p-skeleton></div>
46598
- </div>
46599
- </ng-template>
46600
- </p-virtualscroller>
46601
- </div>
46602
- \`,
46603
- standalone: true,
46604
- imports: [SkeletonModule, VirtualScrollerModule]
46605
- })
46606
- export class ScrollerTemplateDemo implements OnInit {
46607
- items!: string[];
46608
-
46609
- ngOnInit() {
46610
- this.items = Array.from({ length: 1000 }).map((_, i) => \`Item #\${i}\`);
46611
- }
46612
- }`
46613
- }
46679
+ examples: null
46614
46680
  }
46615
46681
  ],
46616
46682
  api: {
@@ -47416,9 +47482,7 @@ export class ScrolltopElementDemo {}`
47416
47482
  id: "accessibility",
47417
47483
  label: "Accessibility",
47418
47484
  description: "Screen Reader Value to describe the component can either be provided with ariaLabelledBy or ariaLabel props. The select element has a combobox role in addition to aria-haspopup and aria-expanded attributes. If the editable option is enabled aria-autocomplete is also added. The relation between the combobox and the popup is created with aria-controls and aria-activedescendant attribute is used to instruct screen reader which option to read during keyboard navigation within the popup list. The popup list has an id that refers to the aria-controls attribute of the combobox element and uses listbox as the role. Each list item has an option role, an id to match the aria-activedescendant of the input element along with aria-label , aria-selected and aria-disabled attributes. If filtering is enabled, filterInputProps can be defined to give aria-* props to the filter input element.",
47419
- examples: {
47420
- typescript: '<span id="dd1">Options</span>\n<p-select ariaLabelledBy="dd1"/>\n\n<p-select ariaLabel="Options"/>'
47421
- }
47485
+ examples: null
47422
47486
  },
47423
47487
  {
47424
47488
  id: "basic",
@@ -49455,6 +49519,16 @@ export class SelectVirtualscrollDemo {
49455
49519
  variable: "--p-select-lg-padding-y",
49456
49520
  description: "Lg padding y of root"
49457
49521
  },
49522
+ {
49523
+ token: "select.font.weight",
49524
+ variable: "--p-select-font-weight",
49525
+ description: "Font weight of root"
49526
+ },
49527
+ {
49528
+ token: "select.font.size",
49529
+ variable: "--p-select-font-size",
49530
+ description: "Font size of root"
49531
+ },
49458
49532
  {
49459
49533
  token: "select.dropdown.width",
49460
49534
  variable: "--p-select-dropdown-width",
@@ -49540,6 +49614,11 @@ export class SelectVirtualscrollDemo {
49540
49614
  variable: "--p-select-option-selected-focus-color",
49541
49615
  description: "Selected focus color of option"
49542
49616
  },
49617
+ {
49618
+ token: "select.option.selected.font.weight",
49619
+ variable: "--p-select-option-selected-font-weight",
49620
+ description: "Font weight of a selected option"
49621
+ },
49543
49622
  {
49544
49623
  token: "select.option.padding",
49545
49624
  variable: "--p-select-option-padding",
@@ -49550,6 +49629,16 @@ export class SelectVirtualscrollDemo {
49550
49629
  variable: "--p-select-option-border-radius",
49551
49630
  description: "Border radius of option"
49552
49631
  },
49632
+ {
49633
+ token: "select.option.font.weight",
49634
+ variable: "--p-select-option-font-weight",
49635
+ description: "Font weight of option"
49636
+ },
49637
+ {
49638
+ token: "select.option.font.size",
49639
+ variable: "--p-select-option-font-size",
49640
+ description: "Font size of option"
49641
+ },
49553
49642
  {
49554
49643
  token: "select.option.group.background",
49555
49644
  variable: "--p-select-option-group-background",
@@ -49565,6 +49654,11 @@ export class SelectVirtualscrollDemo {
49565
49654
  variable: "--p-select-option-group-font-weight",
49566
49655
  description: "Font weight of option group"
49567
49656
  },
49657
+ {
49658
+ token: "select.option.group.font.size",
49659
+ variable: "--p-select-option-group-font-size",
49660
+ description: "Font size of option group"
49661
+ },
49568
49662
  {
49569
49663
  token: "select.option.group.padding",
49570
49664
  variable: "--p-select-option-group-padding",
@@ -50443,9 +50537,7 @@ export class SkeletonShapesDemo {}`
50443
50537
  id: "accessibility",
50444
50538
  label: "Accessibility",
50445
50539
  description: "Screen Reader Slider element component uses slider role on the handle in addition to the aria-orientation , aria-valuemin , aria-valuemax and aria-valuenow attributes. Value to describe the component can be defined using ariaLabelledBy and ariaLabel props.",
50446
- examples: {
50447
- typescript: '<span id="label_number">Number</span>\n<p-slider ariaLabelledBy="label_number" />\n\n<p-slider ariaLabel="Number" />'
50448
- }
50540
+ examples: null
50449
50541
  },
50450
50542
  {
50451
50543
  id: "basic",
@@ -51018,9 +51110,7 @@ export class SliderVerticalDemo {
51018
51110
  id: "accessibility",
51019
51111
  label: "Accessibility",
51020
51112
  description: "Screen Reader SpeedDial component renders a native button element that implicitly includes any passed prop. Text to describe the button can be defined with the aria-labelledby or aria-label props. Addititonally the button includes includes aria-haspopup , aria-expanded for states along with aria-controls to define the relation between the popup and the button. The popup overlay uses menu role on the list and each action item has a menuitem role with an aria-label as the menuitem label. The id of the menu refers to the aria-controls of the button.",
51021
- examples: {
51022
- typescript: '<p-speeddial aria-label="Options" />'
51023
- }
51113
+ examples: null
51024
51114
  },
51025
51115
  {
51026
51116
  id: "circle",
@@ -51863,9 +51953,7 @@ export class SpeeddialTooltipDemo implements OnInit {
51863
51953
  id: "accessibility",
51864
51954
  label: "Accessibility",
51865
51955
  description: "Screen Reader SplitButton component renders two native button elements, main button uses the label property to define aria-label by default which can be customized with buttonProps . Dropdown button requires an explicit definition to describe it using menuButtonProps option and also includes aria-haspopup , aria-expanded for states along with aria-controls to define the relation between the popup and the button. The popup overlay uses menu role on the list and each action item has a menuitem role with an aria-label as the menuitem label. The id of the menu refers to the aria-controls of the dropdown button.",
51866
- examples: {
51867
- typescript: `<p-splitbutton [buttonProps]="{'aria-label': 'Default Action'}" [menuButtonProps]="{'aria-label': 'More Options'}" />`
51868
- }
51956
+ examples: null
51869
51957
  },
51870
51958
  {
51871
51959
  id: "basic",
@@ -53949,6 +54037,11 @@ export class StepperVerticalDemo {}`
53949
54037
  variable: "--p-stepper-step-title-font-weight",
53950
54038
  description: "Font weight of step title"
53951
54039
  },
54040
+ {
54041
+ token: "stepper.step.title.font.size",
54042
+ variable: "--p-stepper-step-title-font-size",
54043
+ description: "Font size of step title"
54044
+ },
53952
54045
  {
53953
54046
  token: "stepper.step.number.background",
53954
54047
  variable: "--p-stepper-step-number-background",
@@ -60256,6 +60349,11 @@ export class TabsTabmenuDemo {
60256
60349
  variable: "--p-tabs-tab-font-weight",
60257
60350
  description: "Font weight of tab"
60258
60351
  },
60352
+ {
60353
+ token: "tabs.tab.font.size",
60354
+ variable: "--p-tabs-tab-font-size",
60355
+ description: "Font size of tab"
60356
+ },
60259
60357
  {
60260
60358
  token: "tabs.tab.margin",
60261
60359
  variable: "--p-tabs-tab-margin",
@@ -60994,6 +61092,16 @@ export class TerminalBasicDemo {
60994
61092
  variable: "--p-terminal-border-radius",
60995
61093
  description: "Border radius of root"
60996
61094
  },
61095
+ {
61096
+ token: "terminal.font.weight",
61097
+ variable: "--p-terminal-font-weight",
61098
+ description: "Font weight of root"
61099
+ },
61100
+ {
61101
+ token: "terminal.font.size",
61102
+ variable: "--p-terminal-font-size",
61103
+ description: "Font size of root"
61104
+ },
60997
61105
  {
60998
61106
  token: "terminal.prompt.gap",
60999
61107
  variable: "--p-terminal-prompt-gap",
@@ -61016,9 +61124,7 @@ export class TerminalBasicDemo {
61016
61124
  id: "accessibility",
61017
61125
  label: "Accessibility",
61018
61126
  description: "Screen Reader Textarea component renders a native textarea element that implicitly includes any passed prop. Value to describe the component can either be provided via label tag combined with id prop or using aria-labelledby , aria-label props.",
61019
- examples: {
61020
- typescript: '<label for="address1">Address 1</label>\n<textarea pTextarea id="address1"></textarea>\n\n<span id="address2">Address 2</span>\n<textarea pTextarea aria-labelledby="address2"></textarea>\n\n<textarea pTextarea aria-label="Address Details"></textarea>'
61021
- }
61127
+ examples: null
61022
61128
  },
61023
61129
  {
61024
61130
  id: "autoresize",
@@ -61580,6 +61686,16 @@ export class TextareaTemplatedrivenformsDemo {
61580
61686
  token: "textarea.lg.padding.y",
61581
61687
  variable: "--p-textarea-lg-padding-y",
61582
61688
  description: "Lg padding y of root"
61689
+ },
61690
+ {
61691
+ token: "textarea.font.weight",
61692
+ variable: "--p-textarea-font-weight",
61693
+ description: "Font weight of root"
61694
+ },
61695
+ {
61696
+ token: "textarea.font.size",
61697
+ variable: "--p-textarea-font-size",
61698
+ description: "Font size of root"
61583
61699
  }
61584
61700
  ]
61585
61701
  }
@@ -62486,6 +62602,21 @@ export class TieredmenuTemplateDemo implements OnInit {
62486
62602
  variable: "--p-tieredmenu-item-icon-active-color",
62487
62603
  description: "Icon active color of item"
62488
62604
  },
62605
+ {
62606
+ token: "tieredmenu.item.icon.size",
62607
+ variable: "--p-tieredmenu-item-icon-size",
62608
+ description: "Icon size of item"
62609
+ },
62610
+ {
62611
+ token: "tieredmenu.item.label.font.weight",
62612
+ variable: "--p-tieredmenu-item-label-font-weight",
62613
+ description: "Font weight of item label"
62614
+ },
62615
+ {
62616
+ token: "tieredmenu.item.label.font.size",
62617
+ variable: "--p-tieredmenu-item-label-font-size",
62618
+ description: "Font size of item label"
62619
+ },
62489
62620
  {
62490
62621
  token: "tieredmenu.submenu.mobile.indent",
62491
62622
  variable: "--p-tieredmenu-submenu-mobile-indent",
@@ -64049,9 +64180,7 @@ export class ToastTemplateDemo {
64049
64180
  id: "accessibility",
64050
64181
  label: "Accessibility",
64051
64182
  description: "Screen Reader ToggleButton component uses an element with button role and updates aria-pressed state for screen readers. Value to describe the component can be defined with ariaLabelledBy or ariaLabel props, it is highly suggested to use either of these props as the component changes the label displayed which will result in screen readers to read different labels when the component receives focus. To prevent this, always provide an aria label that does not change related to state.",
64052
- examples: {
64053
- typescript: '<span id="rememberme">Remember Me</span>\n<p-togglebutton ariaLabelledBy="rememberme" />\n\n<p-togglebutton ariaLabel="Remember Me" />'
64054
- }
64183
+ examples: null
64055
64184
  },
64056
64185
  {
64057
64186
  id: "basic",
@@ -64542,6 +64671,11 @@ export class TogglebuttonTemplatedrivenformsDemo {
64542
64671
  variable: "--p-togglebutton-gap",
64543
64672
  description: "Gap of root"
64544
64673
  },
64674
+ {
64675
+ token: "togglebutton.font.size",
64676
+ variable: "--p-togglebutton-font-size",
64677
+ description: "Font size of root"
64678
+ },
64545
64679
  {
64546
64680
  token: "togglebutton.font.weight",
64547
64681
  variable: "--p-togglebutton-font-weight",
@@ -64719,9 +64853,7 @@ export class TogglebuttonTemplatedrivenformsDemo {
64719
64853
  id: "accessibility",
64720
64854
  label: "Accessibility",
64721
64855
  description: "Screen Reader InputSwitch component uses a hidden native checkbox element with switch role internally that is only visible to screen readers. Value to describe the component can either be provided via label tag combined with inputId prop or using ariaLabelledBy , ariaLabel props.",
64722
- examples: {
64723
- typescript: '<label for="switch1">Remember Me</label>\n<p-toggleswitch inputId="switch1" />\n\n<span id="switch2">Remember Me</span>\n<p-toggleswitch ariaLabelledBy="switch2" />\n\n<p-toggleswitch ariaLabel="Remember Me" />'
64724
- }
64856
+ examples: null
64725
64857
  },
64726
64858
  {
64727
64859
  id: "basic",
@@ -65313,9 +65445,7 @@ export class ToggleswitchTemplatedrivenformsDemo {
65313
65445
  id: "accessibility",
65314
65446
  label: "Accessibility",
65315
65447
  description: "Screen Reader Toolbar uses toolbar role for the root element, aria-orientation is not included as it defaults to horizontal . Any valid attribute is passed to the root element so you may add additional properties like aria-labelledby and aria-labelled to define the element if required. Keyboard Support Component does not include any interactive elements. Arbitrary content can be placed with templating and elements like buttons inside should follow the page tab sequence.",
65316
- examples: {
65317
- typescript: '<p-toolbar aria-label="Actions">\n Content\n</p-toolbar>'
65318
- }
65448
+ examples: null
65319
65449
  },
65320
65450
  {
65321
65451
  id: "basic",
@@ -66009,6 +66139,16 @@ export class TooltipPositionDemo {}`
66009
66139
  token: "tooltip.color",
66010
66140
  variable: "--p-tooltip-color",
66011
66141
  description: "Color of root"
66142
+ },
66143
+ {
66144
+ token: "tooltip.font.weight",
66145
+ variable: "--p-tooltip-font-weight",
66146
+ description: "Font weight of root"
66147
+ },
66148
+ {
66149
+ token: "tooltip.font.size",
66150
+ variable: "--p-tooltip-font-size",
66151
+ description: "Font size of root"
66012
66152
  }
66013
66153
  ]
66014
66154
  }
@@ -67367,6 +67507,21 @@ export class TreeVirtualscrolllazyDemo implements OnInit {
67367
67507
  variable: "--p-tree-node-icon-selected-color",
67368
67508
  description: "Selected color of node icon"
67369
67509
  },
67510
+ {
67511
+ token: "tree.node.label.font.weight",
67512
+ variable: "--p-tree-node-label-font-weight",
67513
+ description: "Font weight of node label"
67514
+ },
67515
+ {
67516
+ token: "tree.node.label.font.size",
67517
+ variable: "--p-tree-node-label-font-size",
67518
+ description: "Font size of node label"
67519
+ },
67520
+ {
67521
+ token: "tree.node.label.selected.font.weight",
67522
+ variable: "--p-tree-node-label-selected-font-weight",
67523
+ description: "Font weight of a selected node label"
67524
+ },
67370
67525
  {
67371
67526
  token: "tree.node.toggle.button.border.radius",
67372
67527
  variable: "--p-tree-node-toggle-button-border-radius",
@@ -67449,9 +67604,7 @@ export class TreeVirtualscrolllazyDemo implements OnInit {
67449
67604
  id: "accessibility",
67450
67605
  label: "Accessibility",
67451
67606
  description: "Screen Reader Value to describe the component can either be provided with ariaLabelledby or ariaLabel props. The treeselect element has a combobox role in addition to aria-haspopup and aria-expanded attributes. The relation between the combobox and the popup is created with aria-controls that refers to the id of the popup. The popup list has an id that refers to the aria-controls attribute of the combobox element and uses tree as the role. Each list item has a treeitem role along with aria-label , aria-selected and aria-expanded attributes. In checkbox selection, aria-checked is used instead of aria-selected . Checkbox and toggle icons are hidden from screen readers as their parent element with treeitem role and attributes are used instead for readers and keyboard support. The container element of a treenode has the group role. The aria-setsize , aria-posinset and aria-level attributes are calculated implicitly and added to each treeitem. If filtering is enabled, filterInputProps can be defined to give aria-* props to the filter input element.",
67452
- examples: {
67453
- typescript: '<span id="dd1">Options</span>\n<p-treeselect ariaLabelledBy="dd1" />\n\n<p-treeselect ariaLabel="Options" />'
67454
- }
67607
+ examples: null
67455
67608
  },
67456
67609
  {
67457
67610
  id: "basic",
@@ -68972,6 +69125,16 @@ export class TreeselectVirtualscrollDemo implements OnInit {
68972
69125
  variable: "--p-treeselect-lg-padding-y",
68973
69126
  description: "Lg padding y of root"
68974
69127
  },
69128
+ {
69129
+ token: "treeselect.font.weight",
69130
+ variable: "--p-treeselect-font-weight",
69131
+ description: "Font weight of root"
69132
+ },
69133
+ {
69134
+ token: "treeselect.font.size",
69135
+ variable: "--p-treeselect-font-size",
69136
+ description: "Font size of root"
69137
+ },
68975
69138
  {
68976
69139
  token: "treeselect.dropdown.width",
68977
69140
  variable: "--p-treeselect-dropdown-width",
@@ -72724,6 +72887,11 @@ export class TreetableTemplateDemo implements OnInit {
72724
72887
  variable: "--p-treetable-column-title-font-weight",
72725
72888
  description: "Font weight of column title"
72726
72889
  },
72890
+ {
72891
+ token: "treetable.column.title.font.size",
72892
+ variable: "--p-treetable-column-title-font-size",
72893
+ description: "Font size of column title"
72894
+ },
72727
72895
  {
72728
72896
  token: "treetable.row.background",
72729
72897
  variable: "--p-treetable-row-background",
@@ -72799,6 +72967,16 @@ export class TreetableTemplateDemo implements OnInit {
72799
72967
  variable: "--p-treetable-body-cell-selected-border-color",
72800
72968
  description: "Selected border color of body cell"
72801
72969
  },
72970
+ {
72971
+ token: "treetable.body.cell.font.weight",
72972
+ variable: "--p-treetable-body-cell-font-weight",
72973
+ description: "Font weight of body cell"
72974
+ },
72975
+ {
72976
+ token: "treetable.body.cell.font.size",
72977
+ variable: "--p-treetable-body-cell-font-size",
72978
+ description: "Font size of body cell"
72979
+ },
72802
72980
  {
72803
72981
  token: "treetable.footer.cell.background",
72804
72982
  variable: "--p-treetable-footer-cell-background",
@@ -72824,6 +73002,11 @@ export class TreetableTemplateDemo implements OnInit {
72824
73002
  variable: "--p-treetable-column-footer-font-weight",
72825
73003
  description: "Font weight of column footer"
72826
73004
  },
73005
+ {
73006
+ token: "treetable.column.footer.font.size",
73007
+ variable: "--p-treetable-column-footer-font-size",
73008
+ description: "Font size of column footer"
73009
+ },
72827
73010
  {
72828
73011
  token: "treetable.footer.background",
72829
73012
  variable: "--p-treetable-footer-background",
@@ -73323,18 +73506,7 @@ export class TreetableTemplateDemo implements OnInit {
73323
73506
  id: "example-",
73324
73507
  label: "Example-",
73325
73508
  description: "Unstyled components require styling using your preferred approach. We recommend using Tailwind CSS with PassThrough attributes, a combination that works seamlessly together. The tailwindcss-primeui even provides special variants such as p-outlined: , p-vertical for the PrimeNG components. The example below demonstrates how to style a button component with Tailwind CSS using PassThrough attributes. Before you begin, refer to the pass through section in the button documentation to familiarize yourself with the component's internal structure and PassThrough attributes. In this example, we'll target the root , label and icon elements to apply custom styles.",
73326
- examples: {
73327
- typescript: `<p-button
73328
- label="Search"
73329
- icon="pi pi-search"
73330
- [unstyled]="true"
73331
- [pt]="{
73332
- root: 'bg-teal-500 hover:bg-teal-700 active:bg-teal-900 cursor-pointer py-2 px-4 rounded-full border-0 flex gap-2',
73333
- label: 'text-white font-bold text-lg',
73334
- icon: 'text-white !text-xl'
73335
- }"
73336
- />`
73337
- }
73509
+ examples: null
73338
73510
  },
73339
73511
  {
73340
73512
  id: "global-",
@@ -73368,17 +73540,13 @@ export class TreetableTemplateDemo implements OnInit {
73368
73540
  id: "basic-",
73369
73541
  label: "Basic-",
73370
73542
  description: "PrimeIcons use the pi pi-&#123;icon&#125; syntax such as pi pi-check . A standalone icon can be displayed using an element such as i or span",
73371
- examples: {
73372
- typescript: '<i class="pi pi-check"></i>\n<i class="pi pi-times"></i>\n<span class="pi pi-search"></span>\n<span class="pi pi-user"></span>'
73373
- }
73543
+ examples: null
73374
73544
  },
73375
73545
  {
73376
73546
  id: "color-",
73377
73547
  label: "Color-",
73378
73548
  description: "Icon color is defined with the color property which is inherited from parent by default.",
73379
- examples: {
73380
- typescript: '<i class="pi pi-check" style="color: slateblue"></i>\n<i class="pi pi-times" style="color: green"></i>\n<i class="pi pi-search" style="color: var(--primary-color)"></i>\n<i class="pi pi-user" style="color: #708090"></i>'
73381
- }
73549
+ examples: null
73382
73550
  },
73383
73551
  {
73384
73552
  id: "constants-",
@@ -73420,17 +73588,13 @@ export class TreetableTemplateDemo implements OnInit {
73420
73588
  id: "size-",
73421
73589
  label: "Size-",
73422
73590
  description: "Size of an icon is controlled with the font-size property of the element.",
73423
- examples: {
73424
- typescript: '<i class="pi pi-check" style="font-size: 1rem"></i>\n<i class="pi pi-times" style="font-size: 1.5rem"></i>\n<i class="pi pi-search" style="font-size: 2rem"></i>\n<i class="pi pi-user" style="font-size: 2.5rem"></i>'
73425
- }
73591
+ examples: null
73426
73592
  },
73427
73593
  {
73428
73594
  id: "spin-",
73429
73595
  label: "Spin-",
73430
73596
  description: "Special pi-spin class applies infinite rotation to an icon.",
73431
- examples: {
73432
- typescript: '<i class="pi pi-spin pi-spinner" style="font-size: 2rem"></i>\n<i class="pi pi-spin pi-cog" style="font-size: 2rem"></i>'
73433
- }
73597
+ examples: null
73434
73598
  }
73435
73599
  ]
73436
73600
  },
@@ -73444,33 +73608,25 @@ export class TreetableTemplateDemo implements OnInit {
73444
73608
  id: "fontawesome-",
73445
73609
  label: "Fontawesome-",
73446
73610
  description: "Font Awesome is a popular icon library with a wide range of icons.",
73447
- examples: {
73448
- typescript: '<p-dropdown>\n <ng-template #dropdownicon>\n <i class="fa-light fa-chevron-down"></i>\n </ng-template>\n</p-dropdown>'
73449
- }
73611
+ examples: null
73450
73612
  },
73451
73613
  {
73452
73614
  id: "image-",
73453
73615
  label: "Image-",
73454
73616
  description: "Any type of image can be used as an icon.",
73455
- examples: {
73456
- typescript: '<p-dropdown>\n <ng-template #dropdownicon>\n <img alt="dropdown icon" src="/assets/icons/arrow_down.png">\n </ng-template>\n</p-dropdown>'
73457
- }
73617
+ examples: null
73458
73618
  },
73459
73619
  {
73460
73620
  id: "material-",
73461
73621
  label: "Material-",
73462
73622
  description: "Material icons is the official icon library based on Google Material Design.",
73463
- examples: {
73464
- typescript: '<p-dropdown>\n <ng-template #dropdownicon>\n <span class="material-icons">arrow_drop_down</span>\n </ng-template>\n</p-dropdown>'
73465
- }
73623
+ examples: null
73466
73624
  },
73467
73625
  {
73468
73626
  id: "svg-",
73469
73627
  label: "Svg-",
73470
73628
  description: "Inline SVGs are embedded inside the dom.",
73471
- examples: {
73472
- typescript: '<p-dropdown>\n <ng-template #dropdownicon>\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <g id="chevron-down">\n <path d="M12,15.25a.74.74,0,0,1-.53-.22l-5-5A.75.75,0,0,1,7.53,9L12,13.44,16.47,9A.75.75,0,0,1,17.53,10l-5,5A.74.74,0,0,1,12,15.25Z"/>\n </g>\n </svg>\n </ng-template>\n</p-dropdown>'
73473
- }
73629
+ examples: null
73474
73630
  }
73475
73631
  ]
73476
73632
  },
@@ -73534,9 +73690,7 @@ export class TreetableTemplateDemo implements OnInit {
73534
73690
  id: "animations-",
73535
73691
  label: "Animations-",
73536
73692
  description: "The plugin also adds extended animation utilities that can be used with the styleclass and animateonscroll directives.",
73537
- examples: {
73538
- typescript: '<p-select [(ngModel)]="animation" [options]="animations" placeholder="Select One" class="w-full sm:w-44" />\n<div class="py-8 overflow-hidden">\n <div [ngClass]="dynamicAnimationClasses"></div>\n</div>'
73539
- }
73693
+ examples: null
73540
73694
  },
73541
73695
  {
73542
73696
  id: "colorpalette-",
@@ -73911,7 +74065,7 @@ export class TreetableTemplateDemo implements OnInit {
73911
74065
  // package.json
73912
74066
  var package_default = {
73913
74067
  name: "@primeng/mcp",
73914
- version: "21.1.2",
74068
+ version: "21.1.3",
73915
74069
  author: "PrimeTek Informatics",
73916
74070
  description: "Model Context Protocol (MCP) server for PrimeNg component library",
73917
74071
  homepage: "https://primeng.org/",