@porsche-design-system/components-react 3.0.0-alpha.1 → 3.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +351 -3
- package/OSS_NOTICE +65234 -2280
- package/esm/lib/components/accordion.wrapper.js +2 -1
- package/esm/lib/components/banner.wrapper.js +3 -3
- package/esm/lib/components/carousel.wrapper.js +4 -3
- package/esm/lib/components/content-wrapper.wrapper.js +1 -1
- package/esm/lib/components/divider.wrapper.js +3 -3
- package/esm/lib/components/link-social.wrapper.js +1 -1
- package/esm/lib/components/link-tile.wrapper.js +1 -1
- package/esm/lib/components/modal.wrapper.js +4 -3
- package/esm/lib/components/model-signature.wrapper.js +22 -0
- package/esm/lib/components/pagination.wrapper.js +4 -3
- package/esm/lib/components/scroller.wrapper.js +3 -3
- package/esm/lib/components/segmented-control.wrapper.js +2 -1
- package/esm/lib/components/stepper-horizontal.wrapper.js +2 -1
- package/esm/lib/components/switch.wrapper.js +2 -1
- package/esm/lib/components/table.wrapper.js +2 -1
- package/esm/lib/components/tabs-bar.wrapper.js +4 -3
- package/esm/lib/components/tabs.wrapper.js +4 -3
- package/esm/lib/components/text-field-wrapper.wrapper.js +3 -3
- package/esm/lib/components/text-list.wrapper.js +3 -3
- package/esm/lib/components/textarea-wrapper.wrapper.js +3 -3
- package/esm/public-api.js +1 -0
- package/lib/components/accordion.wrapper.d.ts +12 -4
- package/lib/components/accordion.wrapper.js +2 -1
- package/lib/components/banner.wrapper.d.ts +18 -2
- package/lib/components/banner.wrapper.js +3 -3
- package/lib/components/button-group.wrapper.d.ts +2 -2
- package/lib/components/button-pure.wrapper.d.ts +15 -15
- package/lib/components/button.wrapper.d.ts +5 -5
- package/lib/components/carousel.wrapper.d.ts +43 -9
- package/lib/components/carousel.wrapper.js +4 -3
- package/lib/components/checkbox-wrapper.wrapper.d.ts +5 -5
- package/lib/components/content-wrapper.wrapper.d.ts +2 -2
- package/lib/components/content-wrapper.wrapper.js +1 -1
- package/lib/components/display.wrapper.d.ts +2 -2
- package/lib/components/divider.wrapper.d.ts +13 -5
- package/lib/components/divider.wrapper.js +3 -3
- package/lib/components/fieldset-wrapper.wrapper.d.ts +5 -5
- package/lib/components/flex-item.wrapper.d.ts +2 -2
- package/lib/components/flex.wrapper.d.ts +2 -2
- package/lib/components/grid-item.wrapper.d.ts +2 -2
- package/lib/components/grid.wrapper.d.ts +2 -2
- package/lib/components/heading.wrapper.d.ts +2 -2
- package/lib/components/headline.wrapper.d.ts +2 -2
- package/lib/components/icon.wrapper.d.ts +2 -2
- package/lib/components/index.d.ts +1 -0
- package/lib/components/inline-notification.wrapper.d.ts +5 -5
- package/lib/components/link-pure.wrapper.d.ts +15 -15
- package/lib/components/link-social.wrapper.d.ts +8 -8
- package/lib/components/link-social.wrapper.js +1 -1
- package/lib/components/link-tile.wrapper.d.ts +7 -7
- package/lib/components/link-tile.wrapper.js +1 -1
- package/lib/components/link.wrapper.d.ts +5 -5
- package/lib/components/marque.wrapper.d.ts +5 -5
- package/lib/components/modal.wrapper.d.ts +22 -6
- package/lib/components/modal.wrapper.js +4 -3
- package/lib/components/model-signature.wrapper.d.ts +38 -0
- package/lib/components/model-signature.wrapper.js +24 -0
- package/lib/components/pagination.wrapper.d.ts +31 -15
- package/lib/components/pagination.wrapper.js +4 -3
- package/lib/components/popover.wrapper.d.ts +5 -5
- package/lib/components/radio-button-wrapper.wrapper.d.ts +5 -5
- package/lib/components/scroller.wrapper.d.ts +27 -11
- package/lib/components/scroller.wrapper.js +3 -3
- package/lib/components/segmented-control-item.wrapper.d.ts +5 -5
- package/lib/components/segmented-control.wrapper.d.ts +12 -4
- package/lib/components/segmented-control.wrapper.js +2 -1
- package/lib/components/select-wrapper.wrapper.d.ts +7 -7
- package/lib/components/spinner.wrapper.d.ts +2 -2
- package/lib/components/stepper-horizontal-item.wrapper.d.ts +5 -5
- package/lib/components/stepper-horizontal.wrapper.d.ts +13 -5
- package/lib/components/stepper-horizontal.wrapper.js +2 -1
- package/lib/components/switch.wrapper.d.ts +13 -5
- package/lib/components/switch.wrapper.js +2 -1
- package/lib/components/table-body.wrapper.d.ts +2 -2
- package/lib/components/table-cell.wrapper.d.ts +2 -2
- package/lib/components/table-head-cell.wrapper.d.ts +2 -2
- package/lib/components/table-head-row.wrapper.d.ts +2 -2
- package/lib/components/table-head.wrapper.d.ts +2 -2
- package/lib/components/table-row.wrapper.d.ts +2 -2
- package/lib/components/table.wrapper.d.ts +13 -5
- package/lib/components/table.wrapper.js +2 -1
- package/lib/components/tabs-bar.wrapper.d.ts +27 -11
- package/lib/components/tabs-bar.wrapper.js +4 -3
- package/lib/components/tabs-item.wrapper.d.ts +2 -2
- package/lib/components/tabs.wrapper.d.ts +27 -11
- package/lib/components/tabs.wrapper.js +4 -3
- package/lib/components/tag-dismissible.wrapper.d.ts +2 -2
- package/lib/components/tag.wrapper.d.ts +5 -5
- package/lib/components/text-field-wrapper.wrapper.d.ts +17 -9
- package/lib/components/text-field-wrapper.wrapper.js +3 -3
- package/lib/components/text-list-item.wrapper.d.ts +2 -2
- package/lib/components/text-list.wrapper.d.ts +21 -13
- package/lib/components/text-list.wrapper.js +3 -3
- package/lib/components/text.wrapper.d.ts +2 -2
- package/lib/components/textarea-wrapper.wrapper.d.ts +15 -7
- package/lib/components/textarea-wrapper.wrapper.js +3 -3
- package/lib/components/toast.wrapper.d.ts +2 -2
- package/lib/types.d.ts +164 -60
- package/package.json +2 -2
- package/public-api.js +2 -0
- package/ssr/components/dist/styles/esm/styles-entry.js +563 -2449
- package/ssr/components/dist/utils/esm/utils-entry.js +167 -2045
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/accordion.wrapper.js +2 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/banner.wrapper.js +4 -4
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/carousel.wrapper.js +5 -4
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/content-wrapper.wrapper.js +1 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/divider.wrapper.js +4 -4
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/link-social.wrapper.js +1 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/link-tile.wrapper.js +1 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/modal.wrapper.js +5 -4
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/model-signature.wrapper.js +37 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/pagination.wrapper.js +5 -4
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/scroller.wrapper.js +4 -4
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control.wrapper.js +2 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/stepper-horizontal.wrapper.js +2 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/switch.wrapper.js +2 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/table.wrapper.js +2 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/tabs-bar.wrapper.js +5 -4
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/tabs.wrapper.js +5 -4
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/text-field-wrapper.wrapper.js +4 -4
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/text-list-item.wrapper.js +2 -4
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/text-list.wrapper.js +4 -4
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/textarea-wrapper.wrapper.js +4 -4
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +3 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +2 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +2 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +9 -2
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.js +1 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.js +6 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.js +1 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.js +1 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.js +9 -2
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +2 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +8 -12
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.js +1 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +7 -2
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/model-signature.js +17 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js +15 -4
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +8 -3
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +2 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +2 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +6 -2
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +2 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +5 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +10 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +14 -7
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list-item.js +1 -3
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list.js +5 -7
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text.js +14 -2
- package/ssr/components-react/projects/react-ssr-wrapper/src/public-api.js +2 -0
- package/ssr/esm/components/dist/styles/esm/styles-entry.js +536 -2423
- package/ssr/esm/components/dist/utils/esm/utils-entry.js +163 -2046
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/accordion.wrapper.js +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/banner.wrapper.js +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/carousel.wrapper.js +5 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/content-wrapper.wrapper.js +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/divider.wrapper.js +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/link-social.wrapper.js +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/link-tile.wrapper.js +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/modal.wrapper.js +5 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/model-signature.wrapper.js +35 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/pagination.wrapper.js +5 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/scroller.wrapper.js +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control.wrapper.js +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/stepper-horizontal.wrapper.js +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/switch.wrapper.js +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/table.wrapper.js +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/tabs-bar.wrapper.js +5 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/tabs.wrapper.js +5 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/text-field-wrapper.wrapper.js +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/text-list-item.wrapper.js +2 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/text-list.wrapper.js +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/textarea-wrapper.wrapper.js +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +5 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +4 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +4 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +10 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.js +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.js +7 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.js +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.js +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.js +10 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +4 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +10 -14
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.js +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +8 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/model-signature.js +15 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js +15 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +8 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +6 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +5 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +10 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +15 -8
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list-item.js +2 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list.js +6 -8
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text.js +14 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.js +1 -0
- package/ssr/lib/components/accordion.wrapper.d.ts +12 -4
- package/ssr/lib/components/banner.wrapper.d.ts +18 -2
- package/ssr/lib/components/button-group.wrapper.d.ts +2 -2
- package/ssr/lib/components/button-pure.wrapper.d.ts +15 -15
- package/ssr/lib/components/button.wrapper.d.ts +5 -5
- package/ssr/lib/components/carousel.wrapper.d.ts +43 -9
- package/ssr/lib/components/checkbox-wrapper.wrapper.d.ts +5 -5
- package/ssr/lib/components/content-wrapper.wrapper.d.ts +2 -2
- package/ssr/lib/components/display.wrapper.d.ts +2 -2
- package/ssr/lib/components/divider.wrapper.d.ts +13 -5
- package/ssr/lib/components/fieldset-wrapper.wrapper.d.ts +5 -5
- package/ssr/lib/components/flex-item.wrapper.d.ts +2 -2
- package/ssr/lib/components/flex.wrapper.d.ts +2 -2
- package/ssr/lib/components/grid-item.wrapper.d.ts +2 -2
- package/ssr/lib/components/grid.wrapper.d.ts +2 -2
- package/ssr/lib/components/heading.wrapper.d.ts +2 -2
- package/ssr/lib/components/headline.wrapper.d.ts +2 -2
- package/ssr/lib/components/icon.wrapper.d.ts +2 -2
- package/ssr/lib/components/index.d.ts +1 -0
- package/ssr/lib/components/inline-notification.wrapper.d.ts +5 -5
- package/ssr/lib/components/link-pure.wrapper.d.ts +15 -15
- package/ssr/lib/components/link-social.wrapper.d.ts +8 -8
- package/ssr/lib/components/link-tile.wrapper.d.ts +7 -7
- package/ssr/lib/components/link.wrapper.d.ts +5 -5
- package/ssr/lib/components/marque.wrapper.d.ts +5 -5
- package/ssr/lib/components/modal.wrapper.d.ts +22 -6
- package/ssr/lib/components/model-signature.wrapper.d.ts +38 -0
- package/ssr/lib/components/pagination.wrapper.d.ts +31 -15
- package/ssr/lib/components/popover.wrapper.d.ts +5 -5
- package/ssr/lib/components/radio-button-wrapper.wrapper.d.ts +5 -5
- package/ssr/lib/components/scroller.wrapper.d.ts +27 -11
- package/ssr/lib/components/segmented-control-item.wrapper.d.ts +5 -5
- package/ssr/lib/components/segmented-control.wrapper.d.ts +12 -4
- package/ssr/lib/components/select-wrapper.wrapper.d.ts +7 -7
- package/ssr/lib/components/spinner.wrapper.d.ts +2 -2
- package/ssr/lib/components/stepper-horizontal-item.wrapper.d.ts +5 -5
- package/ssr/lib/components/stepper-horizontal.wrapper.d.ts +13 -5
- package/ssr/lib/components/switch.wrapper.d.ts +13 -5
- package/ssr/lib/components/table-body.wrapper.d.ts +2 -2
- package/ssr/lib/components/table-cell.wrapper.d.ts +2 -2
- package/ssr/lib/components/table-head-cell.wrapper.d.ts +2 -2
- package/ssr/lib/components/table-head-row.wrapper.d.ts +2 -2
- package/ssr/lib/components/table-head.wrapper.d.ts +2 -2
- package/ssr/lib/components/table-row.wrapper.d.ts +2 -2
- package/ssr/lib/components/table.wrapper.d.ts +13 -5
- package/ssr/lib/components/tabs-bar.wrapper.d.ts +27 -11
- package/ssr/lib/components/tabs-item.wrapper.d.ts +2 -2
- package/ssr/lib/components/tabs.wrapper.d.ts +27 -11
- package/ssr/lib/components/tag-dismissible.wrapper.d.ts +2 -2
- package/ssr/lib/components/tag.wrapper.d.ts +5 -5
- package/ssr/lib/components/text-field-wrapper.wrapper.d.ts +17 -9
- package/ssr/lib/components/text-list-item.wrapper.d.ts +2 -2
- package/ssr/lib/components/text-list.wrapper.d.ts +21 -13
- package/ssr/lib/components/text.wrapper.d.ts +2 -2
- package/ssr/lib/components/textarea-wrapper.wrapper.d.ts +15 -7
- package/ssr/lib/components/toast.wrapper.d.ts +2 -2
- package/ssr/lib/dsr-components/carousel.d.ts +1 -1
- package/ssr/lib/dsr-components/link-social.d.ts +1 -1
- package/ssr/lib/dsr-components/modal.d.ts +2 -1
- package/ssr/lib/dsr-components/model-signature.d.ts +5 -0
- package/ssr/lib/dsr-components/text-field-wrapper.d.ts +2 -0
- package/ssr/lib/dsr-components/text-list-item.d.ts +1 -2
- package/ssr/lib/types.d.ts +164 -60
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
import type { BreakpointCustomizable, CarouselInternationalization, CarouselChangeEvent, Theme } from '../types';
|
|
3
|
-
export type PCarouselProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
2
|
+
import type { CarouselAlignHeader, BreakpointCustomizable, CarouselInternationalization, CarouselChangeEvent, Theme, CarouselWidth } from '../types';
|
|
3
|
+
export type PCarouselProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
4
|
+
/**
|
|
5
|
+
* Alignment of heading and description
|
|
6
|
+
*/
|
|
7
|
+
alignHeader?: CarouselAlignHeader;
|
|
4
8
|
/**
|
|
5
9
|
* Defines the description used in the carousel.
|
|
6
10
|
*/
|
|
7
11
|
description?: string;
|
|
8
12
|
/**
|
|
9
|
-
* If true, the carousel will not show pagination bullets at the bottom.
|
|
13
|
+
* @deprecated since v3.0.0, will be removed with next major release, use `pagination` instead. If true, the carousel will not show pagination bullets at the bottom.
|
|
10
14
|
*/
|
|
11
15
|
disablePagination?: BreakpointCustomizable<boolean>;
|
|
12
16
|
/**
|
|
@@ -18,9 +22,17 @@ export type PCarouselProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
18
22
|
*/
|
|
19
23
|
intl?: CarouselInternationalization;
|
|
20
24
|
/**
|
|
21
|
-
* Emitted when carousel's content slides.
|
|
25
|
+
* @deprecated since v3.0.0, will be removed with next major release, use `change` event instead. Emitted when carousel's content slides.
|
|
22
26
|
*/
|
|
23
27
|
onCarouselChange?: (event: CustomEvent<CarouselChangeEvent>) => void;
|
|
28
|
+
/**
|
|
29
|
+
* Emitted when carousel's content slides.
|
|
30
|
+
*/
|
|
31
|
+
onChange?: (event: CustomEvent<CarouselChangeEvent>) => void;
|
|
32
|
+
/**
|
|
33
|
+
* If false, the carousel will not show pagination bullets at the bottom.
|
|
34
|
+
*/
|
|
35
|
+
pagination?: BreakpointCustomizable<boolean>;
|
|
24
36
|
/**
|
|
25
37
|
* Whether the slides should rewind from last to first slide and vice versa.
|
|
26
38
|
*/
|
|
@@ -34,17 +46,26 @@ export type PCarouselProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
34
46
|
*/
|
|
35
47
|
theme?: Theme;
|
|
36
48
|
/**
|
|
37
|
-
*
|
|
49
|
+
* Defines the outer spacings between the carousel and the left and right screen sides.
|
|
50
|
+
*/
|
|
51
|
+
width?: CarouselWidth;
|
|
52
|
+
/**
|
|
53
|
+
* Has no effect anymore
|
|
54
|
+
* @deprecated since v3.0.0, will be removed with next major release
|
|
38
55
|
*/
|
|
39
56
|
wrapContent?: boolean;
|
|
40
57
|
};
|
|
41
|
-
export declare const PCarousel: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
58
|
+
export declare const PCarousel: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
|
|
59
|
+
/**
|
|
60
|
+
* Alignment of heading and description
|
|
61
|
+
*/
|
|
62
|
+
alignHeader?: CarouselAlignHeader;
|
|
42
63
|
/**
|
|
43
64
|
* Defines the description used in the carousel.
|
|
44
65
|
*/
|
|
45
66
|
description?: string;
|
|
46
67
|
/**
|
|
47
|
-
* If true, the carousel will not show pagination bullets at the bottom.
|
|
68
|
+
* @deprecated since v3.0.0, will be removed with next major release, use `pagination` instead. If true, the carousel will not show pagination bullets at the bottom.
|
|
48
69
|
*/
|
|
49
70
|
disablePagination?: BreakpointCustomizable<boolean>;
|
|
50
71
|
/**
|
|
@@ -56,9 +77,17 @@ export declare const PCarousel: import("react").ForwardRefExoticComponent<Omit<H
|
|
|
56
77
|
*/
|
|
57
78
|
intl?: CarouselInternationalization;
|
|
58
79
|
/**
|
|
59
|
-
* Emitted when carousel's content slides.
|
|
80
|
+
* @deprecated since v3.0.0, will be removed with next major release, use `change` event instead. Emitted when carousel's content slides.
|
|
60
81
|
*/
|
|
61
82
|
onCarouselChange?: (event: CustomEvent<CarouselChangeEvent>) => void;
|
|
83
|
+
/**
|
|
84
|
+
* Emitted when carousel's content slides.
|
|
85
|
+
*/
|
|
86
|
+
onChange?: (event: CustomEvent<CarouselChangeEvent>) => void;
|
|
87
|
+
/**
|
|
88
|
+
* If false, the carousel will not show pagination bullets at the bottom.
|
|
89
|
+
*/
|
|
90
|
+
pagination?: BreakpointCustomizable<boolean>;
|
|
62
91
|
/**
|
|
63
92
|
* Whether the slides should rewind from last to first slide and vice versa.
|
|
64
93
|
*/
|
|
@@ -72,7 +101,12 @@ export declare const PCarousel: import("react").ForwardRefExoticComponent<Omit<H
|
|
|
72
101
|
*/
|
|
73
102
|
theme?: Theme;
|
|
74
103
|
/**
|
|
75
|
-
*
|
|
104
|
+
* Defines the outer spacings between the carousel and the left and right screen sides.
|
|
105
|
+
*/
|
|
106
|
+
width?: CarouselWidth;
|
|
107
|
+
/**
|
|
108
|
+
* Has no effect anymore
|
|
109
|
+
* @deprecated since v3.0.0, will be removed with next major release
|
|
76
110
|
*/
|
|
77
111
|
wrapContent?: boolean;
|
|
78
112
|
} & {
|
|
@@ -5,14 +5,15 @@ var react = require('react');
|
|
|
5
5
|
var hooks = require('../../hooks.js');
|
|
6
6
|
var utils = require('../../utils.js');
|
|
7
7
|
|
|
8
|
-
const PCarousel = react.forwardRef(({ description, disablePagination
|
|
8
|
+
const PCarousel = react.forwardRef(({ alignHeader = 'left', description, disablePagination, heading, intl = {}, onCarouselChange, onChange, pagination = true, rewind = true, slidesPerPage = 1, theme = 'light', width = 'basic', wrapContent, className, ...rest }, ref) => {
|
|
9
9
|
const elementRef = react.useRef();
|
|
10
10
|
hooks.useEventCallback(elementRef, 'carouselChange', onCarouselChange);
|
|
11
|
+
hooks.useEventCallback(elementRef, 'change', onChange);
|
|
11
12
|
const WebComponentTag = hooks.usePrefix('p-carousel');
|
|
12
|
-
const propsToSync = [description, disablePagination, heading, intl, rewind, slidesPerPage, theme, wrapContent];
|
|
13
|
+
const propsToSync = [alignHeader, description, disablePagination, heading, intl, pagination, rewind, slidesPerPage, theme, width, wrapContent];
|
|
13
14
|
hooks.useBrowserLayoutEffect(() => {
|
|
14
15
|
const { current } = elementRef;
|
|
15
|
-
['description', 'disablePagination', 'heading', 'intl', 'rewind', 'slidesPerPage', 'theme', 'wrapContent'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
16
|
+
['alignHeader', 'description', 'disablePagination', 'heading', 'intl', 'pagination', 'rewind', 'slidesPerPage', 'theme', 'width', 'wrapContent'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
16
17
|
}, propsToSync);
|
|
17
18
|
const props = {
|
|
18
19
|
...rest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
import type { BreakpointCustomizable,
|
|
3
|
-
export type PCheckboxWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
2
|
+
import type { BreakpointCustomizable, CheckboxWrapperState, Theme } from '../types';
|
|
3
|
+
export type PCheckboxWrapperProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Show or hide label. For better accessibility it's recommended to show the label.
|
|
6
6
|
*/
|
|
@@ -16,13 +16,13 @@ export type PCheckboxWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
16
16
|
/**
|
|
17
17
|
* The validation state.
|
|
18
18
|
*/
|
|
19
|
-
state?:
|
|
19
|
+
state?: CheckboxWrapperState;
|
|
20
20
|
/**
|
|
21
21
|
* Adapts the color depending on the theme.
|
|
22
22
|
*/
|
|
23
23
|
theme?: Theme;
|
|
24
24
|
};
|
|
25
|
-
export declare const PCheckboxWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
25
|
+
export declare const PCheckboxWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
|
|
26
26
|
/**
|
|
27
27
|
* Show or hide label. For better accessibility it's recommended to show the label.
|
|
28
28
|
*/
|
|
@@ -38,7 +38,7 @@ export declare const PCheckboxWrapper: import("react").ForwardRefExoticComponent
|
|
|
38
38
|
/**
|
|
39
39
|
* The validation state.
|
|
40
40
|
*/
|
|
41
|
-
state?:
|
|
41
|
+
state?: CheckboxWrapperState;
|
|
42
42
|
/**
|
|
43
43
|
* Adapts the color depending on the theme.
|
|
44
44
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { ContentWrapperBackgroundColor, Theme, ContentWrapperWidth } from '../types';
|
|
3
|
-
export type PContentWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
3
|
+
export type PContentWrapperProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Has no effect anymore
|
|
6
6
|
* @deprecated since v3.0.0, will be removed with next major release
|
|
@@ -17,7 +17,7 @@ export type PContentWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
17
17
|
width?: ContentWrapperWidth;
|
|
18
18
|
};
|
|
19
19
|
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
|
|
20
|
-
export declare const PContentWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
20
|
+
export declare const PContentWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
|
|
21
21
|
/**
|
|
22
22
|
* Has no effect anymore
|
|
23
23
|
* @deprecated since v3.0.0, will be removed with next major release
|
|
@@ -6,7 +6,7 @@ var hooks = require('../../hooks.js');
|
|
|
6
6
|
var utils = require('../../utils.js');
|
|
7
7
|
|
|
8
8
|
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
|
|
9
|
-
const PContentWrapper = react.forwardRef(({ backgroundColor = 'transparent', theme = 'light', width = '
|
|
9
|
+
const PContentWrapper = react.forwardRef(({ backgroundColor = 'transparent', theme = 'light', width = 'extended', className, ...rest }, ref) => {
|
|
10
10
|
const elementRef = react.useRef();
|
|
11
11
|
const WebComponentTag = hooks.usePrefix('p-content-wrapper');
|
|
12
12
|
const propsToSync = [backgroundColor, theme, width];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { DisplayAlign, DisplayColor, BreakpointCustomizable, DisplaySize, DisplayTag, Theme } from '../types';
|
|
3
|
-
export type PDisplayProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
3
|
+
export type PDisplayProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Text alignment of the component.
|
|
6
6
|
*/
|
|
@@ -26,7 +26,7 @@ export type PDisplayProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
26
26
|
*/
|
|
27
27
|
theme?: Theme;
|
|
28
28
|
};
|
|
29
|
-
export declare const PDisplay: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
29
|
+
export declare const PDisplay: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
|
|
30
30
|
/**
|
|
31
31
|
* Text alignment of the component.
|
|
32
32
|
*/
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
import type { DividerColor, BreakpointCustomizable, DividerOrientation, Theme } from '../types';
|
|
3
|
-
export type PDividerProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
2
|
+
import type { DividerColor, BreakpointCustomizable, DividerDirection, DividerOrientation, Theme } from '../types';
|
|
3
|
+
export type PDividerProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Defines color depending on theme.
|
|
6
6
|
*/
|
|
7
7
|
color?: DividerColor;
|
|
8
8
|
/**
|
|
9
|
-
* Defines
|
|
9
|
+
* Defines direction.
|
|
10
|
+
*/
|
|
11
|
+
direction?: BreakpointCustomizable<DividerDirection>;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated since v3.0.0, will be removed with next major release, use `direction` instead. Defines orientation.
|
|
10
14
|
*/
|
|
11
15
|
orientation?: BreakpointCustomizable<DividerOrientation>;
|
|
12
16
|
/**
|
|
@@ -14,13 +18,17 @@ export type PDividerProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
14
18
|
*/
|
|
15
19
|
theme?: Theme;
|
|
16
20
|
};
|
|
17
|
-
export declare const PDivider: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
21
|
+
export declare const PDivider: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
|
|
18
22
|
/**
|
|
19
23
|
* Defines color depending on theme.
|
|
20
24
|
*/
|
|
21
25
|
color?: DividerColor;
|
|
22
26
|
/**
|
|
23
|
-
* Defines
|
|
27
|
+
* Defines direction.
|
|
28
|
+
*/
|
|
29
|
+
direction?: BreakpointCustomizable<DividerDirection>;
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated since v3.0.0, will be removed with next major release, use `direction` instead. Defines orientation.
|
|
24
32
|
*/
|
|
25
33
|
orientation?: BreakpointCustomizable<DividerOrientation>;
|
|
26
34
|
/**
|
|
@@ -5,13 +5,13 @@ var react = require('react');
|
|
|
5
5
|
var hooks = require('../../hooks.js');
|
|
6
6
|
var utils = require('../../utils.js');
|
|
7
7
|
|
|
8
|
-
const PDivider = react.forwardRef(({ color = '
|
|
8
|
+
const PDivider = react.forwardRef(({ color = 'contrast-low', direction = 'horizontal', orientation, theme = 'light', className, ...rest }, ref) => {
|
|
9
9
|
const elementRef = react.useRef();
|
|
10
10
|
const WebComponentTag = hooks.usePrefix('p-divider');
|
|
11
|
-
const propsToSync = [color, orientation, theme];
|
|
11
|
+
const propsToSync = [color, direction, orientation, theme];
|
|
12
12
|
hooks.useBrowserLayoutEffect(() => {
|
|
13
13
|
const { current } = elementRef;
|
|
14
|
-
['color', 'orientation', 'theme'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
14
|
+
['color', 'direction', 'orientation', 'theme'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
15
15
|
}, propsToSync);
|
|
16
16
|
const props = {
|
|
17
17
|
...rest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
import type { FieldsetWrapperLabelSize,
|
|
3
|
-
export type PFieldsetWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
2
|
+
import type { FieldsetWrapperLabelSize, FieldsetWrapperState, Theme } from '../types';
|
|
3
|
+
export type PFieldsetWrapperProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
4
4
|
/**
|
|
5
5
|
* The label text.
|
|
6
6
|
*/
|
|
@@ -20,13 +20,13 @@ export type PFieldsetWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
20
20
|
/**
|
|
21
21
|
* The validation state.
|
|
22
22
|
*/
|
|
23
|
-
state?:
|
|
23
|
+
state?: FieldsetWrapperState;
|
|
24
24
|
/**
|
|
25
25
|
* Adapts color depending on theme.
|
|
26
26
|
*/
|
|
27
27
|
theme?: Theme;
|
|
28
28
|
};
|
|
29
|
-
export declare const PFieldsetWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
29
|
+
export declare const PFieldsetWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
|
|
30
30
|
/**
|
|
31
31
|
* The label text.
|
|
32
32
|
*/
|
|
@@ -46,7 +46,7 @@ export declare const PFieldsetWrapper: import("react").ForwardRefExoticComponent
|
|
|
46
46
|
/**
|
|
47
47
|
* The validation state.
|
|
48
48
|
*/
|
|
49
|
-
state?:
|
|
49
|
+
state?: FieldsetWrapperState;
|
|
50
50
|
/**
|
|
51
51
|
* Adapts color depending on theme.
|
|
52
52
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { BreakpointCustomizable, FlexItemAlignSelf, FlexItemFlex, FlexItemGrow, FlexItemOffset, FlexItemShrink, FlexItemWidth } from '../types';
|
|
3
|
-
export type PFlexItemProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
3
|
+
export type PFlexItemProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Defines how this flex item is aligned along the cross axis. This overwrites the cross axis alignment set by the container. Corresponds to the "alignSelf" css property.
|
|
6
6
|
*/
|
|
@@ -27,7 +27,7 @@ export type PFlexItemProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
27
27
|
width?: BreakpointCustomizable<FlexItemWidth>;
|
|
28
28
|
};
|
|
29
29
|
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Flex instead. */
|
|
30
|
-
export declare const PFlexItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
30
|
+
export declare const PFlexItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
|
|
31
31
|
/**
|
|
32
32
|
* Defines how this flex item is aligned along the cross axis. This overwrites the cross axis alignment set by the container. Corresponds to the "alignSelf" css property.
|
|
33
33
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { BreakpointCustomizable, FlexAlignContent, FlexAlignItems, FlexDirection, FlexInline, FlexJustifyContent, FlexWrap } from '../types';
|
|
3
|
-
export type PFlexProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
3
|
+
export type PFlexProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
4
4
|
/**
|
|
5
5
|
* This aligns a flex container's individual lines when there is extra space in the cross-axis, similar to how "justifyContent" aligns individual items along the main axis.
|
|
6
6
|
*/
|
|
@@ -27,7 +27,7 @@ export type PFlexProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
27
27
|
wrap?: BreakpointCustomizable<FlexWrap>;
|
|
28
28
|
};
|
|
29
29
|
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Flex instead. */
|
|
30
|
-
export declare const PFlex: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
30
|
+
export declare const PFlex: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
|
|
31
31
|
/**
|
|
32
32
|
* This aligns a flex container's individual lines when there is extra space in the cross-axis, similar to how "justifyContent" aligns individual items along the main axis.
|
|
33
33
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { BreakpointCustomizable, GridItemOffset, GridItemSize } from '../types';
|
|
3
|
-
export type PGridItemProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
3
|
+
export type PGridItemProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
4
4
|
/**
|
|
5
5
|
* The offset of the column. Can be between 0 and 11. Also defines the offset of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
|
|
6
6
|
*/
|
|
@@ -11,7 +11,7 @@ export type PGridItemProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
11
11
|
size?: BreakpointCustomizable<GridItemSize>;
|
|
12
12
|
};
|
|
13
13
|
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
|
|
14
|
-
export declare const PGridItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
14
|
+
export declare const PGridItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
|
|
15
15
|
/**
|
|
16
16
|
* The offset of the column. Can be between 0 and 11. Also defines the offset of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
|
|
17
17
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { BreakpointCustomizable, GridDirection, GridGutter, GridWrap } from '../types';
|
|
3
|
-
export type PGridProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
3
|
+
export type PGridProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Defines the direction of the main and cross axis. The default "row" defines the main axis as horizontal left to right. Also defines the direction for specific breakpoints, like {base: "column", l: "row"}. You always need to provide a base value when doing this.
|
|
6
6
|
*/
|
|
@@ -16,7 +16,7 @@ export type PGridProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
16
16
|
wrap?: BreakpointCustomizable<GridWrap>;
|
|
17
17
|
};
|
|
18
18
|
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
|
|
19
|
-
export declare const PGrid: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
19
|
+
export declare const PGrid: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
|
|
20
20
|
/**
|
|
21
21
|
* Defines the direction of the main and cross axis. The default "row" defines the main axis as horizontal left to right. Also defines the direction for specific breakpoints, like {base: "column", l: "row"}. You always need to provide a base value when doing this.
|
|
22
22
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { HeadingAlign, HeadingColor, BreakpointCustomizable, HeadingSize, HeadingTag, Theme } from '../types';
|
|
3
|
-
export type PHeadingProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
3
|
+
export type PHeadingProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Text alignment of the component.
|
|
6
6
|
*/
|
|
@@ -26,7 +26,7 @@ export type PHeadingProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
26
26
|
*/
|
|
27
27
|
theme?: Theme;
|
|
28
28
|
};
|
|
29
|
-
export declare const PHeading: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
29
|
+
export declare const PHeading: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
|
|
30
30
|
/**
|
|
31
31
|
* Text alignment of the component.
|
|
32
32
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { HeadlineAlign, HeadlineColor, HeadlineTag, Theme, HeadlineVariant } from '../types';
|
|
3
|
-
export type PHeadlineProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
3
|
+
export type PHeadlineProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Text alignment of the component.
|
|
6
6
|
*/
|
|
@@ -27,7 +27,7 @@ export type PHeadlineProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
27
27
|
variant?: HeadlineVariant;
|
|
28
28
|
};
|
|
29
29
|
/** @deprecated since v3.0.0, will be removed with next major release. Please use "p-heading" instead. */
|
|
30
|
-
export declare const PHeadline: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
30
|
+
export declare const PHeadline: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
|
|
31
31
|
/**
|
|
32
32
|
* Text alignment of the component.
|
|
33
33
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { SelectedAriaAttributes, IconAriaAttribute, IconColor, IconName, IconSize, Theme } from '../types';
|
|
3
|
-
export type PIconProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
3
|
+
export type PIconProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Add ARIA attributes.
|
|
6
6
|
*/
|
|
@@ -31,7 +31,7 @@ export type PIconProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
31
31
|
*/
|
|
32
32
|
theme?: Theme;
|
|
33
33
|
};
|
|
34
|
-
export declare const PIcon: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
34
|
+
export declare const PIcon: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
|
|
35
35
|
/**
|
|
36
36
|
* Add ARIA attributes.
|
|
37
37
|
*/
|
|
@@ -23,6 +23,7 @@ export * from './link-social.wrapper';
|
|
|
23
23
|
export * from './link-tile.wrapper';
|
|
24
24
|
export * from './marque.wrapper';
|
|
25
25
|
export * from './modal.wrapper';
|
|
26
|
+
export * from './model-signature.wrapper';
|
|
26
27
|
export * from './pagination.wrapper';
|
|
27
28
|
export * from './popover.wrapper';
|
|
28
29
|
export * from './radio-button-wrapper.wrapper';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
import type {
|
|
3
|
-
export type PInlineNotificationProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
2
|
+
import type { InlineNotificationActionIcon, InlineNotificationState, Theme } from '../types';
|
|
3
|
+
export type PInlineNotificationProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Action icon of the inline-notification.
|
|
6
6
|
*/
|
|
7
|
-
actionIcon?:
|
|
7
|
+
actionIcon?: InlineNotificationActionIcon;
|
|
8
8
|
/**
|
|
9
9
|
* Action label of the inline-notification.
|
|
10
10
|
*/
|
|
@@ -42,11 +42,11 @@ export type PInlineNotificationProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
42
42
|
*/
|
|
43
43
|
theme?: Theme;
|
|
44
44
|
};
|
|
45
|
-
export declare const PInlineNotification: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
45
|
+
export declare const PInlineNotification: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
|
|
46
46
|
/**
|
|
47
47
|
* Action icon of the inline-notification.
|
|
48
48
|
*/
|
|
49
|
-
actionIcon?:
|
|
49
|
+
actionIcon?: InlineNotificationActionIcon;
|
|
50
50
|
/**
|
|
51
51
|
* Action label of the inline-notification.
|
|
52
52
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
import type { BreakpointCustomizable,
|
|
3
|
-
export type PLinkPureProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
2
|
+
import type { BreakpointCustomizable, LinkPureAlignLabel, SelectedAriaAttributes, LinkPureAriaAttribute, LinkPureIcon, LinkPureSize, LinkPureTarget, Theme, LinkPureWeight } from '../types';
|
|
3
|
+
export type PLinkPureProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Display link in active state.
|
|
6
6
|
*/
|
|
@@ -8,11 +8,11 @@ export type PLinkPureProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
8
8
|
/**
|
|
9
9
|
* Aligns the label.
|
|
10
10
|
*/
|
|
11
|
-
alignLabel?: BreakpointCustomizable<
|
|
11
|
+
alignLabel?: BreakpointCustomizable<LinkPureAlignLabel>;
|
|
12
12
|
/**
|
|
13
13
|
* Add ARIA attributes.
|
|
14
14
|
*/
|
|
15
|
-
aria?: SelectedAriaAttributes<
|
|
15
|
+
aria?: SelectedAriaAttributes<LinkPureAriaAttribute>;
|
|
16
16
|
/**
|
|
17
17
|
* Special download attribute to open native browser download dialog if target url points to a downloadable file.
|
|
18
18
|
*/
|
|
@@ -28,7 +28,7 @@ export type PLinkPureProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
28
28
|
/**
|
|
29
29
|
* The icon shown. By choosing 'none', no icon is displayed
|
|
30
30
|
*/
|
|
31
|
-
icon?:
|
|
31
|
+
icon?: LinkPureIcon;
|
|
32
32
|
/**
|
|
33
33
|
* A URL path to a custom icon.
|
|
34
34
|
*/
|
|
@@ -40,7 +40,7 @@ export type PLinkPureProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
40
40
|
/**
|
|
41
41
|
* Size of the link.
|
|
42
42
|
*/
|
|
43
|
-
size?: BreakpointCustomizable<
|
|
43
|
+
size?: BreakpointCustomizable<LinkPureSize>;
|
|
44
44
|
/**
|
|
45
45
|
* Stretches the area between icon and label to max available space.
|
|
46
46
|
*/
|
|
@@ -48,7 +48,7 @@ export type PLinkPureProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
48
48
|
/**
|
|
49
49
|
* Target attribute where the link should be opened.
|
|
50
50
|
*/
|
|
51
|
-
target?:
|
|
51
|
+
target?: LinkPureTarget;
|
|
52
52
|
/**
|
|
53
53
|
* Adapts the button color depending on the theme.
|
|
54
54
|
*/
|
|
@@ -61,9 +61,9 @@ export type PLinkPureProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
61
61
|
* The weight of the text (only has effect with visible label).
|
|
62
62
|
* @deprecated since v3.0.0, will be removed with next major release
|
|
63
63
|
*/
|
|
64
|
-
weight?:
|
|
64
|
+
weight?: LinkPureWeight;
|
|
65
65
|
};
|
|
66
|
-
export declare const PLinkPure: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
66
|
+
export declare const PLinkPure: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
|
|
67
67
|
/**
|
|
68
68
|
* Display link in active state.
|
|
69
69
|
*/
|
|
@@ -71,11 +71,11 @@ export declare const PLinkPure: import("react").ForwardRefExoticComponent<Omit<H
|
|
|
71
71
|
/**
|
|
72
72
|
* Aligns the label.
|
|
73
73
|
*/
|
|
74
|
-
alignLabel?: BreakpointCustomizable<
|
|
74
|
+
alignLabel?: BreakpointCustomizable<LinkPureAlignLabel>;
|
|
75
75
|
/**
|
|
76
76
|
* Add ARIA attributes.
|
|
77
77
|
*/
|
|
78
|
-
aria?: SelectedAriaAttributes<
|
|
78
|
+
aria?: SelectedAriaAttributes<LinkPureAriaAttribute>;
|
|
79
79
|
/**
|
|
80
80
|
* Special download attribute to open native browser download dialog if target url points to a downloadable file.
|
|
81
81
|
*/
|
|
@@ -91,7 +91,7 @@ export declare const PLinkPure: import("react").ForwardRefExoticComponent<Omit<H
|
|
|
91
91
|
/**
|
|
92
92
|
* The icon shown. By choosing 'none', no icon is displayed
|
|
93
93
|
*/
|
|
94
|
-
icon?:
|
|
94
|
+
icon?: LinkPureIcon;
|
|
95
95
|
/**
|
|
96
96
|
* A URL path to a custom icon.
|
|
97
97
|
*/
|
|
@@ -103,7 +103,7 @@ export declare const PLinkPure: import("react").ForwardRefExoticComponent<Omit<H
|
|
|
103
103
|
/**
|
|
104
104
|
* Size of the link.
|
|
105
105
|
*/
|
|
106
|
-
size?: BreakpointCustomizable<
|
|
106
|
+
size?: BreakpointCustomizable<LinkPureSize>;
|
|
107
107
|
/**
|
|
108
108
|
* Stretches the area between icon and label to max available space.
|
|
109
109
|
*/
|
|
@@ -111,7 +111,7 @@ export declare const PLinkPure: import("react").ForwardRefExoticComponent<Omit<H
|
|
|
111
111
|
/**
|
|
112
112
|
* Target attribute where the link should be opened.
|
|
113
113
|
*/
|
|
114
|
-
target?:
|
|
114
|
+
target?: LinkPureTarget;
|
|
115
115
|
/**
|
|
116
116
|
* Adapts the button color depending on the theme.
|
|
117
117
|
*/
|
|
@@ -124,7 +124,7 @@ export declare const PLinkPure: import("react").ForwardRefExoticComponent<Omit<H
|
|
|
124
124
|
* The weight of the text (only has effect with visible label).
|
|
125
125
|
* @deprecated since v3.0.0, will be removed with next major release
|
|
126
126
|
*/
|
|
127
|
-
weight?:
|
|
127
|
+
weight?: LinkPureWeight;
|
|
128
128
|
} & {
|
|
129
129
|
children?: import("react").ReactNode;
|
|
130
130
|
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
import type { BreakpointCustomizable,
|
|
3
|
-
export type PLinkSocialProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
2
|
+
import type { BreakpointCustomizable, LinkSocialIcon, LinkSocialTarget, Theme } from '../types';
|
|
3
|
+
export type PLinkSocialProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Show or hide label.
|
|
6
6
|
*/
|
|
@@ -12,7 +12,7 @@ export type PLinkSocialProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
12
12
|
/**
|
|
13
13
|
* The icon shown.
|
|
14
14
|
*/
|
|
15
|
-
icon?:
|
|
15
|
+
icon?: LinkSocialIcon;
|
|
16
16
|
/**
|
|
17
17
|
* A URL path to a custom icon.
|
|
18
18
|
*/
|
|
@@ -24,14 +24,14 @@ export type PLinkSocialProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
24
24
|
/**
|
|
25
25
|
* Target attribute where the link should be opened.
|
|
26
26
|
*/
|
|
27
|
-
target?:
|
|
27
|
+
target?: LinkSocialTarget;
|
|
28
28
|
/**
|
|
29
29
|
* Adapts the link color when used on dark background.
|
|
30
30
|
*/
|
|
31
31
|
theme?: Theme;
|
|
32
32
|
};
|
|
33
|
-
/** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social instead. */
|
|
34
|
-
export declare const PLinkSocial: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
33
|
+
/** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social icon instead. */
|
|
34
|
+
export declare const PLinkSocial: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
|
|
35
35
|
/**
|
|
36
36
|
* Show or hide label.
|
|
37
37
|
*/
|
|
@@ -43,7 +43,7 @@ export declare const PLinkSocial: import("react").ForwardRefExoticComponent<Omit
|
|
|
43
43
|
/**
|
|
44
44
|
* The icon shown.
|
|
45
45
|
*/
|
|
46
|
-
icon?:
|
|
46
|
+
icon?: LinkSocialIcon;
|
|
47
47
|
/**
|
|
48
48
|
* A URL path to a custom icon.
|
|
49
49
|
*/
|
|
@@ -55,7 +55,7 @@ export declare const PLinkSocial: import("react").ForwardRefExoticComponent<Omit
|
|
|
55
55
|
/**
|
|
56
56
|
* Target attribute where the link should be opened.
|
|
57
57
|
*/
|
|
58
|
-
target?:
|
|
58
|
+
target?: LinkSocialTarget;
|
|
59
59
|
/**
|
|
60
60
|
* Adapts the link color when used on dark background.
|
|
61
61
|
*/
|
|
@@ -5,7 +5,7 @@ var react = require('react');
|
|
|
5
5
|
var hooks = require('../../hooks.js');
|
|
6
6
|
var utils = require('../../utils.js');
|
|
7
7
|
|
|
8
|
-
/** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social instead. */
|
|
8
|
+
/** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social icon instead. */
|
|
9
9
|
const PLinkSocial = react.forwardRef(({ hideLabel = false, href, icon, iconSource, rel, target = '_self', theme = 'light', className, ...rest }, ref) => {
|
|
10
10
|
const elementRef = react.useRef();
|
|
11
11
|
const WebComponentTag = hooks.usePrefix('p-link-social');
|