@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
package/umd/modules/@postnord/web-components/collection/components/input/pn-range/pn-range.js
CHANGED
|
@@ -8,8 +8,8 @@ import { Fragment, Host, forceUpdate, h, } from "@stencil/core";
|
|
|
8
8
|
* Allow the user to use the slider to set a number value. Its built on the native `input[type=range]` element and
|
|
9
9
|
* has support for most attributes.
|
|
10
10
|
*
|
|
11
|
-
* @slot helpertext - Set the helpertext via a slot instead of prop. Wrap the content like this: `<span slot="helpertext"
|
|
12
|
-
* @slot error - Set the error message via a slot instead of prop. Wrap the content like this: `<span slot="error"
|
|
11
|
+
* @slot helpertext - Set the helpertext via a slot instead of prop. Wrap the content like this: `<span slot="helpertext" />`.
|
|
12
|
+
* @slot error - Set the error message via a slot instead of prop. Wrap the content like this: `<span slot="error" />`.
|
|
13
13
|
*
|
|
14
14
|
* @nativeInput Use the `input` event to listen to the range / input value being modified by the user. It is emitted everytime the user changes the value.
|
|
15
15
|
* @nativeChange The `change` event is emitted when the user makes a final selection (letting go of the range/input).
|
|
@@ -41,51 +41,35 @@ export class PnRange {
|
|
|
41
41
|
labelEnd;
|
|
42
42
|
/** Set a helpertext for the range input. */
|
|
43
43
|
helpertext = null;
|
|
44
|
-
/**
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
markers = [];
|
|
50
|
-
/** Set a prefix for the range/input field. */
|
|
51
|
-
textPrefix = null;
|
|
52
|
-
/** Set a suffix for the range/input field. */
|
|
53
|
-
textSuffix = null;
|
|
54
|
-
/** Set an icon for the range/input field. */
|
|
55
|
-
icon = null;
|
|
56
|
-
/** Set an icon at the end of the range or for the second input field when using `multiple`. */
|
|
57
|
-
iconEnd = null;
|
|
58
|
-
/** Set a custom HTML id. */
|
|
59
|
-
pnId = this.id;
|
|
60
|
-
/** Set a custom HTML id. */
|
|
61
|
-
pnIdEnd = this.idEnd;
|
|
62
|
-
/** The range input name. @category HTML Attributes */
|
|
44
|
+
/** The range input value. @category Native attributes */
|
|
45
|
+
value = 0;
|
|
46
|
+
/** The range end input value. @category Native attributes */
|
|
47
|
+
valueEnd = 0;
|
|
48
|
+
/** The range input name. @category Native attributes */
|
|
63
49
|
name;
|
|
64
|
-
/** The range input name. @category
|
|
50
|
+
/** The range input name. @category Native attributes */
|
|
65
51
|
nameEnd;
|
|
66
|
-
/** The range input min value. @category
|
|
52
|
+
/** The range input min value. @category Native attributes */
|
|
67
53
|
min = 0;
|
|
68
|
-
/** The range input max value. @category
|
|
54
|
+
/** The range input max value. @category Native attributes */
|
|
69
55
|
max = 100;
|
|
70
|
-
/**
|
|
71
|
-
value = 0;
|
|
72
|
-
/** The range end input value. @category HTML Attributes */
|
|
73
|
-
valueEnd = 0;
|
|
74
|
-
/** Set a step value for the range input. @category HTML Attributes */
|
|
56
|
+
/** Set a step value for the range input. @category Native attributes */
|
|
75
57
|
step = '';
|
|
58
|
+
/** Disable the range input. @category Native attributes */
|
|
59
|
+
disabled = false;
|
|
76
60
|
/**
|
|
77
|
-
*
|
|
61
|
+
* Add markers. This will also render a `datalist` element with `options`.
|
|
62
|
+
* Omitting the `label` for a marker will use the `value` as label instead.
|
|
63
|
+
* Set `label` to `null` or `''` to hide it completely.
|
|
78
64
|
* @category Features
|
|
79
65
|
*/
|
|
80
|
-
|
|
66
|
+
markers = [];
|
|
81
67
|
/**
|
|
82
68
|
* Display an input for the range value.
|
|
83
69
|
* Allowing the user to type or use the slider to set the value.
|
|
84
70
|
* @category Features
|
|
85
71
|
*/
|
|
86
72
|
input = false;
|
|
87
|
-
/** Hide the tooltip. @category Features */
|
|
88
|
-
tooltipHide = false;
|
|
89
73
|
/**
|
|
90
74
|
* Range tooltip label template. Default is simply the value of the range input.
|
|
91
75
|
* @example
|
|
@@ -94,12 +78,57 @@ export class PnRange {
|
|
|
94
78
|
* @category Features
|
|
95
79
|
*/
|
|
96
80
|
tooltipTemplate = this.tooltipDefault;
|
|
97
|
-
/**
|
|
98
|
-
|
|
99
|
-
/** Set
|
|
100
|
-
|
|
101
|
-
/** Set
|
|
81
|
+
/** Hide the tooltip. @category Features */
|
|
82
|
+
tooltipHide = false;
|
|
83
|
+
/** Set a prefix for the range/input field. @category Features */
|
|
84
|
+
textPrefix = null;
|
|
85
|
+
/** Set a suffix for the range/input field. @category Features */
|
|
86
|
+
textSuffix = null;
|
|
87
|
+
/** Set an icon for the range/input field. @category Features */
|
|
88
|
+
icon = null;
|
|
89
|
+
/** Set an icon at the end of the range or for the second input field when using `multiple`. @category Features */
|
|
90
|
+
iconEnd = null;
|
|
91
|
+
/**
|
|
92
|
+
* Allow multiple values to be selected
|
|
93
|
+
* @category Features
|
|
94
|
+
*/
|
|
95
|
+
multiple = false;
|
|
96
|
+
/** Set the error visual for the range input, same as `error`, but without a message. @category Features */
|
|
102
97
|
invalid = false;
|
|
98
|
+
/** Set an error message for the range input. @category Features */
|
|
99
|
+
error = null;
|
|
100
|
+
/** Set a custom ID for the input. @category HTML attributes */
|
|
101
|
+
pnId = this.id;
|
|
102
|
+
/** Set a custom ID for the end input. @category HTML attributes */
|
|
103
|
+
pnIdEnd = this.idEnd;
|
|
104
|
+
/**
|
|
105
|
+
* Provide the label via an aria attribute.
|
|
106
|
+
* We strongly recommend you use the `label` prop instead.
|
|
107
|
+
* @since v7.25.0
|
|
108
|
+
* @category HTML attributes
|
|
109
|
+
*/
|
|
110
|
+
pnAriaLabel;
|
|
111
|
+
/**
|
|
112
|
+
* Provide the label for the end input via an aria attribute.
|
|
113
|
+
* We strongly recommend you use the `label-end` prop instead.
|
|
114
|
+
* @since v7.25.0
|
|
115
|
+
* @category HTML attributes
|
|
116
|
+
*/
|
|
117
|
+
pnAriaLabelEnd;
|
|
118
|
+
/**
|
|
119
|
+
* Provide the label from another element via its ID.
|
|
120
|
+
* We strongly recommend you use the `label` prop instead.
|
|
121
|
+
* @since v7.25.0
|
|
122
|
+
* @category HTML attributes
|
|
123
|
+
*/
|
|
124
|
+
pnAriaLabelledby;
|
|
125
|
+
/**
|
|
126
|
+
* Provide the label for the end input from another element via its ID.
|
|
127
|
+
* We strongly recommend you use the `label-end` prop instead.
|
|
128
|
+
* @since v7.25.0
|
|
129
|
+
* @category HTML attributes
|
|
130
|
+
*/
|
|
131
|
+
pnAriaLabelledbyEnd;
|
|
103
132
|
handleValue() {
|
|
104
133
|
if (this.multiple && this.value > this.valueEnd) {
|
|
105
134
|
this.valueEnd = this.value;
|
|
@@ -117,6 +146,8 @@ export class PnRange {
|
|
|
117
146
|
requestAnimationFrame(() => this.hostElement.style.setProperty('--pn-range-progress-end', `${percentage}%`));
|
|
118
147
|
}
|
|
119
148
|
handleId() {
|
|
149
|
+
this.idInput = `${this.pnId}-input`;
|
|
150
|
+
this.idInputEnd = `${this.pnIdEnd}-input`;
|
|
120
151
|
this.idHelpertext = `${this.pnId}-helpertext`;
|
|
121
152
|
this.idError = `${this.pnId}-error`;
|
|
122
153
|
this.idDatalist = `${this.pnId}-data`;
|
|
@@ -139,6 +170,16 @@ export class PnRange {
|
|
|
139
170
|
if (this.mo)
|
|
140
171
|
this.mo.disconnect();
|
|
141
172
|
}
|
|
173
|
+
getAriaLabel(end) {
|
|
174
|
+
if (end)
|
|
175
|
+
return !this.labelEnd && !this.pnAriaLabelledbyEnd ? this.pnAriaLabelEnd : null;
|
|
176
|
+
return !this.label && !this.pnAriaLabelledby ? this.pnAriaLabel : null;
|
|
177
|
+
}
|
|
178
|
+
getAriaLabelledby(end) {
|
|
179
|
+
if (end)
|
|
180
|
+
return !this.labelEnd && !this.pnAriaLabelEnd ? this.pnAriaLabelledbyEnd : null;
|
|
181
|
+
return !this.label && !this.pnAriaLabel ? this.pnAriaLabelledby : null;
|
|
182
|
+
}
|
|
142
183
|
tooltipDirection(isEnd = false) {
|
|
143
184
|
if (this.multiple) {
|
|
144
185
|
const isSmall = this.hostElement.offsetWidth < 384;
|
|
@@ -169,7 +210,7 @@ export class PnRange {
|
|
|
169
210
|
}
|
|
170
211
|
/** If any `error` is active, either via the prop `invalid` or `error` prop/slot. */
|
|
171
212
|
hasError() {
|
|
172
|
-
return this.hasErrorMessage() || this.invalid
|
|
213
|
+
return this.hasErrorMessage() || this.invalid;
|
|
173
214
|
}
|
|
174
215
|
checkSlottedHelper() {
|
|
175
216
|
const slottedHelper = this.hostElement.querySelector('[slot=helpertext]')?.textContent;
|
|
@@ -280,13 +321,14 @@ export class PnRange {
|
|
|
280
321
|
const label = isEnd ? this.labelEnd : this.label;
|
|
281
322
|
const value = isEnd ? this.valueEnd : this.value;
|
|
282
323
|
const idInput = isEnd ? this.idInputEnd : this.idInput;
|
|
283
|
-
|
|
324
|
+
const name = isEnd ? (this.nameEnd ? `${this.nameEnd}-input` : null) : this.name ? `${this.name}-input` : null;
|
|
325
|
+
return (h("pn-input", { class: "pn-range-field", label: label, type: "number", name: name, ...this.commonAttrs(), icon: isEnd ? this.iconEnd : this.icon, textPrefix: this.textPrefix, textSuffix: this.textSuffix, value: value?.toString(), inputid: idInput, invalid: this.hasError(), "pn-aria-label": this.getAriaLabel(isEnd), "pn-aria-labelledby": this.getAriaLabelledby(isEnd), "data-single": !this.multiple, ...this.setListeners() }));
|
|
284
326
|
}
|
|
285
327
|
renderRangeInput(isEnd = false) {
|
|
286
328
|
const id = isEnd ? this.pnIdEnd : this.pnId;
|
|
287
329
|
const value = isEnd ? this.valueEnd : this.value;
|
|
288
330
|
const customTooltip = this.tooltipDefault !== this.tooltipTemplate;
|
|
289
|
-
return (h("input", { id: id, class: "pn-range-input", type: "range", name: isEnd ? this.nameEnd : this.name, ...this.commonAttrs(), value: value, "aria-valuetext": customTooltip ? this.getTooltipLabel(isEnd) : null, "aria-describedby": this.ariaDescribedby(), "aria-invalid": this.hasError().toString(), "data-start": isEnd ? null : true, "data-end": isEnd ? true : null, ...this.setListeners() }));
|
|
331
|
+
return (h("input", { id: id, class: "pn-range-input", type: "range", name: isEnd ? this.nameEnd : this.name, ...this.commonAttrs(), value: value, "aria-label": this.getAriaLabel(isEnd), "aria-labelledby": this.getAriaLabelledby(isEnd), "aria-valuetext": customTooltip ? this.getTooltipLabel(isEnd) : null, "aria-describedby": this.ariaDescribedby(), "aria-invalid": this.hasError().toString(), "data-start": isEnd ? null : true, "data-end": isEnd ? true : null, ...this.setListeners() }));
|
|
290
332
|
}
|
|
291
333
|
renderTooltip(isEnd = false) {
|
|
292
334
|
return (h("div", { class: "pn-range-thumb", "data-start": isEnd ? null : true, "data-end": isEnd ? true : null, "data-align": this.tooltipDirection(isEnd), "aria-hidden": "true" }, !this.tooltipHide && (h("div", { class: "pn-range-tooltip" }, h("span", { class: "pn-range-tooltip-label" }, this.getTooltipLabel(isEnd))))));
|
|
@@ -301,7 +343,7 @@ export class PnRange {
|
|
|
301
343
|
this.setValue(numberValue, this.pressControl === 'end');
|
|
302
344
|
}
|
|
303
345
|
render() {
|
|
304
|
-
return (h(Host, { key: '
|
|
346
|
+
return (h(Host, { key: '9945b3c7f372134797de134a550106602a88a864' }, h("div", { key: 'd940ec70592f62a4a22f30fbee67ec9736b06560', class: "pn-range", "data-markers": !!this.markers?.length, "data-input": this.input }, h("div", { key: '9bcc2d50329ff1d77b6e60e32de8e6c7ff355271', class: "pn-range-header", "data-input": this.input }, this.label && (h("label", { key: '5888cd96c03e60f5311f877bf84e6aa62d47e97f', htmlFor: this.pnId, class: "pn-range-label" }, h("span", { key: '2072db6913d555fac653694a9e0d07c7d76fc695' }, this.label))), this.multiple && this.labelEnd && (h("label", { key: 'ae8dd61026a936c210c73ba6efe811e93760e60f', htmlFor: this.pnIdEnd, class: "pn-range-label" }, h("span", { key: '28bccee780ec10bd2b13b46f7e71ee0bcd68d559' }, this.labelEnd)))), this.renderPrefix(), h("div", { key: '278a597274b88d050ca240367e89677b5e302b97', class: "pn-range-group", "data-pressing": this.isPressing }, this.renderRangeInput(), this.multiple && (h(Fragment, { key: '840c4fc833463c6844157a3211707224777157ed' }, this.renderRangeInput(true), h("input", { key: '8eb75af8c97670d7cadb0fe91fd9f3314802953d', id: this.idInputHidden, type: "range", class: "pn-range-overlay-input", ...this.commonAttrs(), "aria-invalid": this.hasError().toString(), hidden: true, tabIndex: -1, ...this.setListeners(true) }))), h("div", { key: 'e2132f04eb0feca32916042bf0f3cd59f721dc8f', class: "pn-range-track", "data-multiple": this.multiple, "aria-hidden": "true" }), this.renderTooltip(), this.multiple && this.renderTooltip(true), !!this.markers?.length && (h("ul", { key: '9e49ca3fd348c9994b72129d6c10236935f14197', "aria-hidden": "true", class: "pn-range-markers" }, this.markers.map(({ label, value }) => (h("li", { class: "pn-range-markers-item", "data-min": this.calcPercentage(value) === this.min, "data-max": this.calcPercentage(value) === this.max, style: { '--pn-range-marker-position': `${this.calcPercentage(value)}%` } }, h("span", { class: "pn-range-markers-label", "data-active": this.isActiveMarker(value) }, this.getMarkerLabel({ value, label })))))))), this.renderSuffix(), !!this.markers?.length && (h("datalist", { key: '1de13cbec1006384d3ff3a00b1b04542f7202c41', id: this.idDatalist }, this.markers.map(({ label, value }) => (h("option", { value: value, label: label === null ? null : label }))))), h("p", { key: '2a188f9aedf5a406f61b76124a1d50439fff9113', id: this.idHelpertext, class: "pn-range-message", hidden: !this.hasHelperText() || this.hasErrorMessage() }, h("span", { key: '487bc4892db02156d88b683e96bb576897926b6a' }, this.helpertext), h("slot", { key: '5145e5f591e33da198650034c8d4dcf0e47d30a9', name: "helpertext" })), h("p", { key: '969947b6672fcd16c7b0947a2d2dc2faf58a9334', id: this.idError, class: "pn-range-message pn-range-error", role: "alert", hidden: !this.hasErrorMessage() }, h("span", { key: '5a0d01b2a9ca80f17cdf45329f3b900e1e1eabf7' }, this.error), h("slot", { key: '375f36337b860afd1d8b4c2b7bc8001d8653745f', name: "error" })))));
|
|
305
347
|
}
|
|
306
348
|
static get is() { return "pn-range"; }
|
|
307
349
|
static get originalStyleUrls() {
|
|
@@ -324,8 +366,8 @@ export class PnRange {
|
|
|
324
366
|
"resolved": "string",
|
|
325
367
|
"references": {}
|
|
326
368
|
},
|
|
327
|
-
"required":
|
|
328
|
-
"optional":
|
|
369
|
+
"required": false,
|
|
370
|
+
"optional": true,
|
|
329
371
|
"docs": {
|
|
330
372
|
"tags": [],
|
|
331
373
|
"text": "Label for the range input."
|
|
@@ -344,7 +386,7 @@ export class PnRange {
|
|
|
344
386
|
"references": {}
|
|
345
387
|
},
|
|
346
388
|
"required": false,
|
|
347
|
-
"optional":
|
|
389
|
+
"optional": true,
|
|
348
390
|
"docs": {
|
|
349
391
|
"tags": [],
|
|
350
392
|
"text": "Label for the range end input."
|
|
@@ -374,25 +416,53 @@ export class PnRange {
|
|
|
374
416
|
"attribute": "helpertext",
|
|
375
417
|
"defaultValue": "null"
|
|
376
418
|
},
|
|
377
|
-
"
|
|
378
|
-
"type": "
|
|
379
|
-
"mutable":
|
|
419
|
+
"value": {
|
|
420
|
+
"type": "number",
|
|
421
|
+
"mutable": true,
|
|
380
422
|
"complexType": {
|
|
381
|
-
"original": "
|
|
382
|
-
"resolved": "
|
|
423
|
+
"original": "number",
|
|
424
|
+
"resolved": "number",
|
|
383
425
|
"references": {}
|
|
384
426
|
},
|
|
385
427
|
"required": false,
|
|
386
428
|
"optional": true,
|
|
387
429
|
"docs": {
|
|
388
|
-
"tags": [
|
|
389
|
-
|
|
430
|
+
"tags": [{
|
|
431
|
+
"name": "category",
|
|
432
|
+
"text": "Native attributes"
|
|
433
|
+
}],
|
|
434
|
+
"text": "The range input value."
|
|
390
435
|
},
|
|
391
436
|
"getter": false,
|
|
392
437
|
"setter": false,
|
|
393
|
-
"
|
|
438
|
+
"reflect": true,
|
|
439
|
+
"attribute": "value",
|
|
440
|
+
"defaultValue": "0"
|
|
394
441
|
},
|
|
395
|
-
"
|
|
442
|
+
"valueEnd": {
|
|
443
|
+
"type": "number",
|
|
444
|
+
"mutable": true,
|
|
445
|
+
"complexType": {
|
|
446
|
+
"original": "number",
|
|
447
|
+
"resolved": "number",
|
|
448
|
+
"references": {}
|
|
449
|
+
},
|
|
450
|
+
"required": false,
|
|
451
|
+
"optional": true,
|
|
452
|
+
"docs": {
|
|
453
|
+
"tags": [{
|
|
454
|
+
"name": "category",
|
|
455
|
+
"text": "Native attributes"
|
|
456
|
+
}],
|
|
457
|
+
"text": "The range end input value."
|
|
458
|
+
},
|
|
459
|
+
"getter": false,
|
|
460
|
+
"setter": false,
|
|
461
|
+
"reflect": true,
|
|
462
|
+
"attribute": "value-end",
|
|
463
|
+
"defaultValue": "0"
|
|
464
|
+
},
|
|
465
|
+
"name": {
|
|
396
466
|
"type": "string",
|
|
397
467
|
"mutable": false,
|
|
398
468
|
"complexType": {
|
|
@@ -403,16 +473,18 @@ export class PnRange {
|
|
|
403
473
|
"required": false,
|
|
404
474
|
"optional": true,
|
|
405
475
|
"docs": {
|
|
406
|
-
"tags": [
|
|
407
|
-
|
|
476
|
+
"tags": [{
|
|
477
|
+
"name": "category",
|
|
478
|
+
"text": "Native attributes"
|
|
479
|
+
}],
|
|
480
|
+
"text": "The range input name."
|
|
408
481
|
},
|
|
409
482
|
"getter": false,
|
|
410
483
|
"setter": false,
|
|
411
484
|
"reflect": false,
|
|
412
|
-
"attribute": "
|
|
413
|
-
"defaultValue": "null"
|
|
485
|
+
"attribute": "name"
|
|
414
486
|
},
|
|
415
|
-
"
|
|
487
|
+
"nameEnd": {
|
|
416
488
|
"type": "string",
|
|
417
489
|
"mutable": false,
|
|
418
490
|
"complexType": {
|
|
@@ -423,101 +495,120 @@ export class PnRange {
|
|
|
423
495
|
"required": false,
|
|
424
496
|
"optional": true,
|
|
425
497
|
"docs": {
|
|
426
|
-
"tags": [
|
|
427
|
-
|
|
498
|
+
"tags": [{
|
|
499
|
+
"name": "category",
|
|
500
|
+
"text": "Native attributes"
|
|
501
|
+
}],
|
|
502
|
+
"text": "The range input name."
|
|
428
503
|
},
|
|
429
504
|
"getter": false,
|
|
430
505
|
"setter": false,
|
|
431
506
|
"reflect": false,
|
|
432
|
-
"attribute": "
|
|
433
|
-
"defaultValue": "null"
|
|
507
|
+
"attribute": "name-end"
|
|
434
508
|
},
|
|
435
|
-
"
|
|
436
|
-
"type": "
|
|
509
|
+
"min": {
|
|
510
|
+
"type": "number",
|
|
437
511
|
"mutable": false,
|
|
438
512
|
"complexType": {
|
|
439
|
-
"original": "
|
|
440
|
-
"resolved": "
|
|
513
|
+
"original": "number",
|
|
514
|
+
"resolved": "number",
|
|
441
515
|
"references": {}
|
|
442
516
|
},
|
|
443
517
|
"required": false,
|
|
444
518
|
"optional": true,
|
|
445
519
|
"docs": {
|
|
446
|
-
"tags": [
|
|
447
|
-
|
|
520
|
+
"tags": [{
|
|
521
|
+
"name": "category",
|
|
522
|
+
"text": "Native attributes"
|
|
523
|
+
}],
|
|
524
|
+
"text": "The range input min value."
|
|
448
525
|
},
|
|
449
526
|
"getter": false,
|
|
450
527
|
"setter": false,
|
|
451
528
|
"reflect": false,
|
|
452
|
-
"attribute": "
|
|
453
|
-
"defaultValue": "
|
|
529
|
+
"attribute": "min",
|
|
530
|
+
"defaultValue": "0"
|
|
454
531
|
},
|
|
455
|
-
"
|
|
456
|
-
"type": "
|
|
532
|
+
"max": {
|
|
533
|
+
"type": "number",
|
|
457
534
|
"mutable": false,
|
|
458
535
|
"complexType": {
|
|
459
|
-
"original": "
|
|
460
|
-
"resolved": "
|
|
536
|
+
"original": "number",
|
|
537
|
+
"resolved": "number",
|
|
461
538
|
"references": {}
|
|
462
539
|
},
|
|
463
540
|
"required": false,
|
|
464
541
|
"optional": true,
|
|
465
542
|
"docs": {
|
|
466
|
-
"tags": [
|
|
467
|
-
|
|
543
|
+
"tags": [{
|
|
544
|
+
"name": "category",
|
|
545
|
+
"text": "Native attributes"
|
|
546
|
+
}],
|
|
547
|
+
"text": "The range input max value."
|
|
468
548
|
},
|
|
469
549
|
"getter": false,
|
|
470
550
|
"setter": false,
|
|
471
551
|
"reflect": false,
|
|
472
|
-
"attribute": "
|
|
473
|
-
"defaultValue": "
|
|
552
|
+
"attribute": "max",
|
|
553
|
+
"defaultValue": "100"
|
|
474
554
|
},
|
|
475
|
-
"
|
|
555
|
+
"step": {
|
|
476
556
|
"type": "string",
|
|
477
557
|
"mutable": false,
|
|
478
558
|
"complexType": {
|
|
479
|
-
"original": "
|
|
559
|
+
"original": "HTMLInputElement['step']",
|
|
480
560
|
"resolved": "string",
|
|
481
|
-
"references": {
|
|
561
|
+
"references": {
|
|
562
|
+
"HTMLInputElement": {
|
|
563
|
+
"location": "global",
|
|
564
|
+
"id": "global::HTMLInputElement"
|
|
565
|
+
}
|
|
566
|
+
}
|
|
482
567
|
},
|
|
483
568
|
"required": false,
|
|
484
569
|
"optional": true,
|
|
485
570
|
"docs": {
|
|
486
|
-
"tags": [
|
|
487
|
-
|
|
571
|
+
"tags": [{
|
|
572
|
+
"name": "category",
|
|
573
|
+
"text": "Native attributes"
|
|
574
|
+
}],
|
|
575
|
+
"text": "Set a step value for the range input."
|
|
488
576
|
},
|
|
489
577
|
"getter": false,
|
|
490
578
|
"setter": false,
|
|
491
579
|
"reflect": false,
|
|
492
|
-
"attribute": "
|
|
493
|
-
"defaultValue": "
|
|
580
|
+
"attribute": "step",
|
|
581
|
+
"defaultValue": "''"
|
|
494
582
|
},
|
|
495
|
-
"
|
|
496
|
-
"type": "
|
|
583
|
+
"disabled": {
|
|
584
|
+
"type": "boolean",
|
|
497
585
|
"mutable": false,
|
|
498
586
|
"complexType": {
|
|
499
|
-
"original": "
|
|
500
|
-
"resolved": "
|
|
587
|
+
"original": "boolean",
|
|
588
|
+
"resolved": "boolean",
|
|
501
589
|
"references": {}
|
|
502
590
|
},
|
|
503
591
|
"required": false,
|
|
504
592
|
"optional": true,
|
|
505
593
|
"docs": {
|
|
506
|
-
"tags": [
|
|
507
|
-
|
|
594
|
+
"tags": [{
|
|
595
|
+
"name": "category",
|
|
596
|
+
"text": "Native attributes"
|
|
597
|
+
}],
|
|
598
|
+
"text": "Disable the range input."
|
|
508
599
|
},
|
|
509
600
|
"getter": false,
|
|
510
601
|
"setter": false,
|
|
511
602
|
"reflect": false,
|
|
512
|
-
"attribute": "
|
|
513
|
-
"defaultValue": "
|
|
603
|
+
"attribute": "disabled",
|
|
604
|
+
"defaultValue": "false"
|
|
514
605
|
},
|
|
515
|
-
"
|
|
516
|
-
"type": "
|
|
606
|
+
"markers": {
|
|
607
|
+
"type": "unknown",
|
|
517
608
|
"mutable": false,
|
|
518
609
|
"complexType": {
|
|
519
|
-
"original": "string",
|
|
520
|
-
"resolved": "string",
|
|
610
|
+
"original": "{ value: number; label?: string }[]",
|
|
611
|
+
"resolved": "{ value: number; label?: string; }[]",
|
|
521
612
|
"references": {}
|
|
522
613
|
},
|
|
523
614
|
"required": false,
|
|
@@ -525,16 +616,38 @@ export class PnRange {
|
|
|
525
616
|
"docs": {
|
|
526
617
|
"tags": [{
|
|
527
618
|
"name": "category",
|
|
528
|
-
"text": "
|
|
619
|
+
"text": "Features"
|
|
529
620
|
}],
|
|
530
|
-
"text": "
|
|
621
|
+
"text": "Add markers. This will also render a `datalist` element with `options`.\nOmitting the `label` for a marker will use the `value` as label instead.\nSet `label` to `null` or `''` to hide it completely."
|
|
622
|
+
},
|
|
623
|
+
"getter": false,
|
|
624
|
+
"setter": false,
|
|
625
|
+
"defaultValue": "[]"
|
|
626
|
+
},
|
|
627
|
+
"input": {
|
|
628
|
+
"type": "boolean",
|
|
629
|
+
"mutable": false,
|
|
630
|
+
"complexType": {
|
|
631
|
+
"original": "boolean",
|
|
632
|
+
"resolved": "boolean",
|
|
633
|
+
"references": {}
|
|
634
|
+
},
|
|
635
|
+
"required": false,
|
|
636
|
+
"optional": true,
|
|
637
|
+
"docs": {
|
|
638
|
+
"tags": [{
|
|
639
|
+
"name": "category",
|
|
640
|
+
"text": "Features"
|
|
641
|
+
}],
|
|
642
|
+
"text": "Display an input for the range value.\nAllowing the user to type or use the slider to set the value."
|
|
531
643
|
},
|
|
532
644
|
"getter": false,
|
|
533
645
|
"setter": false,
|
|
534
646
|
"reflect": false,
|
|
535
|
-
"attribute": "
|
|
647
|
+
"attribute": "input",
|
|
648
|
+
"defaultValue": "false"
|
|
536
649
|
},
|
|
537
|
-
"
|
|
650
|
+
"tooltipTemplate": {
|
|
538
651
|
"type": "string",
|
|
539
652
|
"mutable": false,
|
|
540
653
|
"complexType": {
|
|
@@ -546,22 +659,26 @@ export class PnRange {
|
|
|
546
659
|
"optional": true,
|
|
547
660
|
"docs": {
|
|
548
661
|
"tags": [{
|
|
662
|
+
"name": "example",
|
|
663
|
+
"text": "// Show a suffixed '%' in the tooltip with '{value} %'.\n<pn-range tooltip-template=\"{value} %\" value=\"25\" />"
|
|
664
|
+
}, {
|
|
549
665
|
"name": "category",
|
|
550
|
-
"text": "
|
|
666
|
+
"text": "Features"
|
|
551
667
|
}],
|
|
552
|
-
"text": "
|
|
668
|
+
"text": "Range tooltip label template. Default is simply the value of the range input."
|
|
553
669
|
},
|
|
554
670
|
"getter": false,
|
|
555
671
|
"setter": false,
|
|
556
672
|
"reflect": false,
|
|
557
|
-
"attribute": "
|
|
673
|
+
"attribute": "tooltip-template",
|
|
674
|
+
"defaultValue": "this.tooltipDefault"
|
|
558
675
|
},
|
|
559
|
-
"
|
|
560
|
-
"type": "
|
|
676
|
+
"tooltipHide": {
|
|
677
|
+
"type": "boolean",
|
|
561
678
|
"mutable": false,
|
|
562
679
|
"complexType": {
|
|
563
|
-
"original": "
|
|
564
|
-
"resolved": "
|
|
680
|
+
"original": "boolean",
|
|
681
|
+
"resolved": "boolean",
|
|
565
682
|
"references": {}
|
|
566
683
|
},
|
|
567
684
|
"required": false,
|
|
@@ -569,22 +686,22 @@ export class PnRange {
|
|
|
569
686
|
"docs": {
|
|
570
687
|
"tags": [{
|
|
571
688
|
"name": "category",
|
|
572
|
-
"text": "
|
|
689
|
+
"text": "Features"
|
|
573
690
|
}],
|
|
574
|
-
"text": "
|
|
691
|
+
"text": "Hide the tooltip."
|
|
575
692
|
},
|
|
576
693
|
"getter": false,
|
|
577
694
|
"setter": false,
|
|
578
695
|
"reflect": false,
|
|
579
|
-
"attribute": "
|
|
580
|
-
"defaultValue": "
|
|
696
|
+
"attribute": "tooltip-hide",
|
|
697
|
+
"defaultValue": "false"
|
|
581
698
|
},
|
|
582
|
-
"
|
|
583
|
-
"type": "
|
|
699
|
+
"textPrefix": {
|
|
700
|
+
"type": "string",
|
|
584
701
|
"mutable": false,
|
|
585
702
|
"complexType": {
|
|
586
|
-
"original": "
|
|
587
|
-
"resolved": "
|
|
703
|
+
"original": "string",
|
|
704
|
+
"resolved": "string",
|
|
588
705
|
"references": {}
|
|
589
706
|
},
|
|
590
707
|
"required": false,
|
|
@@ -592,22 +709,22 @@ export class PnRange {
|
|
|
592
709
|
"docs": {
|
|
593
710
|
"tags": [{
|
|
594
711
|
"name": "category",
|
|
595
|
-
"text": "
|
|
712
|
+
"text": "Features"
|
|
596
713
|
}],
|
|
597
|
-
"text": "
|
|
714
|
+
"text": "Set a prefix for the range/input field."
|
|
598
715
|
},
|
|
599
716
|
"getter": false,
|
|
600
717
|
"setter": false,
|
|
601
718
|
"reflect": false,
|
|
602
|
-
"attribute": "
|
|
603
|
-
"defaultValue": "
|
|
719
|
+
"attribute": "text-prefix",
|
|
720
|
+
"defaultValue": "null"
|
|
604
721
|
},
|
|
605
|
-
"
|
|
606
|
-
"type": "
|
|
607
|
-
"mutable":
|
|
722
|
+
"textSuffix": {
|
|
723
|
+
"type": "string",
|
|
724
|
+
"mutable": false,
|
|
608
725
|
"complexType": {
|
|
609
|
-
"original": "
|
|
610
|
-
"resolved": "
|
|
726
|
+
"original": "string",
|
|
727
|
+
"resolved": "string",
|
|
611
728
|
"references": {}
|
|
612
729
|
},
|
|
613
730
|
"required": false,
|
|
@@ -615,22 +732,22 @@ export class PnRange {
|
|
|
615
732
|
"docs": {
|
|
616
733
|
"tags": [{
|
|
617
734
|
"name": "category",
|
|
618
|
-
"text": "
|
|
735
|
+
"text": "Features"
|
|
619
736
|
}],
|
|
620
|
-
"text": "
|
|
737
|
+
"text": "Set a suffix for the range/input field."
|
|
621
738
|
},
|
|
622
739
|
"getter": false,
|
|
623
740
|
"setter": false,
|
|
624
|
-
"reflect":
|
|
625
|
-
"attribute": "
|
|
626
|
-
"defaultValue": "
|
|
741
|
+
"reflect": false,
|
|
742
|
+
"attribute": "text-suffix",
|
|
743
|
+
"defaultValue": "null"
|
|
627
744
|
},
|
|
628
|
-
"
|
|
629
|
-
"type": "
|
|
630
|
-
"mutable":
|
|
745
|
+
"icon": {
|
|
746
|
+
"type": "string",
|
|
747
|
+
"mutable": false,
|
|
631
748
|
"complexType": {
|
|
632
|
-
"original": "
|
|
633
|
-
"resolved": "
|
|
749
|
+
"original": "string",
|
|
750
|
+
"resolved": "string",
|
|
634
751
|
"references": {}
|
|
635
752
|
},
|
|
636
753
|
"required": false,
|
|
@@ -638,43 +755,38 @@ export class PnRange {
|
|
|
638
755
|
"docs": {
|
|
639
756
|
"tags": [{
|
|
640
757
|
"name": "category",
|
|
641
|
-
"text": "
|
|
758
|
+
"text": "Features"
|
|
642
759
|
}],
|
|
643
|
-
"text": "
|
|
760
|
+
"text": "Set an icon for the range/input field."
|
|
644
761
|
},
|
|
645
762
|
"getter": false,
|
|
646
763
|
"setter": false,
|
|
647
|
-
"reflect":
|
|
648
|
-
"attribute": "
|
|
649
|
-
"defaultValue": "
|
|
764
|
+
"reflect": false,
|
|
765
|
+
"attribute": "icon",
|
|
766
|
+
"defaultValue": "null"
|
|
650
767
|
},
|
|
651
|
-
"
|
|
768
|
+
"iconEnd": {
|
|
652
769
|
"type": "string",
|
|
653
770
|
"mutable": false,
|
|
654
771
|
"complexType": {
|
|
655
|
-
"original": "
|
|
772
|
+
"original": "string",
|
|
656
773
|
"resolved": "string",
|
|
657
|
-
"references": {
|
|
658
|
-
"HTMLInputElement": {
|
|
659
|
-
"location": "global",
|
|
660
|
-
"id": "global::HTMLInputElement"
|
|
661
|
-
}
|
|
662
|
-
}
|
|
774
|
+
"references": {}
|
|
663
775
|
},
|
|
664
776
|
"required": false,
|
|
665
777
|
"optional": true,
|
|
666
778
|
"docs": {
|
|
667
779
|
"tags": [{
|
|
668
780
|
"name": "category",
|
|
669
|
-
"text": "
|
|
781
|
+
"text": "Features"
|
|
670
782
|
}],
|
|
671
|
-
"text": "Set
|
|
783
|
+
"text": "Set an icon at the end of the range or for the second input field when using `multiple`."
|
|
672
784
|
},
|
|
673
785
|
"getter": false,
|
|
674
786
|
"setter": false,
|
|
675
787
|
"reflect": false,
|
|
676
|
-
"attribute": "
|
|
677
|
-
"defaultValue": "
|
|
788
|
+
"attribute": "icon-end",
|
|
789
|
+
"defaultValue": "null"
|
|
678
790
|
},
|
|
679
791
|
"multiple": {
|
|
680
792
|
"type": "boolean",
|
|
@@ -699,7 +811,7 @@ export class PnRange {
|
|
|
699
811
|
"attribute": "multiple",
|
|
700
812
|
"defaultValue": "false"
|
|
701
813
|
},
|
|
702
|
-
"
|
|
814
|
+
"invalid": {
|
|
703
815
|
"type": "boolean",
|
|
704
816
|
"mutable": false,
|
|
705
817
|
"complexType": {
|
|
@@ -714,20 +826,20 @@ export class PnRange {
|
|
|
714
826
|
"name": "category",
|
|
715
827
|
"text": "Features"
|
|
716
828
|
}],
|
|
717
|
-
"text": "
|
|
829
|
+
"text": "Set the error visual for the range input, same as `error`, but without a message."
|
|
718
830
|
},
|
|
719
831
|
"getter": false,
|
|
720
832
|
"setter": false,
|
|
721
833
|
"reflect": false,
|
|
722
|
-
"attribute": "
|
|
834
|
+
"attribute": "invalid",
|
|
723
835
|
"defaultValue": "false"
|
|
724
836
|
},
|
|
725
|
-
"
|
|
726
|
-
"type": "
|
|
837
|
+
"error": {
|
|
838
|
+
"type": "string",
|
|
727
839
|
"mutable": false,
|
|
728
840
|
"complexType": {
|
|
729
|
-
"original": "
|
|
730
|
-
"resolved": "
|
|
841
|
+
"original": "string",
|
|
842
|
+
"resolved": "string",
|
|
731
843
|
"references": {}
|
|
732
844
|
},
|
|
733
845
|
"required": false,
|
|
@@ -737,15 +849,15 @@ export class PnRange {
|
|
|
737
849
|
"name": "category",
|
|
738
850
|
"text": "Features"
|
|
739
851
|
}],
|
|
740
|
-
"text": "
|
|
852
|
+
"text": "Set an error message for the range input."
|
|
741
853
|
},
|
|
742
854
|
"getter": false,
|
|
743
855
|
"setter": false,
|
|
744
856
|
"reflect": false,
|
|
745
|
-
"attribute": "
|
|
746
|
-
"defaultValue": "
|
|
857
|
+
"attribute": "error",
|
|
858
|
+
"defaultValue": "null"
|
|
747
859
|
},
|
|
748
|
-
"
|
|
860
|
+
"pnId": {
|
|
749
861
|
"type": "string",
|
|
750
862
|
"mutable": false,
|
|
751
863
|
"complexType": {
|
|
@@ -757,44 +869,91 @@ export class PnRange {
|
|
|
757
869
|
"optional": true,
|
|
758
870
|
"docs": {
|
|
759
871
|
"tags": [{
|
|
760
|
-
"name": "
|
|
761
|
-
"text": "
|
|
872
|
+
"name": "category",
|
|
873
|
+
"text": "HTML attributes"
|
|
874
|
+
}],
|
|
875
|
+
"text": "Set a custom ID for the input."
|
|
876
|
+
},
|
|
877
|
+
"getter": false,
|
|
878
|
+
"setter": false,
|
|
879
|
+
"reflect": false,
|
|
880
|
+
"attribute": "pn-id",
|
|
881
|
+
"defaultValue": "this.id"
|
|
882
|
+
},
|
|
883
|
+
"pnIdEnd": {
|
|
884
|
+
"type": "string",
|
|
885
|
+
"mutable": false,
|
|
886
|
+
"complexType": {
|
|
887
|
+
"original": "string",
|
|
888
|
+
"resolved": "string",
|
|
889
|
+
"references": {}
|
|
890
|
+
},
|
|
891
|
+
"required": false,
|
|
892
|
+
"optional": true,
|
|
893
|
+
"docs": {
|
|
894
|
+
"tags": [{
|
|
895
|
+
"name": "category",
|
|
896
|
+
"text": "HTML attributes"
|
|
897
|
+
}],
|
|
898
|
+
"text": "Set a custom ID for the end input."
|
|
899
|
+
},
|
|
900
|
+
"getter": false,
|
|
901
|
+
"setter": false,
|
|
902
|
+
"reflect": false,
|
|
903
|
+
"attribute": "pn-id-end",
|
|
904
|
+
"defaultValue": "this.idEnd"
|
|
905
|
+
},
|
|
906
|
+
"pnAriaLabel": {
|
|
907
|
+
"type": "string",
|
|
908
|
+
"mutable": false,
|
|
909
|
+
"complexType": {
|
|
910
|
+
"original": "string",
|
|
911
|
+
"resolved": "string",
|
|
912
|
+
"references": {}
|
|
913
|
+
},
|
|
914
|
+
"required": false,
|
|
915
|
+
"optional": true,
|
|
916
|
+
"docs": {
|
|
917
|
+
"tags": [{
|
|
918
|
+
"name": "since",
|
|
919
|
+
"text": "v7.25.0"
|
|
762
920
|
}, {
|
|
763
921
|
"name": "category",
|
|
764
|
-
"text": "
|
|
922
|
+
"text": "HTML attributes"
|
|
765
923
|
}],
|
|
766
|
-
"text": "
|
|
924
|
+
"text": "Provide the label via an aria attribute.\nWe strongly recommend you use the `label` prop instead."
|
|
767
925
|
},
|
|
768
926
|
"getter": false,
|
|
769
927
|
"setter": false,
|
|
770
928
|
"reflect": false,
|
|
771
|
-
"attribute": "
|
|
772
|
-
"defaultValue": "this.tooltipDefault"
|
|
929
|
+
"attribute": "pn-aria-label"
|
|
773
930
|
},
|
|
774
|
-
"
|
|
775
|
-
"type": "
|
|
931
|
+
"pnAriaLabelEnd": {
|
|
932
|
+
"type": "string",
|
|
776
933
|
"mutable": false,
|
|
777
934
|
"complexType": {
|
|
778
|
-
"original": "
|
|
779
|
-
"resolved": "
|
|
935
|
+
"original": "string",
|
|
936
|
+
"resolved": "string",
|
|
780
937
|
"references": {}
|
|
781
938
|
},
|
|
782
939
|
"required": false,
|
|
783
940
|
"optional": true,
|
|
784
941
|
"docs": {
|
|
785
942
|
"tags": [{
|
|
943
|
+
"name": "since",
|
|
944
|
+
"text": "v7.25.0"
|
|
945
|
+
}, {
|
|
786
946
|
"name": "category",
|
|
787
|
-
"text": "
|
|
947
|
+
"text": "HTML attributes"
|
|
788
948
|
}],
|
|
789
|
-
"text": "
|
|
949
|
+
"text": "Provide the label for the end input via an aria attribute.\nWe strongly recommend you use the `label-end` prop instead."
|
|
790
950
|
},
|
|
791
951
|
"getter": false,
|
|
792
952
|
"setter": false,
|
|
793
953
|
"reflect": false,
|
|
794
|
-
"attribute": "
|
|
795
|
-
"defaultValue": "false"
|
|
954
|
+
"attribute": "pn-aria-label-end"
|
|
796
955
|
},
|
|
797
|
-
"
|
|
956
|
+
"pnAriaLabelledby": {
|
|
798
957
|
"type": "string",
|
|
799
958
|
"mutable": false,
|
|
800
959
|
"complexType": {
|
|
@@ -806,39 +965,43 @@ export class PnRange {
|
|
|
806
965
|
"optional": true,
|
|
807
966
|
"docs": {
|
|
808
967
|
"tags": [{
|
|
968
|
+
"name": "since",
|
|
969
|
+
"text": "v7.25.0"
|
|
970
|
+
}, {
|
|
809
971
|
"name": "category",
|
|
810
|
-
"text": "
|
|
972
|
+
"text": "HTML attributes"
|
|
811
973
|
}],
|
|
812
|
-
"text": "
|
|
974
|
+
"text": "Provide the label from another element via its ID.\nWe strongly recommend you use the `label` prop instead."
|
|
813
975
|
},
|
|
814
976
|
"getter": false,
|
|
815
977
|
"setter": false,
|
|
816
978
|
"reflect": false,
|
|
817
|
-
"attribute": "
|
|
818
|
-
"defaultValue": "null"
|
|
979
|
+
"attribute": "pn-aria-labelledby"
|
|
819
980
|
},
|
|
820
|
-
"
|
|
821
|
-
"type": "
|
|
981
|
+
"pnAriaLabelledbyEnd": {
|
|
982
|
+
"type": "string",
|
|
822
983
|
"mutable": false,
|
|
823
984
|
"complexType": {
|
|
824
|
-
"original": "
|
|
825
|
-
"resolved": "
|
|
985
|
+
"original": "string",
|
|
986
|
+
"resolved": "string",
|
|
826
987
|
"references": {}
|
|
827
988
|
},
|
|
828
989
|
"required": false,
|
|
829
990
|
"optional": true,
|
|
830
991
|
"docs": {
|
|
831
992
|
"tags": [{
|
|
993
|
+
"name": "since",
|
|
994
|
+
"text": "v7.25.0"
|
|
995
|
+
}, {
|
|
832
996
|
"name": "category",
|
|
833
|
-
"text": "
|
|
997
|
+
"text": "HTML attributes"
|
|
834
998
|
}],
|
|
835
|
-
"text": "
|
|
999
|
+
"text": "Provide the label for the end input from another element via its ID.\nWe strongly recommend you use the `label-end` prop instead."
|
|
836
1000
|
},
|
|
837
1001
|
"getter": false,
|
|
838
1002
|
"setter": false,
|
|
839
1003
|
"reflect": false,
|
|
840
|
-
"attribute": "
|
|
841
|
-
"defaultValue": "false"
|
|
1004
|
+
"attribute": "pn-aria-labelledby-end"
|
|
842
1005
|
}
|
|
843
1006
|
};
|
|
844
1007
|
}
|
|
@@ -884,6 +1047,9 @@ export class PnRange {
|
|
|
884
1047
|
}
|
|
885
1048
|
}, {
|
|
886
1049
|
"propName": "pnId",
|
|
1050
|
+
"methodName": "handleId"
|
|
1051
|
+
}, {
|
|
1052
|
+
"propName": "pnIdEnd",
|
|
887
1053
|
"methodName": "handleId",
|
|
888
1054
|
"handlerOptions": {
|
|
889
1055
|
"immediate": true
|