@postnord/pn-marketweb-components 4.3.5 → 4.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/{convert-9361e443.js → convert-aa209554.js} +27 -17
- package/cjs/convert-aa209554.js.map +1 -0
- package/cjs/pn-find-price.cjs.entry.js +1 -1
- package/cjs/pn-find-service-and-price.cjs.entry.js +1 -1
- package/cjs/pn-product-pricelist.cjs.entry.js +1 -1
- package/cjs/pn-teaser-card.cjs.entry.js +1 -1
- package/cjs/pn-teaser-card.cjs.entry.js.map +1 -1
- package/collection/components/cards/pn-teaser-card/pn-teaser-card.css +2 -2
- package/collection/components/layout-components/pn-marketweb-header/pn-marketweb-header-salesforce-loader.stories.js +479 -0
- package/collection/components/layout-components/pn-marketweb-header/pn-marketweb-header-salesforce-loader.stories.js.map +1 -0
- package/components/convert.js +26 -16
- package/components/convert.js.map +1 -1
- package/components/pn-teaser-card.js +1 -1
- package/components/pn-teaser-card.js.map +1 -1
- package/esm/{convert-ecca01b6.js → convert-a9a18794.js} +27 -17
- package/esm/convert-a9a18794.js.map +1 -0
- package/esm/pn-find-price.entry.js +1 -1
- package/esm/pn-find-service-and-price.entry.js +1 -1
- package/esm/pn-product-pricelist.entry.js +1 -1
- package/esm/pn-teaser-card.entry.js +1 -1
- package/esm/pn-teaser-card.entry.js.map +1 -1
- package/package.json +1 -1
- package/pn-market-web-components/p-00e6bb4b.js +2 -0
- package/pn-market-web-components/p-00e6bb4b.js.map +1 -0
- package/pn-market-web-components/{p-c4059cc1.entry.js → p-181e40ee.entry.js} +2 -2
- package/pn-market-web-components/{p-6d263c6e.entry.js → p-96d81eb2.entry.js} +2 -2
- package/pn-market-web-components/p-96d81eb2.entry.js.map +1 -0
- package/pn-market-web-components/{p-f8ccc718.entry.js → p-a0d7154f.entry.js} +2 -2
- package/pn-market-web-components/{p-413afe7c.entry.js → p-c18154a4.entry.js} +2 -2
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/types/components/layout-components/pn-marketweb-header/pn-marketweb-header-salesforce-loader.stories.d.ts +11 -0
- package/umd/modules/@postnord/web-components/cem.json +12220 -0
- package/umd/modules/@postnord/web-components/cjs/{index-CfUQZtlH.js → index-DWu-2oJc.js} +144 -85
- package/umd/modules/@postnord/web-components/cjs/{index-CNdVg5VI.js → index-vOySuOUW.js} +1 -1
- package/umd/modules/@postnord/web-components/cjs/index.cjs.js +18 -16
- package/umd/modules/@postnord/web-components/cjs/loader.cjs.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-accordion-row.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-accordion.cjs.entry.js +5 -4
- package/umd/modules/@postnord/web-components/cjs/pn-action-menu.cjs.entry.js +6 -6
- package/umd/modules/@postnord/web-components/cjs/pn-button-dropdown.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-button_2.cjs.entry.js +3 -3
- package/umd/modules/@postnord/web-components/cjs/pn-card.cjs.entry.js +4 -4
- package/umd/modules/@postnord/web-components/cjs/pn-checkbox.cjs.entry.js +63 -21
- package/umd/modules/@postnord/web-components/cjs/pn-choice-chip.cjs.entry.js +38 -18
- package/umd/modules/@postnord/web-components/cjs/pn-counter.cjs.entry.js +71 -37
- package/umd/modules/@postnord/web-components/cjs/pn-date-picker.cjs.entry.js +185 -103
- package/umd/modules/@postnord/web-components/cjs/pn-fieldset.cjs.entry.js +33 -27
- package/umd/modules/@postnord/web-components/cjs/pn-file-upload.cjs.entry.js +73 -42
- package/umd/modules/@postnord/web-components/cjs/pn-footer.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-header.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-icon_2.cjs.entry.js +8 -10
- package/umd/modules/@postnord/web-components/cjs/pn-illustration.cjs.entry.js +3 -3
- package/umd/modules/@postnord/web-components/cjs/pn-input.cjs.entry.js +122 -89
- package/umd/modules/@postnord/web-components/cjs/pn-modal.cjs.entry.js +24 -12
- package/umd/modules/@postnord/web-components/cjs/pn-multiselect.cjs.entry.js +136 -52
- package/umd/modules/@postnord/web-components/cjs/pn-ocr-search.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav-dropdown-item.cjs.entry.js +3 -3
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav-item.cjs.entry.js +3 -3
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav.cjs.entry.js +3 -3
- package/umd/modules/@postnord/web-components/cjs/pn-pagination.cjs.entry.js +4 -4
- package/umd/modules/@postnord/web-components/cjs/pn-progress-bar.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator-step.cjs.entry.js +3 -3
- package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator.cjs.entry.js +3 -3
- package/umd/modules/@postnord/web-components/cjs/pn-progress-stepper.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-radio-button.cjs.entry.js +61 -20
- package/umd/modules/@postnord/web-components/cjs/pn-range.cjs.entry.js +88 -43
- package/umd/modules/@postnord/web-components/cjs/pn-read-only-button.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-search-field.cjs.entry.js +42 -25
- package/umd/modules/@postnord/web-components/cjs/pn-segment.cjs.entry.js +16 -11
- package/umd/modules/@postnord/web-components/cjs/pn-segmented-control.cjs.entry.js +21 -21
- package/umd/modules/@postnord/web-components/cjs/pn-select.cjs.entry.js +90 -35
- package/umd/modules/@postnord/web-components/cjs/pn-tab.cjs.entry.js +15 -10
- package/umd/modules/@postnord/web-components/cjs/pn-table.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-tablist.cjs.entry.js +5 -4
- package/umd/modules/@postnord/web-components/cjs/pn-text-link.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-textarea.cjs.entry.js +88 -34
- package/umd/modules/@postnord/web-components/cjs/pn-tile.cjs.entry.js +3 -3
- package/umd/modules/@postnord/web-components/cjs/pn-toast.cjs.entry.js +5 -5
- package/umd/modules/@postnord/web-components/cjs/pn-toggle-switch.cjs.entry.js +56 -20
- package/umd/modules/@postnord/web-components/cjs/pn-tooltip.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-wizard.cjs.entry.js +71 -49
- package/umd/modules/@postnord/web-components/cjs/pn-zipcode-search.cjs.entry.js +3 -3
- package/umd/modules/@postnord/web-components/cjs/postnord-web-components.cjs.js +3 -3
- package/umd/modules/@postnord/web-components/collection/collection-manifest.json +4 -1
- package/umd/modules/@postnord/web-components/collection/components/buttons/pn-action-menu/pn-action-menu.css +1 -10
- package/umd/modules/@postnord/web-components/collection/components/content/pn-accordion/pn-accordion.js +5 -4
- package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-icon/pn-icon.css +13 -9
- package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-icon/pn-icon.js +12 -14
- package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-illustration/pn-illustration.css +6 -2
- package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-illustration/pn-illustration.js +7 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.css +4 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.js +71 -13
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-bar/pn-progress-bar.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator-step/pn-progress-indicator-step.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/pn-progress-stepper.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-spinner/pn-spinner.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/pn-toast.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-tooltip/pn-tooltip.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-wizard/pn-wizard.css +5 -5
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-wizard/pn-wizard.js +70 -45
- package/umd/modules/@postnord/web-components/collection/components/input/pn-checkbox/pn-checkbox.css +3 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-checkbox/pn-checkbox.js +213 -52
- package/umd/modules/@postnord/web-components/collection/components/input/pn-choice-chip/pn-choice-chip.css +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-choice-chip/pn-choice-chip.js +128 -68
- package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/pn-counter.js +305 -154
- package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.js +562 -275
- package/umd/modules/@postnord/web-components/collection/components/input/pn-fieldset/pn-fieldset.css +21 -16
- package/umd/modules/@postnord/web-components/collection/components/input/pn-fieldset/pn-fieldset.js +114 -54
- package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload.css +37 -50
- package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload.js +159 -97
- package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/translation.js +7 -0
- package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.css +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.js +415 -264
- package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.css +13 -24
- package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.js +316 -131
- package/umd/modules/@postnord/web-components/collection/components/input/pn-radio-button/pn-radio-button.css +3 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-radio-button/pn-radio-button.js +223 -63
- package/umd/modules/@postnord/web-components/collection/components/input/pn-range/pn-range.css +3 -0
- package/umd/modules/@postnord/web-components/collection/components/input/pn-range/pn-range.js +357 -191
- package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/pn-search-field.css +6 -9
- package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/pn-search-field.js +177 -90
- package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/pn-segmented-control.css +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/pn-segmented-control.js +24 -24
- package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/segment/pn-segment.js +84 -37
- package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.css +18 -14
- package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.js +237 -90
- package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.css +6 -5
- package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.js +255 -115
- package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.css +5 -3
- package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.js +216 -68
- package/umd/modules/@postnord/web-components/collection/components/layout/pn-header/pn-header.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-card/pn-card.css +2 -2
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-card/pn-card.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/pn-footer.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/dropdown-item/pn-page-nav-dropdown-item.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/item/pn-page-nav-item.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/menu/pn-page-nav.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-pagination/pn-pagination.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/pn-tablist.js +4 -3
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/tab/pn-tab.css +3 -3
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/tab/pn-tab.js +11 -6
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-text-link/pn-text-link.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tile/pn-tile.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/web-components/pn-ocr-search/pn-ocr-search.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/web-components/pn-zipcode-search/pn-zipcode-search.js +1 -1
- package/umd/modules/@postnord/web-components/collection/globals/helpers.js +16 -14
- package/umd/modules/@postnord/web-components/components/helpers.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-accordion.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-action-menu.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-card.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-checkbox.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-choice-chip.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-counter.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-date-picker.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-fieldset.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-file-upload.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-footer.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-header.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-icon2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-illustration2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-input2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-modal.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-multiselect.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-ocr-search.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-page-nav-dropdown-item.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-page-nav-item.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-page-nav.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-pagination.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-progress-bar2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-progress-indicator-step.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-progress-indicator.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-progress-stepper2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-radio-button.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-range.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-search-field2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-segment.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-segmented-control.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-select2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-spinner2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-tab.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-tablist.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-text-link2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-textarea.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-tile.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-toast.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-toggle-switch.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-tooltip.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-wizard.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-zipcode-search.js +1 -1
- package/umd/modules/@postnord/web-components/esm/{index-CosyroON.js → index-DyhO6xPY.js} +1 -1
- package/umd/modules/@postnord/web-components/esm/{index-CAEP792y.js → index-XKg-ydzH.js} +144 -85
- package/umd/modules/@postnord/web-components/esm/index.js +19 -17
- package/umd/modules/@postnord/web-components/esm/loader.js +3 -3
- package/umd/modules/@postnord/web-components/esm/pn-accordion-row.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-accordion.entry.js +5 -4
- package/umd/modules/@postnord/web-components/esm/pn-action-menu.entry.js +6 -6
- package/umd/modules/@postnord/web-components/esm/pn-button-dropdown.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-button_2.entry.js +3 -3
- package/umd/modules/@postnord/web-components/esm/pn-card.entry.js +4 -4
- package/umd/modules/@postnord/web-components/esm/pn-checkbox.entry.js +63 -21
- package/umd/modules/@postnord/web-components/esm/pn-choice-chip.entry.js +38 -18
- package/umd/modules/@postnord/web-components/esm/pn-counter.entry.js +71 -37
- package/umd/modules/@postnord/web-components/esm/pn-date-picker.entry.js +185 -103
- package/umd/modules/@postnord/web-components/esm/pn-fieldset.entry.js +33 -27
- package/umd/modules/@postnord/web-components/esm/pn-file-upload.entry.js +73 -42
- package/umd/modules/@postnord/web-components/esm/pn-footer.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-header.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-icon_2.entry.js +8 -10
- package/umd/modules/@postnord/web-components/esm/pn-illustration.entry.js +3 -3
- package/umd/modules/@postnord/web-components/esm/pn-input.entry.js +122 -89
- package/umd/modules/@postnord/web-components/esm/pn-modal.entry.js +24 -12
- package/umd/modules/@postnord/web-components/esm/pn-multiselect.entry.js +137 -53
- package/umd/modules/@postnord/web-components/esm/pn-ocr-search.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-page-nav-dropdown-item.entry.js +3 -3
- package/umd/modules/@postnord/web-components/esm/pn-page-nav-item.entry.js +3 -3
- package/umd/modules/@postnord/web-components/esm/pn-page-nav.entry.js +3 -3
- package/umd/modules/@postnord/web-components/esm/pn-pagination.entry.js +4 -4
- package/umd/modules/@postnord/web-components/esm/pn-progress-bar.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-progress-indicator-step.entry.js +3 -3
- package/umd/modules/@postnord/web-components/esm/pn-progress-indicator.entry.js +3 -3
- package/umd/modules/@postnord/web-components/esm/pn-progress-stepper.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-radio-button.entry.js +61 -20
- package/umd/modules/@postnord/web-components/esm/pn-range.entry.js +88 -43
- package/umd/modules/@postnord/web-components/esm/pn-read-only-button.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-search-field.entry.js +42 -25
- package/umd/modules/@postnord/web-components/esm/pn-segment.entry.js +16 -11
- package/umd/modules/@postnord/web-components/esm/pn-segmented-control.entry.js +21 -21
- package/umd/modules/@postnord/web-components/esm/pn-select.entry.js +90 -35
- package/umd/modules/@postnord/web-components/esm/pn-tab.entry.js +15 -10
- package/umd/modules/@postnord/web-components/esm/pn-table.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-tablist.entry.js +5 -4
- package/umd/modules/@postnord/web-components/esm/pn-text-link.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-textarea.entry.js +88 -34
- package/umd/modules/@postnord/web-components/esm/pn-tile.entry.js +3 -3
- package/umd/modules/@postnord/web-components/esm/pn-toast.entry.js +5 -5
- package/umd/modules/@postnord/web-components/esm/pn-toggle-switch.entry.js +56 -20
- package/umd/modules/@postnord/web-components/esm/pn-tooltip.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-wizard.entry.js +71 -49
- package/umd/modules/@postnord/web-components/esm/pn-zipcode-search.entry.js +3 -3
- package/umd/modules/@postnord/web-components/esm/postnord-web-components.js +4 -4
- package/umd/modules/@postnord/web-components/hydrate/index.js +1715 -940
- package/umd/modules/@postnord/web-components/hydrate/index.mjs +1715 -940
- package/umd/modules/@postnord/web-components/node_modules/@rollup/rollup-linux-x64-gnu/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@rollup/rollup-linux-x64-gnu/rollup.linux-x64-gnu.node +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@rollup/rollup-linux-x64-musl/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@rollup/rollup-linux-x64-musl/rollup.linux-x64-musl.node +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.cjs +3 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.js +3 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.js +3312 -561
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/connector.html +2 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-process.js +2 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-globals/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/index.js +246 -179
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-browser.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/shadow-css.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/index.js +245 -180
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.js +59 -22
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.d.ts +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-ext-modules.d.ts +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-private.d.ts +49 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-compiler.d.ts +51 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-docs.d.ts +26 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-runtime.d.ts +23 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/index.js +238 -169
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.cjs +59 -22
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.d.ts +12 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.js +59 -22
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/package.json +10 -10
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/index.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/pixel-match.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/460.node-fetch.js +3 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/autoprefixer.js +2 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/glob.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/graceful-fs.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.js +32 -32
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/node-fetch.js +4 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/prompts.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/worker.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.js +33 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/package.json +1 -1
- package/umd/modules/@postnord/web-components/package.json +16 -16
- package/umd/modules/@postnord/web-components/postnord-web-components/index.esm.js +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-ea50ecd2.entry.js → p-020ee3f4.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-060b6ad2.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-0bf70d44.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-1ec52623.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-27c71f60.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-292a7591.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-3d2cac86.entry.js → p-3709c995.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-3db02038.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-2f4ad4a4.entry.js → p-4b9fb0fc.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-506a801d.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-518651ad.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-54917d9f.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-56ade97b.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-64207923.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-665af57e.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-6d85c967.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-6e407015.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-01ac1c67.entry.js → p-720b8b90.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-7aea3de5.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-7b6ae520.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-83d02093.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-88344f8d.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-3c96cb61.entry.js → p-895acf7f.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-8cedf2e0.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-91c6a8cf.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-98a37be9.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-9a6c90e4.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-9d2ee77a.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-9d56fb64.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-BlM_xfdt.js → p-BWAVaTWQ.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-XKg-ydzH.js +6 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-a1f92f19.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-a31d93db.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-aa15469e.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-db2b7e5d.entry.js → p-b45e58df.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-b72f9866.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-b0710b87.entry.js → p-b7a2e5b0.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-c09179d6.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-38e44ed0.entry.js → p-ce2c2395.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-d228b929.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-d71054df.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-d81b4ede.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-e11b4af5.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-c4c4c75b.entry.js → p-e5574624.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-e6ad75f9.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-e6cd4c7f.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-ede550f0.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-ef00ef4d.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/postnord-web-components.esm.js +1 -1
- package/umd/modules/@postnord/web-components/types/components/buttons/pn-action-menu/pn-action-menu.d.ts +111 -0
- package/umd/modules/@postnord/web-components/types/components/content/pn-accordion/pn-accordion.d.ts +2 -2
- package/umd/modules/@postnord/web-components/types/components/design-tokens/pn-icon/pn-icon.d.ts +5 -7
- package/umd/modules/@postnord/web-components/types/components/design-tokens/pn-illustration/pn-illustration.d.ts +8 -2
- package/umd/modules/@postnord/web-components/types/components/feedback/pn-modal/pn-modal.d.ts +17 -6
- package/umd/modules/@postnord/web-components/types/components/feedback/pn-toast/pn-toast.d.ts +100 -0
- package/umd/modules/@postnord/web-components/types/components/feedback/pn-wizard/pn-wizard.d.ts +6 -1
- package/umd/modules/@postnord/web-components/types/components/input/pn-checkbox/pn-checkbox.d.ts +124 -0
- package/umd/modules/@postnord/web-components/types/components/input/pn-choice-chip/pn-choice-chip.d.ts +31 -15
- package/umd/modules/@postnord/web-components/types/components/input/pn-counter/pn-counter.d.ts +51 -27
- package/umd/modules/@postnord/web-components/types/components/input/pn-date-picker/pn-date-picker.d.ts +338 -0
- package/umd/modules/@postnord/web-components/types/components/input/pn-fieldset/pn-fieldset.d.ts +24 -15
- package/umd/modules/@postnord/web-components/types/components/input/pn-file-upload/pn-file-upload.d.ts +36 -27
- package/umd/modules/@postnord/web-components/types/components/input/pn-file-upload/translation.d.ts +7 -0
- package/umd/modules/@postnord/web-components/types/components/input/pn-input/pn-input.d.ts +89 -66
- package/umd/modules/@postnord/web-components/types/components/input/pn-multiselect/pn-multiselect.d.ts +265 -0
- package/umd/modules/@postnord/web-components/types/components/input/pn-radio-button/pn-radio-button.d.ts +124 -0
- package/umd/modules/@postnord/web-components/types/components/input/pn-range/pn-range.d.ts +73 -42
- package/umd/modules/@postnord/web-components/types/components/input/pn-search-field/pn-search-field.d.ts +32 -21
- package/umd/modules/@postnord/web-components/types/components/input/pn-segmented-control/pn-segmented-control.d.ts +19 -18
- package/umd/modules/@postnord/web-components/types/components/input/pn-segmented-control/segment/pn-segment.d.ts +12 -9
- package/umd/modules/@postnord/web-components/types/components/input/pn-select/pn-select.d.ts +51 -31
- package/umd/modules/@postnord/web-components/types/components/input/pn-textarea/pn-textarea.d.ts +58 -27
- package/umd/modules/@postnord/web-components/types/components/input/pn-toggle-switch/pn-toggle-switch.d.ts +36 -14
- package/umd/modules/@postnord/web-components/types/components.d.ts +1851 -511
- package/umd/modules/@postnord/web-components/types/globals/mixins/index.d.ts +21 -0
- package/umd/modules/@postnord/web-components/types/stencil-public-runtime.d.ts +23 -2
- package/umd/modules/@postnord/web-components/vscode-data.json +218 -38
- package/umd/pn-marketweb-salesforce-header.js +95 -0
- package/cjs/convert-9361e443.js.map +0 -1
- package/esm/convert-ecca01b6.js.map +0 -1
- package/pn-market-web-components/p-63ff7fa2.js +0 -2
- package/pn-market-web-components/p-63ff7fa2.js.map +0 -1
- package/pn-market-web-components/p-6d263c6e.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-0dd15cc3.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-0e94a4dd.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-0ed2ee53.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-109ba1fc.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-153311c8.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-1a3c49ba.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-2610f8ab.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-267c323e.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-2a364778.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-2a682ff9.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-2cce8a9f.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-306ec758.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-3d459401.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-3deb5a9e.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-41c09d4d.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-484dfaa4.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-50116c0d.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-502b8430.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-5b7c1333.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-67f55491.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-838c17b9.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-849d48c6.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-89aaa3c8.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-8b2b6f5d.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-93db2b9e.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-97ffc4b3.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-CAEP792y.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-b3c4e3e8.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-b8c4423b.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-ba59528f.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-c0ae367c.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-c843ae5e.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-d1e27524.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-d214e930.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-d7091312.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-e3fb693e.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-e83de0b1.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-edc28eee.entry.js +0 -5
- /package/pn-market-web-components/{p-c4059cc1.entry.js.map → p-181e40ee.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-f8ccc718.entry.js.map → p-a0d7154f.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-413afe7c.entry.js.map → p-c18154a4.entry.js.map} +0 -0
|
@@ -399,17 +399,19 @@ export namespace Components {
|
|
|
399
399
|
interface PnCheckbox {
|
|
400
400
|
/**
|
|
401
401
|
* A unique HTML ID for the checkbox.
|
|
402
|
-
* @
|
|
402
|
+
* @deprecated Use `pn-id` instead.
|
|
403
|
+
* @category HTML attributes
|
|
403
404
|
*/
|
|
404
405
|
"checkboxid"?: string;
|
|
405
406
|
/**
|
|
406
|
-
*
|
|
407
|
+
* Programmatically check the input.
|
|
408
|
+
* @category Native attributes
|
|
407
409
|
* @default false
|
|
408
410
|
*/
|
|
409
411
|
"checked"?: boolean;
|
|
410
412
|
/**
|
|
411
413
|
* Disable the checkbox.
|
|
412
|
-
* @category
|
|
414
|
+
* @category Native attributes
|
|
413
415
|
* @default false
|
|
414
416
|
*/
|
|
415
417
|
"disabled"?: boolean;
|
|
@@ -417,7 +419,7 @@ export namespace Components {
|
|
|
417
419
|
* Allow the checkbox to control the slot area "content". When checked, the area is visible, when unchecked, the area is hidden. The prop `tile` must be used at the same time.
|
|
418
420
|
* @see {@link tile }
|
|
419
421
|
* @since v7.17.0
|
|
420
|
-
* @category
|
|
422
|
+
* @category Features
|
|
421
423
|
* @default false
|
|
422
424
|
*/
|
|
423
425
|
"expand"?: boolean;
|
|
@@ -428,44 +430,64 @@ export namespace Components {
|
|
|
428
430
|
/**
|
|
429
431
|
* Add an icon on the right of your checkbox tile. The `tile` prop must be `true` for the icon to work.
|
|
430
432
|
* @see {@link tile }
|
|
431
|
-
* @category
|
|
433
|
+
* @category Features
|
|
432
434
|
* @default null
|
|
433
435
|
*/
|
|
434
436
|
"icon"?: string;
|
|
435
437
|
/**
|
|
436
438
|
* Sets the checkbox to an indeterminate state, allowing for a mixed or intermediate checkbox state.
|
|
437
|
-
* @category
|
|
439
|
+
* @category Native attributes
|
|
438
440
|
* @default false
|
|
439
441
|
*/
|
|
440
442
|
"indeterminate": boolean;
|
|
441
443
|
/**
|
|
442
|
-
* If set to true, color scheme will turn red, indicating that there is an issue
|
|
443
|
-
* @category
|
|
444
|
+
* If set to true, color scheme will turn red, indicating that there is an issue related to the checkbox.
|
|
445
|
+
* @category Native attributes
|
|
444
446
|
* @default false
|
|
445
447
|
*/
|
|
446
448
|
"invalid"?: boolean;
|
|
447
449
|
/**
|
|
448
|
-
* The checkbox label
|
|
450
|
+
* The checkbox label, this is required for the checkbox to be 100% accessible out of the box.
|
|
449
451
|
*/
|
|
450
452
|
"label"?: string;
|
|
451
453
|
/**
|
|
452
454
|
* The name of the checkbox group.
|
|
455
|
+
* @category Native attributes
|
|
453
456
|
*/
|
|
454
457
|
"name"?: string;
|
|
458
|
+
/**
|
|
459
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
460
|
+
* @since v7.25.0
|
|
461
|
+
* @category HTML attributes
|
|
462
|
+
*/
|
|
463
|
+
"pnAriaLabel"?: string;
|
|
464
|
+
/**
|
|
465
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
466
|
+
* @since v7.25.0
|
|
467
|
+
* @category HTML attributes
|
|
468
|
+
*/
|
|
469
|
+
"pnAriaLabelledby"?: string;
|
|
470
|
+
/**
|
|
471
|
+
* A unique HTML ID for the checkbox.
|
|
472
|
+
* @since v7.25.0
|
|
473
|
+
* @category HTML attributes
|
|
474
|
+
*/
|
|
475
|
+
"pnId"?: string;
|
|
455
476
|
/**
|
|
456
477
|
* Set the checkbox as required.
|
|
457
|
-
* @category
|
|
478
|
+
* @category Native attributes
|
|
458
479
|
* @default false
|
|
459
480
|
*/
|
|
460
481
|
"required"?: boolean;
|
|
461
482
|
/**
|
|
462
483
|
* Turn the checkbox into a clickable tile. A border and padding is added. **Do not** use interactive elements (links/buttons) inside of the slots when using this prop. An exception is made when using the `tile` + `expand` props together, which allows you to use interactive elements.
|
|
463
|
-
* @category
|
|
484
|
+
* @category Features
|
|
464
485
|
* @default false
|
|
465
486
|
*/
|
|
466
487
|
"tile"?: boolean;
|
|
467
488
|
/**
|
|
468
489
|
* This will be emitted on change and input events.
|
|
490
|
+
* @category Native attributes
|
|
469
491
|
*/
|
|
470
492
|
"value": string;
|
|
471
493
|
}
|
|
@@ -476,58 +498,70 @@ export namespace Components {
|
|
|
476
498
|
*/
|
|
477
499
|
interface PnChoiceChip {
|
|
478
500
|
/**
|
|
479
|
-
*
|
|
501
|
+
* Programatically check the input.
|
|
502
|
+
* @category Native attributes
|
|
480
503
|
* @default false
|
|
481
504
|
*/
|
|
482
505
|
"checked"?: boolean;
|
|
483
506
|
/**
|
|
484
|
-
* A unique HTML
|
|
485
|
-
* @
|
|
507
|
+
* A unique HTML ID for the choice chip.
|
|
508
|
+
* @deprecated Use the `pn-id` prop instead.
|
|
509
|
+
* @category HTML attributes
|
|
486
510
|
*/
|
|
487
|
-
"choiceid"
|
|
511
|
+
"choiceid"?: string;
|
|
488
512
|
/**
|
|
489
|
-
* Disable the
|
|
490
|
-
* @category
|
|
513
|
+
* Disable the input.
|
|
514
|
+
* @category Native attributes
|
|
491
515
|
* @default false
|
|
492
516
|
*/
|
|
493
517
|
"disabled": boolean;
|
|
494
518
|
/**
|
|
495
|
-
*
|
|
519
|
+
* Add an icon to the choice chip.
|
|
520
|
+
* @category Features
|
|
496
521
|
*/
|
|
497
522
|
"icon"?: string;
|
|
498
523
|
/**
|
|
499
|
-
* The choice chip label
|
|
524
|
+
* The choice chip label. This is required for the component to be accessible.
|
|
500
525
|
*/
|
|
501
526
|
"label": string;
|
|
502
527
|
/**
|
|
503
|
-
*
|
|
504
|
-
* @category
|
|
528
|
+
* Use the large size for the choice chip.
|
|
529
|
+
* @category Features
|
|
505
530
|
* @default false
|
|
506
531
|
*/
|
|
507
532
|
"large": boolean;
|
|
508
533
|
/**
|
|
509
|
-
* The name of the checkbox group
|
|
534
|
+
* The name of the checkbox group. This is required if you use the `radio` prop.
|
|
535
|
+
* @category Native attributes
|
|
510
536
|
*/
|
|
511
537
|
"name"?: string;
|
|
512
538
|
/**
|
|
513
|
-
*
|
|
539
|
+
* A unique HTML ID for the choice chip
|
|
540
|
+
* @since v7.25.0
|
|
541
|
+
* @category HTML attributes
|
|
542
|
+
*/
|
|
543
|
+
"pnId"?: string;
|
|
544
|
+
/**
|
|
545
|
+
* Make the choice chip a radio input. By default, it behaves as a checkbox. You must assign a `name` for the radio to work.
|
|
546
|
+
* @category Features
|
|
514
547
|
* @default false
|
|
515
548
|
*/
|
|
516
549
|
"radio": boolean;
|
|
517
550
|
/**
|
|
518
|
-
* Set the
|
|
519
|
-
* @category
|
|
551
|
+
* Set the input as required.
|
|
552
|
+
* @category Native attributes
|
|
520
553
|
* @default false
|
|
521
554
|
*/
|
|
522
555
|
"required": boolean;
|
|
523
556
|
/**
|
|
524
|
-
*
|
|
525
|
-
* @category
|
|
557
|
+
* Use the small size for the choice chip.
|
|
558
|
+
* @category Features
|
|
526
559
|
* @default false
|
|
527
560
|
*/
|
|
528
561
|
"small": boolean;
|
|
529
562
|
/**
|
|
530
|
-
* This will be emitted on change and input
|
|
563
|
+
* This will be emitted on change and input.
|
|
564
|
+
* @category Native attributes
|
|
531
565
|
*/
|
|
532
566
|
"value": string;
|
|
533
567
|
}
|
|
@@ -540,17 +574,19 @@ export namespace Components {
|
|
|
540
574
|
/**
|
|
541
575
|
* Use the compact label variant.
|
|
542
576
|
* @since v7.21.0
|
|
577
|
+
* @category Features
|
|
543
578
|
* @default false
|
|
544
579
|
*/
|
|
545
580
|
"compact"?: boolean;
|
|
546
581
|
/**
|
|
547
|
-
* Set a unique HTML ID for the counter
|
|
548
|
-
* @
|
|
582
|
+
* Set a unique HTML ID for the counter.
|
|
583
|
+
* @deprecated Use `pn-id` instead.
|
|
584
|
+
* @category HTML attributes
|
|
549
585
|
*/
|
|
550
|
-
"counterid"
|
|
586
|
+
"counterid"?: string;
|
|
551
587
|
/**
|
|
552
588
|
* Set the counter as disabled.
|
|
553
|
-
* @category
|
|
589
|
+
* @category Native attributes
|
|
554
590
|
* @default false
|
|
555
591
|
*/
|
|
556
592
|
"disabled": boolean;
|
|
@@ -559,74 +595,100 @@ export namespace Components {
|
|
|
559
595
|
*/
|
|
560
596
|
"helpertext"?: string;
|
|
561
597
|
/**
|
|
562
|
-
*
|
|
598
|
+
* Hide the tooltips for the increase/decrease button.
|
|
599
|
+
* @since v7.25.0
|
|
600
|
+
* @category Features
|
|
601
|
+
* @default false
|
|
563
602
|
*/
|
|
564
|
-
"
|
|
603
|
+
"hideTooltips"?: boolean;
|
|
604
|
+
/**
|
|
605
|
+
* Label for the counter. This is required for the counter to be 100% accessible out of the box.
|
|
606
|
+
*/
|
|
607
|
+
"label"?: string;
|
|
565
608
|
/**
|
|
566
609
|
* Text for the decrease button. Default is "Decrease".
|
|
567
|
-
* @category
|
|
610
|
+
* @category Features
|
|
568
611
|
*/
|
|
569
612
|
"labelDecrease"?: string;
|
|
570
613
|
/**
|
|
571
614
|
* Text for the increase button. Default is "Increase".
|
|
572
|
-
* @category
|
|
615
|
+
* @category Features
|
|
573
616
|
*/
|
|
574
617
|
"labelIncrease"?: string;
|
|
575
618
|
/**
|
|
576
619
|
* Set the language manually for the built in translations.
|
|
577
|
-
* @default
|
|
620
|
+
* @default undefined
|
|
578
621
|
*/
|
|
579
622
|
"language"?: PnLanguages;
|
|
580
623
|
/**
|
|
581
624
|
* Suggest values for the counter input.
|
|
582
|
-
* @category
|
|
625
|
+
* @category Native attributes
|
|
583
626
|
*/
|
|
584
627
|
"list"?: string;
|
|
585
628
|
/**
|
|
586
629
|
* Maximum value.
|
|
587
|
-
* @category
|
|
630
|
+
* @category Native attributes
|
|
588
631
|
*/
|
|
589
|
-
"max"
|
|
632
|
+
"max"?: number;
|
|
590
633
|
/**
|
|
591
634
|
* Set a message that shows below input when user wants to set a value that is above `max`. Default is "Maximum value is x"
|
|
592
|
-
* @category
|
|
635
|
+
* @category Features
|
|
593
636
|
*/
|
|
594
637
|
"maxMessage"?: string;
|
|
595
638
|
/**
|
|
596
639
|
* Minimum value.
|
|
597
|
-
* @category
|
|
640
|
+
* @category Native attributes
|
|
598
641
|
*/
|
|
599
|
-
"min"
|
|
642
|
+
"min"?: number;
|
|
600
643
|
/**
|
|
601
644
|
* Set a message that shows below input when user wants to set a value that is below `min`. Default is "Minimum value is x"
|
|
602
|
-
* @category
|
|
645
|
+
* @category Features
|
|
603
646
|
*/
|
|
604
647
|
"minMessage"?: string;
|
|
605
648
|
/**
|
|
606
649
|
* HTML input name.
|
|
607
|
-
* @category
|
|
650
|
+
* @category Native attributes
|
|
608
651
|
*/
|
|
609
652
|
"name"?: string;
|
|
653
|
+
/**
|
|
654
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
655
|
+
* @since v7.25.0
|
|
656
|
+
* @category HTML attributes
|
|
657
|
+
*/
|
|
658
|
+
"pnAriaLabel"?: string;
|
|
659
|
+
/**
|
|
660
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
661
|
+
* @since v7.25.0
|
|
662
|
+
* @category HTML attributes
|
|
663
|
+
*/
|
|
664
|
+
"pnAriaLabelledby"?: string;
|
|
665
|
+
/**
|
|
666
|
+
* Set a unique HTML ID for the counter.
|
|
667
|
+
* @since v7.25.0
|
|
668
|
+
* @category HTML attributes
|
|
669
|
+
*/
|
|
670
|
+
"pnId"?: string;
|
|
610
671
|
/**
|
|
611
672
|
* Set the counter as readonly.
|
|
612
|
-
* @category
|
|
673
|
+
* @category Native attributes
|
|
613
674
|
* @default false
|
|
614
675
|
*/
|
|
615
676
|
"readonly": boolean;
|
|
616
677
|
/**
|
|
617
678
|
* Set the counter as required.
|
|
618
|
-
* @category
|
|
679
|
+
* @category Native attributes
|
|
619
680
|
* @default false
|
|
620
681
|
*/
|
|
621
682
|
"required": boolean;
|
|
622
683
|
/**
|
|
623
684
|
* Increase/decrease the value in steps, default is 1.
|
|
624
|
-
* @category
|
|
685
|
+
* @category Native attributes
|
|
625
686
|
* @default 1
|
|
626
687
|
*/
|
|
627
688
|
"step": number;
|
|
628
689
|
/**
|
|
629
|
-
* Set a predefined value
|
|
690
|
+
* Set a predefined value.
|
|
691
|
+
* @category Native attributes
|
|
630
692
|
* @default 0
|
|
631
693
|
*/
|
|
632
694
|
"value": number;
|
|
@@ -641,7 +703,7 @@ export namespace Components {
|
|
|
641
703
|
interface PnDatePicker {
|
|
642
704
|
/**
|
|
643
705
|
* Set the input `autocomplete` attribute.
|
|
644
|
-
* @category
|
|
706
|
+
* @category Native attributes
|
|
645
707
|
*/
|
|
646
708
|
"autocomplete"?: string;
|
|
647
709
|
/**
|
|
@@ -654,18 +716,20 @@ export namespace Components {
|
|
|
654
716
|
/**
|
|
655
717
|
* Set the date picker label as compact. If used, the `placeholder` will no longer be displayed.
|
|
656
718
|
* @since v7.21.0
|
|
719
|
+
* @category Features
|
|
657
720
|
* @default false
|
|
658
721
|
*/
|
|
659
722
|
"compact"?: boolean;
|
|
660
723
|
/**
|
|
661
724
|
* Set a custom ID for the calendar.
|
|
662
725
|
* @since v7.6.0
|
|
726
|
+
* @deprecated Use `pn-id` instead.
|
|
663
727
|
* @category HTML attributes
|
|
664
|
-
* @default this.id
|
|
665
728
|
*/
|
|
666
|
-
"dateId"
|
|
729
|
+
"dateId"?: string;
|
|
667
730
|
/**
|
|
668
731
|
* If you use a format with an unknown length, disable the max length.
|
|
732
|
+
* @since 7.11.3
|
|
669
733
|
* @category Features
|
|
670
734
|
* @default false
|
|
671
735
|
*/
|
|
@@ -686,7 +750,7 @@ export namespace Components {
|
|
|
686
750
|
/**
|
|
687
751
|
* Set the date picker as disabled.
|
|
688
752
|
* @since v7.6.0
|
|
689
|
-
* @category
|
|
753
|
+
* @category Native attributes
|
|
690
754
|
* @default false
|
|
691
755
|
*/
|
|
692
756
|
"disabled": boolean;
|
|
@@ -698,29 +762,31 @@ export namespace Components {
|
|
|
698
762
|
*/
|
|
699
763
|
"disabledDates"?: string;
|
|
700
764
|
/**
|
|
701
|
-
* Set a predefined value for the from date.
|
|
765
|
+
* Set a predefined value for the from date. (input value end)
|
|
702
766
|
* @see {@link range }
|
|
703
767
|
* @see {@link format }
|
|
768
|
+
* @category Native attributes
|
|
704
769
|
* @default ''
|
|
705
770
|
*/
|
|
706
771
|
"end": string;
|
|
707
772
|
/**
|
|
708
773
|
* Placeholder for end date (defaults to the format prop).
|
|
709
774
|
* @see {@link format }
|
|
710
|
-
* @
|
|
711
|
-
* @
|
|
775
|
+
* @deprecated Use `placeholder-end` instead
|
|
776
|
+
* @category Native attributes
|
|
712
777
|
*/
|
|
713
778
|
"endPlaceholder"?: string;
|
|
714
779
|
/**
|
|
715
780
|
* Set an error message for the date picker. Overwrites the helpertext if used at the same time.
|
|
716
781
|
* @since v7.6.0
|
|
717
|
-
* @category
|
|
782
|
+
* @category Features
|
|
718
783
|
*/
|
|
719
784
|
"error"?: string;
|
|
720
785
|
/**
|
|
721
786
|
* Set the date format of the value. While you can set any date value from the Dayjs documentation, we strongly recommend you pick a simple format that you can also type manually.
|
|
722
787
|
* @since v7.6.0
|
|
723
788
|
* @see {@link https://day.js.org/docs/en/display/format Day.js format documentation.}
|
|
789
|
+
* @category Features
|
|
724
790
|
* @default 'YYYY-MM-DD'
|
|
725
791
|
*/
|
|
726
792
|
"format": string;
|
|
@@ -731,14 +797,14 @@ export namespace Components {
|
|
|
731
797
|
/**
|
|
732
798
|
* Trigger the invalid state without an error message.
|
|
733
799
|
* @since v7.6.0
|
|
734
|
-
* @category
|
|
800
|
+
* @category Features
|
|
735
801
|
* @default false
|
|
736
802
|
*/
|
|
737
803
|
"invalid": boolean;
|
|
738
804
|
/**
|
|
739
805
|
* Set a label for the from date.
|
|
740
806
|
*/
|
|
741
|
-
"labelFrom"
|
|
807
|
+
"labelFrom"?: string;
|
|
742
808
|
/**
|
|
743
809
|
* Set a label for the to date.
|
|
744
810
|
* @see {@link range }
|
|
@@ -746,26 +812,26 @@ export namespace Components {
|
|
|
746
812
|
"labelTo"?: string;
|
|
747
813
|
/**
|
|
748
814
|
* Manually set language; this will be inherited from the topbar.
|
|
749
|
-
* @default
|
|
815
|
+
* @default undefined
|
|
750
816
|
*/
|
|
751
817
|
"language"?: PnLanguages;
|
|
752
818
|
/**
|
|
753
819
|
* Set the input `list` attribute for the first date input.
|
|
754
820
|
* @since v7.6.0
|
|
755
|
-
* @category
|
|
821
|
+
* @category Native attributes
|
|
756
822
|
*/
|
|
757
823
|
"list"?: string;
|
|
758
824
|
/**
|
|
759
825
|
* Set the input `list` attribute for the second date input.
|
|
760
826
|
* @since v7.6.0
|
|
761
|
-
* @category
|
|
827
|
+
* @category Native attributes
|
|
762
828
|
*/
|
|
763
829
|
"listEnd"?: string;
|
|
764
830
|
/**
|
|
765
831
|
* Latest date possible, this will determine how many years forward the date picker will show. Remember to use the same format that you have in the `format` prop.
|
|
766
832
|
* @see {@link format }
|
|
767
833
|
* @example "2024-06-25"
|
|
768
|
-
* @category
|
|
834
|
+
* @category Features
|
|
769
835
|
* @default null
|
|
770
836
|
*/
|
|
771
837
|
"maxDate"?: string;
|
|
@@ -773,29 +839,71 @@ export namespace Components {
|
|
|
773
839
|
* Earliest date possible, this will determine how many years back the date picker will show. Remember to use the same format that you have in the `format` prop.
|
|
774
840
|
* @see {@link format }
|
|
775
841
|
* @example "2024-05-25"
|
|
776
|
-
* @category
|
|
842
|
+
* @category Features
|
|
777
843
|
* @default null
|
|
778
844
|
*/
|
|
779
845
|
"minDate"?: string;
|
|
780
846
|
/**
|
|
781
847
|
* HTML input name
|
|
782
848
|
* @since v7.6.0
|
|
783
|
-
* @category
|
|
849
|
+
* @category Native attributes
|
|
784
850
|
*/
|
|
785
851
|
"name"?: string;
|
|
852
|
+
/**
|
|
853
|
+
* HTML input name
|
|
854
|
+
* @since v7.25.0
|
|
855
|
+
* @category Native attributes
|
|
856
|
+
*/
|
|
857
|
+
"nameEnd"?: string;
|
|
786
858
|
/**
|
|
787
859
|
* Set the HTML pattern prop on the input elements. Make sure it matches the format.
|
|
788
860
|
* @since v7.6.0
|
|
789
|
-
* @category
|
|
861
|
+
* @category Native attributes
|
|
790
862
|
*/
|
|
791
863
|
"pattern"?: string;
|
|
792
864
|
/**
|
|
793
865
|
* Placeholder for the input field (defaults to the format prop).
|
|
794
866
|
* @see {@link format }
|
|
795
|
-
* @category
|
|
796
|
-
* @default this.format
|
|
867
|
+
* @category Native attributes
|
|
797
868
|
*/
|
|
798
869
|
"placeholder"?: string;
|
|
870
|
+
/**
|
|
871
|
+
* Placeholder for end date (defaults to the format prop).
|
|
872
|
+
* @see {@link format }
|
|
873
|
+
* @since v7.25.0
|
|
874
|
+
* @category Native attributes
|
|
875
|
+
*/
|
|
876
|
+
"placeholderEnd"?: string;
|
|
877
|
+
/**
|
|
878
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label-from` prop instead.
|
|
879
|
+
* @since v7.25.0
|
|
880
|
+
* @category HTML attributes
|
|
881
|
+
*/
|
|
882
|
+
"pnAriaLabel"?: string;
|
|
883
|
+
/**
|
|
884
|
+
* Provide the label for the end input via an aria attribute. We strongly recommend you use the `label-to` prop instead.
|
|
885
|
+
* @since v7.25.0
|
|
886
|
+
* @category HTML attributes
|
|
887
|
+
*/
|
|
888
|
+
"pnAriaLabelEnd"?: string;
|
|
889
|
+
/**
|
|
890
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label-from` prop instead.
|
|
891
|
+
* @since v7.25.0
|
|
892
|
+
* @category HTML attributes
|
|
893
|
+
*/
|
|
894
|
+
"pnAriaLabelledby"?: string;
|
|
895
|
+
/**
|
|
896
|
+
* Provide the label for the end input from another element via its ID. We strongly recommend you use the `label-to` prop instead.
|
|
897
|
+
* @since v7.25.0
|
|
898
|
+
* @category HTML attributes
|
|
899
|
+
*/
|
|
900
|
+
"pnAriaLabelledbyEnd"?: string;
|
|
901
|
+
/**
|
|
902
|
+
* Set a custom ID for the calendar. If you use `range`, the end input will use `${pn-id}-end`.
|
|
903
|
+
* @since v7.25.0
|
|
904
|
+
* @category HTML attributes
|
|
905
|
+
*/
|
|
906
|
+
"pnId"?: string;
|
|
799
907
|
/**
|
|
800
908
|
* Allow the selection of a date range.
|
|
801
909
|
* @category Features
|
|
@@ -813,19 +921,20 @@ export namespace Components {
|
|
|
813
921
|
/**
|
|
814
922
|
* Set the date picker as readonly.
|
|
815
923
|
* @since v7.6.0
|
|
816
|
-
* @category
|
|
924
|
+
* @category Native attributes
|
|
817
925
|
* @default false
|
|
818
926
|
*/
|
|
819
927
|
"readonly": boolean;
|
|
820
928
|
/**
|
|
821
929
|
* Set the date picker as required.
|
|
822
|
-
* @category
|
|
930
|
+
* @category Native attributes
|
|
823
931
|
* @default false
|
|
824
932
|
*/
|
|
825
933
|
"required": boolean;
|
|
826
934
|
/**
|
|
827
|
-
* Set a predefined value for the from date.
|
|
935
|
+
* Set a predefined value for the from date (input value).
|
|
828
936
|
* @see {@link format }
|
|
937
|
+
* @category Native attributes
|
|
829
938
|
* @default ''
|
|
830
939
|
*/
|
|
831
940
|
"start": string;
|
|
@@ -833,7 +942,7 @@ export namespace Components {
|
|
|
833
942
|
* The calendar grid is shown as default. You can set either `months` or `years` as your first choice.
|
|
834
943
|
* @since v7.6.0
|
|
835
944
|
* @category Features
|
|
836
|
-
* @default
|
|
945
|
+
* @default 'calendar'
|
|
837
946
|
*/
|
|
838
947
|
"view": CalendarView;
|
|
839
948
|
/**
|
|
@@ -851,20 +960,25 @@ export namespace Components {
|
|
|
851
960
|
interface PnFieldset {
|
|
852
961
|
/**
|
|
853
962
|
* Disable all of the inputs inside of the fieldset.
|
|
963
|
+
* @category Native attributes
|
|
854
964
|
* @default false
|
|
855
965
|
*/
|
|
856
966
|
"disabled": boolean;
|
|
857
967
|
/**
|
|
858
968
|
* Error message, applies warning styles and icon.
|
|
969
|
+
* @category Features
|
|
859
970
|
*/
|
|
860
971
|
"error"?: string;
|
|
861
972
|
/**
|
|
862
|
-
*
|
|
973
|
+
* Set a custom ID for the fieldset.
|
|
974
|
+
* @deprecated Use `pn-id` instead.
|
|
975
|
+
* @category HTML attributes
|
|
863
976
|
* @default this.id
|
|
864
977
|
*/
|
|
865
978
|
"fieldsetId": string;
|
|
866
979
|
/**
|
|
867
980
|
* The id of the form you want the fieldset to be part of. If you want the inputs inside to be associated with a specific form, you need to set on those elements directly.
|
|
981
|
+
* @category Native attributes
|
|
868
982
|
*/
|
|
869
983
|
"form"?: string;
|
|
870
984
|
/**
|
|
@@ -873,6 +987,7 @@ export namespace Components {
|
|
|
873
987
|
"helpertext"?: string;
|
|
874
988
|
/**
|
|
875
989
|
* Set the fieldset as `invalid`, will add red error styles.
|
|
990
|
+
* @category Features
|
|
876
991
|
* @default false
|
|
877
992
|
*/
|
|
878
993
|
"invalid": boolean;
|
|
@@ -882,8 +997,16 @@ export namespace Components {
|
|
|
882
997
|
"legend": string;
|
|
883
998
|
/**
|
|
884
999
|
* Give the fieldset a HTML name.
|
|
1000
|
+
* @category Native attributes
|
|
885
1001
|
*/
|
|
886
1002
|
"name"?: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* Set a custom ID for the fieldset.
|
|
1005
|
+
* @since v7.25.0
|
|
1006
|
+
* @category HTML attributes
|
|
1007
|
+
* @default this.id
|
|
1008
|
+
*/
|
|
1009
|
+
"pnId": string;
|
|
887
1010
|
}
|
|
888
1011
|
/**
|
|
889
1012
|
* Users can drop files directly into the upload area of the component
|
|
@@ -895,13 +1018,13 @@ export namespace Components {
|
|
|
895
1018
|
interface PnFileUpload {
|
|
896
1019
|
/**
|
|
897
1020
|
* Set which file types the input accepts. Ex: .docs,.xml
|
|
898
|
-
* @category
|
|
1021
|
+
* @category Native attributes
|
|
899
1022
|
*/
|
|
900
1023
|
"accept": string;
|
|
901
1024
|
/**
|
|
902
1025
|
* Use the capture mode.
|
|
903
1026
|
* @since v7.1.0
|
|
904
|
-
* @category
|
|
1027
|
+
* @category Native attributes
|
|
905
1028
|
*/
|
|
906
1029
|
"capture"?: '' | 'user' | 'environment';
|
|
907
1030
|
/**
|
|
@@ -910,7 +1033,7 @@ export namespace Components {
|
|
|
910
1033
|
"clearUpload": () => Promise<void>;
|
|
911
1034
|
/**
|
|
912
1035
|
* Disable the input.
|
|
913
|
-
* @category
|
|
1036
|
+
* @category Native attributes
|
|
914
1037
|
* @default false
|
|
915
1038
|
*/
|
|
916
1039
|
"disabled": boolean;
|
|
@@ -921,6 +1044,7 @@ export namespace Components {
|
|
|
921
1044
|
"helpertext"?: string;
|
|
922
1045
|
/**
|
|
923
1046
|
* Always hide the progress bar, even when upload has begun.
|
|
1047
|
+
* @since v7.1.0
|
|
924
1048
|
* @category Features
|
|
925
1049
|
* @default false
|
|
926
1050
|
*/
|
|
@@ -932,40 +1056,47 @@ export namespace Components {
|
|
|
932
1056
|
"label"?: string;
|
|
933
1057
|
/**
|
|
934
1058
|
* Manually set the language.
|
|
935
|
-
* @
|
|
936
|
-
* @default
|
|
1059
|
+
* @since v7.1.0
|
|
1060
|
+
* @default undefined
|
|
937
1061
|
*/
|
|
938
1062
|
"language"?: PnLanguages;
|
|
939
1063
|
/**
|
|
940
1064
|
* Set maximum amount of files to be selected. Any value above 1 will force the `multiple` to be `true`.
|
|
941
|
-
* @category
|
|
1065
|
+
* @category Features
|
|
942
1066
|
* @default 1
|
|
943
1067
|
*/
|
|
944
1068
|
"limit": number;
|
|
945
1069
|
/**
|
|
946
1070
|
* Set the maximum upload size.
|
|
947
|
-
* @category
|
|
1071
|
+
* @category Features
|
|
948
1072
|
* @default ''
|
|
949
1073
|
*/
|
|
950
1074
|
"maxSize": string;
|
|
951
1075
|
/**
|
|
952
1076
|
* Allow multiple files to be selected. Will be overwritten to true, if `limit` is above 1.
|
|
953
|
-
* @category
|
|
1077
|
+
* @category Native attributes
|
|
954
1078
|
*/
|
|
955
1079
|
"multiple": boolean;
|
|
956
1080
|
/**
|
|
957
1081
|
* Set a HTML name.
|
|
958
1082
|
* @since v7.1.0
|
|
959
|
-
* @category
|
|
1083
|
+
* @category Native attributes
|
|
960
1084
|
*/
|
|
961
1085
|
"name": string;
|
|
1086
|
+
/**
|
|
1087
|
+
* Set a custom ID for the file upload.
|
|
1088
|
+
* @since v7.25.0
|
|
1089
|
+
* @category HTML attributes
|
|
1090
|
+
* @default this.id
|
|
1091
|
+
*/
|
|
1092
|
+
"pnId": string;
|
|
962
1093
|
/**
|
|
963
1094
|
* Remove the selected file.
|
|
964
1095
|
*/
|
|
965
1096
|
"removeFile": (targetFile: PnUploadFileItem) => Promise<void>;
|
|
966
1097
|
/**
|
|
967
1098
|
* Set the input as required.
|
|
968
|
-
* @category
|
|
1099
|
+
* @category Native attributes
|
|
969
1100
|
* @default false
|
|
970
1101
|
*/
|
|
971
1102
|
"required"?: boolean;
|
|
@@ -1031,15 +1162,15 @@ export namespace Components {
|
|
|
1031
1162
|
*/
|
|
1032
1163
|
interface PnIcon {
|
|
1033
1164
|
/**
|
|
1034
|
-
* Color the icon with one of the
|
|
1035
|
-
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-design-tokens-colors--docs
|
|
1165
|
+
* Color the icon with one of the following colors from our library. Has no effects if you use flags from our library.
|
|
1166
|
+
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-design-tokens-colors--docs Colors (Storybook)}
|
|
1036
1167
|
* @default 'gray900'
|
|
1037
1168
|
*/
|
|
1038
1169
|
"color"?: PnColors;
|
|
1039
1170
|
/**
|
|
1040
|
-
* The SVG content of the icon you want to use.
|
|
1041
|
-
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-design-tokens-icon--docs
|
|
1042
|
-
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-design-tokens-flag--docs
|
|
1171
|
+
* The SVG content of the icon you want to use.
|
|
1172
|
+
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-design-tokens-icon--docs Icons (Storybook)}
|
|
1173
|
+
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-design-tokens-flag--docs Flags (Storybook)}
|
|
1043
1174
|
* @default ''
|
|
1044
1175
|
*/
|
|
1045
1176
|
"icon": string;
|
|
@@ -1049,6 +1180,12 @@ export namespace Components {
|
|
|
1049
1180
|
*/
|
|
1050
1181
|
"small": boolean;
|
|
1051
1182
|
}
|
|
1183
|
+
/**
|
|
1184
|
+
* The `pn-illustration` is a wrapper for an SVG string.
|
|
1185
|
+
* The component will look at the viewBox property of the SVG to determine the default width and height,
|
|
1186
|
+
* but you can also set these manually with the `width` and `height` props.
|
|
1187
|
+
* Setting the `fill` prop will make the illustration fill its parent container, which is useful for responsive designs.
|
|
1188
|
+
*/
|
|
1052
1189
|
interface PnIllustration {
|
|
1053
1190
|
/**
|
|
1054
1191
|
* Make the SVG fill to its parent size (sets width/height 100% and `display: block` instead of `inline-block`)
|
|
@@ -1077,37 +1214,40 @@ export namespace Components {
|
|
|
1077
1214
|
interface PnInput {
|
|
1078
1215
|
/**
|
|
1079
1216
|
* Set the ID of what this input controls.
|
|
1080
|
-
* @
|
|
1217
|
+
* @deprecated Use `pn-aria-controls` instead.
|
|
1218
|
+
* @category HTML attributes
|
|
1081
1219
|
*/
|
|
1082
1220
|
"ariacontrols"?: string;
|
|
1083
1221
|
/**
|
|
1084
1222
|
* While you can use the `aria-label`, using a `label` is far more accessible.
|
|
1085
|
-
* @
|
|
1223
|
+
* @deprecated Use `pn-aria-label` instead.
|
|
1224
|
+
* @category HTML attributes
|
|
1086
1225
|
*/
|
|
1087
1226
|
"arialabel"?: string;
|
|
1088
1227
|
/**
|
|
1089
|
-
* Let the browser know what type of autocorrects the input should use. Works much better if a `name` and `
|
|
1228
|
+
* Let the browser know what type of autocorrects the input should use. Works much better if a `name` and `pn-id` is supplied.
|
|
1090
1229
|
* @see {@link name }
|
|
1091
1230
|
* @see {@link inputid }
|
|
1092
|
-
* @category
|
|
1231
|
+
* @category Native attributes
|
|
1093
1232
|
*/
|
|
1094
1233
|
"autocomplete"?: string;
|
|
1095
1234
|
/**
|
|
1096
1235
|
* Use the compact label variant. The `placeholder` you provide will not be visible if used at the same time.
|
|
1097
1236
|
* @since v7.21.0
|
|
1237
|
+
* @category Features
|
|
1098
1238
|
* @default false
|
|
1099
1239
|
*/
|
|
1100
1240
|
"compact"?: boolean;
|
|
1101
1241
|
/**
|
|
1102
1242
|
* Set the input as `disabled`.
|
|
1103
|
-
* @category
|
|
1243
|
+
* @category Native attributes
|
|
1104
1244
|
* @default false
|
|
1105
1245
|
*/
|
|
1106
1246
|
"disabled": boolean;
|
|
1107
1247
|
/**
|
|
1108
1248
|
* Set the input as `invalid` and display an error message (applies the same style as `invalid`). Error message; will take precedence over helpertext if both are provided.
|
|
1109
1249
|
* @see {@link invalid Set invalid without an error message.}
|
|
1110
|
-
* @category
|
|
1250
|
+
* @category Features
|
|
1111
1251
|
*/
|
|
1112
1252
|
"error"?: string;
|
|
1113
1253
|
/**
|
|
@@ -1117,114 +1257,140 @@ export namespace Components {
|
|
|
1117
1257
|
/**
|
|
1118
1258
|
* Select an icon to display before the input field value. `icon` takes precedence over the `text-prefix` prop.
|
|
1119
1259
|
* @see {@link textPrefix }
|
|
1120
|
-
* @category
|
|
1260
|
+
* @category Features
|
|
1121
1261
|
*/
|
|
1122
1262
|
"icon": string;
|
|
1123
1263
|
/**
|
|
1124
|
-
*
|
|
1125
|
-
* @
|
|
1264
|
+
* Set a custom ID for the input (default is a generated UUID).
|
|
1265
|
+
* @deprecated Use `pn-id` instead.
|
|
1266
|
+
* @category HTML attributes
|
|
1126
1267
|
*/
|
|
1127
|
-
"inputid"
|
|
1268
|
+
"inputid"?: string;
|
|
1128
1269
|
/**
|
|
1129
1270
|
* Hint the browser about what type of virtual keyboard should be used. The browser will be able to decide this on its own most of the time, especially if you use the `type`, `name` and `inputid` props. Leave empty or with a `''` value if you want the browsers default behaviour (`text`).
|
|
1130
|
-
* @category
|
|
1271
|
+
* @category Native attributes
|
|
1131
1272
|
*/
|
|
1132
1273
|
"inputmode"?: 'text' | 'none' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
1133
1274
|
/**
|
|
1134
1275
|
* Set the input as `invalid`. Provides a red color and red warning icon.
|
|
1135
1276
|
* @see {@link error Provide an error message.}
|
|
1136
|
-
* @category
|
|
1277
|
+
* @category Features
|
|
1137
1278
|
* @default false
|
|
1138
1279
|
*/
|
|
1139
1280
|
"invalid": boolean;
|
|
1140
1281
|
/**
|
|
1141
1282
|
* Text label placed above the input field.
|
|
1142
1283
|
*/
|
|
1143
|
-
"label"
|
|
1284
|
+
"label"?: string;
|
|
1144
1285
|
/**
|
|
1145
1286
|
* Set the language manually for the translations of show/hide/clear button text. Not needed if you have the pntopbar on the page.
|
|
1146
|
-
* @default
|
|
1287
|
+
* @default undefined
|
|
1147
1288
|
*/
|
|
1148
1289
|
"language"?: PnLanguages;
|
|
1149
1290
|
/**
|
|
1150
1291
|
* Point to a datalist element for this input.
|
|
1151
|
-
* @category
|
|
1292
|
+
* @category Native attributes
|
|
1152
1293
|
*/
|
|
1153
1294
|
"list"?: string;
|
|
1154
1295
|
/**
|
|
1155
1296
|
* Set the `max` value of the `number` input.
|
|
1156
|
-
* @category
|
|
1297
|
+
* @category Native attributes
|
|
1157
1298
|
*/
|
|
1158
1299
|
"max"?: number | string;
|
|
1159
1300
|
/**
|
|
1160
1301
|
* The maximum number of characters the user should be able to add, also adds a visible counter.
|
|
1161
|
-
* @category
|
|
1302
|
+
* @category Native attributes
|
|
1162
1303
|
*/
|
|
1163
1304
|
"maxlength": number;
|
|
1164
1305
|
/**
|
|
1165
1306
|
* Set the `min` value of the `number` input.
|
|
1166
|
-
* @category
|
|
1307
|
+
* @category Native attributes
|
|
1167
1308
|
*/
|
|
1168
1309
|
"min"?: number | string;
|
|
1169
1310
|
/**
|
|
1170
1311
|
* HTML input name. Setting a name will help the browser understand what type of data the input have and can better assist with autofill data based on previous entires much better.
|
|
1171
|
-
* @category
|
|
1312
|
+
* @category Native attributes
|
|
1172
1313
|
*/
|
|
1173
1314
|
"name"?: string;
|
|
1174
1315
|
/**
|
|
1175
1316
|
* Pattern prop.
|
|
1176
|
-
* @category
|
|
1317
|
+
* @category Native attributes
|
|
1177
1318
|
*/
|
|
1178
1319
|
"pattern"?: string;
|
|
1179
1320
|
/**
|
|
1180
1321
|
* Provide a placeholder text. Remember that this is no replacement for a label. The placeholder should be a nice addition to the label/helpertext, not important information.
|
|
1181
|
-
* @category
|
|
1322
|
+
* @category Native attributes
|
|
1182
1323
|
*/
|
|
1183
1324
|
"placeholder"?: string;
|
|
1325
|
+
/**
|
|
1326
|
+
* Set the ID of what this input controls.
|
|
1327
|
+
* @since v7.25.0
|
|
1328
|
+
* @category HTML attributes
|
|
1329
|
+
*/
|
|
1330
|
+
"pnAriaControls"?: string;
|
|
1331
|
+
/**
|
|
1332
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
1333
|
+
* @since v7.25.0
|
|
1334
|
+
* @category HTML attributes
|
|
1335
|
+
*/
|
|
1336
|
+
"pnAriaLabel"?: string;
|
|
1337
|
+
/**
|
|
1338
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
1339
|
+
* @since v7.25.0
|
|
1340
|
+
* @category HTML attributes
|
|
1341
|
+
*/
|
|
1342
|
+
"pnAriaLabelledby"?: string;
|
|
1343
|
+
/**
|
|
1344
|
+
* Set a custom ID for the input (default is a generated UUID).
|
|
1345
|
+
* @since v7.25.0
|
|
1346
|
+
* @category HTML attributes
|
|
1347
|
+
*/
|
|
1348
|
+
"pnId"?: string;
|
|
1184
1349
|
/**
|
|
1185
1350
|
* Set the input as `readonly`.
|
|
1186
|
-
* @category
|
|
1351
|
+
* @category Native attributes
|
|
1187
1352
|
* @default false
|
|
1188
1353
|
*/
|
|
1189
1354
|
"readonly": boolean;
|
|
1190
1355
|
/**
|
|
1191
1356
|
* Set the input as `required`.
|
|
1192
|
-
* @category
|
|
1357
|
+
* @category Native attributes
|
|
1193
1358
|
* @default false
|
|
1194
1359
|
*/
|
|
1195
1360
|
"required": boolean;
|
|
1196
1361
|
/**
|
|
1197
1362
|
* Set a `step` for the number input.
|
|
1198
|
-
* @category
|
|
1363
|
+
* @category Native attributes
|
|
1199
1364
|
*/
|
|
1200
1365
|
"step"?: number | string;
|
|
1201
1366
|
/**
|
|
1202
1367
|
* Set a small text before the input field value. Cannot be used together with an `icon` at the same time.
|
|
1203
1368
|
* @see {@link icon }
|
|
1204
1369
|
* @see {@link textSuffix }
|
|
1205
|
-
* @category
|
|
1370
|
+
* @category Features
|
|
1206
1371
|
*/
|
|
1207
1372
|
"textPrefix": string;
|
|
1208
1373
|
/**
|
|
1209
1374
|
* Set a small text after the input field value. Cannot be used with the `text-prefix` prop at the same time.
|
|
1210
1375
|
* @see {@link textPrefix }
|
|
1211
|
-
* @category
|
|
1376
|
+
* @category Features
|
|
1212
1377
|
*/
|
|
1213
1378
|
"textSuffix": string;
|
|
1214
1379
|
/**
|
|
1215
1380
|
* pn-input supports: `text`, `password`, `url`, `tel`, `search`, `number` & `email`.
|
|
1216
|
-
* @category
|
|
1381
|
+
* @category Native attributes
|
|
1217
1382
|
* @default 'text'
|
|
1218
1383
|
*/
|
|
1219
1384
|
"type"?: 'text' | 'password' | 'url' | 'tel' | 'search' | 'number' | 'email' | '';
|
|
1220
1385
|
/**
|
|
1221
1386
|
* Set the input as `valid`. Provides a green color and a check icon.
|
|
1222
|
-
* @category
|
|
1387
|
+
* @category Features
|
|
1223
1388
|
* @default false
|
|
1224
1389
|
*/
|
|
1225
1390
|
"valid"?: boolean;
|
|
1226
1391
|
/**
|
|
1227
1392
|
* Set the value of the input.
|
|
1393
|
+
* @category Native attributes
|
|
1228
1394
|
* @default ''
|
|
1229
1395
|
*/
|
|
1230
1396
|
"value": string;
|
|
@@ -1236,8 +1402,9 @@ export namespace Components {
|
|
|
1236
1402
|
*/
|
|
1237
1403
|
interface PnModal {
|
|
1238
1404
|
/**
|
|
1239
|
-
* Allow overflow
|
|
1405
|
+
* Allow overflow *when* it is possible. Do not use if you have a lot of conditional rendering inside the modal as it can cause layout shifts.
|
|
1240
1406
|
* @since v7.14.0
|
|
1407
|
+
* @category Features
|
|
1241
1408
|
* @default false
|
|
1242
1409
|
*/
|
|
1243
1410
|
"allowOverflow"?: boolean;
|
|
@@ -1247,7 +1414,7 @@ export namespace Components {
|
|
|
1247
1414
|
*/
|
|
1248
1415
|
"helpertext"?: string;
|
|
1249
1416
|
/**
|
|
1250
|
-
* Hide the close button. If you
|
|
1417
|
+
* Hide the close button. If you enable this, make sure you build your own cancel button.
|
|
1251
1418
|
* @since v7.14.0
|
|
1252
1419
|
* @category Features
|
|
1253
1420
|
* @default false
|
|
@@ -1272,7 +1439,7 @@ export namespace Components {
|
|
|
1272
1439
|
*/
|
|
1273
1440
|
"maxWidth"?: string;
|
|
1274
1441
|
/**
|
|
1275
|
-
*
|
|
1442
|
+
* Use this prop if you want to control the visibility of the modal programmatically.
|
|
1276
1443
|
* @category Features
|
|
1277
1444
|
* @default false
|
|
1278
1445
|
*/
|
|
@@ -1285,7 +1452,13 @@ export namespace Components {
|
|
|
1285
1452
|
*/
|
|
1286
1453
|
"persistent"?: boolean;
|
|
1287
1454
|
/**
|
|
1288
|
-
*
|
|
1455
|
+
* Set a custom HTML id.
|
|
1456
|
+
* @since v7.24.0
|
|
1457
|
+
* @default null
|
|
1458
|
+
*/
|
|
1459
|
+
"pnId"?: string;
|
|
1460
|
+
/**
|
|
1461
|
+
* Use the `sheet` visual. Aligns the modal to the right instead of the center.
|
|
1289
1462
|
* @since v7.14.0
|
|
1290
1463
|
* @category Visual
|
|
1291
1464
|
* @default false
|
|
@@ -1316,18 +1489,19 @@ export namespace Components {
|
|
|
1316
1489
|
/**
|
|
1317
1490
|
* Set the date picker label as compact. If used, the `placeholder` will no longer be displayed.
|
|
1318
1491
|
* @since v7.21.0
|
|
1492
|
+
* @category Features
|
|
1319
1493
|
* @default false
|
|
1320
1494
|
*/
|
|
1321
1495
|
"compact"?: boolean;
|
|
1322
1496
|
/**
|
|
1323
1497
|
* Disable the select.
|
|
1324
|
-
* @category
|
|
1498
|
+
* @category Native attributes
|
|
1325
1499
|
* @default false
|
|
1326
1500
|
*/
|
|
1327
1501
|
"disabled"?: boolean;
|
|
1328
1502
|
/**
|
|
1329
1503
|
* Display an error message and trigger the invalid state.
|
|
1330
|
-
* @category
|
|
1504
|
+
* @category Features
|
|
1331
1505
|
*/
|
|
1332
1506
|
"error"?: string;
|
|
1333
1507
|
/**
|
|
@@ -1336,11 +1510,12 @@ export namespace Components {
|
|
|
1336
1510
|
"helpertext"?: string;
|
|
1337
1511
|
/**
|
|
1338
1512
|
* Display an icon to the left of the select input
|
|
1513
|
+
* @category Features
|
|
1339
1514
|
*/
|
|
1340
1515
|
"icon"?: string;
|
|
1341
1516
|
/**
|
|
1342
1517
|
* Trigger the invalid state.
|
|
1343
|
-
* @category
|
|
1518
|
+
* @category Features
|
|
1344
1519
|
* @default false
|
|
1345
1520
|
*/
|
|
1346
1521
|
"invalid"?: boolean;
|
|
@@ -1354,34 +1529,54 @@ export namespace Components {
|
|
|
1354
1529
|
/**
|
|
1355
1530
|
* Label placed above the select
|
|
1356
1531
|
*/
|
|
1357
|
-
"label"
|
|
1532
|
+
"label"?: string;
|
|
1358
1533
|
/**
|
|
1359
1534
|
* Manually set the language, not needed if you have the pnTopbar available
|
|
1360
|
-
* @default
|
|
1535
|
+
* @default undefined
|
|
1361
1536
|
*/
|
|
1362
1537
|
"language"?: PnLanguages;
|
|
1363
1538
|
/**
|
|
1364
|
-
*
|
|
1365
|
-
* @description The component will automatically set the max height of the dropdown list on its own. It takes the `pn-topbar` into account and will open in the direction that fits best. Use this prop to override this behaviour and use a custom max-height.
|
|
1539
|
+
* The component will automatically set the max height of the dropdown list on its own. It takes the `pn-topbar` into account and will open in the direction that fits best. Use this prop to override this behaviour and use a custom max-height.
|
|
1366
1540
|
* @category Features
|
|
1367
1541
|
*/
|
|
1368
1542
|
"maxHeight"?: string;
|
|
1369
1543
|
/**
|
|
1370
1544
|
* HTML name of the checkbox elements. Used for each checkbox inside the multiselect.
|
|
1545
|
+
* @category Native attributes
|
|
1371
1546
|
*/
|
|
1372
1547
|
"name"?: string;
|
|
1373
1548
|
/**
|
|
1374
|
-
*
|
|
1375
|
-
* @
|
|
1549
|
+
* The array of `PnMultiselectOption` objects.
|
|
1550
|
+
* @see {@link PnMultiselectOption } for the option object properties.
|
|
1551
|
+
* @category Features
|
|
1376
1552
|
*/
|
|
1377
1553
|
"options": PnMultiselectOption[];
|
|
1378
1554
|
/**
|
|
1379
1555
|
* This is what will be shown on load if no value is used. The `placeholder` will override the default text used if you have the `search` prop active.
|
|
1556
|
+
* @category Native attributes
|
|
1380
1557
|
*/
|
|
1381
1558
|
"placeholder"?: string;
|
|
1559
|
+
/**
|
|
1560
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
1561
|
+
* @since v7.25.0
|
|
1562
|
+
* @category HTML attributes
|
|
1563
|
+
*/
|
|
1564
|
+
"pnAriaLabel"?: string;
|
|
1565
|
+
/**
|
|
1566
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
1567
|
+
* @since v7.25.0
|
|
1568
|
+
* @category HTML attributes
|
|
1569
|
+
*/
|
|
1570
|
+
"pnAriaLabelledby"?: string;
|
|
1571
|
+
/**
|
|
1572
|
+
* Set a custom ID for the select.
|
|
1573
|
+
* @since v7.25.0
|
|
1574
|
+
* @category HTML attributes
|
|
1575
|
+
*/
|
|
1576
|
+
"pnId"?: string;
|
|
1382
1577
|
/**
|
|
1383
1578
|
* Set the select as required.
|
|
1384
|
-
* @category
|
|
1579
|
+
* @category Native attributes
|
|
1385
1580
|
* @default false
|
|
1386
1581
|
*/
|
|
1387
1582
|
"required"?: boolean;
|
|
@@ -1407,11 +1602,13 @@ export namespace Components {
|
|
|
1407
1602
|
"selectAll"?: boolean;
|
|
1408
1603
|
/**
|
|
1409
1604
|
* Select HTML id
|
|
1410
|
-
* @
|
|
1605
|
+
* @deprecated Use `pn-id` instead.
|
|
1606
|
+
* @category HTML attributes
|
|
1411
1607
|
*/
|
|
1412
1608
|
"selectId"?: string;
|
|
1413
1609
|
/**
|
|
1414
1610
|
* HTML name of the input element.
|
|
1611
|
+
* @category Native attributes
|
|
1415
1612
|
*/
|
|
1416
1613
|
"selectName"?: string;
|
|
1417
1614
|
/**
|
|
@@ -1671,13 +1868,14 @@ export namespace Components {
|
|
|
1671
1868
|
*/
|
|
1672
1869
|
interface PnRadioButton {
|
|
1673
1870
|
/**
|
|
1674
|
-
*
|
|
1871
|
+
* Programmatically check the input.
|
|
1872
|
+
* @category Native attributes
|
|
1675
1873
|
* @default false
|
|
1676
1874
|
*/
|
|
1677
1875
|
"checked"?: boolean;
|
|
1678
1876
|
/**
|
|
1679
1877
|
* Disable the radio.
|
|
1680
|
-
* @category
|
|
1878
|
+
* @category Native attributes
|
|
1681
1879
|
* @default false
|
|
1682
1880
|
*/
|
|
1683
1881
|
"disabled"?: boolean;
|
|
@@ -1685,7 +1883,7 @@ export namespace Components {
|
|
|
1685
1883
|
* Allow the radio to control the slot area "content". When checked, the area is visible, when unchecked, the area is hidden. The prop `tile` must be used at the same time.
|
|
1686
1884
|
* @see {@link tile }
|
|
1687
1885
|
* @since v7.17.0
|
|
1688
|
-
* @category
|
|
1886
|
+
* @category Features
|
|
1689
1887
|
* @default false
|
|
1690
1888
|
*/
|
|
1691
1889
|
"expand"?: boolean;
|
|
@@ -1696,13 +1894,13 @@ export namespace Components {
|
|
|
1696
1894
|
/**
|
|
1697
1895
|
* Add an icon on the right of your radio tile. The `tile` prop must be `true` for the icon to work.
|
|
1698
1896
|
* @see {@link tile }
|
|
1699
|
-
* @category
|
|
1897
|
+
* @category Features
|
|
1700
1898
|
* @default null
|
|
1701
1899
|
*/
|
|
1702
1900
|
"icon"?: string;
|
|
1703
1901
|
/**
|
|
1704
1902
|
* If set to true, color scheme will turn red, indicating that there is an issue or incorrect input related the radio.
|
|
1705
|
-
* @category
|
|
1903
|
+
* @category Features
|
|
1706
1904
|
* @default false
|
|
1707
1905
|
*/
|
|
1708
1906
|
"invalid"?: boolean;
|
|
@@ -1712,27 +1910,48 @@ export namespace Components {
|
|
|
1712
1910
|
"label"?: string;
|
|
1713
1911
|
/**
|
|
1714
1912
|
* The name of the radio group.
|
|
1913
|
+
* @category Native attributes
|
|
1715
1914
|
*/
|
|
1716
1915
|
"name"?: string;
|
|
1916
|
+
/**
|
|
1917
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
1918
|
+
* @since v7.25.0
|
|
1919
|
+
* @category HTML attributes
|
|
1920
|
+
*/
|
|
1921
|
+
"pnAriaLabel"?: string;
|
|
1922
|
+
/**
|
|
1923
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
1924
|
+
* @since v7.25.0
|
|
1925
|
+
* @category HTML attributes
|
|
1926
|
+
*/
|
|
1927
|
+
"pnAriaLabelledby"?: string;
|
|
1717
1928
|
/**
|
|
1718
1929
|
* A unique HTML ID for the radio.
|
|
1719
|
-
* @
|
|
1930
|
+
* @since v7.25.0
|
|
1931
|
+
* @category HTML attributes
|
|
1932
|
+
*/
|
|
1933
|
+
"pnId"?: string;
|
|
1934
|
+
/**
|
|
1935
|
+
* A unique HTML ID for the radio.
|
|
1936
|
+
* @deprecated Use `pn-id` instead.
|
|
1937
|
+
* @category HTML attributes
|
|
1720
1938
|
*/
|
|
1721
1939
|
"radioid"?: string;
|
|
1722
1940
|
/**
|
|
1723
1941
|
* Set the radio as required.
|
|
1724
|
-
* @category
|
|
1942
|
+
* @category Native attributes
|
|
1725
1943
|
* @default false
|
|
1726
1944
|
*/
|
|
1727
1945
|
"required"?: boolean;
|
|
1728
1946
|
/**
|
|
1729
1947
|
* Turn the radio into a clickable tile. A border and padding is added. **Do not** use interactive elements (links/buttons) inside of the slots when using this prop. An exception is made when using the `tile` + `expand` props together, which allows you to use interactive elements.
|
|
1730
|
-
* @category
|
|
1948
|
+
* @category Features
|
|
1731
1949
|
* @default false
|
|
1732
1950
|
*/
|
|
1733
1951
|
"tile"?: boolean;
|
|
1734
1952
|
/**
|
|
1735
1953
|
* This will be emitted on change and input events.
|
|
1954
|
+
* @category Native attributes
|
|
1736
1955
|
*/
|
|
1737
1956
|
"value": string;
|
|
1738
1957
|
}
|
|
@@ -1746,13 +1965,13 @@ export namespace Components {
|
|
|
1746
1965
|
interface PnRange {
|
|
1747
1966
|
/**
|
|
1748
1967
|
* Disable the range input.
|
|
1749
|
-
* @category
|
|
1968
|
+
* @category Native attributes
|
|
1750
1969
|
* @default false
|
|
1751
1970
|
*/
|
|
1752
1971
|
"disabled"?: boolean;
|
|
1753
1972
|
/**
|
|
1754
1973
|
* Set an error message for the range input.
|
|
1755
|
-
* @category
|
|
1974
|
+
* @category Features
|
|
1756
1975
|
* @default null
|
|
1757
1976
|
*/
|
|
1758
1977
|
"error"?: string;
|
|
@@ -1763,11 +1982,13 @@ export namespace Components {
|
|
|
1763
1982
|
"helpertext"?: string;
|
|
1764
1983
|
/**
|
|
1765
1984
|
* Set an icon for the range/input field.
|
|
1985
|
+
* @category Features
|
|
1766
1986
|
* @default null
|
|
1767
1987
|
*/
|
|
1768
1988
|
"icon"?: string;
|
|
1769
1989
|
/**
|
|
1770
1990
|
* Set an icon at the end of the range or for the second input field when using `multiple`.
|
|
1991
|
+
* @category Features
|
|
1771
1992
|
* @default null
|
|
1772
1993
|
*/
|
|
1773
1994
|
"iconEnd"?: string;
|
|
@@ -1779,32 +2000,33 @@ export namespace Components {
|
|
|
1779
2000
|
"input"?: boolean;
|
|
1780
2001
|
/**
|
|
1781
2002
|
* Set the error visual for the range input, same as `error`, but without a message.
|
|
1782
|
-
* @category
|
|
2003
|
+
* @category Features
|
|
1783
2004
|
* @default false
|
|
1784
2005
|
*/
|
|
1785
2006
|
"invalid"?: boolean;
|
|
1786
2007
|
/**
|
|
1787
2008
|
* Label for the range input.
|
|
1788
2009
|
*/
|
|
1789
|
-
"label"
|
|
2010
|
+
"label"?: string;
|
|
1790
2011
|
/**
|
|
1791
2012
|
* Label for the range end input.
|
|
1792
2013
|
*/
|
|
1793
|
-
"labelEnd"
|
|
2014
|
+
"labelEnd"?: string;
|
|
1794
2015
|
/**
|
|
1795
2016
|
* Add markers. This will also render a `datalist` element with `options`. Omitting the `label` for a marker will use the `value` as label instead. Set `label` to `null` or `''` to hide it completely.
|
|
2017
|
+
* @category Features
|
|
1796
2018
|
* @default []
|
|
1797
2019
|
*/
|
|
1798
2020
|
"markers"?: { value: number; label?: string }[];
|
|
1799
2021
|
/**
|
|
1800
2022
|
* The range input max value.
|
|
1801
|
-
* @category
|
|
2023
|
+
* @category Native attributes
|
|
1802
2024
|
* @default 100
|
|
1803
2025
|
*/
|
|
1804
2026
|
"max"?: number;
|
|
1805
2027
|
/**
|
|
1806
2028
|
* The range input min value.
|
|
1807
|
-
* @category
|
|
2029
|
+
* @category Native attributes
|
|
1808
2030
|
* @default 0
|
|
1809
2031
|
*/
|
|
1810
2032
|
"min"?: number;
|
|
@@ -1816,37 +2038,65 @@ export namespace Components {
|
|
|
1816
2038
|
"multiple"?: boolean;
|
|
1817
2039
|
/**
|
|
1818
2040
|
* The range input name.
|
|
1819
|
-
* @category
|
|
2041
|
+
* @category Native attributes
|
|
1820
2042
|
*/
|
|
1821
2043
|
"name"?: string;
|
|
1822
2044
|
/**
|
|
1823
2045
|
* The range input name.
|
|
1824
|
-
* @category
|
|
2046
|
+
* @category Native attributes
|
|
1825
2047
|
*/
|
|
1826
2048
|
"nameEnd"?: string;
|
|
1827
2049
|
/**
|
|
1828
|
-
*
|
|
2050
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
2051
|
+
* @since v7.25.0
|
|
2052
|
+
* @category HTML attributes
|
|
2053
|
+
*/
|
|
2054
|
+
"pnAriaLabel"?: string;
|
|
2055
|
+
/**
|
|
2056
|
+
* Provide the label for the end input via an aria attribute. We strongly recommend you use the `label-end` prop instead.
|
|
2057
|
+
* @since v7.25.0
|
|
2058
|
+
* @category HTML attributes
|
|
2059
|
+
*/
|
|
2060
|
+
"pnAriaLabelEnd"?: string;
|
|
2061
|
+
/**
|
|
2062
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
2063
|
+
* @since v7.25.0
|
|
2064
|
+
* @category HTML attributes
|
|
2065
|
+
*/
|
|
2066
|
+
"pnAriaLabelledby"?: string;
|
|
2067
|
+
/**
|
|
2068
|
+
* Provide the label for the end input from another element via its ID. We strongly recommend you use the `label-end` prop instead.
|
|
2069
|
+
* @since v7.25.0
|
|
2070
|
+
* @category HTML attributes
|
|
2071
|
+
*/
|
|
2072
|
+
"pnAriaLabelledbyEnd"?: string;
|
|
2073
|
+
/**
|
|
2074
|
+
* Set a custom ID for the input.
|
|
2075
|
+
* @category HTML attributes
|
|
1829
2076
|
* @default this.id
|
|
1830
2077
|
*/
|
|
1831
2078
|
"pnId"?: string;
|
|
1832
2079
|
/**
|
|
1833
|
-
* Set a custom
|
|
2080
|
+
* Set a custom ID for the end input.
|
|
2081
|
+
* @category HTML attributes
|
|
1834
2082
|
* @default this.idEnd
|
|
1835
2083
|
*/
|
|
1836
2084
|
"pnIdEnd"?: string;
|
|
1837
2085
|
/**
|
|
1838
2086
|
* Set a step value for the range input.
|
|
1839
|
-
* @category
|
|
2087
|
+
* @category Native attributes
|
|
1840
2088
|
* @default ''
|
|
1841
2089
|
*/
|
|
1842
2090
|
"step"?: HTMLInputElement['step'];
|
|
1843
2091
|
/**
|
|
1844
2092
|
* Set a prefix for the range/input field.
|
|
2093
|
+
* @category Features
|
|
1845
2094
|
* @default null
|
|
1846
2095
|
*/
|
|
1847
2096
|
"textPrefix"?: string;
|
|
1848
2097
|
/**
|
|
1849
2098
|
* Set a suffix for the range/input field.
|
|
2099
|
+
* @category Features
|
|
1850
2100
|
* @default null
|
|
1851
2101
|
*/
|
|
1852
2102
|
"textSuffix"?: string;
|
|
@@ -1865,13 +2115,13 @@ export namespace Components {
|
|
|
1865
2115
|
"tooltipTemplate"?: string;
|
|
1866
2116
|
/**
|
|
1867
2117
|
* The range input value.
|
|
1868
|
-
* @category
|
|
2118
|
+
* @category Native attributes
|
|
1869
2119
|
* @default 0
|
|
1870
2120
|
*/
|
|
1871
2121
|
"value"?: number;
|
|
1872
2122
|
/**
|
|
1873
2123
|
* The range end input value.
|
|
1874
|
-
* @category
|
|
2124
|
+
* @category Native attributes
|
|
1875
2125
|
* @default 0
|
|
1876
2126
|
*/
|
|
1877
2127
|
"valueEnd"?: number;
|
|
@@ -1915,78 +2165,96 @@ export namespace Components {
|
|
|
1915
2165
|
interface PnSearchField {
|
|
1916
2166
|
/**
|
|
1917
2167
|
* Allow the browser to autocomplete the search field.
|
|
2168
|
+
* @category Native attributes
|
|
1918
2169
|
*/
|
|
1919
2170
|
"autocomplete"?: string;
|
|
1920
2171
|
/**
|
|
1921
2172
|
* Button variant changes the visual of the search field: - `''` Standard with a blue button. - `simple` | ~~`icon`~~ with simple white icon only button. - `auto` | ~~`icon-inline`~~ | ~~`none`~~ with a white inline search button. - `jumbo` with a larger blue icon only button.
|
|
1922
2173
|
* @since v7.18.0: Use `''`, `simple`, `auto` or `jumbo`.
|
|
1923
|
-
* @category
|
|
2174
|
+
* @category Features
|
|
1924
2175
|
* @default ''
|
|
1925
2176
|
*/
|
|
1926
2177
|
"button": PnSearchFieldButton;
|
|
1927
2178
|
/**
|
|
1928
2179
|
* Label for the button element.
|
|
1929
|
-
* @category
|
|
2180
|
+
* @category Features
|
|
1930
2181
|
*/
|
|
1931
2182
|
"buttonLabel"?: string;
|
|
1932
2183
|
/**
|
|
1933
2184
|
* Light instead of dark search button.
|
|
1934
2185
|
* @deprecated The color is now set automatically based on the button prop.
|
|
1935
|
-
* @category
|
|
2186
|
+
* @category Features
|
|
1936
2187
|
* @default false
|
|
1937
2188
|
*/
|
|
1938
2189
|
"buttonLight": boolean;
|
|
1939
2190
|
/**
|
|
1940
2191
|
* Add a tooltip to the search button.
|
|
1941
|
-
* @category
|
|
2192
|
+
* @category Features
|
|
1942
2193
|
*/
|
|
1943
2194
|
"buttonTooltip"?: string;
|
|
1944
2195
|
/**
|
|
1945
2196
|
* Disable the search field.
|
|
1946
|
-
* @category
|
|
2197
|
+
* @category Native attributes
|
|
1947
2198
|
* @default false
|
|
1948
2199
|
*/
|
|
1949
2200
|
"disabled": boolean;
|
|
1950
2201
|
/**
|
|
1951
2202
|
* Provide an aria-label for the search field.
|
|
1952
2203
|
*/
|
|
1953
|
-
"label"
|
|
2204
|
+
"label"?: string;
|
|
1954
2205
|
/**
|
|
1955
2206
|
* Override the pntopbar language.
|
|
1956
|
-
* @default
|
|
2207
|
+
* @default undefined
|
|
1957
2208
|
*/
|
|
1958
2209
|
"language"?: PnLanguages;
|
|
1959
2210
|
/**
|
|
1960
2211
|
* Point to a datalist element with this id.
|
|
2212
|
+
* @category Native attributes
|
|
1961
2213
|
*/
|
|
1962
2214
|
"list"?: string;
|
|
1963
2215
|
/**
|
|
1964
2216
|
* Display loading animation.
|
|
1965
|
-
* @category
|
|
2217
|
+
* @category Features
|
|
1966
2218
|
* @default false
|
|
1967
2219
|
*/
|
|
1968
2220
|
"loading": boolean;
|
|
1969
2221
|
/**
|
|
1970
2222
|
* Set HTML name of the search input.
|
|
2223
|
+
* @category Native attributes
|
|
1971
2224
|
*/
|
|
1972
2225
|
"name"?: string;
|
|
1973
2226
|
/**
|
|
1974
|
-
* Set a search field placeholder.
|
|
2227
|
+
* Set a search field placeholder.
|
|
2228
|
+
* @category Native attributes
|
|
1975
2229
|
*/
|
|
1976
2230
|
"placeholder"?: string;
|
|
2231
|
+
/**
|
|
2232
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
2233
|
+
* @since v7.25.0
|
|
2234
|
+
* @category HTML attributes
|
|
2235
|
+
*/
|
|
2236
|
+
"pnAriaLabelledby"?: string;
|
|
2237
|
+
/**
|
|
2238
|
+
* Set a custom ID for the search input.
|
|
2239
|
+
* @since v7.25.0
|
|
2240
|
+
* @category HTML attributes
|
|
2241
|
+
*/
|
|
2242
|
+
"pnId"?: string;
|
|
1977
2243
|
/**
|
|
1978
2244
|
* Set the search field as required.
|
|
1979
|
-
* @category
|
|
2245
|
+
* @category Native attributes
|
|
1980
2246
|
* @default false
|
|
1981
2247
|
*/
|
|
1982
2248
|
"required": boolean;
|
|
1983
2249
|
/**
|
|
1984
2250
|
* Set a unique ID for the search input.
|
|
1985
|
-
* @
|
|
2251
|
+
* @deprecated Use `pn-id` instead.
|
|
2252
|
+
* @category HTML attributes
|
|
1986
2253
|
*/
|
|
1987
|
-
"searchid"
|
|
2254
|
+
"searchid"?: string;
|
|
1988
2255
|
/**
|
|
1989
2256
|
* Set the value of the search field.
|
|
2257
|
+
* @category Native attributes
|
|
1990
2258
|
* @default ''
|
|
1991
2259
|
*/
|
|
1992
2260
|
"value": string;
|
|
@@ -1999,11 +2267,13 @@ export namespace Components {
|
|
|
1999
2267
|
/**
|
|
2000
2268
|
* Disable the segment.
|
|
2001
2269
|
* @since v7.7.0
|
|
2270
|
+
* @category Native attributes
|
|
2002
2271
|
* @default false
|
|
2003
2272
|
*/
|
|
2004
2273
|
"disabled": boolean;
|
|
2005
2274
|
/**
|
|
2006
2275
|
* The SVG content of the icon you want.
|
|
2276
|
+
* @category Features
|
|
2007
2277
|
*/
|
|
2008
2278
|
"icon"?: string;
|
|
2009
2279
|
/**
|
|
@@ -2013,13 +2283,21 @@ export namespace Components {
|
|
|
2013
2283
|
"label"?: string;
|
|
2014
2284
|
/**
|
|
2015
2285
|
* The segment controller name.
|
|
2286
|
+
* @category Native attributes
|
|
2016
2287
|
*/
|
|
2017
2288
|
"name": string;
|
|
2018
2289
|
/**
|
|
2019
|
-
*
|
|
2020
|
-
* @
|
|
2290
|
+
* Set a custom ID for the segment.
|
|
2291
|
+
* @since v7.25.0
|
|
2292
|
+
* @category HTML attributes
|
|
2021
2293
|
*/
|
|
2022
|
-
"
|
|
2294
|
+
"pnId"?: string;
|
|
2295
|
+
/**
|
|
2296
|
+
* Set a custom ID for the segment.
|
|
2297
|
+
* @deprecated Use `pn-id` instead.
|
|
2298
|
+
* @category HTML attributes
|
|
2299
|
+
*/
|
|
2300
|
+
"segmentid"?: string;
|
|
2023
2301
|
/**
|
|
2024
2302
|
* Set the segment as selected. Used by the `pn-segmented-control`. **Do not use manually**.
|
|
2025
2303
|
* @hide true
|
|
@@ -2028,6 +2306,7 @@ export namespace Components {
|
|
|
2028
2306
|
"selected": boolean;
|
|
2029
2307
|
/**
|
|
2030
2308
|
* The segment value.
|
|
2309
|
+
* @category Native attributes
|
|
2031
2310
|
*/
|
|
2032
2311
|
"value": string;
|
|
2033
2312
|
}
|
|
@@ -2041,11 +2320,11 @@ export namespace Components {
|
|
|
2041
2320
|
* This is the name of the radio buttons inside the controller.
|
|
2042
2321
|
* @deprecated Set the name in the nested `pn-segment` components.
|
|
2043
2322
|
*/
|
|
2044
|
-
"name"
|
|
2323
|
+
"name"?: string;
|
|
2045
2324
|
/**
|
|
2046
2325
|
* Currently active segment value.
|
|
2047
2326
|
*/
|
|
2048
|
-
"value"
|
|
2327
|
+
"value"?: string;
|
|
2049
2328
|
}
|
|
2050
2329
|
/**
|
|
2051
2330
|
* The `pn-select` uses a native `select` element under the hood.
|
|
@@ -2056,29 +2335,30 @@ export namespace Components {
|
|
|
2056
2335
|
interface PnSelect {
|
|
2057
2336
|
/**
|
|
2058
2337
|
* HTML autocomplete.
|
|
2059
|
-
* @category
|
|
2338
|
+
* @category Native attributes
|
|
2060
2339
|
*/
|
|
2061
2340
|
"autocomplete": string;
|
|
2062
2341
|
/**
|
|
2063
2342
|
* Use the compact label variant.
|
|
2064
2343
|
* @since v7.21.0
|
|
2344
|
+
* @category Features
|
|
2065
2345
|
* @default false
|
|
2066
2346
|
*/
|
|
2067
2347
|
"compact"?: boolean;
|
|
2068
2348
|
/**
|
|
2069
2349
|
* Disable the select.
|
|
2070
|
-
* @category
|
|
2350
|
+
* @category Native attributes
|
|
2071
2351
|
* @default false
|
|
2072
2352
|
*/
|
|
2073
2353
|
"disabled"?: boolean;
|
|
2074
2354
|
/**
|
|
2075
2355
|
* Display an error message and trigger the invalid state.
|
|
2076
|
-
* @category
|
|
2356
|
+
* @category Features
|
|
2077
2357
|
*/
|
|
2078
2358
|
"error"?: string;
|
|
2079
2359
|
/**
|
|
2080
2360
|
* HTML form name.
|
|
2081
|
-
* @category
|
|
2361
|
+
* @category Native attributes
|
|
2082
2362
|
*/
|
|
2083
2363
|
"form": string;
|
|
2084
2364
|
/**
|
|
@@ -2087,34 +2367,54 @@ export namespace Components {
|
|
|
2087
2367
|
"helpertext"?: string;
|
|
2088
2368
|
/**
|
|
2089
2369
|
* Display an icon to the left of the select input.
|
|
2370
|
+
* @category Features
|
|
2090
2371
|
*/
|
|
2091
2372
|
"icon"?: string;
|
|
2092
2373
|
/**
|
|
2093
2374
|
* Trigger the invalid state.
|
|
2094
|
-
* @category
|
|
2375
|
+
* @category Features
|
|
2095
2376
|
* @default false
|
|
2096
2377
|
*/
|
|
2097
2378
|
"invalid"?: boolean;
|
|
2098
2379
|
/**
|
|
2099
2380
|
* Label placed above the select.
|
|
2100
2381
|
*/
|
|
2101
|
-
"label"
|
|
2382
|
+
"label"?: string;
|
|
2102
2383
|
/**
|
|
2103
2384
|
* HTML select name.
|
|
2104
|
-
* @category
|
|
2385
|
+
* @category Native attributes
|
|
2105
2386
|
*/
|
|
2106
2387
|
"name": string;
|
|
2388
|
+
/**
|
|
2389
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
2390
|
+
* @since v7.25.0
|
|
2391
|
+
* @category HTML attributes
|
|
2392
|
+
*/
|
|
2393
|
+
"pnAriaLabel"?: string;
|
|
2394
|
+
/**
|
|
2395
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
2396
|
+
* @since v7.25.0
|
|
2397
|
+
* @category HTML attributes
|
|
2398
|
+
*/
|
|
2399
|
+
"pnAriaLabelledby"?: string;
|
|
2400
|
+
/**
|
|
2401
|
+
* Set a custom ID for the select.
|
|
2402
|
+
* @since v7.25.0
|
|
2403
|
+
* @category HTML attributes
|
|
2404
|
+
*/
|
|
2405
|
+
"pnId"?: string;
|
|
2107
2406
|
/**
|
|
2108
2407
|
* Set the select as required.
|
|
2109
|
-
* @category
|
|
2408
|
+
* @category Native attributes
|
|
2110
2409
|
* @default false
|
|
2111
2410
|
*/
|
|
2112
2411
|
"required"?: boolean;
|
|
2113
2412
|
/**
|
|
2114
|
-
*
|
|
2115
|
-
* @
|
|
2413
|
+
* Set a custom ID for the select.
|
|
2414
|
+
* @deprecated Use `pn-id` instead.
|
|
2415
|
+
* @category HTML attributes
|
|
2116
2416
|
*/
|
|
2117
|
-
"selectId"
|
|
2417
|
+
"selectId"?: string;
|
|
2118
2418
|
}
|
|
2119
2419
|
/**
|
|
2120
2420
|
* Display a spinner to indicate a loading state.
|
|
@@ -2343,36 +2643,37 @@ export namespace Components {
|
|
|
2343
2643
|
interface PnTextarea {
|
|
2344
2644
|
/**
|
|
2345
2645
|
* Allow the browser to autocomplete the textarea.
|
|
2346
|
-
* @category
|
|
2646
|
+
* @category Native attributes
|
|
2347
2647
|
* @default 'off'
|
|
2348
2648
|
*/
|
|
2349
2649
|
"autocomplete"?: string;
|
|
2350
2650
|
/**
|
|
2351
2651
|
* Set the col count for the textarea.
|
|
2352
|
-
* @category
|
|
2652
|
+
* @category Native attributes
|
|
2353
2653
|
* @default 20
|
|
2354
2654
|
*/
|
|
2355
2655
|
"cols"?: number;
|
|
2356
2656
|
/**
|
|
2357
2657
|
* Use the compact label variant.
|
|
2358
2658
|
* @since v7.21.0
|
|
2659
|
+
* @category Features
|
|
2359
2660
|
* @default false
|
|
2360
2661
|
*/
|
|
2361
2662
|
"compact"?: boolean;
|
|
2362
2663
|
/**
|
|
2363
2664
|
* Disable the textarea.
|
|
2364
|
-
* @category
|
|
2665
|
+
* @category Native attributes
|
|
2365
2666
|
* @default false
|
|
2366
2667
|
*/
|
|
2367
2668
|
"disabled"?: boolean;
|
|
2368
2669
|
/**
|
|
2369
2670
|
* Same as `invalid`, but will display the string as an error message under the textarea.
|
|
2370
|
-
* @category
|
|
2671
|
+
* @category Features
|
|
2371
2672
|
*/
|
|
2372
2673
|
"error"?: string;
|
|
2373
2674
|
/**
|
|
2374
2675
|
* Set the associated form.
|
|
2375
|
-
* @category
|
|
2676
|
+
* @category Native attributes
|
|
2376
2677
|
*/
|
|
2377
2678
|
"form"?: string;
|
|
2378
2679
|
/**
|
|
@@ -2381,79 +2682,98 @@ export namespace Components {
|
|
|
2381
2682
|
"helpertext"?: string;
|
|
2382
2683
|
/**
|
|
2383
2684
|
* Set the textarea as `invalid`, will make the Label and focus rings red.
|
|
2384
|
-
* @category
|
|
2685
|
+
* @category Features
|
|
2385
2686
|
* @default false
|
|
2386
2687
|
*/
|
|
2387
2688
|
"invalid"?: boolean;
|
|
2388
2689
|
/**
|
|
2389
2690
|
* The label describing the textarea.
|
|
2390
2691
|
*/
|
|
2391
|
-
"label"
|
|
2692
|
+
"label"?: string;
|
|
2392
2693
|
/**
|
|
2393
2694
|
* The maximum number of characters the user should be able to add, also adds a visible counter.
|
|
2394
|
-
* @category
|
|
2695
|
+
* @category Native attributes
|
|
2395
2696
|
*/
|
|
2396
2697
|
"maxlength"?: number;
|
|
2397
2698
|
/**
|
|
2398
2699
|
* HTML name.
|
|
2399
|
-
* @category
|
|
2700
|
+
* @category Native attributes
|
|
2400
2701
|
*/
|
|
2401
2702
|
"name"?: string;
|
|
2402
2703
|
/**
|
|
2403
2704
|
* Placeholder for the textarea.
|
|
2404
|
-
* @category
|
|
2705
|
+
* @category Native attributes
|
|
2405
2706
|
*/
|
|
2406
2707
|
"placeholder"?: string;
|
|
2708
|
+
/**
|
|
2709
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
2710
|
+
* @since v7.25.0
|
|
2711
|
+
* @category HTML attributes
|
|
2712
|
+
*/
|
|
2713
|
+
"pnAriaLabel"?: string;
|
|
2714
|
+
/**
|
|
2715
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
2716
|
+
* @since v7.25.0
|
|
2717
|
+
* @category HTML attributes
|
|
2718
|
+
*/
|
|
2719
|
+
"pnAriaLabelledby"?: string;
|
|
2720
|
+
/**
|
|
2721
|
+
* Set a custom ID for the textarea.
|
|
2722
|
+
* @since v7.25.0
|
|
2723
|
+
* @category HTML attributes
|
|
2724
|
+
*/
|
|
2725
|
+
"pnId"?: string;
|
|
2407
2726
|
/**
|
|
2408
2727
|
* Make the textarea readonly.
|
|
2409
|
-
* @category
|
|
2728
|
+
* @category Native attributes
|
|
2410
2729
|
* @default false
|
|
2411
2730
|
*/
|
|
2412
2731
|
"readonly"?: boolean;
|
|
2413
2732
|
/**
|
|
2414
2733
|
* Make the textarea required.
|
|
2415
|
-
* @category
|
|
2734
|
+
* @category Native attributes
|
|
2416
2735
|
* @default false
|
|
2417
2736
|
*/
|
|
2418
2737
|
"required"?: boolean;
|
|
2419
2738
|
/**
|
|
2420
2739
|
* Allow the user to resize the textarea vertically. Handle width in your own layout.
|
|
2421
|
-
* @category
|
|
2740
|
+
* @category Native attributes
|
|
2422
2741
|
* @default false
|
|
2423
2742
|
*/
|
|
2424
2743
|
"resize"?: boolean;
|
|
2425
2744
|
/**
|
|
2426
2745
|
* Set the row count for the textarea.
|
|
2427
|
-
* @category
|
|
2746
|
+
* @category Native attributes
|
|
2428
2747
|
* @default 2
|
|
2429
2748
|
*/
|
|
2430
2749
|
"rows"?: number;
|
|
2431
2750
|
/**
|
|
2432
2751
|
* Allow the browser to spellcheck the textarea.
|
|
2433
|
-
* @category
|
|
2752
|
+
* @category Native attributes
|
|
2434
2753
|
* @default false
|
|
2435
2754
|
*/
|
|
2436
2755
|
"spellcheck": boolean;
|
|
2437
2756
|
/**
|
|
2438
|
-
*
|
|
2439
|
-
* @
|
|
2440
|
-
* @
|
|
2757
|
+
* Set a custom ID for the textarea.
|
|
2758
|
+
* @deprecated Use `pn-id` instead.
|
|
2759
|
+
* @category HTML attributes
|
|
2441
2760
|
*/
|
|
2442
2761
|
"textareaid"?: string;
|
|
2443
2762
|
/**
|
|
2444
2763
|
* Set the textarea as `valid`, will make the Label and focus rings green.
|
|
2445
|
-
* @category
|
|
2764
|
+
* @category Features
|
|
2446
2765
|
* @default false
|
|
2447
2766
|
*/
|
|
2448
2767
|
"valid"?: boolean;
|
|
2449
2768
|
/**
|
|
2450
2769
|
* The textarea content, do not provide slotted content.
|
|
2770
|
+
* @category Native attributes
|
|
2451
2771
|
* @default ''
|
|
2452
2772
|
*/
|
|
2453
2773
|
"value": string;
|
|
2454
2774
|
/**
|
|
2455
2775
|
* Set the wrap control.
|
|
2456
|
-
* @category
|
|
2776
|
+
* @category Native attributes
|
|
2457
2777
|
* @default 'soft'
|
|
2458
2778
|
*/
|
|
2459
2779
|
"wrap"?: string;
|
|
@@ -2580,12 +2900,13 @@ export namespace Components {
|
|
|
2580
2900
|
interface PnToggleSwitch {
|
|
2581
2901
|
/**
|
|
2582
2902
|
* Precheck the toggle.
|
|
2903
|
+
* @category Native attributes
|
|
2583
2904
|
* @default false
|
|
2584
2905
|
*/
|
|
2585
2906
|
"checked": boolean;
|
|
2586
2907
|
/**
|
|
2587
2908
|
* Disable the toggle.
|
|
2588
|
-
* @category
|
|
2909
|
+
* @category Native attributes
|
|
2589
2910
|
* @default false
|
|
2590
2911
|
*/
|
|
2591
2912
|
"disabled": boolean;
|
|
@@ -2596,39 +2917,65 @@ export namespace Components {
|
|
|
2596
2917
|
/**
|
|
2597
2918
|
* A label for the toggle switch.
|
|
2598
2919
|
*/
|
|
2599
|
-
"label"
|
|
2920
|
+
"label"?: string;
|
|
2600
2921
|
/**
|
|
2601
2922
|
* Make the toggle larger.
|
|
2602
|
-
* @category
|
|
2923
|
+
* @category Features
|
|
2603
2924
|
* @default false
|
|
2604
2925
|
*/
|
|
2605
2926
|
"large": boolean;
|
|
2606
2927
|
/**
|
|
2607
2928
|
* Set the loading state.
|
|
2608
|
-
* @category
|
|
2929
|
+
* @category Features
|
|
2609
2930
|
* @default false
|
|
2610
2931
|
*/
|
|
2611
2932
|
"loading": boolean;
|
|
2612
2933
|
/**
|
|
2613
2934
|
* HTML toggle name.
|
|
2614
|
-
* @category
|
|
2935
|
+
* @category Native attributes
|
|
2615
2936
|
* @default null
|
|
2616
2937
|
*/
|
|
2617
2938
|
"name"?: string;
|
|
2939
|
+
/**
|
|
2940
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
2941
|
+
* @since v7.25.0
|
|
2942
|
+
* @category HTML attributes
|
|
2943
|
+
*/
|
|
2944
|
+
"pnAriaLabel"?: string;
|
|
2945
|
+
/**
|
|
2946
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
2947
|
+
* @since v7.25.0
|
|
2948
|
+
* @category HTML attributes
|
|
2949
|
+
*/
|
|
2950
|
+
"pnAriaLabelledby"?: string;
|
|
2951
|
+
/**
|
|
2952
|
+
* Set a custom ID for the switch.
|
|
2953
|
+
* @since v7.25.0
|
|
2954
|
+
* @category HTML attributes
|
|
2955
|
+
*/
|
|
2956
|
+
"pnId"?: string;
|
|
2957
|
+
/**
|
|
2958
|
+
* Set the switch as required.
|
|
2959
|
+
* @since v7.25.0
|
|
2960
|
+
* @category Native attributes
|
|
2961
|
+
* @default false
|
|
2962
|
+
*/
|
|
2963
|
+
"required": boolean;
|
|
2618
2964
|
/**
|
|
2619
2965
|
* Make the toggle smaller.
|
|
2620
|
-
* @category
|
|
2966
|
+
* @category Features
|
|
2621
2967
|
* @default false
|
|
2622
2968
|
*/
|
|
2623
2969
|
"small": boolean;
|
|
2624
2970
|
/**
|
|
2625
|
-
* Set a
|
|
2626
|
-
* @
|
|
2971
|
+
* Set a custom ID for the switch.
|
|
2972
|
+
* @deprecated Use `pn-id` instead.
|
|
2973
|
+
* @category HTML attributes
|
|
2627
2974
|
*/
|
|
2628
|
-
"toggleid"
|
|
2975
|
+
"toggleid"?: string;
|
|
2629
2976
|
/**
|
|
2630
2977
|
* HTML toggle value.
|
|
2631
|
-
* @category
|
|
2978
|
+
* @category Native attributes
|
|
2632
2979
|
* @default null
|
|
2633
2980
|
*/
|
|
2634
2981
|
"value"?: string;
|
|
@@ -2746,7 +3093,7 @@ export namespace Components {
|
|
|
2746
3093
|
*/
|
|
2747
3094
|
"step": number;
|
|
2748
3095
|
/**
|
|
2749
|
-
* The list of querySelectors that the wizards will highlight. Recommended maximum of 7 steps.
|
|
3096
|
+
* The list of querySelectors that the wizards will highlight. If a selector is invalid or empty, the wizard will be centered on the screen. Recommended maximum of 7 steps.
|
|
2750
3097
|
* @category Wizard steps
|
|
2751
3098
|
* @default []
|
|
2752
3099
|
*/
|
|
@@ -2783,6 +3130,10 @@ export interface PnCardCustomEvent<T> extends CustomEvent<T> {
|
|
|
2783
3130
|
detail: T;
|
|
2784
3131
|
target: HTMLPnCardElement;
|
|
2785
3132
|
}
|
|
3133
|
+
export interface PnCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
3134
|
+
detail: T;
|
|
3135
|
+
target: HTMLPnCheckboxElement;
|
|
3136
|
+
}
|
|
2786
3137
|
export interface PnCounterCustomEvent<T> extends CustomEvent<T> {
|
|
2787
3138
|
detail: T;
|
|
2788
3139
|
target: HTMLPnCounterElement;
|
|
@@ -2827,6 +3178,10 @@ export interface PnProgressIndicatorStepCustomEvent<T> extends CustomEvent<T> {
|
|
|
2827
3178
|
detail: T;
|
|
2828
3179
|
target: HTMLPnProgressIndicatorStepElement;
|
|
2829
3180
|
}
|
|
3181
|
+
export interface PnRadioButtonCustomEvent<T> extends CustomEvent<T> {
|
|
3182
|
+
detail: T;
|
|
3183
|
+
target: HTMLPnRadioButtonElement;
|
|
3184
|
+
}
|
|
2830
3185
|
export interface PnRangeCustomEvent<T> extends CustomEvent<T> {
|
|
2831
3186
|
detail: T;
|
|
2832
3187
|
target: HTMLPnRangeElement;
|
|
@@ -2992,12 +3347,23 @@ declare global {
|
|
|
2992
3347
|
prototype: HTMLPnCardElement;
|
|
2993
3348
|
new (): HTMLPnCardElement;
|
|
2994
3349
|
};
|
|
3350
|
+
interface HTMLPnCheckboxElementEventMap {
|
|
3351
|
+
"pnCheckboxChange": Event;
|
|
3352
|
+
}
|
|
2995
3353
|
/**
|
|
2996
3354
|
* The `pn-checkbox` is built with a native `input[type="checkbox"]` in the background.
|
|
2997
3355
|
* This means you can use native events to listen to the changes.
|
|
2998
3356
|
* @nativeChange Use the `change` event to listen when the checkbox state is being toggled.
|
|
2999
3357
|
*/
|
|
3000
3358
|
interface HTMLPnCheckboxElement extends Components.PnCheckbox, HTMLStencilElement {
|
|
3359
|
+
addEventListener<K extends keyof HTMLPnCheckboxElementEventMap>(type: K, listener: (this: HTMLPnCheckboxElement, ev: PnCheckboxCustomEvent<HTMLPnCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3360
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3361
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3362
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3363
|
+
removeEventListener<K extends keyof HTMLPnCheckboxElementEventMap>(type: K, listener: (this: HTMLPnCheckboxElement, ev: PnCheckboxCustomEvent<HTMLPnCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3364
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3365
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3366
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3001
3367
|
}
|
|
3002
3368
|
var HTMLPnCheckboxElement: {
|
|
3003
3369
|
prototype: HTMLPnCheckboxElement;
|
|
@@ -3142,6 +3508,12 @@ declare global {
|
|
|
3142
3508
|
prototype: HTMLPnIconElement;
|
|
3143
3509
|
new (): HTMLPnIconElement;
|
|
3144
3510
|
};
|
|
3511
|
+
/**
|
|
3512
|
+
* The `pn-illustration` is a wrapper for an SVG string.
|
|
3513
|
+
* The component will look at the viewBox property of the SVG to determine the default width and height,
|
|
3514
|
+
* but you can also set these manually with the `width` and `height` props.
|
|
3515
|
+
* Setting the `fill` prop will make the illustration fill its parent container, which is useful for responsive designs.
|
|
3516
|
+
*/
|
|
3145
3517
|
interface HTMLPnIllustrationElement extends Components.PnIllustration, HTMLStencilElement {
|
|
3146
3518
|
}
|
|
3147
3519
|
var HTMLPnIllustrationElement: {
|
|
@@ -3162,6 +3534,7 @@ declare global {
|
|
|
3162
3534
|
};
|
|
3163
3535
|
interface HTMLPnModalElementEventMap {
|
|
3164
3536
|
"modalToggle": { open: boolean };
|
|
3537
|
+
"modalVisibility": { visible: boolean };
|
|
3165
3538
|
"modalVisiblity": { visible: boolean };
|
|
3166
3539
|
"close": boolean;
|
|
3167
3540
|
}
|
|
@@ -3370,12 +3743,23 @@ declare global {
|
|
|
3370
3743
|
prototype: HTMLPnProgressStepperElement;
|
|
3371
3744
|
new (): HTMLPnProgressStepperElement;
|
|
3372
3745
|
};
|
|
3746
|
+
interface HTMLPnRadioButtonElementEventMap {
|
|
3747
|
+
"pnRadioChange": Event;
|
|
3748
|
+
}
|
|
3373
3749
|
/**
|
|
3374
3750
|
* The `pn-radio-button` is built with a native `input[type="radio"]` in the background.
|
|
3375
3751
|
* This means you can use native events to listen to the changes.
|
|
3376
3752
|
* @nativeChange Use the `change` event to listen when the radio state is being changed.
|
|
3377
3753
|
*/
|
|
3378
3754
|
interface HTMLPnRadioButtonElement extends Components.PnRadioButton, HTMLStencilElement {
|
|
3755
|
+
addEventListener<K extends keyof HTMLPnRadioButtonElementEventMap>(type: K, listener: (this: HTMLPnRadioButtonElement, ev: PnRadioButtonCustomEvent<HTMLPnRadioButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3756
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3757
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3758
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3759
|
+
removeEventListener<K extends keyof HTMLPnRadioButtonElementEventMap>(type: K, listener: (this: HTMLPnRadioButtonElement, ev: PnRadioButtonCustomEvent<HTMLPnRadioButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3760
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3761
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3762
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3379
3763
|
}
|
|
3380
3764
|
var HTMLPnRadioButtonElement: {
|
|
3381
3765
|
prototype: HTMLPnRadioButtonElement;
|
|
@@ -3758,6 +4142,8 @@ declare global {
|
|
|
3758
4142
|
}
|
|
3759
4143
|
}
|
|
3760
4144
|
declare namespace LocalJSX {
|
|
4145
|
+
type OneOf<K extends string, PropT, AttrT = PropT> = { [P in K]: PropT } & { [P in `attr:${K}` | `prop:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K | `prop:${K}`]?: never } | { [P in `prop:${K}`]: PropT } & { [P in K | `attr:${K}`]?: never };
|
|
4146
|
+
|
|
3761
4147
|
/**
|
|
3762
4148
|
* The `pn-accordion` is a wrapper for `pn-accordion-row` components.
|
|
3763
4149
|
* This component gives the accordion rows some space between each one and provides the `single` feature.
|
|
@@ -4177,17 +4563,19 @@ declare namespace LocalJSX {
|
|
|
4177
4563
|
interface PnCheckbox {
|
|
4178
4564
|
/**
|
|
4179
4565
|
* A unique HTML ID for the checkbox.
|
|
4180
|
-
* @
|
|
4566
|
+
* @deprecated Use `pn-id` instead.
|
|
4567
|
+
* @category HTML attributes
|
|
4181
4568
|
*/
|
|
4182
4569
|
"checkboxid"?: string;
|
|
4183
4570
|
/**
|
|
4184
|
-
*
|
|
4571
|
+
* Programmatically check the input.
|
|
4572
|
+
* @category Native attributes
|
|
4185
4573
|
* @default false
|
|
4186
4574
|
*/
|
|
4187
4575
|
"checked"?: boolean;
|
|
4188
4576
|
/**
|
|
4189
4577
|
* Disable the checkbox.
|
|
4190
|
-
* @category
|
|
4578
|
+
* @category Native attributes
|
|
4191
4579
|
* @default false
|
|
4192
4580
|
*/
|
|
4193
4581
|
"disabled"?: boolean;
|
|
@@ -4195,7 +4583,7 @@ declare namespace LocalJSX {
|
|
|
4195
4583
|
* Allow the checkbox to control the slot area "content". When checked, the area is visible, when unchecked, the area is hidden. The prop `tile` must be used at the same time.
|
|
4196
4584
|
* @see {@link tile }
|
|
4197
4585
|
* @since v7.17.0
|
|
4198
|
-
* @category
|
|
4586
|
+
* @category Features
|
|
4199
4587
|
* @default false
|
|
4200
4588
|
*/
|
|
4201
4589
|
"expand"?: boolean;
|
|
@@ -4206,44 +4594,69 @@ declare namespace LocalJSX {
|
|
|
4206
4594
|
/**
|
|
4207
4595
|
* Add an icon on the right of your checkbox tile. The `tile` prop must be `true` for the icon to work.
|
|
4208
4596
|
* @see {@link tile }
|
|
4209
|
-
* @category
|
|
4597
|
+
* @category Features
|
|
4210
4598
|
* @default null
|
|
4211
4599
|
*/
|
|
4212
4600
|
"icon"?: string;
|
|
4213
4601
|
/**
|
|
4214
4602
|
* Sets the checkbox to an indeterminate state, allowing for a mixed or intermediate checkbox state.
|
|
4215
|
-
* @category
|
|
4603
|
+
* @category Native attributes
|
|
4216
4604
|
* @default false
|
|
4217
4605
|
*/
|
|
4218
4606
|
"indeterminate"?: boolean;
|
|
4219
4607
|
/**
|
|
4220
|
-
* If set to true, color scheme will turn red, indicating that there is an issue
|
|
4221
|
-
* @category
|
|
4608
|
+
* If set to true, color scheme will turn red, indicating that there is an issue related to the checkbox.
|
|
4609
|
+
* @category Native attributes
|
|
4222
4610
|
* @default false
|
|
4223
4611
|
*/
|
|
4224
4612
|
"invalid"?: boolean;
|
|
4225
4613
|
/**
|
|
4226
|
-
* The checkbox label
|
|
4614
|
+
* The checkbox label, this is required for the checkbox to be 100% accessible out of the box.
|
|
4227
4615
|
*/
|
|
4228
4616
|
"label"?: string;
|
|
4229
4617
|
/**
|
|
4230
4618
|
* The name of the checkbox group.
|
|
4619
|
+
* @category Native attributes
|
|
4231
4620
|
*/
|
|
4232
4621
|
"name"?: string;
|
|
4622
|
+
/**
|
|
4623
|
+
* This is the same as the native `change` event, but without bubbling. This is useful when you want to listen to the event directly on the `pn-checkbox` element without having to worry about catching events from nested pn-checkboxes.
|
|
4624
|
+
* @since v7.25.0
|
|
4625
|
+
*/
|
|
4626
|
+
"onPnCheckboxChange"?: (event: PnCheckboxCustomEvent<Event>) => void;
|
|
4627
|
+
/**
|
|
4628
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
4629
|
+
* @since v7.25.0
|
|
4630
|
+
* @category HTML attributes
|
|
4631
|
+
*/
|
|
4632
|
+
"pnAriaLabel"?: string;
|
|
4633
|
+
/**
|
|
4634
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
4635
|
+
* @since v7.25.0
|
|
4636
|
+
* @category HTML attributes
|
|
4637
|
+
*/
|
|
4638
|
+
"pnAriaLabelledby"?: string;
|
|
4639
|
+
/**
|
|
4640
|
+
* A unique HTML ID for the checkbox.
|
|
4641
|
+
* @since v7.25.0
|
|
4642
|
+
* @category HTML attributes
|
|
4643
|
+
*/
|
|
4644
|
+
"pnId"?: string;
|
|
4233
4645
|
/**
|
|
4234
4646
|
* Set the checkbox as required.
|
|
4235
|
-
* @category
|
|
4647
|
+
* @category Native attributes
|
|
4236
4648
|
* @default false
|
|
4237
4649
|
*/
|
|
4238
4650
|
"required"?: boolean;
|
|
4239
4651
|
/**
|
|
4240
4652
|
* Turn the checkbox into a clickable tile. A border and padding is added. **Do not** use interactive elements (links/buttons) inside of the slots when using this prop. An exception is made when using the `tile` + `expand` props together, which allows you to use interactive elements.
|
|
4241
|
-
* @category
|
|
4653
|
+
* @category Features
|
|
4242
4654
|
* @default false
|
|
4243
4655
|
*/
|
|
4244
4656
|
"tile"?: boolean;
|
|
4245
4657
|
/**
|
|
4246
4658
|
* This will be emitted on change and input events.
|
|
4659
|
+
* @category Native attributes
|
|
4247
4660
|
*/
|
|
4248
4661
|
"value": string;
|
|
4249
4662
|
}
|
|
@@ -4254,58 +4667,70 @@ declare namespace LocalJSX {
|
|
|
4254
4667
|
*/
|
|
4255
4668
|
interface PnChoiceChip {
|
|
4256
4669
|
/**
|
|
4257
|
-
*
|
|
4670
|
+
* Programatically check the input.
|
|
4671
|
+
* @category Native attributes
|
|
4258
4672
|
* @default false
|
|
4259
4673
|
*/
|
|
4260
4674
|
"checked"?: boolean;
|
|
4261
4675
|
/**
|
|
4262
|
-
* A unique HTML
|
|
4263
|
-
* @
|
|
4676
|
+
* A unique HTML ID for the choice chip.
|
|
4677
|
+
* @deprecated Use the `pn-id` prop instead.
|
|
4678
|
+
* @category HTML attributes
|
|
4264
4679
|
*/
|
|
4265
4680
|
"choiceid"?: string;
|
|
4266
4681
|
/**
|
|
4267
|
-
* Disable the
|
|
4268
|
-
* @category
|
|
4682
|
+
* Disable the input.
|
|
4683
|
+
* @category Native attributes
|
|
4269
4684
|
* @default false
|
|
4270
4685
|
*/
|
|
4271
4686
|
"disabled"?: boolean;
|
|
4272
4687
|
/**
|
|
4273
|
-
*
|
|
4688
|
+
* Add an icon to the choice chip.
|
|
4689
|
+
* @category Features
|
|
4274
4690
|
*/
|
|
4275
4691
|
"icon"?: string;
|
|
4276
4692
|
/**
|
|
4277
|
-
* The choice chip label
|
|
4693
|
+
* The choice chip label. This is required for the component to be accessible.
|
|
4278
4694
|
*/
|
|
4279
4695
|
"label": string;
|
|
4280
4696
|
/**
|
|
4281
|
-
*
|
|
4282
|
-
* @category
|
|
4697
|
+
* Use the large size for the choice chip.
|
|
4698
|
+
* @category Features
|
|
4283
4699
|
* @default false
|
|
4284
4700
|
*/
|
|
4285
4701
|
"large"?: boolean;
|
|
4286
4702
|
/**
|
|
4287
|
-
* The name of the checkbox group
|
|
4703
|
+
* The name of the checkbox group. This is required if you use the `radio` prop.
|
|
4704
|
+
* @category Native attributes
|
|
4288
4705
|
*/
|
|
4289
4706
|
"name"?: string;
|
|
4290
4707
|
/**
|
|
4291
|
-
*
|
|
4708
|
+
* A unique HTML ID for the choice chip
|
|
4709
|
+
* @since v7.25.0
|
|
4710
|
+
* @category HTML attributes
|
|
4711
|
+
*/
|
|
4712
|
+
"pnId"?: string;
|
|
4713
|
+
/**
|
|
4714
|
+
* Make the choice chip a radio input. By default, it behaves as a checkbox. You must assign a `name` for the radio to work.
|
|
4715
|
+
* @category Features
|
|
4292
4716
|
* @default false
|
|
4293
4717
|
*/
|
|
4294
4718
|
"radio"?: boolean;
|
|
4295
4719
|
/**
|
|
4296
|
-
* Set the
|
|
4297
|
-
* @category
|
|
4720
|
+
* Set the input as required.
|
|
4721
|
+
* @category Native attributes
|
|
4298
4722
|
* @default false
|
|
4299
4723
|
*/
|
|
4300
4724
|
"required"?: boolean;
|
|
4301
4725
|
/**
|
|
4302
|
-
*
|
|
4303
|
-
* @category
|
|
4726
|
+
* Use the small size for the choice chip.
|
|
4727
|
+
* @category Features
|
|
4304
4728
|
* @default false
|
|
4305
4729
|
*/
|
|
4306
4730
|
"small"?: boolean;
|
|
4307
4731
|
/**
|
|
4308
|
-
* This will be emitted on change and input
|
|
4732
|
+
* This will be emitted on change and input.
|
|
4733
|
+
* @category Native attributes
|
|
4309
4734
|
*/
|
|
4310
4735
|
"value": string;
|
|
4311
4736
|
}
|
|
@@ -4318,17 +4743,19 @@ declare namespace LocalJSX {
|
|
|
4318
4743
|
/**
|
|
4319
4744
|
* Use the compact label variant.
|
|
4320
4745
|
* @since v7.21.0
|
|
4746
|
+
* @category Features
|
|
4321
4747
|
* @default false
|
|
4322
4748
|
*/
|
|
4323
4749
|
"compact"?: boolean;
|
|
4324
4750
|
/**
|
|
4325
|
-
* Set a unique HTML ID for the counter
|
|
4326
|
-
* @
|
|
4751
|
+
* Set a unique HTML ID for the counter.
|
|
4752
|
+
* @deprecated Use `pn-id` instead.
|
|
4753
|
+
* @category HTML attributes
|
|
4327
4754
|
*/
|
|
4328
4755
|
"counterid"?: string;
|
|
4329
4756
|
/**
|
|
4330
4757
|
* Set the counter as disabled.
|
|
4331
|
-
* @category
|
|
4758
|
+
* @category Native attributes
|
|
4332
4759
|
* @default false
|
|
4333
4760
|
*/
|
|
4334
4761
|
"disabled"?: boolean;
|
|
@@ -4337,78 +4764,104 @@ declare namespace LocalJSX {
|
|
|
4337
4764
|
*/
|
|
4338
4765
|
"helpertext"?: string;
|
|
4339
4766
|
/**
|
|
4340
|
-
*
|
|
4767
|
+
* Hide the tooltips for the increase/decrease button.
|
|
4768
|
+
* @since v7.25.0
|
|
4769
|
+
* @category Features
|
|
4770
|
+
* @default false
|
|
4341
4771
|
*/
|
|
4342
|
-
"
|
|
4772
|
+
"hideTooltips"?: boolean;
|
|
4773
|
+
/**
|
|
4774
|
+
* Label for the counter. This is required for the counter to be 100% accessible out of the box.
|
|
4775
|
+
*/
|
|
4776
|
+
"label"?: string;
|
|
4343
4777
|
/**
|
|
4344
4778
|
* Text for the decrease button. Default is "Decrease".
|
|
4345
|
-
* @category
|
|
4779
|
+
* @category Features
|
|
4346
4780
|
*/
|
|
4347
4781
|
"labelDecrease"?: string;
|
|
4348
4782
|
/**
|
|
4349
4783
|
* Text for the increase button. Default is "Increase".
|
|
4350
|
-
* @category
|
|
4784
|
+
* @category Features
|
|
4351
4785
|
*/
|
|
4352
4786
|
"labelIncrease"?: string;
|
|
4353
4787
|
/**
|
|
4354
4788
|
* Set the language manually for the built in translations.
|
|
4355
|
-
* @default
|
|
4789
|
+
* @default undefined
|
|
4356
4790
|
*/
|
|
4357
4791
|
"language"?: PnLanguages;
|
|
4358
4792
|
/**
|
|
4359
4793
|
* Suggest values for the counter input.
|
|
4360
|
-
* @category
|
|
4794
|
+
* @category Native attributes
|
|
4361
4795
|
*/
|
|
4362
4796
|
"list"?: string;
|
|
4363
4797
|
/**
|
|
4364
4798
|
* Maximum value.
|
|
4365
|
-
* @category
|
|
4799
|
+
* @category Native attributes
|
|
4366
4800
|
*/
|
|
4367
4801
|
"max"?: number;
|
|
4368
4802
|
/**
|
|
4369
4803
|
* Set a message that shows below input when user wants to set a value that is above `max`. Default is "Maximum value is x"
|
|
4370
|
-
* @category
|
|
4804
|
+
* @category Features
|
|
4371
4805
|
*/
|
|
4372
4806
|
"maxMessage"?: string;
|
|
4373
4807
|
/**
|
|
4374
4808
|
* Minimum value.
|
|
4375
|
-
* @category
|
|
4809
|
+
* @category Native attributes
|
|
4376
4810
|
*/
|
|
4377
4811
|
"min"?: number;
|
|
4378
4812
|
/**
|
|
4379
4813
|
* Set a message that shows below input when user wants to set a value that is below `min`. Default is "Minimum value is x"
|
|
4380
|
-
* @category
|
|
4814
|
+
* @category Features
|
|
4381
4815
|
*/
|
|
4382
4816
|
"minMessage"?: string;
|
|
4383
4817
|
/**
|
|
4384
4818
|
* HTML input name.
|
|
4385
|
-
* @category
|
|
4819
|
+
* @category Native attributes
|
|
4386
4820
|
*/
|
|
4387
4821
|
"name"?: string;
|
|
4388
4822
|
/**
|
|
4389
4823
|
* Instead of listening to multiple input, change and/or click events, we bundled them into one. - `value` is the current counter value. - `input` is true if the user changed the value with the HTML input. - `decrease` is true if the user clicked on the decrease button. - `increase` is true if the user clicked on the increase button.
|
|
4390
4824
|
*/
|
|
4391
4825
|
"onCounterInput"?: (event: PnCounterCustomEvent<{ value: number; input?: boolean; decrease?: boolean; increase?: boolean }>) => void;
|
|
4826
|
+
/**
|
|
4827
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
4828
|
+
* @since v7.25.0
|
|
4829
|
+
* @category HTML attributes
|
|
4830
|
+
*/
|
|
4831
|
+
"pnAriaLabel"?: string;
|
|
4832
|
+
/**
|
|
4833
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
4834
|
+
* @since v7.25.0
|
|
4835
|
+
* @category HTML attributes
|
|
4836
|
+
*/
|
|
4837
|
+
"pnAriaLabelledby"?: string;
|
|
4838
|
+
/**
|
|
4839
|
+
* Set a unique HTML ID for the counter.
|
|
4840
|
+
* @since v7.25.0
|
|
4841
|
+
* @category HTML attributes
|
|
4842
|
+
*/
|
|
4843
|
+
"pnId"?: string;
|
|
4392
4844
|
/**
|
|
4393
4845
|
* Set the counter as readonly.
|
|
4394
|
-
* @category
|
|
4846
|
+
* @category Native attributes
|
|
4395
4847
|
* @default false
|
|
4396
4848
|
*/
|
|
4397
4849
|
"readonly"?: boolean;
|
|
4398
4850
|
/**
|
|
4399
4851
|
* Set the counter as required.
|
|
4400
|
-
* @category
|
|
4852
|
+
* @category Native attributes
|
|
4401
4853
|
* @default false
|
|
4402
4854
|
*/
|
|
4403
4855
|
"required"?: boolean;
|
|
4404
4856
|
/**
|
|
4405
4857
|
* Increase/decrease the value in steps, default is 1.
|
|
4406
|
-
* @category
|
|
4858
|
+
* @category Native attributes
|
|
4407
4859
|
* @default 1
|
|
4408
4860
|
*/
|
|
4409
4861
|
"step"?: number;
|
|
4410
4862
|
/**
|
|
4411
|
-
* Set a predefined value
|
|
4863
|
+
* Set a predefined value.
|
|
4864
|
+
* @category Native attributes
|
|
4412
4865
|
* @default 0
|
|
4413
4866
|
*/
|
|
4414
4867
|
"value"?: number;
|
|
@@ -4423,7 +4876,7 @@ declare namespace LocalJSX {
|
|
|
4423
4876
|
interface PnDatePicker {
|
|
4424
4877
|
/**
|
|
4425
4878
|
* Set the input `autocomplete` attribute.
|
|
4426
|
-
* @category
|
|
4879
|
+
* @category Native attributes
|
|
4427
4880
|
*/
|
|
4428
4881
|
"autocomplete"?: string;
|
|
4429
4882
|
/**
|
|
@@ -4436,18 +4889,20 @@ declare namespace LocalJSX {
|
|
|
4436
4889
|
/**
|
|
4437
4890
|
* Set the date picker label as compact. If used, the `placeholder` will no longer be displayed.
|
|
4438
4891
|
* @since v7.21.0
|
|
4892
|
+
* @category Features
|
|
4439
4893
|
* @default false
|
|
4440
4894
|
*/
|
|
4441
4895
|
"compact"?: boolean;
|
|
4442
4896
|
/**
|
|
4443
4897
|
* Set a custom ID for the calendar.
|
|
4444
4898
|
* @since v7.6.0
|
|
4899
|
+
* @deprecated Use `pn-id` instead.
|
|
4445
4900
|
* @category HTML attributes
|
|
4446
|
-
* @default this.id
|
|
4447
4901
|
*/
|
|
4448
4902
|
"dateId"?: string;
|
|
4449
4903
|
/**
|
|
4450
4904
|
* If you use a format with an unknown length, disable the max length.
|
|
4905
|
+
* @since 7.11.3
|
|
4451
4906
|
* @category Features
|
|
4452
4907
|
* @default false
|
|
4453
4908
|
*/
|
|
@@ -4468,7 +4923,7 @@ declare namespace LocalJSX {
|
|
|
4468
4923
|
/**
|
|
4469
4924
|
* Set the date picker as disabled.
|
|
4470
4925
|
* @since v7.6.0
|
|
4471
|
-
* @category
|
|
4926
|
+
* @category Native attributes
|
|
4472
4927
|
* @default false
|
|
4473
4928
|
*/
|
|
4474
4929
|
"disabled"?: boolean;
|
|
@@ -4480,29 +4935,31 @@ declare namespace LocalJSX {
|
|
|
4480
4935
|
*/
|
|
4481
4936
|
"disabledDates"?: string;
|
|
4482
4937
|
/**
|
|
4483
|
-
* Set a predefined value for the from date.
|
|
4938
|
+
* Set a predefined value for the from date. (input value end)
|
|
4484
4939
|
* @see {@link range }
|
|
4485
4940
|
* @see {@link format }
|
|
4941
|
+
* @category Native attributes
|
|
4486
4942
|
* @default ''
|
|
4487
4943
|
*/
|
|
4488
4944
|
"end"?: string;
|
|
4489
4945
|
/**
|
|
4490
4946
|
* Placeholder for end date (defaults to the format prop).
|
|
4491
4947
|
* @see {@link format }
|
|
4492
|
-
* @
|
|
4493
|
-
* @
|
|
4948
|
+
* @deprecated Use `placeholder-end` instead
|
|
4949
|
+
* @category Native attributes
|
|
4494
4950
|
*/
|
|
4495
4951
|
"endPlaceholder"?: string;
|
|
4496
4952
|
/**
|
|
4497
4953
|
* Set an error message for the date picker. Overwrites the helpertext if used at the same time.
|
|
4498
4954
|
* @since v7.6.0
|
|
4499
|
-
* @category
|
|
4955
|
+
* @category Features
|
|
4500
4956
|
*/
|
|
4501
4957
|
"error"?: string;
|
|
4502
4958
|
/**
|
|
4503
4959
|
* Set the date format of the value. While you can set any date value from the Dayjs documentation, we strongly recommend you pick a simple format that you can also type manually.
|
|
4504
4960
|
* @since v7.6.0
|
|
4505
4961
|
* @see {@link https://day.js.org/docs/en/display/format Day.js format documentation.}
|
|
4962
|
+
* @category Features
|
|
4506
4963
|
* @default 'YYYY-MM-DD'
|
|
4507
4964
|
*/
|
|
4508
4965
|
"format"?: string;
|
|
@@ -4513,14 +4970,14 @@ declare namespace LocalJSX {
|
|
|
4513
4970
|
/**
|
|
4514
4971
|
* Trigger the invalid state without an error message.
|
|
4515
4972
|
* @since v7.6.0
|
|
4516
|
-
* @category
|
|
4973
|
+
* @category Features
|
|
4517
4974
|
* @default false
|
|
4518
4975
|
*/
|
|
4519
4976
|
"invalid"?: boolean;
|
|
4520
4977
|
/**
|
|
4521
4978
|
* Set a label for the from date.
|
|
4522
4979
|
*/
|
|
4523
|
-
"labelFrom"
|
|
4980
|
+
"labelFrom"?: string;
|
|
4524
4981
|
/**
|
|
4525
4982
|
* Set a label for the to date.
|
|
4526
4983
|
* @see {@link range }
|
|
@@ -4528,26 +4985,26 @@ declare namespace LocalJSX {
|
|
|
4528
4985
|
"labelTo"?: string;
|
|
4529
4986
|
/**
|
|
4530
4987
|
* Manually set language; this will be inherited from the topbar.
|
|
4531
|
-
* @default
|
|
4988
|
+
* @default undefined
|
|
4532
4989
|
*/
|
|
4533
4990
|
"language"?: PnLanguages;
|
|
4534
4991
|
/**
|
|
4535
4992
|
* Set the input `list` attribute for the first date input.
|
|
4536
4993
|
* @since v7.6.0
|
|
4537
|
-
* @category
|
|
4994
|
+
* @category Native attributes
|
|
4538
4995
|
*/
|
|
4539
4996
|
"list"?: string;
|
|
4540
4997
|
/**
|
|
4541
4998
|
* Set the input `list` attribute for the second date input.
|
|
4542
4999
|
* @since v7.6.0
|
|
4543
|
-
* @category
|
|
5000
|
+
* @category Native attributes
|
|
4544
5001
|
*/
|
|
4545
5002
|
"listEnd"?: string;
|
|
4546
5003
|
/**
|
|
4547
5004
|
* Latest date possible, this will determine how many years forward the date picker will show. Remember to use the same format that you have in the `format` prop.
|
|
4548
5005
|
* @see {@link format }
|
|
4549
5006
|
* @example "2024-06-25"
|
|
4550
|
-
* @category
|
|
5007
|
+
* @category Features
|
|
4551
5008
|
* @default null
|
|
4552
5009
|
*/
|
|
4553
5010
|
"maxDate"?: string;
|
|
@@ -4555,16 +5012,22 @@ declare namespace LocalJSX {
|
|
|
4555
5012
|
* Earliest date possible, this will determine how many years back the date picker will show. Remember to use the same format that you have in the `format` prop.
|
|
4556
5013
|
* @see {@link format }
|
|
4557
5014
|
* @example "2024-05-25"
|
|
4558
|
-
* @category
|
|
5015
|
+
* @category Features
|
|
4559
5016
|
* @default null
|
|
4560
5017
|
*/
|
|
4561
5018
|
"minDate"?: string;
|
|
4562
5019
|
/**
|
|
4563
5020
|
* HTML input name
|
|
4564
5021
|
* @since v7.6.0
|
|
4565
|
-
* @category
|
|
5022
|
+
* @category Native attributes
|
|
4566
5023
|
*/
|
|
4567
5024
|
"name"?: string;
|
|
5025
|
+
/**
|
|
5026
|
+
* HTML input name
|
|
5027
|
+
* @since v7.25.0
|
|
5028
|
+
* @category Native attributes
|
|
5029
|
+
*/
|
|
5030
|
+
"nameEnd"?: string;
|
|
4568
5031
|
/**
|
|
4569
5032
|
* Emmitted when you select a new view.
|
|
4570
5033
|
* @since v7.6.0
|
|
@@ -4593,16 +5056,52 @@ declare namespace LocalJSX {
|
|
|
4593
5056
|
/**
|
|
4594
5057
|
* Set the HTML pattern prop on the input elements. Make sure it matches the format.
|
|
4595
5058
|
* @since v7.6.0
|
|
4596
|
-
* @category
|
|
5059
|
+
* @category Native attributes
|
|
4597
5060
|
*/
|
|
4598
5061
|
"pattern"?: string;
|
|
4599
5062
|
/**
|
|
4600
5063
|
* Placeholder for the input field (defaults to the format prop).
|
|
4601
5064
|
* @see {@link format }
|
|
4602
|
-
* @category
|
|
4603
|
-
* @default this.format
|
|
5065
|
+
* @category Native attributes
|
|
4604
5066
|
*/
|
|
4605
5067
|
"placeholder"?: string;
|
|
5068
|
+
/**
|
|
5069
|
+
* Placeholder for end date (defaults to the format prop).
|
|
5070
|
+
* @see {@link format }
|
|
5071
|
+
* @since v7.25.0
|
|
5072
|
+
* @category Native attributes
|
|
5073
|
+
*/
|
|
5074
|
+
"placeholderEnd"?: string;
|
|
5075
|
+
/**
|
|
5076
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label-from` prop instead.
|
|
5077
|
+
* @since v7.25.0
|
|
5078
|
+
* @category HTML attributes
|
|
5079
|
+
*/
|
|
5080
|
+
"pnAriaLabel"?: string;
|
|
5081
|
+
/**
|
|
5082
|
+
* Provide the label for the end input via an aria attribute. We strongly recommend you use the `label-to` prop instead.
|
|
5083
|
+
* @since v7.25.0
|
|
5084
|
+
* @category HTML attributes
|
|
5085
|
+
*/
|
|
5086
|
+
"pnAriaLabelEnd"?: string;
|
|
5087
|
+
/**
|
|
5088
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label-from` prop instead.
|
|
5089
|
+
* @since v7.25.0
|
|
5090
|
+
* @category HTML attributes
|
|
5091
|
+
*/
|
|
5092
|
+
"pnAriaLabelledby"?: string;
|
|
5093
|
+
/**
|
|
5094
|
+
* Provide the label for the end input from another element via its ID. We strongly recommend you use the `label-to` prop instead.
|
|
5095
|
+
* @since v7.25.0
|
|
5096
|
+
* @category HTML attributes
|
|
5097
|
+
*/
|
|
5098
|
+
"pnAriaLabelledbyEnd"?: string;
|
|
5099
|
+
/**
|
|
5100
|
+
* Set a custom ID for the calendar. If you use `range`, the end input will use `${pn-id}-end`.
|
|
5101
|
+
* @since v7.25.0
|
|
5102
|
+
* @category HTML attributes
|
|
5103
|
+
*/
|
|
5104
|
+
"pnId"?: string;
|
|
4606
5105
|
/**
|
|
4607
5106
|
* Allow the selection of a date range.
|
|
4608
5107
|
* @category Features
|
|
@@ -4620,19 +5119,20 @@ declare namespace LocalJSX {
|
|
|
4620
5119
|
/**
|
|
4621
5120
|
* Set the date picker as readonly.
|
|
4622
5121
|
* @since v7.6.0
|
|
4623
|
-
* @category
|
|
5122
|
+
* @category Native attributes
|
|
4624
5123
|
* @default false
|
|
4625
5124
|
*/
|
|
4626
5125
|
"readonly"?: boolean;
|
|
4627
5126
|
/**
|
|
4628
5127
|
* Set the date picker as required.
|
|
4629
|
-
* @category
|
|
5128
|
+
* @category Native attributes
|
|
4630
5129
|
* @default false
|
|
4631
5130
|
*/
|
|
4632
5131
|
"required"?: boolean;
|
|
4633
5132
|
/**
|
|
4634
|
-
* Set a predefined value for the from date.
|
|
5133
|
+
* Set a predefined value for the from date (input value).
|
|
4635
5134
|
* @see {@link format }
|
|
5135
|
+
* @category Native attributes
|
|
4636
5136
|
* @default ''
|
|
4637
5137
|
*/
|
|
4638
5138
|
"start"?: string;
|
|
@@ -4640,7 +5140,7 @@ declare namespace LocalJSX {
|
|
|
4640
5140
|
* The calendar grid is shown as default. You can set either `months` or `years` as your first choice.
|
|
4641
5141
|
* @since v7.6.0
|
|
4642
5142
|
* @category Features
|
|
4643
|
-
* @default
|
|
5143
|
+
* @default 'calendar'
|
|
4644
5144
|
*/
|
|
4645
5145
|
"view"?: CalendarView;
|
|
4646
5146
|
/**
|
|
@@ -4658,20 +5158,25 @@ declare namespace LocalJSX {
|
|
|
4658
5158
|
interface PnFieldset {
|
|
4659
5159
|
/**
|
|
4660
5160
|
* Disable all of the inputs inside of the fieldset.
|
|
5161
|
+
* @category Native attributes
|
|
4661
5162
|
* @default false
|
|
4662
5163
|
*/
|
|
4663
5164
|
"disabled"?: boolean;
|
|
4664
5165
|
/**
|
|
4665
5166
|
* Error message, applies warning styles and icon.
|
|
5167
|
+
* @category Features
|
|
4666
5168
|
*/
|
|
4667
5169
|
"error"?: string;
|
|
4668
5170
|
/**
|
|
4669
|
-
*
|
|
5171
|
+
* Set a custom ID for the fieldset.
|
|
5172
|
+
* @deprecated Use `pn-id` instead.
|
|
5173
|
+
* @category HTML attributes
|
|
4670
5174
|
* @default this.id
|
|
4671
5175
|
*/
|
|
4672
5176
|
"fieldsetId"?: string;
|
|
4673
5177
|
/**
|
|
4674
5178
|
* The id of the form you want the fieldset to be part of. If you want the inputs inside to be associated with a specific form, you need to set on those elements directly.
|
|
5179
|
+
* @category Native attributes
|
|
4675
5180
|
*/
|
|
4676
5181
|
"form"?: string;
|
|
4677
5182
|
/**
|
|
@@ -4680,6 +5185,7 @@ declare namespace LocalJSX {
|
|
|
4680
5185
|
"helpertext"?: string;
|
|
4681
5186
|
/**
|
|
4682
5187
|
* Set the fieldset as `invalid`, will add red error styles.
|
|
5188
|
+
* @category Features
|
|
4683
5189
|
* @default false
|
|
4684
5190
|
*/
|
|
4685
5191
|
"invalid"?: boolean;
|
|
@@ -4689,8 +5195,16 @@ declare namespace LocalJSX {
|
|
|
4689
5195
|
"legend": string;
|
|
4690
5196
|
/**
|
|
4691
5197
|
* Give the fieldset a HTML name.
|
|
5198
|
+
* @category Native attributes
|
|
4692
5199
|
*/
|
|
4693
5200
|
"name"?: string;
|
|
5201
|
+
/**
|
|
5202
|
+
* Set a custom ID for the fieldset.
|
|
5203
|
+
* @since v7.25.0
|
|
5204
|
+
* @category HTML attributes
|
|
5205
|
+
* @default this.id
|
|
5206
|
+
*/
|
|
5207
|
+
"pnId"?: string;
|
|
4694
5208
|
}
|
|
4695
5209
|
/**
|
|
4696
5210
|
* Users can drop files directly into the upload area of the component
|
|
@@ -4702,18 +5216,18 @@ declare namespace LocalJSX {
|
|
|
4702
5216
|
interface PnFileUpload {
|
|
4703
5217
|
/**
|
|
4704
5218
|
* Set which file types the input accepts. Ex: .docs,.xml
|
|
4705
|
-
* @category
|
|
5219
|
+
* @category Native attributes
|
|
4706
5220
|
*/
|
|
4707
5221
|
"accept"?: string;
|
|
4708
5222
|
/**
|
|
4709
5223
|
* Use the capture mode.
|
|
4710
5224
|
* @since v7.1.0
|
|
4711
|
-
* @category
|
|
5225
|
+
* @category Native attributes
|
|
4712
5226
|
*/
|
|
4713
5227
|
"capture"?: '' | 'user' | 'environment';
|
|
4714
5228
|
/**
|
|
4715
5229
|
* Disable the input.
|
|
4716
|
-
* @category
|
|
5230
|
+
* @category Native attributes
|
|
4717
5231
|
* @default false
|
|
4718
5232
|
*/
|
|
4719
5233
|
"disabled"?: boolean;
|
|
@@ -4724,6 +5238,7 @@ declare namespace LocalJSX {
|
|
|
4724
5238
|
"helpertext"?: string;
|
|
4725
5239
|
/**
|
|
4726
5240
|
* Always hide the progress bar, even when upload has begun.
|
|
5241
|
+
* @since v7.1.0
|
|
4727
5242
|
* @category Features
|
|
4728
5243
|
* @default false
|
|
4729
5244
|
*/
|
|
@@ -4735,31 +5250,31 @@ declare namespace LocalJSX {
|
|
|
4735
5250
|
"label"?: string;
|
|
4736
5251
|
/**
|
|
4737
5252
|
* Manually set the language.
|
|
4738
|
-
* @
|
|
4739
|
-
* @default
|
|
5253
|
+
* @since v7.1.0
|
|
5254
|
+
* @default undefined
|
|
4740
5255
|
*/
|
|
4741
5256
|
"language"?: PnLanguages;
|
|
4742
5257
|
/**
|
|
4743
5258
|
* Set maximum amount of files to be selected. Any value above 1 will force the `multiple` to be `true`.
|
|
4744
|
-
* @category
|
|
5259
|
+
* @category Features
|
|
4745
5260
|
* @default 1
|
|
4746
5261
|
*/
|
|
4747
5262
|
"limit"?: number;
|
|
4748
5263
|
/**
|
|
4749
5264
|
* Set the maximum upload size.
|
|
4750
|
-
* @category
|
|
5265
|
+
* @category Features
|
|
4751
5266
|
* @default ''
|
|
4752
5267
|
*/
|
|
4753
5268
|
"maxSize"?: string;
|
|
4754
5269
|
/**
|
|
4755
5270
|
* Allow multiple files to be selected. Will be overwritten to true, if `limit` is above 1.
|
|
4756
|
-
* @category
|
|
5271
|
+
* @category Native attributes
|
|
4757
5272
|
*/
|
|
4758
5273
|
"multiple"?: boolean;
|
|
4759
5274
|
/**
|
|
4760
5275
|
* Set a HTML name.
|
|
4761
5276
|
* @since v7.1.0
|
|
4762
|
-
* @category
|
|
5277
|
+
* @category Native attributes
|
|
4763
5278
|
*/
|
|
4764
5279
|
"name"?: string;
|
|
4765
5280
|
/**
|
|
@@ -4795,8 +5310,15 @@ declare namespace LocalJSX {
|
|
|
4795
5310
|
*/
|
|
4796
5311
|
"onValid"?: (event: PnFileUploadCustomEvent<this>) => void;
|
|
4797
5312
|
/**
|
|
4798
|
-
* Set the
|
|
5313
|
+
* Set a custom ID for the file upload.
|
|
5314
|
+
* @since v7.25.0
|
|
4799
5315
|
* @category HTML attributes
|
|
5316
|
+
* @default this.id
|
|
5317
|
+
*/
|
|
5318
|
+
"pnId"?: string;
|
|
5319
|
+
/**
|
|
5320
|
+
* Set the input as required.
|
|
5321
|
+
* @category Native attributes
|
|
4800
5322
|
* @default false
|
|
4801
5323
|
*/
|
|
4802
5324
|
"required"?: boolean;
|
|
@@ -4854,15 +5376,15 @@ declare namespace LocalJSX {
|
|
|
4854
5376
|
*/
|
|
4855
5377
|
interface PnIcon {
|
|
4856
5378
|
/**
|
|
4857
|
-
* Color the icon with one of the
|
|
4858
|
-
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-design-tokens-colors--docs
|
|
5379
|
+
* Color the icon with one of the following colors from our library. Has no effects if you use flags from our library.
|
|
5380
|
+
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-design-tokens-colors--docs Colors (Storybook)}
|
|
4859
5381
|
* @default 'gray900'
|
|
4860
5382
|
*/
|
|
4861
5383
|
"color"?: PnColors;
|
|
4862
5384
|
/**
|
|
4863
|
-
* The SVG content of the icon you want to use.
|
|
4864
|
-
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-design-tokens-icon--docs
|
|
4865
|
-
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-design-tokens-flag--docs
|
|
5385
|
+
* The SVG content of the icon you want to use.
|
|
5386
|
+
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-design-tokens-icon--docs Icons (Storybook)}
|
|
5387
|
+
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-design-tokens-flag--docs Flags (Storybook)}
|
|
4866
5388
|
* @default ''
|
|
4867
5389
|
*/
|
|
4868
5390
|
"icon"?: string;
|
|
@@ -4872,6 +5394,12 @@ declare namespace LocalJSX {
|
|
|
4872
5394
|
*/
|
|
4873
5395
|
"small"?: boolean;
|
|
4874
5396
|
}
|
|
5397
|
+
/**
|
|
5398
|
+
* The `pn-illustration` is a wrapper for an SVG string.
|
|
5399
|
+
* The component will look at the viewBox property of the SVG to determine the default width and height,
|
|
5400
|
+
* but you can also set these manually with the `width` and `height` props.
|
|
5401
|
+
* Setting the `fill` prop will make the illustration fill its parent container, which is useful for responsive designs.
|
|
5402
|
+
*/
|
|
4875
5403
|
interface PnIllustration {
|
|
4876
5404
|
/**
|
|
4877
5405
|
* Make the SVG fill to its parent size (sets width/height 100% and `display: block` instead of `inline-block`)
|
|
@@ -4900,37 +5428,40 @@ declare namespace LocalJSX {
|
|
|
4900
5428
|
interface PnInput {
|
|
4901
5429
|
/**
|
|
4902
5430
|
* Set the ID of what this input controls.
|
|
4903
|
-
* @
|
|
5431
|
+
* @deprecated Use `pn-aria-controls` instead.
|
|
5432
|
+
* @category HTML attributes
|
|
4904
5433
|
*/
|
|
4905
5434
|
"ariacontrols"?: string;
|
|
4906
5435
|
/**
|
|
4907
5436
|
* While you can use the `aria-label`, using a `label` is far more accessible.
|
|
4908
|
-
* @
|
|
5437
|
+
* @deprecated Use `pn-aria-label` instead.
|
|
5438
|
+
* @category HTML attributes
|
|
4909
5439
|
*/
|
|
4910
5440
|
"arialabel"?: string;
|
|
4911
5441
|
/**
|
|
4912
|
-
* Let the browser know what type of autocorrects the input should use. Works much better if a `name` and `
|
|
5442
|
+
* Let the browser know what type of autocorrects the input should use. Works much better if a `name` and `pn-id` is supplied.
|
|
4913
5443
|
* @see {@link name }
|
|
4914
5444
|
* @see {@link inputid }
|
|
4915
|
-
* @category
|
|
5445
|
+
* @category Native attributes
|
|
4916
5446
|
*/
|
|
4917
5447
|
"autocomplete"?: string;
|
|
4918
5448
|
/**
|
|
4919
5449
|
* Use the compact label variant. The `placeholder` you provide will not be visible if used at the same time.
|
|
4920
5450
|
* @since v7.21.0
|
|
5451
|
+
* @category Features
|
|
4921
5452
|
* @default false
|
|
4922
5453
|
*/
|
|
4923
5454
|
"compact"?: boolean;
|
|
4924
5455
|
/**
|
|
4925
5456
|
* Set the input as `disabled`.
|
|
4926
|
-
* @category
|
|
5457
|
+
* @category Native attributes
|
|
4927
5458
|
* @default false
|
|
4928
5459
|
*/
|
|
4929
5460
|
"disabled"?: boolean;
|
|
4930
5461
|
/**
|
|
4931
5462
|
* Set the input as `invalid` and display an error message (applies the same style as `invalid`). Error message; will take precedence over helpertext if both are provided.
|
|
4932
5463
|
* @see {@link invalid Set invalid without an error message.}
|
|
4933
|
-
* @category
|
|
5464
|
+
* @category Features
|
|
4934
5465
|
*/
|
|
4935
5466
|
"error"?: string;
|
|
4936
5467
|
/**
|
|
@@ -4940,114 +5471,140 @@ declare namespace LocalJSX {
|
|
|
4940
5471
|
/**
|
|
4941
5472
|
* Select an icon to display before the input field value. `icon` takes precedence over the `text-prefix` prop.
|
|
4942
5473
|
* @see {@link textPrefix }
|
|
4943
|
-
* @category
|
|
5474
|
+
* @category Features
|
|
4944
5475
|
*/
|
|
4945
5476
|
"icon"?: string;
|
|
4946
5477
|
/**
|
|
4947
|
-
*
|
|
4948
|
-
* @
|
|
5478
|
+
* Set a custom ID for the input (default is a generated UUID).
|
|
5479
|
+
* @deprecated Use `pn-id` instead.
|
|
5480
|
+
* @category HTML attributes
|
|
4949
5481
|
*/
|
|
4950
5482
|
"inputid"?: string;
|
|
4951
5483
|
/**
|
|
4952
5484
|
* Hint the browser about what type of virtual keyboard should be used. The browser will be able to decide this on its own most of the time, especially if you use the `type`, `name` and `inputid` props. Leave empty or with a `''` value if you want the browsers default behaviour (`text`).
|
|
4953
|
-
* @category
|
|
5485
|
+
* @category Native attributes
|
|
4954
5486
|
*/
|
|
4955
5487
|
"inputmode"?: 'text' | 'none' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
4956
5488
|
/**
|
|
4957
5489
|
* Set the input as `invalid`. Provides a red color and red warning icon.
|
|
4958
5490
|
* @see {@link error Provide an error message.}
|
|
4959
|
-
* @category
|
|
5491
|
+
* @category Features
|
|
4960
5492
|
* @default false
|
|
4961
5493
|
*/
|
|
4962
5494
|
"invalid"?: boolean;
|
|
4963
5495
|
/**
|
|
4964
5496
|
* Text label placed above the input field.
|
|
4965
5497
|
*/
|
|
4966
|
-
"label"
|
|
5498
|
+
"label"?: string;
|
|
4967
5499
|
/**
|
|
4968
5500
|
* Set the language manually for the translations of show/hide/clear button text. Not needed if you have the pntopbar on the page.
|
|
4969
|
-
* @default
|
|
5501
|
+
* @default undefined
|
|
4970
5502
|
*/
|
|
4971
5503
|
"language"?: PnLanguages;
|
|
4972
5504
|
/**
|
|
4973
5505
|
* Point to a datalist element for this input.
|
|
4974
|
-
* @category
|
|
5506
|
+
* @category Native attributes
|
|
4975
5507
|
*/
|
|
4976
5508
|
"list"?: string;
|
|
4977
5509
|
/**
|
|
4978
5510
|
* Set the `max` value of the `number` input.
|
|
4979
|
-
* @category
|
|
5511
|
+
* @category Native attributes
|
|
4980
5512
|
*/
|
|
4981
5513
|
"max"?: number | string;
|
|
4982
5514
|
/**
|
|
4983
5515
|
* The maximum number of characters the user should be able to add, also adds a visible counter.
|
|
4984
|
-
* @category
|
|
5516
|
+
* @category Native attributes
|
|
4985
5517
|
*/
|
|
4986
5518
|
"maxlength"?: number;
|
|
4987
5519
|
/**
|
|
4988
5520
|
* Set the `min` value of the `number` input.
|
|
4989
|
-
* @category
|
|
5521
|
+
* @category Native attributes
|
|
4990
5522
|
*/
|
|
4991
5523
|
"min"?: number | string;
|
|
4992
5524
|
/**
|
|
4993
5525
|
* HTML input name. Setting a name will help the browser understand what type of data the input have and can better assist with autofill data based on previous entires much better.
|
|
4994
|
-
* @category
|
|
5526
|
+
* @category Native attributes
|
|
4995
5527
|
*/
|
|
4996
5528
|
"name"?: string;
|
|
4997
5529
|
/**
|
|
4998
5530
|
* Pattern prop.
|
|
4999
|
-
* @category
|
|
5531
|
+
* @category Native attributes
|
|
5000
5532
|
*/
|
|
5001
5533
|
"pattern"?: string;
|
|
5002
5534
|
/**
|
|
5003
5535
|
* Provide a placeholder text. Remember that this is no replacement for a label. The placeholder should be a nice addition to the label/helpertext, not important information.
|
|
5004
|
-
* @category
|
|
5536
|
+
* @category Native attributes
|
|
5005
5537
|
*/
|
|
5006
5538
|
"placeholder"?: string;
|
|
5539
|
+
/**
|
|
5540
|
+
* Set the ID of what this input controls.
|
|
5541
|
+
* @since v7.25.0
|
|
5542
|
+
* @category HTML attributes
|
|
5543
|
+
*/
|
|
5544
|
+
"pnAriaControls"?: string;
|
|
5545
|
+
/**
|
|
5546
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
5547
|
+
* @since v7.25.0
|
|
5548
|
+
* @category HTML attributes
|
|
5549
|
+
*/
|
|
5550
|
+
"pnAriaLabel"?: string;
|
|
5551
|
+
/**
|
|
5552
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
5553
|
+
* @since v7.25.0
|
|
5554
|
+
* @category HTML attributes
|
|
5555
|
+
*/
|
|
5556
|
+
"pnAriaLabelledby"?: string;
|
|
5557
|
+
/**
|
|
5558
|
+
* Set a custom ID for the input (default is a generated UUID).
|
|
5559
|
+
* @since v7.25.0
|
|
5560
|
+
* @category HTML attributes
|
|
5561
|
+
*/
|
|
5562
|
+
"pnId"?: string;
|
|
5007
5563
|
/**
|
|
5008
5564
|
* Set the input as `readonly`.
|
|
5009
|
-
* @category
|
|
5565
|
+
* @category Native attributes
|
|
5010
5566
|
* @default false
|
|
5011
5567
|
*/
|
|
5012
5568
|
"readonly"?: boolean;
|
|
5013
5569
|
/**
|
|
5014
5570
|
* Set the input as `required`.
|
|
5015
|
-
* @category
|
|
5571
|
+
* @category Native attributes
|
|
5016
5572
|
* @default false
|
|
5017
5573
|
*/
|
|
5018
5574
|
"required"?: boolean;
|
|
5019
5575
|
/**
|
|
5020
5576
|
* Set a `step` for the number input.
|
|
5021
|
-
* @category
|
|
5577
|
+
* @category Native attributes
|
|
5022
5578
|
*/
|
|
5023
5579
|
"step"?: number | string;
|
|
5024
5580
|
/**
|
|
5025
5581
|
* Set a small text before the input field value. Cannot be used together with an `icon` at the same time.
|
|
5026
5582
|
* @see {@link icon }
|
|
5027
5583
|
* @see {@link textSuffix }
|
|
5028
|
-
* @category
|
|
5584
|
+
* @category Features
|
|
5029
5585
|
*/
|
|
5030
5586
|
"textPrefix"?: string;
|
|
5031
5587
|
/**
|
|
5032
5588
|
* Set a small text after the input field value. Cannot be used with the `text-prefix` prop at the same time.
|
|
5033
5589
|
* @see {@link textPrefix }
|
|
5034
|
-
* @category
|
|
5590
|
+
* @category Features
|
|
5035
5591
|
*/
|
|
5036
5592
|
"textSuffix"?: string;
|
|
5037
5593
|
/**
|
|
5038
5594
|
* pn-input supports: `text`, `password`, `url`, `tel`, `search`, `number` & `email`.
|
|
5039
|
-
* @category
|
|
5595
|
+
* @category Native attributes
|
|
5040
5596
|
* @default 'text'
|
|
5041
5597
|
*/
|
|
5042
5598
|
"type"?: 'text' | 'password' | 'url' | 'tel' | 'search' | 'number' | 'email' | '';
|
|
5043
5599
|
/**
|
|
5044
5600
|
* Set the input as `valid`. Provides a green color and a check icon.
|
|
5045
|
-
* @category
|
|
5601
|
+
* @category Features
|
|
5046
5602
|
* @default false
|
|
5047
5603
|
*/
|
|
5048
5604
|
"valid"?: boolean;
|
|
5049
5605
|
/**
|
|
5050
5606
|
* Set the value of the input.
|
|
5607
|
+
* @category Native attributes
|
|
5051
5608
|
* @default ''
|
|
5052
5609
|
*/
|
|
5053
5610
|
"value"?: string;
|
|
@@ -5059,8 +5616,9 @@ declare namespace LocalJSX {
|
|
|
5059
5616
|
*/
|
|
5060
5617
|
interface PnModal {
|
|
5061
5618
|
/**
|
|
5062
|
-
* Allow overflow
|
|
5619
|
+
* Allow overflow *when* it is possible. Do not use if you have a lot of conditional rendering inside the modal as it can cause layout shifts.
|
|
5063
5620
|
* @since v7.14.0
|
|
5621
|
+
* @category Features
|
|
5064
5622
|
* @default false
|
|
5065
5623
|
*/
|
|
5066
5624
|
"allowOverflow"?: boolean;
|
|
@@ -5070,7 +5628,7 @@ declare namespace LocalJSX {
|
|
|
5070
5628
|
*/
|
|
5071
5629
|
"helpertext"?: string;
|
|
5072
5630
|
/**
|
|
5073
|
-
* Hide the close button. If you
|
|
5631
|
+
* Hide the close button. If you enable this, make sure you build your own cancel button.
|
|
5074
5632
|
* @since v7.14.0
|
|
5075
5633
|
* @category Features
|
|
5076
5634
|
* @default false
|
|
@@ -5104,12 +5662,18 @@ declare namespace LocalJSX {
|
|
|
5104
5662
|
*/
|
|
5105
5663
|
"onModalToggle"?: (event: PnModalCustomEvent<{ open: boolean }>) => void;
|
|
5106
5664
|
/**
|
|
5107
|
-
* This event is dispatched after the opening/closing animation has finished playing. {@since v7.
|
|
5665
|
+
* This event is dispatched after the opening/closing animation has finished playing. {@since v7.22.0}
|
|
5108
5666
|
*/
|
|
5109
|
-
"
|
|
5667
|
+
"onModalVisibility"?: (event: PnModalCustomEvent<{ visible: boolean }>) => void;
|
|
5110
5668
|
/**
|
|
5111
|
-
*
|
|
5112
|
-
* @
|
|
5669
|
+
* This event is dispatched after the opening/closing animation has finished playing.
|
|
5670
|
+
* @since v7.14.0
|
|
5671
|
+
* @deprecated v7.22.0. Use `modalVisibility` instead due to typo.
|
|
5672
|
+
*/
|
|
5673
|
+
"onModalVisiblity"?: (event: PnModalCustomEvent<{ visible: boolean }>) => void;
|
|
5674
|
+
/**
|
|
5675
|
+
* Use this prop if you want to control the visibility of the modal programmatically.
|
|
5676
|
+
* @category Features
|
|
5113
5677
|
* @default false
|
|
5114
5678
|
*/
|
|
5115
5679
|
"open"?: boolean;
|
|
@@ -5121,7 +5685,13 @@ declare namespace LocalJSX {
|
|
|
5121
5685
|
*/
|
|
5122
5686
|
"persistent"?: boolean;
|
|
5123
5687
|
/**
|
|
5124
|
-
*
|
|
5688
|
+
* Set a custom HTML id.
|
|
5689
|
+
* @since v7.24.0
|
|
5690
|
+
* @default null
|
|
5691
|
+
*/
|
|
5692
|
+
"pnId"?: string;
|
|
5693
|
+
/**
|
|
5694
|
+
* Use the `sheet` visual. Aligns the modal to the right instead of the center.
|
|
5125
5695
|
* @since v7.14.0
|
|
5126
5696
|
* @category Visual
|
|
5127
5697
|
* @default false
|
|
@@ -5152,18 +5722,19 @@ declare namespace LocalJSX {
|
|
|
5152
5722
|
/**
|
|
5153
5723
|
* Set the date picker label as compact. If used, the `placeholder` will no longer be displayed.
|
|
5154
5724
|
* @since v7.21.0
|
|
5725
|
+
* @category Features
|
|
5155
5726
|
* @default false
|
|
5156
5727
|
*/
|
|
5157
5728
|
"compact"?: boolean;
|
|
5158
5729
|
/**
|
|
5159
5730
|
* Disable the select.
|
|
5160
|
-
* @category
|
|
5731
|
+
* @category Native attributes
|
|
5161
5732
|
* @default false
|
|
5162
5733
|
*/
|
|
5163
5734
|
"disabled"?: boolean;
|
|
5164
5735
|
/**
|
|
5165
5736
|
* Display an error message and trigger the invalid state.
|
|
5166
|
-
* @category
|
|
5737
|
+
* @category Features
|
|
5167
5738
|
*/
|
|
5168
5739
|
"error"?: string;
|
|
5169
5740
|
/**
|
|
@@ -5172,11 +5743,12 @@ declare namespace LocalJSX {
|
|
|
5172
5743
|
"helpertext"?: string;
|
|
5173
5744
|
/**
|
|
5174
5745
|
* Display an icon to the left of the select input
|
|
5746
|
+
* @category Features
|
|
5175
5747
|
*/
|
|
5176
5748
|
"icon"?: string;
|
|
5177
5749
|
/**
|
|
5178
5750
|
* Trigger the invalid state.
|
|
5179
|
-
* @category
|
|
5751
|
+
* @category Features
|
|
5180
5752
|
* @default false
|
|
5181
5753
|
*/
|
|
5182
5754
|
"invalid"?: boolean;
|
|
@@ -5190,20 +5762,20 @@ declare namespace LocalJSX {
|
|
|
5190
5762
|
/**
|
|
5191
5763
|
* Label placed above the select
|
|
5192
5764
|
*/
|
|
5193
|
-
"label"
|
|
5765
|
+
"label"?: string;
|
|
5194
5766
|
/**
|
|
5195
5767
|
* Manually set the language, not needed if you have the pnTopbar available
|
|
5196
|
-
* @default
|
|
5768
|
+
* @default undefined
|
|
5197
5769
|
*/
|
|
5198
5770
|
"language"?: PnLanguages;
|
|
5199
5771
|
/**
|
|
5200
|
-
*
|
|
5201
|
-
* @description The component will automatically set the max height of the dropdown list on its own. It takes the `pn-topbar` into account and will open in the direction that fits best. Use this prop to override this behaviour and use a custom max-height.
|
|
5772
|
+
* The component will automatically set the max height of the dropdown list on its own. It takes the `pn-topbar` into account and will open in the direction that fits best. Use this prop to override this behaviour and use a custom max-height.
|
|
5202
5773
|
* @category Features
|
|
5203
5774
|
*/
|
|
5204
5775
|
"maxHeight"?: string;
|
|
5205
5776
|
/**
|
|
5206
5777
|
* HTML name of the checkbox elements. Used for each checkbox inside the multiselect.
|
|
5778
|
+
* @category Native attributes
|
|
5207
5779
|
*/
|
|
5208
5780
|
"name"?: string;
|
|
5209
5781
|
/**
|
|
@@ -5235,17 +5807,37 @@ declare namespace LocalJSX {
|
|
|
5235
5807
|
*/
|
|
5236
5808
|
"onToggleSelect"?: (event: PnMultiselectCustomEvent<{ open: boolean }>) => void;
|
|
5237
5809
|
/**
|
|
5238
|
-
*
|
|
5239
|
-
* @
|
|
5810
|
+
* The array of `PnMultiselectOption` objects.
|
|
5811
|
+
* @see {@link PnMultiselectOption } for the option object properties.
|
|
5812
|
+
* @category Features
|
|
5240
5813
|
*/
|
|
5241
5814
|
"options": PnMultiselectOption[];
|
|
5242
5815
|
/**
|
|
5243
5816
|
* This is what will be shown on load if no value is used. The `placeholder` will override the default text used if you have the `search` prop active.
|
|
5817
|
+
* @category Native attributes
|
|
5244
5818
|
*/
|
|
5245
5819
|
"placeholder"?: string;
|
|
5820
|
+
/**
|
|
5821
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
5822
|
+
* @since v7.25.0
|
|
5823
|
+
* @category HTML attributes
|
|
5824
|
+
*/
|
|
5825
|
+
"pnAriaLabel"?: string;
|
|
5826
|
+
/**
|
|
5827
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
5828
|
+
* @since v7.25.0
|
|
5829
|
+
* @category HTML attributes
|
|
5830
|
+
*/
|
|
5831
|
+
"pnAriaLabelledby"?: string;
|
|
5832
|
+
/**
|
|
5833
|
+
* Set a custom ID for the select.
|
|
5834
|
+
* @since v7.25.0
|
|
5835
|
+
* @category HTML attributes
|
|
5836
|
+
*/
|
|
5837
|
+
"pnId"?: string;
|
|
5246
5838
|
/**
|
|
5247
5839
|
* Set the select as required.
|
|
5248
|
-
* @category
|
|
5840
|
+
* @category Native attributes
|
|
5249
5841
|
* @default false
|
|
5250
5842
|
*/
|
|
5251
5843
|
"required"?: boolean;
|
|
@@ -5271,11 +5863,13 @@ declare namespace LocalJSX {
|
|
|
5271
5863
|
"selectAll"?: boolean;
|
|
5272
5864
|
/**
|
|
5273
5865
|
* Select HTML id
|
|
5274
|
-
* @
|
|
5866
|
+
* @deprecated Use `pn-id` instead.
|
|
5867
|
+
* @category HTML attributes
|
|
5275
5868
|
*/
|
|
5276
5869
|
"selectId"?: string;
|
|
5277
5870
|
/**
|
|
5278
5871
|
* HTML name of the input element.
|
|
5872
|
+
* @category Native attributes
|
|
5279
5873
|
*/
|
|
5280
5874
|
"selectName"?: string;
|
|
5281
5875
|
/**
|
|
@@ -5560,13 +6154,14 @@ declare namespace LocalJSX {
|
|
|
5560
6154
|
*/
|
|
5561
6155
|
interface PnRadioButton {
|
|
5562
6156
|
/**
|
|
5563
|
-
*
|
|
6157
|
+
* Programmatically check the input.
|
|
6158
|
+
* @category Native attributes
|
|
5564
6159
|
* @default false
|
|
5565
6160
|
*/
|
|
5566
6161
|
"checked"?: boolean;
|
|
5567
6162
|
/**
|
|
5568
6163
|
* Disable the radio.
|
|
5569
|
-
* @category
|
|
6164
|
+
* @category Native attributes
|
|
5570
6165
|
* @default false
|
|
5571
6166
|
*/
|
|
5572
6167
|
"disabled"?: boolean;
|
|
@@ -5574,7 +6169,7 @@ declare namespace LocalJSX {
|
|
|
5574
6169
|
* Allow the radio to control the slot area "content". When checked, the area is visible, when unchecked, the area is hidden. The prop `tile` must be used at the same time.
|
|
5575
6170
|
* @see {@link tile }
|
|
5576
6171
|
* @since v7.17.0
|
|
5577
|
-
* @category
|
|
6172
|
+
* @category Features
|
|
5578
6173
|
* @default false
|
|
5579
6174
|
*/
|
|
5580
6175
|
"expand"?: boolean;
|
|
@@ -5585,13 +6180,13 @@ declare namespace LocalJSX {
|
|
|
5585
6180
|
/**
|
|
5586
6181
|
* Add an icon on the right of your radio tile. The `tile` prop must be `true` for the icon to work.
|
|
5587
6182
|
* @see {@link tile }
|
|
5588
|
-
* @category
|
|
6183
|
+
* @category Features
|
|
5589
6184
|
* @default null
|
|
5590
6185
|
*/
|
|
5591
6186
|
"icon"?: string;
|
|
5592
6187
|
/**
|
|
5593
6188
|
* If set to true, color scheme will turn red, indicating that there is an issue or incorrect input related the radio.
|
|
5594
|
-
* @category
|
|
6189
|
+
* @category Features
|
|
5595
6190
|
* @default false
|
|
5596
6191
|
*/
|
|
5597
6192
|
"invalid"?: boolean;
|
|
@@ -5601,27 +6196,53 @@ declare namespace LocalJSX {
|
|
|
5601
6196
|
"label"?: string;
|
|
5602
6197
|
/**
|
|
5603
6198
|
* The name of the radio group.
|
|
6199
|
+
* @category Native attributes
|
|
5604
6200
|
*/
|
|
5605
6201
|
"name"?: string;
|
|
6202
|
+
/**
|
|
6203
|
+
* This is the same as the native `change` event, but without bubbling. This is useful when you want to listen to the event directly on the `pn-radio-button` element without having to worry about catching events from nested pn-radio-buttons.
|
|
6204
|
+
* @since v7.25.0
|
|
6205
|
+
*/
|
|
6206
|
+
"onPnRadioChange"?: (event: PnRadioButtonCustomEvent<Event>) => void;
|
|
6207
|
+
/**
|
|
6208
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
6209
|
+
* @since v7.25.0
|
|
6210
|
+
* @category HTML attributes
|
|
6211
|
+
*/
|
|
6212
|
+
"pnAriaLabel"?: string;
|
|
6213
|
+
/**
|
|
6214
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
6215
|
+
* @since v7.25.0
|
|
6216
|
+
* @category HTML attributes
|
|
6217
|
+
*/
|
|
6218
|
+
"pnAriaLabelledby"?: string;
|
|
5606
6219
|
/**
|
|
5607
6220
|
* A unique HTML ID for the radio.
|
|
5608
|
-
* @
|
|
6221
|
+
* @since v7.25.0
|
|
6222
|
+
* @category HTML attributes
|
|
6223
|
+
*/
|
|
6224
|
+
"pnId"?: string;
|
|
6225
|
+
/**
|
|
6226
|
+
* A unique HTML ID for the radio.
|
|
6227
|
+
* @deprecated Use `pn-id` instead.
|
|
6228
|
+
* @category HTML attributes
|
|
5609
6229
|
*/
|
|
5610
6230
|
"radioid"?: string;
|
|
5611
6231
|
/**
|
|
5612
6232
|
* Set the radio as required.
|
|
5613
|
-
* @category
|
|
6233
|
+
* @category Native attributes
|
|
5614
6234
|
* @default false
|
|
5615
6235
|
*/
|
|
5616
6236
|
"required"?: boolean;
|
|
5617
6237
|
/**
|
|
5618
6238
|
* Turn the radio into a clickable tile. A border and padding is added. **Do not** use interactive elements (links/buttons) inside of the slots when using this prop. An exception is made when using the `tile` + `expand` props together, which allows you to use interactive elements.
|
|
5619
|
-
* @category
|
|
6239
|
+
* @category Features
|
|
5620
6240
|
* @default false
|
|
5621
6241
|
*/
|
|
5622
6242
|
"tile"?: boolean;
|
|
5623
6243
|
/**
|
|
5624
6244
|
* This will be emitted on change and input events.
|
|
6245
|
+
* @category Native attributes
|
|
5625
6246
|
*/
|
|
5626
6247
|
"value": string;
|
|
5627
6248
|
}
|
|
@@ -5635,13 +6256,13 @@ declare namespace LocalJSX {
|
|
|
5635
6256
|
interface PnRange {
|
|
5636
6257
|
/**
|
|
5637
6258
|
* Disable the range input.
|
|
5638
|
-
* @category
|
|
6259
|
+
* @category Native attributes
|
|
5639
6260
|
* @default false
|
|
5640
6261
|
*/
|
|
5641
6262
|
"disabled"?: boolean;
|
|
5642
6263
|
/**
|
|
5643
6264
|
* Set an error message for the range input.
|
|
5644
|
-
* @category
|
|
6265
|
+
* @category Features
|
|
5645
6266
|
* @default null
|
|
5646
6267
|
*/
|
|
5647
6268
|
"error"?: string;
|
|
@@ -5652,11 +6273,13 @@ declare namespace LocalJSX {
|
|
|
5652
6273
|
"helpertext"?: string;
|
|
5653
6274
|
/**
|
|
5654
6275
|
* Set an icon for the range/input field.
|
|
6276
|
+
* @category Features
|
|
5655
6277
|
* @default null
|
|
5656
6278
|
*/
|
|
5657
6279
|
"icon"?: string;
|
|
5658
6280
|
/**
|
|
5659
6281
|
* Set an icon at the end of the range or for the second input field when using `multiple`.
|
|
6282
|
+
* @category Features
|
|
5660
6283
|
* @default null
|
|
5661
6284
|
*/
|
|
5662
6285
|
"iconEnd"?: string;
|
|
@@ -5668,32 +6291,33 @@ declare namespace LocalJSX {
|
|
|
5668
6291
|
"input"?: boolean;
|
|
5669
6292
|
/**
|
|
5670
6293
|
* Set the error visual for the range input, same as `error`, but without a message.
|
|
5671
|
-
* @category
|
|
6294
|
+
* @category Features
|
|
5672
6295
|
* @default false
|
|
5673
6296
|
*/
|
|
5674
6297
|
"invalid"?: boolean;
|
|
5675
6298
|
/**
|
|
5676
6299
|
* Label for the range input.
|
|
5677
6300
|
*/
|
|
5678
|
-
"label"
|
|
6301
|
+
"label"?: string;
|
|
5679
6302
|
/**
|
|
5680
6303
|
* Label for the range end input.
|
|
5681
6304
|
*/
|
|
5682
6305
|
"labelEnd"?: string;
|
|
5683
6306
|
/**
|
|
5684
6307
|
* Add markers. This will also render a `datalist` element with `options`. Omitting the `label` for a marker will use the `value` as label instead. Set `label` to `null` or `''` to hide it completely.
|
|
6308
|
+
* @category Features
|
|
5685
6309
|
* @default []
|
|
5686
6310
|
*/
|
|
5687
6311
|
"markers"?: { value: number; label?: string }[];
|
|
5688
6312
|
/**
|
|
5689
6313
|
* The range input max value.
|
|
5690
|
-
* @category
|
|
6314
|
+
* @category Native attributes
|
|
5691
6315
|
* @default 100
|
|
5692
6316
|
*/
|
|
5693
6317
|
"max"?: number;
|
|
5694
6318
|
/**
|
|
5695
6319
|
* The range input min value.
|
|
5696
|
-
* @category
|
|
6320
|
+
* @category Native attributes
|
|
5697
6321
|
* @default 0
|
|
5698
6322
|
*/
|
|
5699
6323
|
"min"?: number;
|
|
@@ -5705,12 +6329,12 @@ declare namespace LocalJSX {
|
|
|
5705
6329
|
"multiple"?: boolean;
|
|
5706
6330
|
/**
|
|
5707
6331
|
* The range input name.
|
|
5708
|
-
* @category
|
|
6332
|
+
* @category Native attributes
|
|
5709
6333
|
*/
|
|
5710
6334
|
"name"?: string;
|
|
5711
6335
|
/**
|
|
5712
6336
|
* The range input name.
|
|
5713
|
-
* @category
|
|
6337
|
+
* @category Native attributes
|
|
5714
6338
|
*/
|
|
5715
6339
|
"nameEnd"?: string;
|
|
5716
6340
|
/**
|
|
@@ -5726,28 +6350,56 @@ declare namespace LocalJSX {
|
|
|
5726
6350
|
difference?: number;
|
|
5727
6351
|
}>) => void;
|
|
5728
6352
|
/**
|
|
5729
|
-
*
|
|
6353
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
6354
|
+
* @since v7.25.0
|
|
6355
|
+
* @category HTML attributes
|
|
6356
|
+
*/
|
|
6357
|
+
"pnAriaLabel"?: string;
|
|
6358
|
+
/**
|
|
6359
|
+
* Provide the label for the end input via an aria attribute. We strongly recommend you use the `label-end` prop instead.
|
|
6360
|
+
* @since v7.25.0
|
|
6361
|
+
* @category HTML attributes
|
|
6362
|
+
*/
|
|
6363
|
+
"pnAriaLabelEnd"?: string;
|
|
6364
|
+
/**
|
|
6365
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
6366
|
+
* @since v7.25.0
|
|
6367
|
+
* @category HTML attributes
|
|
6368
|
+
*/
|
|
6369
|
+
"pnAriaLabelledby"?: string;
|
|
6370
|
+
/**
|
|
6371
|
+
* Provide the label for the end input from another element via its ID. We strongly recommend you use the `label-end` prop instead.
|
|
6372
|
+
* @since v7.25.0
|
|
6373
|
+
* @category HTML attributes
|
|
6374
|
+
*/
|
|
6375
|
+
"pnAriaLabelledbyEnd"?: string;
|
|
6376
|
+
/**
|
|
6377
|
+
* Set a custom ID for the input.
|
|
6378
|
+
* @category HTML attributes
|
|
5730
6379
|
* @default this.id
|
|
5731
6380
|
*/
|
|
5732
6381
|
"pnId"?: string;
|
|
5733
6382
|
/**
|
|
5734
|
-
* Set a custom
|
|
6383
|
+
* Set a custom ID for the end input.
|
|
6384
|
+
* @category HTML attributes
|
|
5735
6385
|
* @default this.idEnd
|
|
5736
6386
|
*/
|
|
5737
6387
|
"pnIdEnd"?: string;
|
|
5738
6388
|
/**
|
|
5739
6389
|
* Set a step value for the range input.
|
|
5740
|
-
* @category
|
|
6390
|
+
* @category Native attributes
|
|
5741
6391
|
* @default ''
|
|
5742
6392
|
*/
|
|
5743
6393
|
"step"?: HTMLInputElement['step'];
|
|
5744
6394
|
/**
|
|
5745
6395
|
* Set a prefix for the range/input field.
|
|
6396
|
+
* @category Features
|
|
5746
6397
|
* @default null
|
|
5747
6398
|
*/
|
|
5748
6399
|
"textPrefix"?: string;
|
|
5749
6400
|
/**
|
|
5750
6401
|
* Set a suffix for the range/input field.
|
|
6402
|
+
* @category Features
|
|
5751
6403
|
* @default null
|
|
5752
6404
|
*/
|
|
5753
6405
|
"textSuffix"?: string;
|
|
@@ -5766,13 +6418,13 @@ declare namespace LocalJSX {
|
|
|
5766
6418
|
"tooltipTemplate"?: string;
|
|
5767
6419
|
/**
|
|
5768
6420
|
* The range input value.
|
|
5769
|
-
* @category
|
|
6421
|
+
* @category Native attributes
|
|
5770
6422
|
* @default 0
|
|
5771
6423
|
*/
|
|
5772
6424
|
"value"?: number;
|
|
5773
6425
|
/**
|
|
5774
6426
|
* The range end input value.
|
|
5775
|
-
* @category
|
|
6427
|
+
* @category Native attributes
|
|
5776
6428
|
* @default 0
|
|
5777
6429
|
*/
|
|
5778
6430
|
"valueEnd"?: number;
|
|
@@ -5816,59 +6468,62 @@ declare namespace LocalJSX {
|
|
|
5816
6468
|
interface PnSearchField {
|
|
5817
6469
|
/**
|
|
5818
6470
|
* Allow the browser to autocomplete the search field.
|
|
6471
|
+
* @category Native attributes
|
|
5819
6472
|
*/
|
|
5820
6473
|
"autocomplete"?: string;
|
|
5821
6474
|
/**
|
|
5822
6475
|
* Button variant changes the visual of the search field: - `''` Standard with a blue button. - `simple` | ~~`icon`~~ with simple white icon only button. - `auto` | ~~`icon-inline`~~ | ~~`none`~~ with a white inline search button. - `jumbo` with a larger blue icon only button.
|
|
5823
6476
|
* @since v7.18.0: Use `''`, `simple`, `auto` or `jumbo`.
|
|
5824
|
-
* @category
|
|
6477
|
+
* @category Features
|
|
5825
6478
|
* @default ''
|
|
5826
6479
|
*/
|
|
5827
6480
|
"button"?: PnSearchFieldButton;
|
|
5828
6481
|
/**
|
|
5829
6482
|
* Label for the button element.
|
|
5830
|
-
* @category
|
|
6483
|
+
* @category Features
|
|
5831
6484
|
*/
|
|
5832
6485
|
"buttonLabel"?: string;
|
|
5833
6486
|
/**
|
|
5834
6487
|
* Light instead of dark search button.
|
|
5835
6488
|
* @deprecated The color is now set automatically based on the button prop.
|
|
5836
|
-
* @category
|
|
6489
|
+
* @category Features
|
|
5837
6490
|
* @default false
|
|
5838
6491
|
*/
|
|
5839
6492
|
"buttonLight"?: boolean;
|
|
5840
6493
|
/**
|
|
5841
6494
|
* Add a tooltip to the search button.
|
|
5842
|
-
* @category
|
|
6495
|
+
* @category Features
|
|
5843
6496
|
*/
|
|
5844
6497
|
"buttonTooltip"?: string;
|
|
5845
6498
|
/**
|
|
5846
6499
|
* Disable the search field.
|
|
5847
|
-
* @category
|
|
6500
|
+
* @category Native attributes
|
|
5848
6501
|
* @default false
|
|
5849
6502
|
*/
|
|
5850
6503
|
"disabled"?: boolean;
|
|
5851
6504
|
/**
|
|
5852
6505
|
* Provide an aria-label for the search field.
|
|
5853
6506
|
*/
|
|
5854
|
-
"label"
|
|
6507
|
+
"label"?: string;
|
|
5855
6508
|
/**
|
|
5856
6509
|
* Override the pntopbar language.
|
|
5857
|
-
* @default
|
|
6510
|
+
* @default undefined
|
|
5858
6511
|
*/
|
|
5859
6512
|
"language"?: PnLanguages;
|
|
5860
6513
|
/**
|
|
5861
6514
|
* Point to a datalist element with this id.
|
|
6515
|
+
* @category Native attributes
|
|
5862
6516
|
*/
|
|
5863
6517
|
"list"?: string;
|
|
5864
6518
|
/**
|
|
5865
6519
|
* Display loading animation.
|
|
5866
|
-
* @category
|
|
6520
|
+
* @category Features
|
|
5867
6521
|
* @default false
|
|
5868
6522
|
*/
|
|
5869
6523
|
"loading"?: boolean;
|
|
5870
6524
|
/**
|
|
5871
6525
|
* Set HTML name of the search input.
|
|
6526
|
+
* @category Native attributes
|
|
5872
6527
|
*/
|
|
5873
6528
|
"name"?: string;
|
|
5874
6529
|
/**
|
|
@@ -5880,22 +6535,37 @@ declare namespace LocalJSX {
|
|
|
5880
6535
|
*/
|
|
5881
6536
|
"onUpdate"?: (event: PnSearchFieldCustomEvent<string>) => void;
|
|
5882
6537
|
/**
|
|
5883
|
-
* Set a search field placeholder.
|
|
6538
|
+
* Set a search field placeholder.
|
|
6539
|
+
* @category Native attributes
|
|
5884
6540
|
*/
|
|
5885
6541
|
"placeholder"?: string;
|
|
6542
|
+
/**
|
|
6543
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
6544
|
+
* @since v7.25.0
|
|
6545
|
+
* @category HTML attributes
|
|
6546
|
+
*/
|
|
6547
|
+
"pnAriaLabelledby"?: string;
|
|
6548
|
+
/**
|
|
6549
|
+
* Set a custom ID for the search input.
|
|
6550
|
+
* @since v7.25.0
|
|
6551
|
+
* @category HTML attributes
|
|
6552
|
+
*/
|
|
6553
|
+
"pnId"?: string;
|
|
5886
6554
|
/**
|
|
5887
6555
|
* Set the search field as required.
|
|
5888
|
-
* @category
|
|
6556
|
+
* @category Native attributes
|
|
5889
6557
|
* @default false
|
|
5890
6558
|
*/
|
|
5891
6559
|
"required"?: boolean;
|
|
5892
6560
|
/**
|
|
5893
6561
|
* Set a unique ID for the search input.
|
|
5894
|
-
* @
|
|
6562
|
+
* @deprecated Use `pn-id` instead.
|
|
6563
|
+
* @category HTML attributes
|
|
5895
6564
|
*/
|
|
5896
6565
|
"searchid"?: string;
|
|
5897
6566
|
/**
|
|
5898
6567
|
* Set the value of the search field.
|
|
6568
|
+
* @category Native attributes
|
|
5899
6569
|
* @default ''
|
|
5900
6570
|
*/
|
|
5901
6571
|
"value"?: string;
|
|
@@ -5908,11 +6578,13 @@ declare namespace LocalJSX {
|
|
|
5908
6578
|
/**
|
|
5909
6579
|
* Disable the segment.
|
|
5910
6580
|
* @since v7.7.0
|
|
6581
|
+
* @category Native attributes
|
|
5911
6582
|
* @default false
|
|
5912
6583
|
*/
|
|
5913
6584
|
"disabled"?: boolean;
|
|
5914
6585
|
/**
|
|
5915
6586
|
* The SVG content of the icon you want.
|
|
6587
|
+
* @category Features
|
|
5916
6588
|
*/
|
|
5917
6589
|
"icon"?: string;
|
|
5918
6590
|
/**
|
|
@@ -5922,6 +6594,7 @@ declare namespace LocalJSX {
|
|
|
5922
6594
|
"label"?: string;
|
|
5923
6595
|
/**
|
|
5924
6596
|
* The segment controller name.
|
|
6597
|
+
* @category Native attributes
|
|
5925
6598
|
*/
|
|
5926
6599
|
"name": string;
|
|
5927
6600
|
/**
|
|
@@ -5929,8 +6602,15 @@ declare namespace LocalJSX {
|
|
|
5929
6602
|
*/
|
|
5930
6603
|
"onSegmentHover"?: (event: PnSegmentCustomEvent<MouseEvent>) => void;
|
|
5931
6604
|
/**
|
|
5932
|
-
*
|
|
5933
|
-
* @
|
|
6605
|
+
* Set a custom ID for the segment.
|
|
6606
|
+
* @since v7.25.0
|
|
6607
|
+
* @category HTML attributes
|
|
6608
|
+
*/
|
|
6609
|
+
"pnId"?: string;
|
|
6610
|
+
/**
|
|
6611
|
+
* Set a custom ID for the segment.
|
|
6612
|
+
* @deprecated Use `pn-id` instead.
|
|
6613
|
+
* @category HTML attributes
|
|
5934
6614
|
*/
|
|
5935
6615
|
"segmentid"?: string;
|
|
5936
6616
|
/**
|
|
@@ -5941,6 +6621,7 @@ declare namespace LocalJSX {
|
|
|
5941
6621
|
"selected"?: boolean;
|
|
5942
6622
|
/**
|
|
5943
6623
|
* The segment value.
|
|
6624
|
+
* @category Native attributes
|
|
5944
6625
|
*/
|
|
5945
6626
|
"value": string;
|
|
5946
6627
|
}
|
|
@@ -5954,7 +6635,7 @@ declare namespace LocalJSX {
|
|
|
5954
6635
|
* This is the name of the radio buttons inside the controller.
|
|
5955
6636
|
* @deprecated Set the name in the nested `pn-segment` components.
|
|
5956
6637
|
*/
|
|
5957
|
-
"name"
|
|
6638
|
+
"name"?: string;
|
|
5958
6639
|
/**
|
|
5959
6640
|
* Currently active segment value.
|
|
5960
6641
|
*/
|
|
@@ -5969,29 +6650,30 @@ declare namespace LocalJSX {
|
|
|
5969
6650
|
interface PnSelect {
|
|
5970
6651
|
/**
|
|
5971
6652
|
* HTML autocomplete.
|
|
5972
|
-
* @category
|
|
6653
|
+
* @category Native attributes
|
|
5973
6654
|
*/
|
|
5974
6655
|
"autocomplete"?: string;
|
|
5975
6656
|
/**
|
|
5976
6657
|
* Use the compact label variant.
|
|
5977
6658
|
* @since v7.21.0
|
|
6659
|
+
* @category Features
|
|
5978
6660
|
* @default false
|
|
5979
6661
|
*/
|
|
5980
6662
|
"compact"?: boolean;
|
|
5981
6663
|
/**
|
|
5982
6664
|
* Disable the select.
|
|
5983
|
-
* @category
|
|
6665
|
+
* @category Native attributes
|
|
5984
6666
|
* @default false
|
|
5985
6667
|
*/
|
|
5986
6668
|
"disabled"?: boolean;
|
|
5987
6669
|
/**
|
|
5988
6670
|
* Display an error message and trigger the invalid state.
|
|
5989
|
-
* @category
|
|
6671
|
+
* @category Features
|
|
5990
6672
|
*/
|
|
5991
6673
|
"error"?: string;
|
|
5992
6674
|
/**
|
|
5993
6675
|
* HTML form name.
|
|
5994
|
-
* @category
|
|
6676
|
+
* @category Native attributes
|
|
5995
6677
|
*/
|
|
5996
6678
|
"form"?: string;
|
|
5997
6679
|
/**
|
|
@@ -6000,32 +6682,52 @@ declare namespace LocalJSX {
|
|
|
6000
6682
|
"helpertext"?: string;
|
|
6001
6683
|
/**
|
|
6002
6684
|
* Display an icon to the left of the select input.
|
|
6685
|
+
* @category Features
|
|
6003
6686
|
*/
|
|
6004
6687
|
"icon"?: string;
|
|
6005
6688
|
/**
|
|
6006
6689
|
* Trigger the invalid state.
|
|
6007
|
-
* @category
|
|
6690
|
+
* @category Features
|
|
6008
6691
|
* @default false
|
|
6009
6692
|
*/
|
|
6010
6693
|
"invalid"?: boolean;
|
|
6011
6694
|
/**
|
|
6012
6695
|
* Label placed above the select.
|
|
6013
6696
|
*/
|
|
6014
|
-
"label"
|
|
6697
|
+
"label"?: string;
|
|
6015
6698
|
/**
|
|
6016
6699
|
* HTML select name.
|
|
6017
|
-
* @category
|
|
6700
|
+
* @category Native attributes
|
|
6018
6701
|
*/
|
|
6019
6702
|
"name"?: string;
|
|
6703
|
+
/**
|
|
6704
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
6705
|
+
* @since v7.25.0
|
|
6706
|
+
* @category HTML attributes
|
|
6707
|
+
*/
|
|
6708
|
+
"pnAriaLabel"?: string;
|
|
6709
|
+
/**
|
|
6710
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
6711
|
+
* @since v7.25.0
|
|
6712
|
+
* @category HTML attributes
|
|
6713
|
+
*/
|
|
6714
|
+
"pnAriaLabelledby"?: string;
|
|
6715
|
+
/**
|
|
6716
|
+
* Set a custom ID for the select.
|
|
6717
|
+
* @since v7.25.0
|
|
6718
|
+
* @category HTML attributes
|
|
6719
|
+
*/
|
|
6720
|
+
"pnId"?: string;
|
|
6020
6721
|
/**
|
|
6021
6722
|
* Set the select as required.
|
|
6022
|
-
* @category
|
|
6723
|
+
* @category Native attributes
|
|
6023
6724
|
* @default false
|
|
6024
6725
|
*/
|
|
6025
6726
|
"required"?: boolean;
|
|
6026
6727
|
/**
|
|
6027
|
-
*
|
|
6028
|
-
* @
|
|
6728
|
+
* Set a custom ID for the select.
|
|
6729
|
+
* @deprecated Use `pn-id` instead.
|
|
6730
|
+
* @category HTML attributes
|
|
6029
6731
|
*/
|
|
6030
6732
|
"selectId"?: string;
|
|
6031
6733
|
}
|
|
@@ -6272,36 +6974,37 @@ declare namespace LocalJSX {
|
|
|
6272
6974
|
interface PnTextarea {
|
|
6273
6975
|
/**
|
|
6274
6976
|
* Allow the browser to autocomplete the textarea.
|
|
6275
|
-
* @category
|
|
6977
|
+
* @category Native attributes
|
|
6276
6978
|
* @default 'off'
|
|
6277
6979
|
*/
|
|
6278
6980
|
"autocomplete"?: string;
|
|
6279
6981
|
/**
|
|
6280
6982
|
* Set the col count for the textarea.
|
|
6281
|
-
* @category
|
|
6983
|
+
* @category Native attributes
|
|
6282
6984
|
* @default 20
|
|
6283
6985
|
*/
|
|
6284
6986
|
"cols"?: number;
|
|
6285
6987
|
/**
|
|
6286
6988
|
* Use the compact label variant.
|
|
6287
6989
|
* @since v7.21.0
|
|
6990
|
+
* @category Features
|
|
6288
6991
|
* @default false
|
|
6289
6992
|
*/
|
|
6290
6993
|
"compact"?: boolean;
|
|
6291
6994
|
/**
|
|
6292
6995
|
* Disable the textarea.
|
|
6293
|
-
* @category
|
|
6996
|
+
* @category Native attributes
|
|
6294
6997
|
* @default false
|
|
6295
6998
|
*/
|
|
6296
6999
|
"disabled"?: boolean;
|
|
6297
7000
|
/**
|
|
6298
7001
|
* Same as `invalid`, but will display the string as an error message under the textarea.
|
|
6299
|
-
* @category
|
|
7002
|
+
* @category Features
|
|
6300
7003
|
*/
|
|
6301
7004
|
"error"?: string;
|
|
6302
7005
|
/**
|
|
6303
7006
|
* Set the associated form.
|
|
6304
|
-
* @category
|
|
7007
|
+
* @category Native attributes
|
|
6305
7008
|
*/
|
|
6306
7009
|
"form"?: string;
|
|
6307
7010
|
/**
|
|
@@ -6310,79 +7013,98 @@ declare namespace LocalJSX {
|
|
|
6310
7013
|
"helpertext"?: string;
|
|
6311
7014
|
/**
|
|
6312
7015
|
* Set the textarea as `invalid`, will make the Label and focus rings red.
|
|
6313
|
-
* @category
|
|
7016
|
+
* @category Features
|
|
6314
7017
|
* @default false
|
|
6315
7018
|
*/
|
|
6316
7019
|
"invalid"?: boolean;
|
|
6317
7020
|
/**
|
|
6318
7021
|
* The label describing the textarea.
|
|
6319
7022
|
*/
|
|
6320
|
-
"label"
|
|
7023
|
+
"label"?: string;
|
|
6321
7024
|
/**
|
|
6322
7025
|
* The maximum number of characters the user should be able to add, also adds a visible counter.
|
|
6323
|
-
* @category
|
|
7026
|
+
* @category Native attributes
|
|
6324
7027
|
*/
|
|
6325
7028
|
"maxlength"?: number;
|
|
6326
7029
|
/**
|
|
6327
7030
|
* HTML name.
|
|
6328
|
-
* @category
|
|
7031
|
+
* @category Native attributes
|
|
6329
7032
|
*/
|
|
6330
7033
|
"name"?: string;
|
|
6331
7034
|
/**
|
|
6332
7035
|
* Placeholder for the textarea.
|
|
6333
|
-
* @category
|
|
7036
|
+
* @category Native attributes
|
|
6334
7037
|
*/
|
|
6335
7038
|
"placeholder"?: string;
|
|
7039
|
+
/**
|
|
7040
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
7041
|
+
* @since v7.25.0
|
|
7042
|
+
* @category HTML attributes
|
|
7043
|
+
*/
|
|
7044
|
+
"pnAriaLabel"?: string;
|
|
7045
|
+
/**
|
|
7046
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
7047
|
+
* @since v7.25.0
|
|
7048
|
+
* @category HTML attributes
|
|
7049
|
+
*/
|
|
7050
|
+
"pnAriaLabelledby"?: string;
|
|
7051
|
+
/**
|
|
7052
|
+
* Set a custom ID for the textarea.
|
|
7053
|
+
* @since v7.25.0
|
|
7054
|
+
* @category HTML attributes
|
|
7055
|
+
*/
|
|
7056
|
+
"pnId"?: string;
|
|
6336
7057
|
/**
|
|
6337
7058
|
* Make the textarea readonly.
|
|
6338
|
-
* @category
|
|
7059
|
+
* @category Native attributes
|
|
6339
7060
|
* @default false
|
|
6340
7061
|
*/
|
|
6341
7062
|
"readonly"?: boolean;
|
|
6342
7063
|
/**
|
|
6343
7064
|
* Make the textarea required.
|
|
6344
|
-
* @category
|
|
7065
|
+
* @category Native attributes
|
|
6345
7066
|
* @default false
|
|
6346
7067
|
*/
|
|
6347
7068
|
"required"?: boolean;
|
|
6348
7069
|
/**
|
|
6349
7070
|
* Allow the user to resize the textarea vertically. Handle width in your own layout.
|
|
6350
|
-
* @category
|
|
7071
|
+
* @category Native attributes
|
|
6351
7072
|
* @default false
|
|
6352
7073
|
*/
|
|
6353
7074
|
"resize"?: boolean;
|
|
6354
7075
|
/**
|
|
6355
7076
|
* Set the row count for the textarea.
|
|
6356
|
-
* @category
|
|
7077
|
+
* @category Native attributes
|
|
6357
7078
|
* @default 2
|
|
6358
7079
|
*/
|
|
6359
7080
|
"rows"?: number;
|
|
6360
7081
|
/**
|
|
6361
7082
|
* Allow the browser to spellcheck the textarea.
|
|
6362
|
-
* @category
|
|
7083
|
+
* @category Native attributes
|
|
6363
7084
|
* @default false
|
|
6364
7085
|
*/
|
|
6365
7086
|
"spellcheck"?: boolean;
|
|
6366
7087
|
/**
|
|
6367
|
-
*
|
|
6368
|
-
* @
|
|
6369
|
-
* @
|
|
7088
|
+
* Set a custom ID for the textarea.
|
|
7089
|
+
* @deprecated Use `pn-id` instead.
|
|
7090
|
+
* @category HTML attributes
|
|
6370
7091
|
*/
|
|
6371
7092
|
"textareaid"?: string;
|
|
6372
7093
|
/**
|
|
6373
7094
|
* Set the textarea as `valid`, will make the Label and focus rings green.
|
|
6374
|
-
* @category
|
|
7095
|
+
* @category Features
|
|
6375
7096
|
* @default false
|
|
6376
7097
|
*/
|
|
6377
7098
|
"valid"?: boolean;
|
|
6378
7099
|
/**
|
|
6379
7100
|
* The textarea content, do not provide slotted content.
|
|
7101
|
+
* @category Native attributes
|
|
6380
7102
|
* @default ''
|
|
6381
7103
|
*/
|
|
6382
7104
|
"value"?: string;
|
|
6383
7105
|
/**
|
|
6384
7106
|
* Set the wrap control.
|
|
6385
|
-
* @category
|
|
7107
|
+
* @category Native attributes
|
|
6386
7108
|
* @default 'soft'
|
|
6387
7109
|
*/
|
|
6388
7110
|
"wrap"?: string;
|
|
@@ -6523,12 +7245,13 @@ declare namespace LocalJSX {
|
|
|
6523
7245
|
interface PnToggleSwitch {
|
|
6524
7246
|
/**
|
|
6525
7247
|
* Precheck the toggle.
|
|
7248
|
+
* @category Native attributes
|
|
6526
7249
|
* @default false
|
|
6527
7250
|
*/
|
|
6528
7251
|
"checked"?: boolean;
|
|
6529
7252
|
/**
|
|
6530
7253
|
* Disable the toggle.
|
|
6531
|
-
* @category
|
|
7254
|
+
* @category Native attributes
|
|
6532
7255
|
* @default false
|
|
6533
7256
|
*/
|
|
6534
7257
|
"disabled"?: boolean;
|
|
@@ -6539,39 +7262,65 @@ declare namespace LocalJSX {
|
|
|
6539
7262
|
/**
|
|
6540
7263
|
* A label for the toggle switch.
|
|
6541
7264
|
*/
|
|
6542
|
-
"label"
|
|
7265
|
+
"label"?: string;
|
|
6543
7266
|
/**
|
|
6544
7267
|
* Make the toggle larger.
|
|
6545
|
-
* @category
|
|
7268
|
+
* @category Features
|
|
6546
7269
|
* @default false
|
|
6547
7270
|
*/
|
|
6548
7271
|
"large"?: boolean;
|
|
6549
7272
|
/**
|
|
6550
7273
|
* Set the loading state.
|
|
6551
|
-
* @category
|
|
7274
|
+
* @category Features
|
|
6552
7275
|
* @default false
|
|
6553
7276
|
*/
|
|
6554
7277
|
"loading"?: boolean;
|
|
6555
7278
|
/**
|
|
6556
7279
|
* HTML toggle name.
|
|
6557
|
-
* @category
|
|
7280
|
+
* @category Native attributes
|
|
6558
7281
|
* @default null
|
|
6559
7282
|
*/
|
|
6560
7283
|
"name"?: string;
|
|
7284
|
+
/**
|
|
7285
|
+
* Provide the label via an aria attribute. We strongly recommend you use the `label` prop instead.
|
|
7286
|
+
* @since v7.25.0
|
|
7287
|
+
* @category HTML attributes
|
|
7288
|
+
*/
|
|
7289
|
+
"pnAriaLabel"?: string;
|
|
7290
|
+
/**
|
|
7291
|
+
* Provide the label from another element via its ID. We strongly recommend you use the `label` prop instead.
|
|
7292
|
+
* @since v7.25.0
|
|
7293
|
+
* @category HTML attributes
|
|
7294
|
+
*/
|
|
7295
|
+
"pnAriaLabelledby"?: string;
|
|
7296
|
+
/**
|
|
7297
|
+
* Set a custom ID for the switch.
|
|
7298
|
+
* @since v7.25.0
|
|
7299
|
+
* @category HTML attributes
|
|
7300
|
+
*/
|
|
7301
|
+
"pnId"?: string;
|
|
7302
|
+
/**
|
|
7303
|
+
* Set the switch as required.
|
|
7304
|
+
* @since v7.25.0
|
|
7305
|
+
* @category Native attributes
|
|
7306
|
+
* @default false
|
|
7307
|
+
*/
|
|
7308
|
+
"required"?: boolean;
|
|
6561
7309
|
/**
|
|
6562
7310
|
* Make the toggle smaller.
|
|
6563
|
-
* @category
|
|
7311
|
+
* @category Features
|
|
6564
7312
|
* @default false
|
|
6565
7313
|
*/
|
|
6566
7314
|
"small"?: boolean;
|
|
6567
7315
|
/**
|
|
6568
|
-
* Set a
|
|
6569
|
-
* @
|
|
7316
|
+
* Set a custom ID for the switch.
|
|
7317
|
+
* @deprecated Use `pn-id` instead.
|
|
7318
|
+
* @category HTML attributes
|
|
6570
7319
|
*/
|
|
6571
7320
|
"toggleid"?: string;
|
|
6572
7321
|
/**
|
|
6573
7322
|
* HTML toggle value.
|
|
6574
|
-
* @category
|
|
7323
|
+
* @category Native attributes
|
|
6575
7324
|
* @default null
|
|
6576
7325
|
*/
|
|
6577
7326
|
"value"?: string;
|
|
@@ -6701,7 +7450,7 @@ declare namespace LocalJSX {
|
|
|
6701
7450
|
*/
|
|
6702
7451
|
"step"?: number;
|
|
6703
7452
|
/**
|
|
6704
|
-
* The list of querySelectors that the wizards will highlight. Recommended maximum of 7 steps.
|
|
7453
|
+
* The list of querySelectors that the wizards will highlight. If a selector is invalid or empty, the wizard will be centered on the screen. Recommended maximum of 7 steps.
|
|
6705
7454
|
* @category Wizard steps
|
|
6706
7455
|
* @default []
|
|
6707
7456
|
*/
|
|
@@ -6725,55 +7474,640 @@ declare namespace LocalJSX {
|
|
|
6725
7474
|
*/
|
|
6726
7475
|
"value"?: string;
|
|
6727
7476
|
}
|
|
7477
|
+
|
|
7478
|
+
interface PnAccordionAttributes {
|
|
7479
|
+
"single": boolean;
|
|
7480
|
+
"transparent": boolean;
|
|
7481
|
+
}
|
|
7482
|
+
interface PnAccordionRowAttributes {
|
|
7483
|
+
"label": string;
|
|
7484
|
+
"state": boolean;
|
|
7485
|
+
"buttonid": string;
|
|
7486
|
+
"contentid": string;
|
|
7487
|
+
"transparent": boolean;
|
|
7488
|
+
}
|
|
7489
|
+
interface PnActionMenuAttributes {
|
|
7490
|
+
"menuId": string;
|
|
7491
|
+
"language": PnLanguages;
|
|
7492
|
+
"open": boolean;
|
|
7493
|
+
"menuUp": boolean;
|
|
7494
|
+
"menuLeft": boolean;
|
|
7495
|
+
}
|
|
7496
|
+
interface PnButtonAttributes {
|
|
7497
|
+
"label": string;
|
|
7498
|
+
"appearance": PnButtonAppearance;
|
|
7499
|
+
"variant": PnButtonVariant;
|
|
7500
|
+
"small": boolean;
|
|
7501
|
+
"loading": boolean;
|
|
7502
|
+
"icon": string;
|
|
7503
|
+
"iconOnly": boolean;
|
|
7504
|
+
"leftIcon": boolean;
|
|
7505
|
+
"tooltip": string;
|
|
7506
|
+
"tooltipUp": boolean;
|
|
7507
|
+
"type": 'button' | 'reset' | 'submit' | '';
|
|
7508
|
+
"form": string;
|
|
7509
|
+
"href": string;
|
|
7510
|
+
"rel": string;
|
|
7511
|
+
"target": string;
|
|
7512
|
+
"download": string;
|
|
7513
|
+
"buttonId": string;
|
|
7514
|
+
"arialabel": string;
|
|
7515
|
+
"arialabelledby": string;
|
|
7516
|
+
"ariacurrent": string;
|
|
7517
|
+
"ariacontrols": string;
|
|
7518
|
+
"ariapressed": string;
|
|
7519
|
+
"ariahaspopup": string;
|
|
7520
|
+
"ariaexpanded": string;
|
|
7521
|
+
"noTab": boolean;
|
|
7522
|
+
}
|
|
7523
|
+
interface PnButtonDropdownAttributes {
|
|
7524
|
+
"label": string;
|
|
7525
|
+
"icon": string;
|
|
7526
|
+
"appearance": PnButtonAppearance;
|
|
7527
|
+
"variant": PnButtonVariant;
|
|
7528
|
+
"small": boolean;
|
|
7529
|
+
"tooltip": string;
|
|
7530
|
+
"open": boolean;
|
|
7531
|
+
}
|
|
7532
|
+
interface PnCardAttributes {
|
|
7533
|
+
"label": string;
|
|
7534
|
+
"labelTag": 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
|
|
7535
|
+
"overline": string;
|
|
7536
|
+
"text": string;
|
|
7537
|
+
"cardId": string;
|
|
7538
|
+
"horizontal": boolean;
|
|
7539
|
+
"reverse": boolean;
|
|
7540
|
+
"aspectRatio": string | '3/3' | '16/9';
|
|
7541
|
+
"href": string;
|
|
7542
|
+
"hrefLabel": string;
|
|
7543
|
+
"target": string;
|
|
7544
|
+
"rel": string;
|
|
7545
|
+
"icon": string;
|
|
7546
|
+
}
|
|
7547
|
+
interface PnCheckboxAttributes {
|
|
7548
|
+
"label": string;
|
|
7549
|
+
"helpertext": string;
|
|
7550
|
+
"value": string;
|
|
7551
|
+
"name": string;
|
|
7552
|
+
"checked": boolean;
|
|
7553
|
+
"required": boolean;
|
|
7554
|
+
"disabled": boolean;
|
|
7555
|
+
"invalid": boolean;
|
|
7556
|
+
"indeterminate": boolean;
|
|
7557
|
+
"tile": boolean;
|
|
7558
|
+
"expand": boolean;
|
|
7559
|
+
"icon": string;
|
|
7560
|
+
"pnId": string;
|
|
7561
|
+
"pnAriaLabel": string;
|
|
7562
|
+
"pnAriaLabelledby": string;
|
|
7563
|
+
"checkboxid": string;
|
|
7564
|
+
}
|
|
7565
|
+
interface PnChoiceChipAttributes {
|
|
7566
|
+
"label": string;
|
|
7567
|
+
"value": string;
|
|
7568
|
+
"name": string;
|
|
7569
|
+
"checked": boolean;
|
|
7570
|
+
"required": boolean;
|
|
7571
|
+
"disabled": boolean;
|
|
7572
|
+
"radio": boolean;
|
|
7573
|
+
"icon": string;
|
|
7574
|
+
"small": boolean;
|
|
7575
|
+
"large": boolean;
|
|
7576
|
+
"pnId": string;
|
|
7577
|
+
"choiceid": string;
|
|
7578
|
+
}
|
|
7579
|
+
interface PnCounterAttributes {
|
|
7580
|
+
"label": string;
|
|
7581
|
+
"helpertext": string;
|
|
7582
|
+
"language": PnLanguages;
|
|
7583
|
+
"value": number;
|
|
7584
|
+
"name": string;
|
|
7585
|
+
"min": number;
|
|
7586
|
+
"max": number;
|
|
7587
|
+
"step": number;
|
|
7588
|
+
"list": string;
|
|
7589
|
+
"required": boolean;
|
|
7590
|
+
"readonly": boolean;
|
|
7591
|
+
"disabled": boolean;
|
|
7592
|
+
"compact": boolean;
|
|
7593
|
+
"labelDecrease": string;
|
|
7594
|
+
"labelIncrease": string;
|
|
7595
|
+
"hideTooltips": boolean;
|
|
7596
|
+
"minMessage": string;
|
|
7597
|
+
"maxMessage": string;
|
|
7598
|
+
"pnId": string;
|
|
7599
|
+
"pnAriaLabel": string;
|
|
7600
|
+
"pnAriaLabelledby": string;
|
|
7601
|
+
"counterid": string;
|
|
7602
|
+
}
|
|
7603
|
+
interface PnDatePickerAttributes {
|
|
7604
|
+
"labelFrom": string;
|
|
7605
|
+
"labelTo": string;
|
|
7606
|
+
"helpertext": string;
|
|
7607
|
+
"language": PnLanguages;
|
|
7608
|
+
"start": string;
|
|
7609
|
+
"end": string;
|
|
7610
|
+
"name": string;
|
|
7611
|
+
"nameEnd": string;
|
|
7612
|
+
"placeholder": string;
|
|
7613
|
+
"endPlaceholder": string;
|
|
7614
|
+
"placeholderEnd": string;
|
|
7615
|
+
"autocomplete": string;
|
|
7616
|
+
"list": string;
|
|
7617
|
+
"listEnd": string;
|
|
7618
|
+
"pattern": string;
|
|
7619
|
+
"required": boolean;
|
|
7620
|
+
"readonly": boolean;
|
|
7621
|
+
"disabled": boolean;
|
|
7622
|
+
"format": string;
|
|
7623
|
+
"disableTypeAhead": boolean;
|
|
7624
|
+
"disableWeekends": boolean;
|
|
7625
|
+
"disabledDates": string;
|
|
7626
|
+
"disableMaxLength": boolean;
|
|
7627
|
+
"range": boolean;
|
|
7628
|
+
"rangeLimit": number;
|
|
7629
|
+
"weekNumbers": boolean;
|
|
7630
|
+
"compact": boolean;
|
|
7631
|
+
"calendarUp": boolean;
|
|
7632
|
+
"view": CalendarView;
|
|
7633
|
+
"invalid": boolean;
|
|
7634
|
+
"error": string;
|
|
7635
|
+
"pnId": string;
|
|
7636
|
+
"pnAriaLabel": string;
|
|
7637
|
+
"pnAriaLabelEnd": string;
|
|
7638
|
+
"pnAriaLabelledby": string;
|
|
7639
|
+
"pnAriaLabelledbyEnd": string;
|
|
7640
|
+
"dateId": string;
|
|
7641
|
+
"minDate": string;
|
|
7642
|
+
"maxDate": string;
|
|
7643
|
+
}
|
|
7644
|
+
interface PnFieldsetAttributes {
|
|
7645
|
+
"legend": string;
|
|
7646
|
+
"helpertext": string;
|
|
7647
|
+
"name": string;
|
|
7648
|
+
"form": string;
|
|
7649
|
+
"disabled": boolean;
|
|
7650
|
+
"invalid": boolean;
|
|
7651
|
+
"error": string;
|
|
7652
|
+
"pnId": string;
|
|
7653
|
+
"fieldsetId": string;
|
|
7654
|
+
}
|
|
7655
|
+
interface PnFileUploadAttributes {
|
|
7656
|
+
"label": string;
|
|
7657
|
+
"helpertext": string;
|
|
7658
|
+
"language": PnLanguages;
|
|
7659
|
+
"name": string;
|
|
7660
|
+
"accept": string;
|
|
7661
|
+
"capture": '' | 'user' | 'environment';
|
|
7662
|
+
"multiple": boolean;
|
|
7663
|
+
"required": boolean;
|
|
7664
|
+
"disabled": boolean;
|
|
7665
|
+
"limit": number;
|
|
7666
|
+
"maxSize": string;
|
|
7667
|
+
"hideProgress": boolean;
|
|
7668
|
+
"pnId": string;
|
|
7669
|
+
}
|
|
7670
|
+
interface PnFooterAttributes {
|
|
7671
|
+
"market": PnMarkets;
|
|
7672
|
+
"language": PnLanguages;
|
|
7673
|
+
}
|
|
7674
|
+
interface PnHeaderAttributes {
|
|
7675
|
+
"heading": string;
|
|
7676
|
+
"maxWidth": string;
|
|
7677
|
+
"goBackHref": string;
|
|
7678
|
+
"goBackText": string;
|
|
7679
|
+
"language": PnLanguages;
|
|
7680
|
+
}
|
|
7681
|
+
interface PnIconAttributes {
|
|
7682
|
+
"icon": string;
|
|
7683
|
+
"small": boolean;
|
|
7684
|
+
"color": PnColors;
|
|
7685
|
+
}
|
|
7686
|
+
interface PnIllustrationAttributes {
|
|
7687
|
+
"illustration": string;
|
|
7688
|
+
"width": string;
|
|
7689
|
+
"height": string;
|
|
7690
|
+
"fill": boolean;
|
|
7691
|
+
}
|
|
7692
|
+
interface PnInputAttributes {
|
|
7693
|
+
"label": string;
|
|
7694
|
+
"helpertext": string;
|
|
7695
|
+
"language": PnLanguages;
|
|
7696
|
+
"value": string;
|
|
7697
|
+
"type": 'text' | 'password' | 'url' | 'tel' | 'search' | 'number' | 'email' | '';
|
|
7698
|
+
"name": string;
|
|
7699
|
+
"placeholder": string;
|
|
7700
|
+
"autocomplete": string;
|
|
7701
|
+
"maxlength": number;
|
|
7702
|
+
"inputmode": 'text' | 'none' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
7703
|
+
"list": string;
|
|
7704
|
+
"pattern": string;
|
|
7705
|
+
"min": string;
|
|
7706
|
+
"max": string;
|
|
7707
|
+
"step": string;
|
|
7708
|
+
"required": boolean;
|
|
7709
|
+
"readonly": boolean;
|
|
7710
|
+
"disabled": boolean;
|
|
7711
|
+
"compact": boolean;
|
|
7712
|
+
"icon": string;
|
|
7713
|
+
"textPrefix": string;
|
|
7714
|
+
"textSuffix": string;
|
|
7715
|
+
"valid": boolean;
|
|
7716
|
+
"invalid": boolean;
|
|
7717
|
+
"error": string;
|
|
7718
|
+
"pnId": string;
|
|
7719
|
+
"pnAriaLabel": string;
|
|
7720
|
+
"pnAriaLabelledby": string;
|
|
7721
|
+
"pnAriaControls": string;
|
|
7722
|
+
"inputid": string;
|
|
7723
|
+
"arialabel": string;
|
|
7724
|
+
"ariacontrols": string;
|
|
7725
|
+
}
|
|
7726
|
+
interface PnModalAttributes {
|
|
7727
|
+
"label": string;
|
|
7728
|
+
"helpertext": string;
|
|
7729
|
+
"language": PnLanguages;
|
|
7730
|
+
"pnId": string;
|
|
7731
|
+
"open": boolean;
|
|
7732
|
+
"persistent": boolean;
|
|
7733
|
+
"hideClose": boolean;
|
|
7734
|
+
"allowOverflow": boolean;
|
|
7735
|
+
"sheet": boolean;
|
|
7736
|
+
"maxWidth": string;
|
|
7737
|
+
}
|
|
7738
|
+
interface PnMultiselectAttributes {
|
|
7739
|
+
"label": string;
|
|
7740
|
+
"helpertext": string;
|
|
7741
|
+
"language": PnLanguages;
|
|
7742
|
+
"name": string;
|
|
7743
|
+
"selectName": string;
|
|
7744
|
+
"placeholder": string;
|
|
7745
|
+
"required": boolean;
|
|
7746
|
+
"disabled": boolean;
|
|
7747
|
+
"compact": boolean;
|
|
7748
|
+
"icon": string;
|
|
7749
|
+
"selectAll": boolean;
|
|
7750
|
+
"allValue": string;
|
|
7751
|
+
"search": boolean;
|
|
7752
|
+
"searchQuery": string;
|
|
7753
|
+
"itemCount": number;
|
|
7754
|
+
"maxHeight": string;
|
|
7755
|
+
"top": boolean;
|
|
7756
|
+
"bottom": boolean;
|
|
7757
|
+
"invalid": boolean;
|
|
7758
|
+
"error": string;
|
|
7759
|
+
"pnId": string;
|
|
7760
|
+
"pnAriaLabel": string;
|
|
7761
|
+
"pnAriaLabelledby": string;
|
|
7762
|
+
"selectId": string;
|
|
7763
|
+
}
|
|
7764
|
+
interface PnOcrSearchAttributes {
|
|
7765
|
+
"language": PnLanguages;
|
|
7766
|
+
}
|
|
7767
|
+
interface PnPageNavAttributes {
|
|
7768
|
+
"value": string;
|
|
7769
|
+
"dropdown": string;
|
|
7770
|
+
"navid": string;
|
|
7771
|
+
}
|
|
7772
|
+
interface PnPageNavDropdownItemAttributes {
|
|
7773
|
+
"value": string;
|
|
7774
|
+
"href": string;
|
|
7775
|
+
"active": boolean;
|
|
7776
|
+
}
|
|
7777
|
+
interface PnPageNavItemAttributes {
|
|
7778
|
+
"value": string;
|
|
7779
|
+
"href": string;
|
|
7780
|
+
"icon": string;
|
|
7781
|
+
}
|
|
7782
|
+
interface PnPaginationAttributes {
|
|
7783
|
+
"label": string;
|
|
7784
|
+
"urlTemplate": string;
|
|
7785
|
+
"paginationId": string;
|
|
7786
|
+
"language": PnLanguages;
|
|
7787
|
+
"page": number;
|
|
7788
|
+
"pages": number;
|
|
7789
|
+
"pagesVisible": number;
|
|
7790
|
+
"rows": number;
|
|
7791
|
+
"rowsList": string;
|
|
7792
|
+
"rowsLabel": string;
|
|
7793
|
+
}
|
|
7794
|
+
interface PnProgressBarAttributes {
|
|
7795
|
+
"label": string;
|
|
7796
|
+
"progress": number;
|
|
7797
|
+
"progressText": string;
|
|
7798
|
+
"successText": string;
|
|
7799
|
+
"error": string;
|
|
7800
|
+
"progressId": string;
|
|
7801
|
+
}
|
|
7802
|
+
interface PnProgressIndicatorAttributes {
|
|
7803
|
+
"activeStep": number;
|
|
7804
|
+
}
|
|
7805
|
+
interface PnProgressIndicatorStepAttributes {
|
|
7806
|
+
"activeStep": number;
|
|
7807
|
+
"index": number;
|
|
7808
|
+
"name": string;
|
|
7809
|
+
"checked": boolean;
|
|
7810
|
+
"active": 'yes' | 'no';
|
|
7811
|
+
}
|
|
7812
|
+
interface PnProgressStepperAttributes {
|
|
7813
|
+
"label": string;
|
|
7814
|
+
"progressStepperId": string;
|
|
7815
|
+
"language": PnLanguages;
|
|
7816
|
+
"totalSteps": number;
|
|
7817
|
+
"currentStep": number;
|
|
7818
|
+
"stepName": string;
|
|
7819
|
+
"dots": boolean;
|
|
7820
|
+
}
|
|
7821
|
+
interface PnRadioButtonAttributes {
|
|
7822
|
+
"label": string;
|
|
7823
|
+
"helpertext": string;
|
|
7824
|
+
"value": string;
|
|
7825
|
+
"name": string;
|
|
7826
|
+
"checked": boolean;
|
|
7827
|
+
"required": boolean;
|
|
7828
|
+
"disabled": boolean;
|
|
7829
|
+
"tile": boolean;
|
|
7830
|
+
"expand": boolean;
|
|
7831
|
+
"icon": string;
|
|
7832
|
+
"invalid": boolean;
|
|
7833
|
+
"pnId": string;
|
|
7834
|
+
"pnAriaLabel": string;
|
|
7835
|
+
"pnAriaLabelledby": string;
|
|
7836
|
+
"radioid": string;
|
|
7837
|
+
}
|
|
7838
|
+
interface PnRangeAttributes {
|
|
7839
|
+
"label": string;
|
|
7840
|
+
"labelEnd": string;
|
|
7841
|
+
"helpertext": string;
|
|
7842
|
+
"value": number;
|
|
7843
|
+
"valueEnd": number;
|
|
7844
|
+
"name": string;
|
|
7845
|
+
"nameEnd": string;
|
|
7846
|
+
"min": number;
|
|
7847
|
+
"max": number;
|
|
7848
|
+
"step": HTMLInputElement['step'];
|
|
7849
|
+
"disabled": boolean;
|
|
7850
|
+
"input": boolean;
|
|
7851
|
+
"tooltipTemplate": string;
|
|
7852
|
+
"tooltipHide": boolean;
|
|
7853
|
+
"textPrefix": string;
|
|
7854
|
+
"textSuffix": string;
|
|
7855
|
+
"icon": string;
|
|
7856
|
+
"iconEnd": string;
|
|
7857
|
+
"multiple": boolean;
|
|
7858
|
+
"invalid": boolean;
|
|
7859
|
+
"error": string;
|
|
7860
|
+
"pnId": string;
|
|
7861
|
+
"pnIdEnd": string;
|
|
7862
|
+
"pnAriaLabel": string;
|
|
7863
|
+
"pnAriaLabelEnd": string;
|
|
7864
|
+
"pnAriaLabelledby": string;
|
|
7865
|
+
"pnAriaLabelledbyEnd": string;
|
|
7866
|
+
}
|
|
7867
|
+
interface PnReadOnlyButtonAttributes {
|
|
7868
|
+
"icon": string;
|
|
7869
|
+
"leftIcon": boolean;
|
|
7870
|
+
"iconOnly": boolean;
|
|
7871
|
+
"small": boolean;
|
|
7872
|
+
"language": PnLanguages;
|
|
7873
|
+
}
|
|
7874
|
+
interface PnSearchFieldAttributes {
|
|
7875
|
+
"label": string;
|
|
7876
|
+
"language": PnLanguages;
|
|
7877
|
+
"value": string;
|
|
7878
|
+
"name": string;
|
|
7879
|
+
"placeholder": string;
|
|
7880
|
+
"autocomplete": string;
|
|
7881
|
+
"list": string;
|
|
7882
|
+
"required": boolean;
|
|
7883
|
+
"disabled": boolean;
|
|
7884
|
+
"loading": boolean;
|
|
7885
|
+
"button": PnSearchFieldButton;
|
|
7886
|
+
"buttonLabel": string;
|
|
7887
|
+
"buttonTooltip": string;
|
|
7888
|
+
"buttonLight": boolean;
|
|
7889
|
+
"pnId": string;
|
|
7890
|
+
"pnAriaLabelledby": string;
|
|
7891
|
+
"searchid": string;
|
|
7892
|
+
}
|
|
7893
|
+
interface PnSegmentAttributes {
|
|
7894
|
+
"label": string;
|
|
7895
|
+
"value": string;
|
|
7896
|
+
"name": string;
|
|
7897
|
+
"disabled": boolean;
|
|
7898
|
+
"selected": boolean;
|
|
7899
|
+
"icon": string;
|
|
7900
|
+
"pnId": string;
|
|
7901
|
+
"segmentid": string;
|
|
7902
|
+
}
|
|
7903
|
+
interface PnSegmentedControlAttributes {
|
|
7904
|
+
"name": string;
|
|
7905
|
+
"value": string;
|
|
7906
|
+
}
|
|
7907
|
+
interface PnSelectAttributes {
|
|
7908
|
+
"label": string;
|
|
7909
|
+
"helpertext": string;
|
|
7910
|
+
"name": string;
|
|
7911
|
+
"form": string;
|
|
7912
|
+
"autocomplete": string;
|
|
7913
|
+
"required": boolean;
|
|
7914
|
+
"disabled": boolean;
|
|
7915
|
+
"compact": boolean;
|
|
7916
|
+
"icon": string;
|
|
7917
|
+
"invalid": boolean;
|
|
7918
|
+
"error": string;
|
|
7919
|
+
"pnId": string;
|
|
7920
|
+
"pnAriaLabel": string;
|
|
7921
|
+
"pnAriaLabelledby": string;
|
|
7922
|
+
"selectId": string;
|
|
7923
|
+
}
|
|
7924
|
+
interface PnSpinnerAttributes {
|
|
7925
|
+
"light": boolean;
|
|
7926
|
+
"size": number;
|
|
7927
|
+
}
|
|
7928
|
+
interface PnTabAttributes {
|
|
7929
|
+
"label": string;
|
|
7930
|
+
"value": string;
|
|
7931
|
+
"href": string;
|
|
7932
|
+
"icon": string;
|
|
7933
|
+
"ariacontrols": string;
|
|
7934
|
+
"tabid": string;
|
|
7935
|
+
"activeTab": string;
|
|
7936
|
+
}
|
|
7937
|
+
interface PnTableAttributes {
|
|
7938
|
+
"gray": boolean;
|
|
7939
|
+
"bordered": boolean;
|
|
7940
|
+
"striped": boolean;
|
|
7941
|
+
}
|
|
7942
|
+
interface PnTablistAttributes {
|
|
7943
|
+
"label": string;
|
|
7944
|
+
"value": string;
|
|
7945
|
+
"small": boolean;
|
|
7946
|
+
"stackedicons": boolean;
|
|
7947
|
+
"language": PnLanguages;
|
|
7948
|
+
}
|
|
7949
|
+
interface PnTagAttributes {
|
|
7950
|
+
"label": string;
|
|
7951
|
+
"icon": string;
|
|
7952
|
+
"appearance": '' | 'discrete' | 'positive' | 'warning' | 'error';
|
|
7953
|
+
"dark": boolean;
|
|
7954
|
+
"large": boolean;
|
|
7955
|
+
"small": boolean;
|
|
7956
|
+
"xsmall": boolean;
|
|
7957
|
+
}
|
|
7958
|
+
interface PnTextLinkAttributes {
|
|
7959
|
+
"label": string;
|
|
7960
|
+
"href": string;
|
|
7961
|
+
"light": boolean;
|
|
7962
|
+
"icon": string;
|
|
7963
|
+
"leftIcon": boolean;
|
|
7964
|
+
"download": string;
|
|
7965
|
+
"hreflang": string;
|
|
7966
|
+
"media": string;
|
|
7967
|
+
"referrerpolicy": ReferrerPolicy;
|
|
7968
|
+
"rel": string;
|
|
7969
|
+
"target": string;
|
|
7970
|
+
"linkid": string;
|
|
7971
|
+
}
|
|
7972
|
+
interface PnTextareaAttributes {
|
|
7973
|
+
"label": string;
|
|
7974
|
+
"helpertext": string;
|
|
7975
|
+
"value": string;
|
|
7976
|
+
"name": string;
|
|
7977
|
+
"placeholder": string;
|
|
7978
|
+
"form": string;
|
|
7979
|
+
"rows": number;
|
|
7980
|
+
"cols": number;
|
|
7981
|
+
"wrap": string;
|
|
7982
|
+
"maxlength": number;
|
|
7983
|
+
"autocomplete": string;
|
|
7984
|
+
"spellcheck": boolean;
|
|
7985
|
+
"resize": boolean;
|
|
7986
|
+
"required": boolean;
|
|
7987
|
+
"disabled": boolean;
|
|
7988
|
+
"readonly": boolean;
|
|
7989
|
+
"compact": boolean;
|
|
7990
|
+
"valid": boolean;
|
|
7991
|
+
"invalid": boolean;
|
|
7992
|
+
"error": string;
|
|
7993
|
+
"pnId": string;
|
|
7994
|
+
"pnAriaLabel": string;
|
|
7995
|
+
"pnAriaLabelledby": string;
|
|
7996
|
+
"textareaid": string;
|
|
7997
|
+
}
|
|
7998
|
+
interface PnTileAttributes {
|
|
7999
|
+
"label": string;
|
|
8000
|
+
"text": string;
|
|
8001
|
+
"url": string;
|
|
8002
|
+
"target": string;
|
|
8003
|
+
"rel": string;
|
|
8004
|
+
"illustration": string;
|
|
8005
|
+
"icon": string;
|
|
8006
|
+
"horizontal": boolean;
|
|
8007
|
+
}
|
|
8008
|
+
interface PnToastAttributes {
|
|
8009
|
+
"heading": string;
|
|
8010
|
+
"text": string;
|
|
8011
|
+
"toastId": string;
|
|
8012
|
+
"appearance": '' | 'success' | 'warning' | 'error';
|
|
8013
|
+
"temporary": boolean;
|
|
8014
|
+
"icon": string;
|
|
8015
|
+
"illustration": string;
|
|
8016
|
+
"hide": boolean;
|
|
8017
|
+
"closable": boolean;
|
|
8018
|
+
"language": PnLanguages;
|
|
8019
|
+
}
|
|
8020
|
+
interface PnToggleSwitchAttributes {
|
|
8021
|
+
"label": string;
|
|
8022
|
+
"helpertext": string;
|
|
8023
|
+
"value": string;
|
|
8024
|
+
"name": string;
|
|
8025
|
+
"checked": boolean;
|
|
8026
|
+
"required": boolean;
|
|
8027
|
+
"disabled": boolean;
|
|
8028
|
+
"small": boolean;
|
|
8029
|
+
"large": boolean;
|
|
8030
|
+
"loading": boolean;
|
|
8031
|
+
"pnId": string;
|
|
8032
|
+
"pnAriaLabel": string;
|
|
8033
|
+
"pnAriaLabelledby": string;
|
|
8034
|
+
"toggleid": string;
|
|
8035
|
+
}
|
|
8036
|
+
interface PnTooltipAttributes {
|
|
8037
|
+
"warning": boolean;
|
|
8038
|
+
"light": boolean;
|
|
8039
|
+
"tooltip": string;
|
|
8040
|
+
}
|
|
8041
|
+
interface PnWizardAttributes {
|
|
8042
|
+
"label": string;
|
|
8043
|
+
"helpertext": string;
|
|
8044
|
+
"language": PnLanguages;
|
|
8045
|
+
"pnId": string;
|
|
8046
|
+
"step": number;
|
|
8047
|
+
"progress": '' | 'dots' | 'text';
|
|
8048
|
+
"scrollBlock": 'start' | 'center' | 'end' | 'nearest';
|
|
8049
|
+
"displayOverflow": boolean;
|
|
8050
|
+
"hideBack": boolean;
|
|
8051
|
+
"hideNext": boolean;
|
|
8052
|
+
"hideFinish": boolean;
|
|
8053
|
+
"labelBack": string;
|
|
8054
|
+
"labelNext": string;
|
|
8055
|
+
"labelFinish": string;
|
|
8056
|
+
}
|
|
8057
|
+
interface PnZipcodeSearchAttributes {
|
|
8058
|
+
"language": PnZipCodeSearchLanguages;
|
|
8059
|
+
"value": string;
|
|
8060
|
+
}
|
|
8061
|
+
|
|
6728
8062
|
interface IntrinsicElements {
|
|
6729
|
-
"pn-accordion": PnAccordion;
|
|
6730
|
-
"pn-accordion-row": PnAccordionRow;
|
|
6731
|
-
"pn-action-menu": PnActionMenu;
|
|
6732
|
-
"pn-button": PnButton;
|
|
6733
|
-
"pn-button-dropdown": PnButtonDropdown
|
|
6734
|
-
"pn-card": PnCard;
|
|
6735
|
-
"pn-checkbox": PnCheckbox
|
|
6736
|
-
"pn-choice-chip": PnChoiceChip
|
|
6737
|
-
"pn-counter": PnCounter;
|
|
6738
|
-
"pn-date-picker": PnDatePicker;
|
|
6739
|
-
"pn-fieldset": PnFieldset
|
|
6740
|
-
"pn-file-upload": PnFileUpload;
|
|
6741
|
-
"pn-footer": PnFooter;
|
|
6742
|
-
"pn-header": PnHeader;
|
|
6743
|
-
"pn-icon": PnIcon;
|
|
6744
|
-
"pn-illustration": PnIllustration
|
|
6745
|
-
"pn-input": PnInput;
|
|
6746
|
-
"pn-modal": PnModal;
|
|
6747
|
-
"pn-multiselect": PnMultiselect;
|
|
6748
|
-
"pn-ocr-search": PnOcrSearch;
|
|
6749
|
-
"pn-page-nav": PnPageNav;
|
|
6750
|
-
"pn-page-nav-dropdown-item": PnPageNavDropdownItem
|
|
6751
|
-
"pn-page-nav-item": PnPageNavItem
|
|
6752
|
-
"pn-pagination": PnPagination
|
|
6753
|
-
"pn-progress-bar": PnProgressBar;
|
|
6754
|
-
"pn-progress-indicator": PnProgressIndicator;
|
|
6755
|
-
"pn-progress-indicator-step": PnProgressIndicatorStep;
|
|
6756
|
-
"pn-progress-stepper": PnProgressStepper;
|
|
6757
|
-
"pn-radio-button": PnRadioButton
|
|
6758
|
-
"pn-range": PnRange;
|
|
6759
|
-
"pn-read-only-button": PnReadOnlyButton;
|
|
6760
|
-
"pn-search-field": PnSearchField;
|
|
6761
|
-
"pn-segment": PnSegment
|
|
6762
|
-
"pn-segmented-control": PnSegmentedControl;
|
|
6763
|
-
"pn-select": PnSelect;
|
|
6764
|
-
"pn-spinner": PnSpinner;
|
|
6765
|
-
"pn-tab": PnTab
|
|
6766
|
-
"pn-table": PnTable;
|
|
6767
|
-
"pn-tablist": PnTablist
|
|
6768
|
-
"pn-tag": PnTag
|
|
6769
|
-
"pn-text-link": PnTextLink
|
|
6770
|
-
"pn-textarea": PnTextarea;
|
|
6771
|
-
"pn-tile": PnTile
|
|
6772
|
-
"pn-toast": PnToast;
|
|
6773
|
-
"pn-toggle-switch": PnToggleSwitch;
|
|
6774
|
-
"pn-tooltip": PnTooltip;
|
|
6775
|
-
"pn-wizard": PnWizard;
|
|
6776
|
-
"pn-zipcode-search": PnZipcodeSearch;
|
|
8063
|
+
"pn-accordion": Omit<PnAccordion, keyof PnAccordionAttributes> & { [K in keyof PnAccordion & keyof PnAccordionAttributes]?: PnAccordion[K] } & { [K in keyof PnAccordion & keyof PnAccordionAttributes as `attr:${K}`]?: PnAccordionAttributes[K] } & { [K in keyof PnAccordion & keyof PnAccordionAttributes as `prop:${K}`]?: PnAccordion[K] };
|
|
8064
|
+
"pn-accordion-row": Omit<PnAccordionRow, keyof PnAccordionRowAttributes> & { [K in keyof PnAccordionRow & keyof PnAccordionRowAttributes]?: PnAccordionRow[K] } & { [K in keyof PnAccordionRow & keyof PnAccordionRowAttributes as `attr:${K}`]?: PnAccordionRowAttributes[K] } & { [K in keyof PnAccordionRow & keyof PnAccordionRowAttributes as `prop:${K}`]?: PnAccordionRow[K] };
|
|
8065
|
+
"pn-action-menu": Omit<PnActionMenu, keyof PnActionMenuAttributes> & { [K in keyof PnActionMenu & keyof PnActionMenuAttributes]?: PnActionMenu[K] } & { [K in keyof PnActionMenu & keyof PnActionMenuAttributes as `attr:${K}`]?: PnActionMenuAttributes[K] } & { [K in keyof PnActionMenu & keyof PnActionMenuAttributes as `prop:${K}`]?: PnActionMenu[K] };
|
|
8066
|
+
"pn-button": Omit<PnButton, keyof PnButtonAttributes> & { [K in keyof PnButton & keyof PnButtonAttributes]?: PnButton[K] } & { [K in keyof PnButton & keyof PnButtonAttributes as `attr:${K}`]?: PnButtonAttributes[K] } & { [K in keyof PnButton & keyof PnButtonAttributes as `prop:${K}`]?: PnButton[K] };
|
|
8067
|
+
"pn-button-dropdown": Omit<PnButtonDropdown, keyof PnButtonDropdownAttributes> & { [K in keyof PnButtonDropdown & keyof PnButtonDropdownAttributes]?: PnButtonDropdown[K] } & { [K in keyof PnButtonDropdown & keyof PnButtonDropdownAttributes as `attr:${K}`]?: PnButtonDropdownAttributes[K] } & { [K in keyof PnButtonDropdown & keyof PnButtonDropdownAttributes as `prop:${K}`]?: PnButtonDropdown[K] } & OneOf<"label", PnButtonDropdown["label"], PnButtonDropdownAttributes["label"]>;
|
|
8068
|
+
"pn-card": Omit<PnCard, keyof PnCardAttributes> & { [K in keyof PnCard & keyof PnCardAttributes]?: PnCard[K] } & { [K in keyof PnCard & keyof PnCardAttributes as `attr:${K}`]?: PnCardAttributes[K] } & { [K in keyof PnCard & keyof PnCardAttributes as `prop:${K}`]?: PnCard[K] };
|
|
8069
|
+
"pn-checkbox": Omit<PnCheckbox, keyof PnCheckboxAttributes> & { [K in keyof PnCheckbox & keyof PnCheckboxAttributes]?: PnCheckbox[K] } & { [K in keyof PnCheckbox & keyof PnCheckboxAttributes as `attr:${K}`]?: PnCheckboxAttributes[K] } & { [K in keyof PnCheckbox & keyof PnCheckboxAttributes as `prop:${K}`]?: PnCheckbox[K] } & OneOf<"value", PnCheckbox["value"], PnCheckboxAttributes["value"]>;
|
|
8070
|
+
"pn-choice-chip": Omit<PnChoiceChip, keyof PnChoiceChipAttributes> & { [K in keyof PnChoiceChip & keyof PnChoiceChipAttributes]?: PnChoiceChip[K] } & { [K in keyof PnChoiceChip & keyof PnChoiceChipAttributes as `attr:${K}`]?: PnChoiceChipAttributes[K] } & { [K in keyof PnChoiceChip & keyof PnChoiceChipAttributes as `prop:${K}`]?: PnChoiceChip[K] } & OneOf<"label", PnChoiceChip["label"], PnChoiceChipAttributes["label"]> & OneOf<"value", PnChoiceChip["value"], PnChoiceChipAttributes["value"]>;
|
|
8071
|
+
"pn-counter": Omit<PnCounter, keyof PnCounterAttributes> & { [K in keyof PnCounter & keyof PnCounterAttributes]?: PnCounter[K] } & { [K in keyof PnCounter & keyof PnCounterAttributes as `attr:${K}`]?: PnCounterAttributes[K] } & { [K in keyof PnCounter & keyof PnCounterAttributes as `prop:${K}`]?: PnCounter[K] };
|
|
8072
|
+
"pn-date-picker": Omit<PnDatePicker, keyof PnDatePickerAttributes> & { [K in keyof PnDatePicker & keyof PnDatePickerAttributes]?: PnDatePicker[K] } & { [K in keyof PnDatePicker & keyof PnDatePickerAttributes as `attr:${K}`]?: PnDatePickerAttributes[K] } & { [K in keyof PnDatePicker & keyof PnDatePickerAttributes as `prop:${K}`]?: PnDatePicker[K] };
|
|
8073
|
+
"pn-fieldset": Omit<PnFieldset, keyof PnFieldsetAttributes> & { [K in keyof PnFieldset & keyof PnFieldsetAttributes]?: PnFieldset[K] } & { [K in keyof PnFieldset & keyof PnFieldsetAttributes as `attr:${K}`]?: PnFieldsetAttributes[K] } & { [K in keyof PnFieldset & keyof PnFieldsetAttributes as `prop:${K}`]?: PnFieldset[K] } & OneOf<"legend", PnFieldset["legend"], PnFieldsetAttributes["legend"]>;
|
|
8074
|
+
"pn-file-upload": Omit<PnFileUpload, keyof PnFileUploadAttributes> & { [K in keyof PnFileUpload & keyof PnFileUploadAttributes]?: PnFileUpload[K] } & { [K in keyof PnFileUpload & keyof PnFileUploadAttributes as `attr:${K}`]?: PnFileUploadAttributes[K] } & { [K in keyof PnFileUpload & keyof PnFileUploadAttributes as `prop:${K}`]?: PnFileUpload[K] };
|
|
8075
|
+
"pn-footer": Omit<PnFooter, keyof PnFooterAttributes> & { [K in keyof PnFooter & keyof PnFooterAttributes]?: PnFooter[K] } & { [K in keyof PnFooter & keyof PnFooterAttributes as `attr:${K}`]?: PnFooterAttributes[K] } & { [K in keyof PnFooter & keyof PnFooterAttributes as `prop:${K}`]?: PnFooter[K] };
|
|
8076
|
+
"pn-header": Omit<PnHeader, keyof PnHeaderAttributes> & { [K in keyof PnHeader & keyof PnHeaderAttributes]?: PnHeader[K] } & { [K in keyof PnHeader & keyof PnHeaderAttributes as `attr:${K}`]?: PnHeaderAttributes[K] } & { [K in keyof PnHeader & keyof PnHeaderAttributes as `prop:${K}`]?: PnHeader[K] };
|
|
8077
|
+
"pn-icon": Omit<PnIcon, keyof PnIconAttributes> & { [K in keyof PnIcon & keyof PnIconAttributes]?: PnIcon[K] } & { [K in keyof PnIcon & keyof PnIconAttributes as `attr:${K}`]?: PnIconAttributes[K] } & { [K in keyof PnIcon & keyof PnIconAttributes as `prop:${K}`]?: PnIcon[K] };
|
|
8078
|
+
"pn-illustration": Omit<PnIllustration, keyof PnIllustrationAttributes> & { [K in keyof PnIllustration & keyof PnIllustrationAttributes]?: PnIllustration[K] } & { [K in keyof PnIllustration & keyof PnIllustrationAttributes as `attr:${K}`]?: PnIllustrationAttributes[K] } & { [K in keyof PnIllustration & keyof PnIllustrationAttributes as `prop:${K}`]?: PnIllustration[K] } & OneOf<"illustration", PnIllustration["illustration"], PnIllustrationAttributes["illustration"]>;
|
|
8079
|
+
"pn-input": Omit<PnInput, keyof PnInputAttributes> & { [K in keyof PnInput & keyof PnInputAttributes]?: PnInput[K] } & { [K in keyof PnInput & keyof PnInputAttributes as `attr:${K}`]?: PnInputAttributes[K] } & { [K in keyof PnInput & keyof PnInputAttributes as `prop:${K}`]?: PnInput[K] };
|
|
8080
|
+
"pn-modal": Omit<PnModal, keyof PnModalAttributes> & { [K in keyof PnModal & keyof PnModalAttributes]?: PnModal[K] } & { [K in keyof PnModal & keyof PnModalAttributes as `attr:${K}`]?: PnModalAttributes[K] } & { [K in keyof PnModal & keyof PnModalAttributes as `prop:${K}`]?: PnModal[K] };
|
|
8081
|
+
"pn-multiselect": Omit<PnMultiselect, keyof PnMultiselectAttributes> & { [K in keyof PnMultiselect & keyof PnMultiselectAttributes]?: PnMultiselect[K] } & { [K in keyof PnMultiselect & keyof PnMultiselectAttributes as `attr:${K}`]?: PnMultiselectAttributes[K] } & { [K in keyof PnMultiselect & keyof PnMultiselectAttributes as `prop:${K}`]?: PnMultiselect[K] };
|
|
8082
|
+
"pn-ocr-search": Omit<PnOcrSearch, keyof PnOcrSearchAttributes> & { [K in keyof PnOcrSearch & keyof PnOcrSearchAttributes]?: PnOcrSearch[K] } & { [K in keyof PnOcrSearch & keyof PnOcrSearchAttributes as `attr:${K}`]?: PnOcrSearchAttributes[K] } & { [K in keyof PnOcrSearch & keyof PnOcrSearchAttributes as `prop:${K}`]?: PnOcrSearch[K] };
|
|
8083
|
+
"pn-page-nav": Omit<PnPageNav, keyof PnPageNavAttributes> & { [K in keyof PnPageNav & keyof PnPageNavAttributes]?: PnPageNav[K] } & { [K in keyof PnPageNav & keyof PnPageNavAttributes as `attr:${K}`]?: PnPageNavAttributes[K] } & { [K in keyof PnPageNav & keyof PnPageNavAttributes as `prop:${K}`]?: PnPageNav[K] };
|
|
8084
|
+
"pn-page-nav-dropdown-item": Omit<PnPageNavDropdownItem, keyof PnPageNavDropdownItemAttributes> & { [K in keyof PnPageNavDropdownItem & keyof PnPageNavDropdownItemAttributes]?: PnPageNavDropdownItem[K] } & { [K in keyof PnPageNavDropdownItem & keyof PnPageNavDropdownItemAttributes as `attr:${K}`]?: PnPageNavDropdownItemAttributes[K] } & { [K in keyof PnPageNavDropdownItem & keyof PnPageNavDropdownItemAttributes as `prop:${K}`]?: PnPageNavDropdownItem[K] } & OneOf<"value", PnPageNavDropdownItem["value"], PnPageNavDropdownItemAttributes["value"]>;
|
|
8085
|
+
"pn-page-nav-item": Omit<PnPageNavItem, keyof PnPageNavItemAttributes> & { [K in keyof PnPageNavItem & keyof PnPageNavItemAttributes]?: PnPageNavItem[K] } & { [K in keyof PnPageNavItem & keyof PnPageNavItemAttributes as `attr:${K}`]?: PnPageNavItemAttributes[K] } & { [K in keyof PnPageNavItem & keyof PnPageNavItemAttributes as `prop:${K}`]?: PnPageNavItem[K] } & OneOf<"value", PnPageNavItem["value"], PnPageNavItemAttributes["value"]>;
|
|
8086
|
+
"pn-pagination": Omit<PnPagination, keyof PnPaginationAttributes> & { [K in keyof PnPagination & keyof PnPaginationAttributes]?: PnPagination[K] } & { [K in keyof PnPagination & keyof PnPaginationAttributes as `attr:${K}`]?: PnPaginationAttributes[K] } & { [K in keyof PnPagination & keyof PnPaginationAttributes as `prop:${K}`]?: PnPagination[K] } & OneOf<"pages", PnPagination["pages"], PnPaginationAttributes["pages"]>;
|
|
8087
|
+
"pn-progress-bar": Omit<PnProgressBar, keyof PnProgressBarAttributes> & { [K in keyof PnProgressBar & keyof PnProgressBarAttributes]?: PnProgressBar[K] } & { [K in keyof PnProgressBar & keyof PnProgressBarAttributes as `attr:${K}`]?: PnProgressBarAttributes[K] } & { [K in keyof PnProgressBar & keyof PnProgressBarAttributes as `prop:${K}`]?: PnProgressBar[K] };
|
|
8088
|
+
"pn-progress-indicator": Omit<PnProgressIndicator, keyof PnProgressIndicatorAttributes> & { [K in keyof PnProgressIndicator & keyof PnProgressIndicatorAttributes]?: PnProgressIndicator[K] } & { [K in keyof PnProgressIndicator & keyof PnProgressIndicatorAttributes as `attr:${K}`]?: PnProgressIndicatorAttributes[K] } & { [K in keyof PnProgressIndicator & keyof PnProgressIndicatorAttributes as `prop:${K}`]?: PnProgressIndicator[K] };
|
|
8089
|
+
"pn-progress-indicator-step": Omit<PnProgressIndicatorStep, keyof PnProgressIndicatorStepAttributes> & { [K in keyof PnProgressIndicatorStep & keyof PnProgressIndicatorStepAttributes]?: PnProgressIndicatorStep[K] } & { [K in keyof PnProgressIndicatorStep & keyof PnProgressIndicatorStepAttributes as `attr:${K}`]?: PnProgressIndicatorStepAttributes[K] } & { [K in keyof PnProgressIndicatorStep & keyof PnProgressIndicatorStepAttributes as `prop:${K}`]?: PnProgressIndicatorStep[K] };
|
|
8090
|
+
"pn-progress-stepper": Omit<PnProgressStepper, keyof PnProgressStepperAttributes> & { [K in keyof PnProgressStepper & keyof PnProgressStepperAttributes]?: PnProgressStepper[K] } & { [K in keyof PnProgressStepper & keyof PnProgressStepperAttributes as `attr:${K}`]?: PnProgressStepperAttributes[K] } & { [K in keyof PnProgressStepper & keyof PnProgressStepperAttributes as `prop:${K}`]?: PnProgressStepper[K] };
|
|
8091
|
+
"pn-radio-button": Omit<PnRadioButton, keyof PnRadioButtonAttributes> & { [K in keyof PnRadioButton & keyof PnRadioButtonAttributes]?: PnRadioButton[K] } & { [K in keyof PnRadioButton & keyof PnRadioButtonAttributes as `attr:${K}`]?: PnRadioButtonAttributes[K] } & { [K in keyof PnRadioButton & keyof PnRadioButtonAttributes as `prop:${K}`]?: PnRadioButton[K] } & OneOf<"value", PnRadioButton["value"], PnRadioButtonAttributes["value"]>;
|
|
8092
|
+
"pn-range": Omit<PnRange, keyof PnRangeAttributes> & { [K in keyof PnRange & keyof PnRangeAttributes]?: PnRange[K] } & { [K in keyof PnRange & keyof PnRangeAttributes as `attr:${K}`]?: PnRangeAttributes[K] } & { [K in keyof PnRange & keyof PnRangeAttributes as `prop:${K}`]?: PnRange[K] };
|
|
8093
|
+
"pn-read-only-button": Omit<PnReadOnlyButton, keyof PnReadOnlyButtonAttributes> & { [K in keyof PnReadOnlyButton & keyof PnReadOnlyButtonAttributes]?: PnReadOnlyButton[K] } & { [K in keyof PnReadOnlyButton & keyof PnReadOnlyButtonAttributes as `attr:${K}`]?: PnReadOnlyButtonAttributes[K] } & { [K in keyof PnReadOnlyButton & keyof PnReadOnlyButtonAttributes as `prop:${K}`]?: PnReadOnlyButton[K] };
|
|
8094
|
+
"pn-search-field": Omit<PnSearchField, keyof PnSearchFieldAttributes> & { [K in keyof PnSearchField & keyof PnSearchFieldAttributes]?: PnSearchField[K] } & { [K in keyof PnSearchField & keyof PnSearchFieldAttributes as `attr:${K}`]?: PnSearchFieldAttributes[K] } & { [K in keyof PnSearchField & keyof PnSearchFieldAttributes as `prop:${K}`]?: PnSearchField[K] };
|
|
8095
|
+
"pn-segment": Omit<PnSegment, keyof PnSegmentAttributes> & { [K in keyof PnSegment & keyof PnSegmentAttributes]?: PnSegment[K] } & { [K in keyof PnSegment & keyof PnSegmentAttributes as `attr:${K}`]?: PnSegmentAttributes[K] } & { [K in keyof PnSegment & keyof PnSegmentAttributes as `prop:${K}`]?: PnSegment[K] } & OneOf<"value", PnSegment["value"], PnSegmentAttributes["value"]> & OneOf<"name", PnSegment["name"], PnSegmentAttributes["name"]>;
|
|
8096
|
+
"pn-segmented-control": Omit<PnSegmentedControl, keyof PnSegmentedControlAttributes> & { [K in keyof PnSegmentedControl & keyof PnSegmentedControlAttributes]?: PnSegmentedControl[K] } & { [K in keyof PnSegmentedControl & keyof PnSegmentedControlAttributes as `attr:${K}`]?: PnSegmentedControlAttributes[K] } & { [K in keyof PnSegmentedControl & keyof PnSegmentedControlAttributes as `prop:${K}`]?: PnSegmentedControl[K] };
|
|
8097
|
+
"pn-select": Omit<PnSelect, keyof PnSelectAttributes> & { [K in keyof PnSelect & keyof PnSelectAttributes]?: PnSelect[K] } & { [K in keyof PnSelect & keyof PnSelectAttributes as `attr:${K}`]?: PnSelectAttributes[K] } & { [K in keyof PnSelect & keyof PnSelectAttributes as `prop:${K}`]?: PnSelect[K] };
|
|
8098
|
+
"pn-spinner": Omit<PnSpinner, keyof PnSpinnerAttributes> & { [K in keyof PnSpinner & keyof PnSpinnerAttributes]?: PnSpinner[K] } & { [K in keyof PnSpinner & keyof PnSpinnerAttributes as `attr:${K}`]?: PnSpinnerAttributes[K] } & { [K in keyof PnSpinner & keyof PnSpinnerAttributes as `prop:${K}`]?: PnSpinner[K] };
|
|
8099
|
+
"pn-tab": Omit<PnTab, keyof PnTabAttributes> & { [K in keyof PnTab & keyof PnTabAttributes]?: PnTab[K] } & { [K in keyof PnTab & keyof PnTabAttributes as `attr:${K}`]?: PnTabAttributes[K] } & { [K in keyof PnTab & keyof PnTabAttributes as `prop:${K}`]?: PnTab[K] } & OneOf<"label", PnTab["label"], PnTabAttributes["label"]> & OneOf<"value", PnTab["value"], PnTabAttributes["value"]>;
|
|
8100
|
+
"pn-table": Omit<PnTable, keyof PnTableAttributes> & { [K in keyof PnTable & keyof PnTableAttributes]?: PnTable[K] } & { [K in keyof PnTable & keyof PnTableAttributes as `attr:${K}`]?: PnTableAttributes[K] } & { [K in keyof PnTable & keyof PnTableAttributes as `prop:${K}`]?: PnTable[K] };
|
|
8101
|
+
"pn-tablist": Omit<PnTablist, keyof PnTablistAttributes> & { [K in keyof PnTablist & keyof PnTablistAttributes]?: PnTablist[K] } & { [K in keyof PnTablist & keyof PnTablistAttributes as `attr:${K}`]?: PnTablistAttributes[K] } & { [K in keyof PnTablist & keyof PnTablistAttributes as `prop:${K}`]?: PnTablist[K] } & OneOf<"label", PnTablist["label"], PnTablistAttributes["label"]> & OneOf<"value", PnTablist["value"], PnTablistAttributes["value"]>;
|
|
8102
|
+
"pn-tag": Omit<PnTag, keyof PnTagAttributes> & { [K in keyof PnTag & keyof PnTagAttributes]?: PnTag[K] } & { [K in keyof PnTag & keyof PnTagAttributes as `attr:${K}`]?: PnTagAttributes[K] } & { [K in keyof PnTag & keyof PnTagAttributes as `prop:${K}`]?: PnTag[K] } & OneOf<"label", PnTag["label"], PnTagAttributes["label"]>;
|
|
8103
|
+
"pn-text-link": Omit<PnTextLink, keyof PnTextLinkAttributes> & { [K in keyof PnTextLink & keyof PnTextLinkAttributes]?: PnTextLink[K] } & { [K in keyof PnTextLink & keyof PnTextLinkAttributes as `attr:${K}`]?: PnTextLinkAttributes[K] } & { [K in keyof PnTextLink & keyof PnTextLinkAttributes as `prop:${K}`]?: PnTextLink[K] } & OneOf<"href", PnTextLink["href"], PnTextLinkAttributes["href"]>;
|
|
8104
|
+
"pn-textarea": Omit<PnTextarea, keyof PnTextareaAttributes> & { [K in keyof PnTextarea & keyof PnTextareaAttributes]?: PnTextarea[K] } & { [K in keyof PnTextarea & keyof PnTextareaAttributes as `attr:${K}`]?: PnTextareaAttributes[K] } & { [K in keyof PnTextarea & keyof PnTextareaAttributes as `prop:${K}`]?: PnTextarea[K] };
|
|
8105
|
+
"pn-tile": Omit<PnTile, keyof PnTileAttributes> & { [K in keyof PnTile & keyof PnTileAttributes]?: PnTile[K] } & { [K in keyof PnTile & keyof PnTileAttributes as `attr:${K}`]?: PnTileAttributes[K] } & { [K in keyof PnTile & keyof PnTileAttributes as `prop:${K}`]?: PnTile[K] } & OneOf<"label", PnTile["label"], PnTileAttributes["label"]> & OneOf<"url", PnTile["url"], PnTileAttributes["url"]>;
|
|
8106
|
+
"pn-toast": Omit<PnToast, keyof PnToastAttributes> & { [K in keyof PnToast & keyof PnToastAttributes]?: PnToast[K] } & { [K in keyof PnToast & keyof PnToastAttributes as `attr:${K}`]?: PnToastAttributes[K] } & { [K in keyof PnToast & keyof PnToastAttributes as `prop:${K}`]?: PnToast[K] };
|
|
8107
|
+
"pn-toggle-switch": Omit<PnToggleSwitch, keyof PnToggleSwitchAttributes> & { [K in keyof PnToggleSwitch & keyof PnToggleSwitchAttributes]?: PnToggleSwitch[K] } & { [K in keyof PnToggleSwitch & keyof PnToggleSwitchAttributes as `attr:${K}`]?: PnToggleSwitchAttributes[K] } & { [K in keyof PnToggleSwitch & keyof PnToggleSwitchAttributes as `prop:${K}`]?: PnToggleSwitch[K] };
|
|
8108
|
+
"pn-tooltip": Omit<PnTooltip, keyof PnTooltipAttributes> & { [K in keyof PnTooltip & keyof PnTooltipAttributes]?: PnTooltip[K] } & { [K in keyof PnTooltip & keyof PnTooltipAttributes as `attr:${K}`]?: PnTooltipAttributes[K] } & { [K in keyof PnTooltip & keyof PnTooltipAttributes as `prop:${K}`]?: PnTooltip[K] };
|
|
8109
|
+
"pn-wizard": Omit<PnWizard, keyof PnWizardAttributes> & { [K in keyof PnWizard & keyof PnWizardAttributes]?: PnWizard[K] } & { [K in keyof PnWizard & keyof PnWizardAttributes as `attr:${K}`]?: PnWizardAttributes[K] } & { [K in keyof PnWizard & keyof PnWizardAttributes as `prop:${K}`]?: PnWizard[K] };
|
|
8110
|
+
"pn-zipcode-search": Omit<PnZipcodeSearch, keyof PnZipcodeSearchAttributes> & { [K in keyof PnZipcodeSearch & keyof PnZipcodeSearchAttributes]?: PnZipcodeSearch[K] } & { [K in keyof PnZipcodeSearch & keyof PnZipcodeSearchAttributes as `attr:${K}`]?: PnZipcodeSearchAttributes[K] } & { [K in keyof PnZipcodeSearch & keyof PnZipcodeSearchAttributes as `prop:${K}`]?: PnZipcodeSearch[K] };
|
|
6777
8111
|
}
|
|
6778
8112
|
}
|
|
6779
8113
|
export { LocalJSX as JSX };
|
|
@@ -6785,13 +8119,13 @@ declare module "@stencil/core" {
|
|
|
6785
8119
|
* This component gives the accordion rows some space between each one and provides the `single` feature.
|
|
6786
8120
|
* Which will force the rule that only a single row to be open at one time.
|
|
6787
8121
|
*/
|
|
6788
|
-
"pn-accordion": LocalJSX.
|
|
8122
|
+
"pn-accordion": LocalJSX.IntrinsicElements["pn-accordion"] & JSXBase.HTMLAttributes<HTMLPnAccordionElement>;
|
|
6789
8123
|
/**
|
|
6790
8124
|
* Use this row component inside a `pn-accordion` to create an accordion group.
|
|
6791
8125
|
* **Note**: you can use the `pn-accordion-row` without the parent accordion.
|
|
6792
8126
|
* But you will have to style the gap between each row.
|
|
6793
8127
|
*/
|
|
6794
|
-
"pn-accordion-row": LocalJSX.
|
|
8128
|
+
"pn-accordion-row": LocalJSX.IntrinsicElements["pn-accordion-row"] & JSXBase.HTMLAttributes<HTMLPnAccordionRowElement>;
|
|
6795
8129
|
/**
|
|
6796
8130
|
* Create a list of actions in an accessible way.
|
|
6797
8131
|
* Option types include:
|
|
@@ -6804,17 +8138,17 @@ declare module "@stencil/core" {
|
|
|
6804
8138
|
* @since v7.13.0
|
|
6805
8139
|
* @see {@link PnActionMenuItem }
|
|
6806
8140
|
*/
|
|
6807
|
-
"pn-action-menu": LocalJSX.
|
|
8141
|
+
"pn-action-menu": LocalJSX.IntrinsicElements["pn-action-menu"] & JSXBase.HTMLAttributes<HTMLPnActionMenuElement>;
|
|
6808
8142
|
/**
|
|
6809
8143
|
* The `pn-button` is built with a native `button` or `a` element, if you use the `href` attribute.
|
|
6810
8144
|
* @nativeClick Use the `click` event to listen when the button is clicked.
|
|
6811
8145
|
*/
|
|
6812
|
-
"pn-button": LocalJSX.
|
|
8146
|
+
"pn-button": LocalJSX.IntrinsicElements["pn-button"] & JSXBase.HTMLAttributes<HTMLPnButtonElement>;
|
|
6813
8147
|
/**
|
|
6814
8148
|
* The open/closing of the dropdown is handled by the component itself.
|
|
6815
8149
|
* @nativeClick Use the `click` event to listen when the button is clicked.
|
|
6816
8150
|
*/
|
|
6817
|
-
"pn-button-dropdown": LocalJSX.
|
|
8151
|
+
"pn-button-dropdown": LocalJSX.IntrinsicElements["pn-button-dropdown"] & JSXBase.HTMLAttributes<HTMLPnButtonDropdownElement>;
|
|
6818
8152
|
/**
|
|
6819
8153
|
* The card component is more than just a navigational element.
|
|
6820
8154
|
* It is a flexible component that can be used as a product item, a clickable link card, etc...
|
|
@@ -6822,25 +8156,25 @@ declare module "@stencil/core" {
|
|
|
6822
8156
|
* If you need content to be interactable inside the card, do not use the `href` prop.
|
|
6823
8157
|
* @since v7.12.0
|
|
6824
8158
|
*/
|
|
6825
|
-
"pn-card": LocalJSX.
|
|
8159
|
+
"pn-card": LocalJSX.IntrinsicElements["pn-card"] & JSXBase.HTMLAttributes<HTMLPnCardElement>;
|
|
6826
8160
|
/**
|
|
6827
8161
|
* The `pn-checkbox` is built with a native `input[type="checkbox"]` in the background.
|
|
6828
8162
|
* This means you can use native events to listen to the changes.
|
|
6829
8163
|
* @nativeChange Use the `change` event to listen when the checkbox state is being toggled.
|
|
6830
8164
|
*/
|
|
6831
|
-
"pn-checkbox": LocalJSX.
|
|
8165
|
+
"pn-checkbox": LocalJSX.IntrinsicElements["pn-checkbox"] & JSXBase.HTMLAttributes<HTMLPnCheckboxElement>;
|
|
6832
8166
|
/**
|
|
6833
8167
|
* The `pn-choice-chip` is built with a native `input[type="checkbox|radio"]` in the background.
|
|
6834
8168
|
* This means you can use native events to listen to the changes.
|
|
6835
8169
|
* @nativeChange Use the `change` event to listen when the choice chip state is being toggled. Works for both checkbox/radio variant.
|
|
6836
8170
|
*/
|
|
6837
|
-
"pn-choice-chip": LocalJSX.
|
|
8171
|
+
"pn-choice-chip": LocalJSX.IntrinsicElements["pn-choice-chip"] & JSXBase.HTMLAttributes<HTMLPnChoiceChipElement>;
|
|
6838
8172
|
/**
|
|
6839
8173
|
* The `pn-counter` is an input with a button on each side that can be used to increase and decrease the input value.
|
|
6840
8174
|
* @nativeInput Use the `input` event to listen to content being modified by the user. It is emitted everytime a user writes or removes content in the input.
|
|
6841
8175
|
* @nativeChange The `change` event is emitted when the input loses focus, the user clicks `Enter` or makes a selection (such as auto complete or suggestions).
|
|
6842
8176
|
*/
|
|
6843
|
-
"pn-counter": LocalJSX.
|
|
8177
|
+
"pn-counter": LocalJSX.IntrinsicElements["pn-counter"] & JSXBase.HTMLAttributes<HTMLPnCounterElement>;
|
|
6844
8178
|
/**
|
|
6845
8179
|
* The date picker allows a single or a range of dates to be selected.
|
|
6846
8180
|
* Based on the `format` prop, separators will automatically be added if you type the date.
|
|
@@ -6848,12 +8182,12 @@ declare module "@stencil/core" {
|
|
|
6848
8182
|
* @nativeInput Use the `input` event to listen to content being modified by the user. It is emitted everytime a user writes or removes content in the input.
|
|
6849
8183
|
* @nativeChange The `change` event is emitted when the input loses focus, the user clicks `Enter` or makes a selection (such as auto complete or suggestions).
|
|
6850
8184
|
*/
|
|
6851
|
-
"pn-date-picker": LocalJSX.
|
|
8185
|
+
"pn-date-picker": LocalJSX.IntrinsicElements["pn-date-picker"] & JSXBase.HTMLAttributes<HTMLPnDatePickerElement>;
|
|
6852
8186
|
/**
|
|
6853
8187
|
* The fielset is a wrapper to give context and information about inputs. Most commonly, a set of radio/checkboxes.
|
|
6854
8188
|
* However, you may include any type of input such as textareas, toggles and selects.
|
|
6855
8189
|
*/
|
|
6856
|
-
"pn-fieldset": LocalJSX.
|
|
8190
|
+
"pn-fieldset": LocalJSX.IntrinsicElements["pn-fieldset"] & JSXBase.HTMLAttributes<HTMLPnFieldsetElement>;
|
|
6857
8191
|
/**
|
|
6858
8192
|
* Users can drop files directly into the upload area of the component
|
|
6859
8193
|
* or simply click on it to open their native file explorer.
|
|
@@ -6861,7 +8195,7 @@ declare module "@stencil/core" {
|
|
|
6861
8195
|
* @nativeCancel The `cancel` event lets you know the user canceled their selection.
|
|
6862
8196
|
* Either via clicking on the "Cancel" button or pressing `ESC`.
|
|
6863
8197
|
*/
|
|
6864
|
-
"pn-file-upload": LocalJSX.
|
|
8198
|
+
"pn-file-upload": LocalJSX.IntrinsicElements["pn-file-upload"] & JSXBase.HTMLAttributes<HTMLPnFileUploadElement>;
|
|
6865
8199
|
/**
|
|
6866
8200
|
* The default market and language is SE/en.
|
|
6867
8201
|
* Make sure you set the market **and** language prop.
|
|
@@ -6869,32 +8203,38 @@ declare module "@stencil/core" {
|
|
|
6869
8203
|
* @deprecated This component has been replaced with the pn-footer-nav.
|
|
6870
8204
|
* @see {@link https://portal.postnord.com/web-components/?path=/docs/external-components-pn-footer-nav--docs pn-footer-nav}
|
|
6871
8205
|
*/
|
|
6872
|
-
"pn-footer": LocalJSX.
|
|
8206
|
+
"pn-footer": LocalJSX.IntrinsicElements["pn-footer"] & JSXBase.HTMLAttributes<HTMLPnFooterElement>;
|
|
6873
8207
|
/**
|
|
6874
8208
|
* The header component is a simple layout component used to display a page heading with optional text, buttons and tablist menu.
|
|
6875
8209
|
*/
|
|
6876
|
-
"pn-header": LocalJSX.
|
|
8210
|
+
"pn-header": LocalJSX.IntrinsicElements["pn-header"] & JSXBase.HTMLAttributes<HTMLPnHeaderElement>;
|
|
6877
8211
|
/**
|
|
6878
8212
|
* The `pn-icon` is a wrapper for an SVG string.
|
|
6879
8213
|
* While its built with PostNords specific icon dimensions in mind (24x24px), you can use any SVG content in this component.
|
|
6880
8214
|
* As long as its 3x3 in size, there should be no problem.
|
|
6881
8215
|
* The color feature will not overwrite the color of flags.
|
|
6882
8216
|
*/
|
|
6883
|
-
"pn-icon": LocalJSX.
|
|
6884
|
-
|
|
8217
|
+
"pn-icon": LocalJSX.IntrinsicElements["pn-icon"] & JSXBase.HTMLAttributes<HTMLPnIconElement>;
|
|
8218
|
+
/**
|
|
8219
|
+
* The `pn-illustration` is a wrapper for an SVG string.
|
|
8220
|
+
* The component will look at the viewBox property of the SVG to determine the default width and height,
|
|
8221
|
+
* but you can also set these manually with the `width` and `height` props.
|
|
8222
|
+
* Setting the `fill` prop will make the illustration fill its parent container, which is useful for responsive designs.
|
|
8223
|
+
*/
|
|
8224
|
+
"pn-illustration": LocalJSX.IntrinsicElements["pn-illustration"] & JSXBase.HTMLAttributes<HTMLPnIllustrationElement>;
|
|
6885
8225
|
/**
|
|
6886
8226
|
* The `pn-input` is a regular `input` but styled. This means you can use native events to listen to the changes.
|
|
6887
8227
|
* Always use the `label` prop to make sure the input is accessible.
|
|
6888
8228
|
* @nativeInput Use the `input` event to listen to content being modified by the user. It is emitted everytime a user writes or removes content in the input.
|
|
6889
8229
|
* @nativeChange The `change` event is emitted when the input loses focus, the user clicks `Enter` or makes a selection (such as auto complete or suggestions).
|
|
6890
8230
|
*/
|
|
6891
|
-
"pn-input": LocalJSX.
|
|
8231
|
+
"pn-input": LocalJSX.IntrinsicElements["pn-input"] & JSXBase.HTMLAttributes<HTMLPnInputElement>;
|
|
6892
8232
|
/**
|
|
6893
8233
|
* Present content in a modal that overlays everything on the current page.
|
|
6894
8234
|
* Use the prop `open` to toggle the visiblity.
|
|
6895
8235
|
* Use the event `modalToggle` to determine when the modal is being closed/opened by the user.
|
|
6896
8236
|
*/
|
|
6897
|
-
"pn-modal": LocalJSX.
|
|
8237
|
+
"pn-modal": LocalJSX.IntrinsicElements["pn-modal"] & JSXBase.HTMLAttributes<HTMLPnModalElement>;
|
|
6898
8238
|
/**
|
|
6899
8239
|
* The `pn-multiselect` gets its options via javascript.
|
|
6900
8240
|
* Native HTML does not accept arrays of objects. Most frameworks solves this automatically (Vue, react, etc...),
|
|
@@ -6902,51 +8242,51 @@ declare module "@stencil/core" {
|
|
|
6902
8242
|
* @nativeChange The `pn-multiselect` is built with `input[type=checkbox]` elements, so the `change` event works. However, we recommend the customEvents described above.
|
|
6903
8243
|
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-input-multiselect--docs#pn-multiselect%20(options) Options documentation}
|
|
6904
8244
|
*/
|
|
6905
|
-
"pn-multiselect": LocalJSX.
|
|
6906
|
-
"pn-ocr-search": LocalJSX.
|
|
8245
|
+
"pn-multiselect": LocalJSX.IntrinsicElements["pn-multiselect"] & JSXBase.HTMLAttributes<HTMLPnMultiselectElement>;
|
|
8246
|
+
"pn-ocr-search": LocalJSX.IntrinsicElements["pn-ocr-search"] & JSXBase.HTMLAttributes<HTMLPnOcrSearchElement>;
|
|
6907
8247
|
/**
|
|
6908
8248
|
* @deprecated This component will be removed in v8. Please use the `pn-tablist` instead.
|
|
6909
8249
|
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-navigation-tablist--docs Use `pn-tablist` instead.}
|
|
6910
8250
|
*/
|
|
6911
|
-
"pn-page-nav": LocalJSX.
|
|
8251
|
+
"pn-page-nav": LocalJSX.IntrinsicElements["pn-page-nav"] & JSXBase.HTMLAttributes<HTMLPnPageNavElement>;
|
|
6912
8252
|
/**
|
|
6913
8253
|
* @deprecated This component will be removed in v8. Please use the `pn-tablist` instead.
|
|
6914
8254
|
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-navigation-tablist--docs Use `pn-tablist` instead.}
|
|
6915
8255
|
*/
|
|
6916
|
-
"pn-page-nav-dropdown-item": LocalJSX.
|
|
8256
|
+
"pn-page-nav-dropdown-item": LocalJSX.IntrinsicElements["pn-page-nav-dropdown-item"] & JSXBase.HTMLAttributes<HTMLPnPageNavDropdownItemElement>;
|
|
6917
8257
|
/**
|
|
6918
8258
|
* @deprecated This component will be removed in v8. Please use the `pn-tablist` instead.
|
|
6919
8259
|
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-navigation-tablist--docs Use `pn-tablist` instead.}
|
|
6920
8260
|
*/
|
|
6921
|
-
"pn-page-nav-item": LocalJSX.
|
|
8261
|
+
"pn-page-nav-item": LocalJSX.IntrinsicElements["pn-page-nav-item"] & JSXBase.HTMLAttributes<HTMLPnPageNavItemElement>;
|
|
6922
8262
|
/**
|
|
6923
8263
|
* Accessible pagination needs each item to link to a different part of the document.
|
|
6924
8264
|
* This means that you must `preventDefault` on the `MouseEvent` emitted from the `pageSelected` event if you have a SPA.
|
|
6925
8265
|
* If you set a `page` value that is higher than `pages`, the component will automatically lower it to the `pages` value.
|
|
6926
8266
|
* @since v7.9.0
|
|
6927
8267
|
*/
|
|
6928
|
-
"pn-pagination": LocalJSX.
|
|
6929
|
-
"pn-progress-bar": LocalJSX.
|
|
8268
|
+
"pn-pagination": LocalJSX.IntrinsicElements["pn-pagination"] & JSXBase.HTMLAttributes<HTMLPnPaginationElement>;
|
|
8269
|
+
"pn-progress-bar": LocalJSX.IntrinsicElements["pn-progress-bar"] & JSXBase.HTMLAttributes<HTMLPnProgressBarElement>;
|
|
6930
8270
|
/**
|
|
6931
8271
|
* @deprecated This component will be removed in v8. Please use the `pn-progress-stepper` instead.
|
|
6932
8272
|
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-feedback-progress-stepper--docs Use `pn-progress-stepper` instead.}
|
|
6933
8273
|
*/
|
|
6934
|
-
"pn-progress-indicator": LocalJSX.
|
|
8274
|
+
"pn-progress-indicator": LocalJSX.IntrinsicElements["pn-progress-indicator"] & JSXBase.HTMLAttributes<HTMLPnProgressIndicatorElement>;
|
|
6935
8275
|
/**
|
|
6936
8276
|
* @deprecated This component will be removed in v8. Please use the `pn-progress-stepper` instead.
|
|
6937
8277
|
* @see {@link https://portal.postnord.com/web-components/?path=/docs/components-feedback-progress-stepper--docs Use `pn-progress-stepper` instead.}
|
|
6938
8278
|
*/
|
|
6939
|
-
"pn-progress-indicator-step": LocalJSX.
|
|
8279
|
+
"pn-progress-indicator-step": LocalJSX.IntrinsicElements["pn-progress-indicator-step"] & JSXBase.HTMLAttributes<HTMLPnProgressIndicatorStepElement>;
|
|
6940
8280
|
/**
|
|
6941
8281
|
* The `pn-progress-stepper` is used to visualize the users progress through a flow (checkout/survey, etc...).
|
|
6942
8282
|
*/
|
|
6943
|
-
"pn-progress-stepper": LocalJSX.
|
|
8283
|
+
"pn-progress-stepper": LocalJSX.IntrinsicElements["pn-progress-stepper"] & JSXBase.HTMLAttributes<HTMLPnProgressStepperElement>;
|
|
6944
8284
|
/**
|
|
6945
8285
|
* The `pn-radio-button` is built with a native `input[type="radio"]` in the background.
|
|
6946
8286
|
* This means you can use native events to listen to the changes.
|
|
6947
8287
|
* @nativeChange Use the `change` event to listen when the radio state is being changed.
|
|
6948
8288
|
*/
|
|
6949
|
-
"pn-radio-button": LocalJSX.
|
|
8289
|
+
"pn-radio-button": LocalJSX.IntrinsicElements["pn-radio-button"] & JSXBase.HTMLAttributes<HTMLPnRadioButtonElement>;
|
|
6950
8290
|
/**
|
|
6951
8291
|
* Allow the user to use the slider to set a number value. Its built on the native `input[type=range]` element and
|
|
6952
8292
|
* has support for most attributes.
|
|
@@ -6954,41 +8294,41 @@ declare module "@stencil/core" {
|
|
|
6954
8294
|
* @nativeChange The `change` event is emitted when the user makes a final selection (letting go of the range/input).
|
|
6955
8295
|
* @since v7.20.0
|
|
6956
8296
|
*/
|
|
6957
|
-
"pn-range": LocalJSX.
|
|
8297
|
+
"pn-range": LocalJSX.IntrinsicElements["pn-range"] & JSXBase.HTMLAttributes<HTMLPnRangeElement>;
|
|
6958
8298
|
/**
|
|
6959
8299
|
* There are no events or features other than the `icon`, `small` and `language` prop.
|
|
6960
8300
|
* Our rule is to not have disabled buttons.
|
|
6961
8301
|
* However, this component is an exception for a very specific use case regarding portal users.
|
|
6962
8302
|
*/
|
|
6963
|
-
"pn-read-only-button": LocalJSX.
|
|
8303
|
+
"pn-read-only-button": LocalJSX.IntrinsicElements["pn-read-only-button"] & JSXBase.HTMLAttributes<HTMLPnReadOnlyButtonElement>;
|
|
6964
8304
|
/**
|
|
6965
8305
|
* The search field has multiple button variants that changes the visual appearance.
|
|
6966
8306
|
* @nativeInput Use the `input` event to listen to content being modified by the user. It is emitted everytime a user writes or removes content in the input.
|
|
6967
8307
|
* @nativeChange The `change` event is emitted when the input loses focus, the user clicks `Enter` or makes a selection (such as auto complete or suggestions).
|
|
6968
8308
|
*/
|
|
6969
|
-
"pn-search-field": LocalJSX.
|
|
8309
|
+
"pn-search-field": LocalJSX.IntrinsicElements["pn-search-field"] & JSXBase.HTMLAttributes<HTMLPnSearchFieldElement>;
|
|
6970
8310
|
/**
|
|
6971
8311
|
* The `pn-segment` is built with a native `input[type="radio"]` in the background.
|
|
6972
8312
|
* Do not listen to events on the `pn-segment`, but on the `pn-segmented-control` instead.
|
|
6973
8313
|
*/
|
|
6974
|
-
"pn-segment": LocalJSX.
|
|
8314
|
+
"pn-segment": LocalJSX.IntrinsicElements["pn-segment"] & JSXBase.HTMLAttributes<HTMLPnSegmentElement>;
|
|
6975
8315
|
/**
|
|
6976
8316
|
* The `pn-segmented-control` and `pn-segmented` is built with native `input[type="radio"]` in the background.
|
|
6977
8317
|
* This means you can use native events to listen to the changes.
|
|
6978
8318
|
* @nativeChange Use the `change` event to listen when the segment state is being changed.
|
|
6979
8319
|
*/
|
|
6980
|
-
"pn-segmented-control": LocalJSX.
|
|
8320
|
+
"pn-segmented-control": LocalJSX.IntrinsicElements["pn-segmented-control"] & JSXBase.HTMLAttributes<HTMLPnSegmentedControlElement>;
|
|
6981
8321
|
/**
|
|
6982
8322
|
* The `pn-select` uses a native `select` element under the hood.
|
|
6983
8323
|
* Use the slot to include `option` elements.
|
|
6984
8324
|
* Just like a regular `select`, you can use the `selected` prop on the nested option elements to preselect an option.
|
|
6985
8325
|
* @nativeChange Use the `change` event to listen to changes on the select element.
|
|
6986
8326
|
*/
|
|
6987
|
-
"pn-select": LocalJSX.
|
|
8327
|
+
"pn-select": LocalJSX.IntrinsicElements["pn-select"] & JSXBase.HTMLAttributes<HTMLPnSelectElement>;
|
|
6988
8328
|
/**
|
|
6989
8329
|
* Display a spinner to indicate a loading state.
|
|
6990
8330
|
*/
|
|
6991
|
-
"pn-spinner": LocalJSX.
|
|
8331
|
+
"pn-spinner": LocalJSX.IntrinsicElements["pn-spinner"] & JSXBase.HTMLAttributes<HTMLPnSpinnerElement>;
|
|
6992
8332
|
/**
|
|
6993
8333
|
* This tab should control a tab panel.
|
|
6994
8334
|
* Use the `ariacontrols` and `tabid` props to connect the tab with the tab panel.
|
|
@@ -6996,60 +8336,60 @@ declare module "@stencil/core" {
|
|
|
6996
8336
|
* If you use the `href` prop, the tab will turn into an anchor element instead of a button.
|
|
6997
8337
|
* This does not required the ariacontrols and tabid props.
|
|
6998
8338
|
*/
|
|
6999
|
-
"pn-tab": LocalJSX.
|
|
8339
|
+
"pn-tab": LocalJSX.IntrinsicElements["pn-tab"] & JSXBase.HTMLAttributes<HTMLPnTabElement>;
|
|
7000
8340
|
/**
|
|
7001
8341
|
* The `pn-table` component is just a wrapper for your HTML table element.
|
|
7002
8342
|
* You need to create the markup, but the component will deal with the styling.
|
|
7003
8343
|
* We have a built in class for divs inside table colums called `column-wrapper`.
|
|
7004
8344
|
* This will line up your content and provide a grid gap.
|
|
7005
8345
|
*/
|
|
7006
|
-
"pn-table": LocalJSX.
|
|
8346
|
+
"pn-table": LocalJSX.IntrinsicElements["pn-table"] & JSXBase.HTMLAttributes<HTMLPnTableElement>;
|
|
7007
8347
|
/**
|
|
7008
8348
|
* The tablist allows you to create a list with nested `pn-tab` components.
|
|
7009
8349
|
* These should control the visibility of panel elements on the page.
|
|
7010
8350
|
* If you use the slot name "menu" the tablist will adapt to be used inside of
|
|
7011
8351
|
* a `pn-header` component. This also allows the pn-tabs to use the `href` prop.
|
|
7012
8352
|
*/
|
|
7013
|
-
"pn-tablist": LocalJSX.
|
|
8353
|
+
"pn-tablist": LocalJSX.IntrinsicElements["pn-tablist"] & JSXBase.HTMLAttributes<HTMLPnTablistElement>;
|
|
7014
8354
|
/**
|
|
7015
8355
|
* The `pn-tag` is a non-interactive visual marker designed to emphasize important aspects of an item, such as its status.
|
|
7016
8356
|
*/
|
|
7017
|
-
"pn-tag": LocalJSX.
|
|
8357
|
+
"pn-tag": LocalJSX.IntrinsicElements["pn-tag"] & JSXBase.HTMLAttributes<HTMLPnTagElement>;
|
|
7018
8358
|
/**
|
|
7019
8359
|
* The `pn-text-link` is a styled `a` element with some extra functionality built in. Such as `icon` and `light` support.
|
|
7020
8360
|
*/
|
|
7021
|
-
"pn-text-link": LocalJSX.
|
|
8361
|
+
"pn-text-link": LocalJSX.IntrinsicElements["pn-text-link"] & JSXBase.HTMLAttributes<HTMLPnTextLinkElement>;
|
|
7022
8362
|
/**
|
|
7023
8363
|
* The `pn-textarea` is built with a native `textarea`.
|
|
7024
8364
|
* This means you can use native events to listen to the input.
|
|
7025
8365
|
* @nativeInput Use the `input` event to listen to content being modified by the user.
|
|
7026
8366
|
*/
|
|
7027
|
-
"pn-textarea": LocalJSX.
|
|
8367
|
+
"pn-textarea": LocalJSX.IntrinsicElements["pn-textarea"] & JSXBase.HTMLAttributes<HTMLPnTextareaElement>;
|
|
7028
8368
|
/**
|
|
7029
8369
|
* The `pn-tile` is a navigational element that is intended to be accompanied by an illustration.
|
|
7030
8370
|
* It is very important that you use the `label` and `url`. This component renders an `a` element if the URL prop is set,
|
|
7031
8371
|
* so you do not need to wrap or nest the tile in another `a` element. Doing so makes the component inaccessible.
|
|
7032
8372
|
*/
|
|
7033
|
-
"pn-tile": LocalJSX.
|
|
8373
|
+
"pn-tile": LocalJSX.IntrinsicElements["pn-tile"] & JSXBase.HTMLAttributes<HTMLPnTileElement>;
|
|
7034
8374
|
/**
|
|
7035
8375
|
* This component is able to fill many roles of a classic toast.
|
|
7036
8376
|
* It has 4 different colors, a temporary state, hide button, icon and illustration support.
|
|
7037
8377
|
* The `pn-toast` will expand to its parent containers full width.
|
|
7038
8378
|
* Either limit the parent width or set a CSS rule to your specific width if needed.
|
|
7039
8379
|
*/
|
|
7040
|
-
"pn-toast": LocalJSX.
|
|
8380
|
+
"pn-toast": LocalJSX.IntrinsicElements["pn-toast"] & JSXBase.HTMLAttributes<HTMLPnToastElement>;
|
|
7041
8381
|
/**
|
|
7042
8382
|
* The `pn-toggle-switch` is built with a native `input[type="checkbox"]` in the background.
|
|
7043
8383
|
* This means you can use native events to listen to the changes.
|
|
7044
8384
|
* @nativeChange Use the `change` event to listen when the switch state is being toggled.
|
|
7045
8385
|
*/
|
|
7046
|
-
"pn-toggle-switch": LocalJSX.
|
|
8386
|
+
"pn-toggle-switch": LocalJSX.IntrinsicElements["pn-toggle-switch"] & JSXBase.HTMLAttributes<HTMLPnToggleSwitchElement>;
|
|
7047
8387
|
/**
|
|
7048
8388
|
* The `pn-tooltip` can display slotted HTML content or a text `string` with the `tooltip` prop.
|
|
7049
8389
|
* Remember that the component is techincally a `button` element, don't put any HTML content that would be out of place in a regular button
|
|
7050
8390
|
* (no headlines, other input elements, etc...).
|
|
7051
8391
|
*/
|
|
7052
|
-
"pn-tooltip": LocalJSX.
|
|
8392
|
+
"pn-tooltip": LocalJSX.IntrinsicElements["pn-tooltip"] & JSXBase.HTMLAttributes<HTMLPnTooltipElement>;
|
|
7053
8393
|
/**
|
|
7054
8394
|
* The wizard component lets you highlight areas on the page
|
|
7055
8395
|
* that is accompanied with a modal for user guidance.
|
|
@@ -7059,11 +8399,11 @@ declare module "@stencil/core" {
|
|
|
7059
8399
|
* Set the step prop to start the wizard at a specific step (0-indexed). -1 closes the wizard.
|
|
7060
8400
|
* @since v7.19.0
|
|
7061
8401
|
*/
|
|
7062
|
-
"pn-wizard": LocalJSX.
|
|
8402
|
+
"pn-wizard": LocalJSX.IntrinsicElements["pn-wizard"] & JSXBase.HTMLAttributes<HTMLPnWizardElement>;
|
|
7063
8403
|
/**
|
|
7064
8404
|
* Check the delivery date for letters, newspapers and direct mail that are distributed every second day.
|
|
7065
8405
|
*/
|
|
7066
|
-
"pn-zipcode-search": LocalJSX.
|
|
8406
|
+
"pn-zipcode-search": LocalJSX.IntrinsicElements["pn-zipcode-search"] & JSXBase.HTMLAttributes<HTMLPnZipcodeSearchElement>;
|
|
7067
8407
|
}
|
|
7068
8408
|
}
|
|
7069
8409
|
}
|