@porsche-design-system/components-react 4.0.0-rc.0 → 4.0.0-rc.2
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 +125 -0
- package/OSS_NOTICE +195 -855
- package/README.md +0 -5
- package/bin/patchRemixRunProcessBrowserGlobalIdentifier.js +0 -0
- package/cjs/lib/components/banner.wrapper.cjs +3 -3
- package/cjs/lib/components/segmented-control.wrapper.cjs +3 -3
- package/esm/hooks.mjs +1 -1
- package/esm/lib/components/accordion.wrapper.d.ts +8 -0
- package/esm/lib/components/banner.wrapper.d.ts +37 -15
- package/esm/lib/components/banner.wrapper.mjs +3 -3
- package/esm/lib/components/button-pure.wrapper.d.ts +22 -0
- package/esm/lib/components/button-tile.wrapper.d.ts +20 -0
- package/esm/lib/components/button.wrapper.d.ts +14 -0
- package/esm/lib/components/canvas.wrapper.d.ts +6 -0
- package/esm/lib/components/carousel.wrapper.d.ts +22 -0
- package/esm/lib/components/checkbox.wrapper.d.ts +24 -0
- package/esm/lib/components/crest.wrapper.d.ts +2 -0
- package/esm/lib/components/display.wrapper.d.ts +8 -0
- package/esm/lib/components/divider.wrapper.d.ts +4 -0
- package/esm/lib/components/drilldown-item.wrapper.d.ts +6 -0
- package/esm/lib/components/drilldown-link.wrapper.d.ts +4 -0
- package/esm/lib/components/drilldown.wrapper.d.ts +2 -0
- package/esm/lib/components/fieldset.wrapper.d.ts +10 -0
- package/esm/lib/components/flag.wrapper.d.ts +4 -0
- package/esm/lib/components/flyout.wrapper.d.ts +12 -0
- package/esm/lib/components/heading.wrapper.d.ts +12 -0
- package/esm/lib/components/icon.wrapper.d.ts +6 -0
- package/esm/lib/components/inline-notification.wrapper.d.ts +14 -0
- package/esm/lib/components/input-date.wrapper.d.ts +24 -0
- package/esm/lib/components/input-email.wrapper.d.ts +28 -0
- package/esm/lib/components/input-month.wrapper.d.ts +24 -0
- package/esm/lib/components/input-number.wrapper.d.ts +28 -0
- package/esm/lib/components/input-password.wrapper.d.ts +26 -0
- package/esm/lib/components/input-search.wrapper.d.ts +28 -0
- package/esm/lib/components/input-tel.wrapper.d.ts +26 -0
- package/esm/lib/components/input-text.wrapper.d.ts +26 -0
- package/esm/lib/components/input-time.wrapper.d.ts +24 -0
- package/esm/lib/components/input-url.wrapper.d.ts +26 -0
- package/esm/lib/components/input-week.wrapper.d.ts +24 -0
- package/esm/lib/components/link-pure.wrapper.d.ts +18 -0
- package/esm/lib/components/link-tile-product.wrapper.d.ts +8 -0
- package/esm/lib/components/link-tile.wrapper.d.ts +14 -0
- package/esm/lib/components/link.wrapper.d.ts +10 -0
- package/esm/lib/components/modal.wrapper.d.ts +12 -0
- package/esm/lib/components/model-signature.wrapper.d.ts +12 -0
- package/esm/lib/components/multi-select-option.wrapper.d.ts +2 -0
- package/esm/lib/components/multi-select.wrapper.d.ts +20 -0
- package/esm/lib/components/optgroup.wrapper.d.ts +2 -0
- package/esm/lib/components/pagination.wrapper.d.ts +10 -0
- package/esm/lib/components/pin-code.wrapper.d.ts +24 -0
- package/esm/lib/components/popover.wrapper.d.ts +2 -0
- package/esm/lib/components/radio-group-option.wrapper.d.ts +4 -0
- package/esm/lib/components/radio-group.wrapper.d.ts +22 -0
- package/esm/lib/components/scroller.wrapper.d.ts +6 -0
- package/esm/lib/components/segmented-control-item.wrapper.d.ts +2 -0
- package/esm/lib/components/segmented-control.wrapper.d.ts +28 -0
- package/esm/lib/components/segmented-control.wrapper.mjs +3 -3
- package/esm/lib/components/select-option.wrapper.d.ts +2 -0
- package/esm/lib/components/select.wrapper.d.ts +20 -0
- package/esm/lib/components/sheet.wrapper.d.ts +8 -0
- package/esm/lib/components/spinner.wrapper.d.ts +4 -0
- package/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -0
- package/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -0
- package/esm/lib/components/switch.wrapper.d.ts +14 -0
- package/esm/lib/components/table-cell.wrapper.d.ts +2 -0
- package/esm/lib/components/table-head-cell.wrapper.d.ts +4 -0
- package/esm/lib/components/table.wrapper.d.ts +6 -0
- package/esm/lib/components/tabs-bar.wrapper.d.ts +6 -0
- package/esm/lib/components/tabs.wrapper.d.ts +8 -0
- package/esm/lib/components/tag-dismissible.wrapper.d.ts +2 -0
- package/esm/lib/components/tag.wrapper.d.ts +6 -0
- package/esm/lib/components/text-list.wrapper.d.ts +2 -0
- package/esm/lib/components/text.wrapper.d.ts +14 -0
- package/esm/lib/components/textarea.wrapper.d.ts +30 -0
- package/esm/lib/components/wordmark.wrapper.d.ts +4 -0
- package/esm/lib/types.d.ts +34 -25
- package/global-styles/cn/index.css +43 -39
- package/global-styles/color-scheme.css +24 -24
- package/global-styles/index.css +43 -39
- package/global-styles/variables.css +19 -15
- package/package.json +5 -3
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +1043 -847
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +58 -84
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/banner.wrapper.cjs +4 -5
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.cjs +18 -8
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.cjs +3 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.cjs +13 -11
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.cjs +3 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.cjs +4 -5
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/notification-base.cjs +10 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.cjs +5 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.cjs +1 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.cjs +4 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.cjs +8 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.cjs +6 -5
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.cjs +1 -6
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.cjs +4 -24
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.cjs +4 -2
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +1043 -848
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +54 -83
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/hooks.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/banner.wrapper.mjs +4 -5
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +18 -8
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +5 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flag.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +14 -12
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.mjs +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.mjs +5 -6
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/notification-base.mjs +8 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.mjs +6 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.mjs +1 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.mjs +5 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.mjs +10 -6
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.mjs +7 -6
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.mjs +2 -7
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.mjs +4 -24
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.mjs +5 -3
- package/ssr/esm/lib/components/accordion.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/banner.wrapper.d.ts +37 -15
- package/ssr/esm/lib/components/button-pure.wrapper.d.ts +22 -0
- package/ssr/esm/lib/components/button-tile.wrapper.d.ts +20 -0
- package/ssr/esm/lib/components/button.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/canvas.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/carousel.wrapper.d.ts +22 -0
- package/ssr/esm/lib/components/checkbox.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/crest.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/display.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/divider.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/drilldown.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/fieldset.wrapper.d.ts +10 -0
- package/ssr/esm/lib/components/flag.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/flyout.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/heading.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/icon.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/input-date.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/input-email.wrapper.d.ts +28 -0
- package/ssr/esm/lib/components/input-month.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/input-number.wrapper.d.ts +28 -0
- package/ssr/esm/lib/components/input-password.wrapper.d.ts +26 -0
- package/ssr/esm/lib/components/input-search.wrapper.d.ts +28 -0
- package/ssr/esm/lib/components/input-tel.wrapper.d.ts +26 -0
- package/ssr/esm/lib/components/input-text.wrapper.d.ts +26 -0
- package/ssr/esm/lib/components/input-time.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/input-url.wrapper.d.ts +26 -0
- package/ssr/esm/lib/components/input-week.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/link-pure.wrapper.d.ts +18 -0
- package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/link-tile.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/link.wrapper.d.ts +10 -0
- package/ssr/esm/lib/components/modal.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/model-signature.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/multi-select.wrapper.d.ts +20 -0
- package/ssr/esm/lib/components/optgroup.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/pagination.wrapper.d.ts +10 -0
- package/ssr/esm/lib/components/pin-code.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/popover.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/radio-group.wrapper.d.ts +22 -0
- package/ssr/esm/lib/components/scroller.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +28 -0
- package/ssr/esm/lib/components/select-option.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/select.wrapper.d.ts +20 -0
- package/ssr/esm/lib/components/sheet.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/spinner.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/switch.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/table-cell.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/table.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/tabs.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/tag.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/text-list.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/text.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/textarea.wrapper.d.ts +30 -0
- package/ssr/esm/lib/components/wordmark.wrapper.d.ts +4 -0
- package/ssr/esm/lib/dsr-components/accordion.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/banner.d.ts +8 -4
- package/ssr/esm/lib/dsr-components/button-pure.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/button-tile.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/button.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/canvas.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/carousel.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/checkbox.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/crest.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/display.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/divider.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/drilldown-item.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/drilldown-link.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/drilldown.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/fieldset.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/flag.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/flyout.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/heading.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/icon.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/inline-notification.d.ts +4 -2
- package/ssr/esm/lib/dsr-components/input-base.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/input-date.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/input-email.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/input-month.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/input-number.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/input-password.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/input-search.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/input-tel.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/input-text.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/input-time.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/input-url.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/input-week.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/label.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/link-pure.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/link-tile-product.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/link-tile.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/link.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/modal.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/model-signature.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/multi-select-option.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/multi-select.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/notification-base.d.ts +14 -0
- package/ssr/esm/lib/dsr-components/optgroup.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/pagination.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/pin-code.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/popover.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/radio-group-option.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/radio-group.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/scroller.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/segmented-control-item.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/segmented-control.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/select-option.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/select.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/sheet.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/spinner.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/stepper-horizontal-item.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/stepper-horizontal.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/switch.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/table-body.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/table-cell.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/table-head-cell.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/table-head-row.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/table-head.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/table-row.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/table.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/tabs-bar.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/tabs-item.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/tabs.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/tag-dismissible.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/tag.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/text-list-item.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/text-list.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/text.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/textarea.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/toast.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/wordmark.d.ts +1 -0
- package/ssr/esm/lib/types.d.ts +34 -25
- package/tailwindcss/index.css +350 -92
|
@@ -3,14 +3,17 @@ import type { BreakpointCustomizable, PinCodeLength, PinCodeChangeEventDetail, P
|
|
|
3
3
|
export type PPinCodeProps = BaseProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Displays the pin code in compact mode.
|
|
6
|
+
* @default false
|
|
6
7
|
*/
|
|
7
8
|
compact?: boolean;
|
|
8
9
|
/**
|
|
9
10
|
* Supplementary text providing more context or explanation for the pin code.
|
|
11
|
+
* @default ''
|
|
10
12
|
*/
|
|
11
13
|
description?: string;
|
|
12
14
|
/**
|
|
13
15
|
* Disables the Pin Code. No events will be triggered while disabled state is active.
|
|
16
|
+
* @default false
|
|
14
17
|
*/
|
|
15
18
|
disabled?: boolean;
|
|
16
19
|
/**
|
|
@@ -19,22 +22,27 @@ export type PPinCodeProps = BaseProps & {
|
|
|
19
22
|
form?: string;
|
|
20
23
|
/**
|
|
21
24
|
* Shows or hides the label and description. For better accessibility, it is recommended to show the label.
|
|
25
|
+
* @default false
|
|
22
26
|
*/
|
|
23
27
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
24
28
|
/**
|
|
25
29
|
* Text content for a user-facing label.
|
|
30
|
+
* @default ''
|
|
26
31
|
*/
|
|
27
32
|
label?: string;
|
|
28
33
|
/**
|
|
29
34
|
* Number of characters of the Pin Code.
|
|
35
|
+
* @default 4
|
|
30
36
|
*/
|
|
31
37
|
length?: PinCodeLength;
|
|
32
38
|
/**
|
|
33
39
|
* Disables the Pin Code and shows a loading indicator. No events will be triggered while loading state is active.
|
|
40
|
+
* @default false
|
|
34
41
|
*/
|
|
35
42
|
loading?: boolean;
|
|
36
43
|
/**
|
|
37
44
|
* The message styled depending on validation state.
|
|
45
|
+
* @default ''
|
|
38
46
|
*/
|
|
39
47
|
message?: string;
|
|
40
48
|
/**
|
|
@@ -51,32 +59,39 @@ export type PPinCodeProps = BaseProps & {
|
|
|
51
59
|
onChange?: (event: CustomEvent<PinCodeChangeEventDetail>) => void;
|
|
52
60
|
/**
|
|
53
61
|
* Marks the Pin Code as required.
|
|
62
|
+
* @default false
|
|
54
63
|
*/
|
|
55
64
|
required?: boolean;
|
|
56
65
|
/**
|
|
57
66
|
* The validation state.
|
|
67
|
+
* @default 'none'
|
|
58
68
|
*/
|
|
59
69
|
state?: PinCodeState;
|
|
60
70
|
/**
|
|
61
71
|
* Pin Code type.
|
|
72
|
+
* @default 'number'
|
|
62
73
|
*/
|
|
63
74
|
type?: PinCodeType;
|
|
64
75
|
/**
|
|
65
76
|
* Sets the initial value of the Pin Code.
|
|
77
|
+
* @default ''
|
|
66
78
|
*/
|
|
67
79
|
value?: string;
|
|
68
80
|
};
|
|
69
81
|
export declare const PPinCode: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
70
82
|
/**
|
|
71
83
|
* Displays the pin code in compact mode.
|
|
84
|
+
* @default false
|
|
72
85
|
*/
|
|
73
86
|
compact?: boolean;
|
|
74
87
|
/**
|
|
75
88
|
* Supplementary text providing more context or explanation for the pin code.
|
|
89
|
+
* @default ''
|
|
76
90
|
*/
|
|
77
91
|
description?: string;
|
|
78
92
|
/**
|
|
79
93
|
* Disables the Pin Code. No events will be triggered while disabled state is active.
|
|
94
|
+
* @default false
|
|
80
95
|
*/
|
|
81
96
|
disabled?: boolean;
|
|
82
97
|
/**
|
|
@@ -85,22 +100,27 @@ export declare const PPinCode: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
85
100
|
form?: string;
|
|
86
101
|
/**
|
|
87
102
|
* Shows or hides the label and description. For better accessibility, it is recommended to show the label.
|
|
103
|
+
* @default false
|
|
88
104
|
*/
|
|
89
105
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
90
106
|
/**
|
|
91
107
|
* Text content for a user-facing label.
|
|
108
|
+
* @default ''
|
|
92
109
|
*/
|
|
93
110
|
label?: string;
|
|
94
111
|
/**
|
|
95
112
|
* Number of characters of the Pin Code.
|
|
113
|
+
* @default 4
|
|
96
114
|
*/
|
|
97
115
|
length?: PinCodeLength;
|
|
98
116
|
/**
|
|
99
117
|
* Disables the Pin Code and shows a loading indicator. No events will be triggered while loading state is active.
|
|
118
|
+
* @default false
|
|
100
119
|
*/
|
|
101
120
|
loading?: boolean;
|
|
102
121
|
/**
|
|
103
122
|
* The message styled depending on validation state.
|
|
123
|
+
* @default ''
|
|
104
124
|
*/
|
|
105
125
|
message?: string;
|
|
106
126
|
/**
|
|
@@ -117,18 +137,22 @@ export declare const PPinCode: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
117
137
|
onChange?: (event: CustomEvent<PinCodeChangeEventDetail>) => void;
|
|
118
138
|
/**
|
|
119
139
|
* Marks the Pin Code as required.
|
|
140
|
+
* @default false
|
|
120
141
|
*/
|
|
121
142
|
required?: boolean;
|
|
122
143
|
/**
|
|
123
144
|
* The validation state.
|
|
145
|
+
* @default 'none'
|
|
124
146
|
*/
|
|
125
147
|
state?: PinCodeState;
|
|
126
148
|
/**
|
|
127
149
|
* Pin Code type.
|
|
150
|
+
* @default 'number'
|
|
128
151
|
*/
|
|
129
152
|
type?: PinCodeType;
|
|
130
153
|
/**
|
|
131
154
|
* Sets the initial value of the Pin Code.
|
|
155
|
+
* @default ''
|
|
132
156
|
*/
|
|
133
157
|
value?: string;
|
|
134
158
|
} & {
|
|
@@ -11,6 +11,7 @@ export type PPopoverProps = BaseProps & {
|
|
|
11
11
|
description?: string;
|
|
12
12
|
/**
|
|
13
13
|
* Preferred direction in which the popover should open when there is enough space in the viewport. Otherwise, it opens in the direction with the most available space.
|
|
14
|
+
* @default 'bottom'
|
|
14
15
|
*/
|
|
15
16
|
direction?: PopoverDirection;
|
|
16
17
|
};
|
|
@@ -25,6 +26,7 @@ export declare const PPopover: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
25
26
|
description?: string;
|
|
26
27
|
/**
|
|
27
28
|
* Preferred direction in which the popover should open when there is enough space in the viewport. Otherwise, it opens in the direction with the most available space.
|
|
29
|
+
* @default 'bottom'
|
|
28
30
|
*/
|
|
29
31
|
direction?: PopoverDirection;
|
|
30
32
|
} & {
|
|
@@ -2,6 +2,7 @@ import type { BaseProps } from '../../BaseProps';
|
|
|
2
2
|
export type PRadioGroupOptionProps = BaseProps & {
|
|
3
3
|
/**
|
|
4
4
|
* Disables the radio group option. The value will not be submitted with the form.
|
|
5
|
+
* @default false
|
|
5
6
|
*/
|
|
6
7
|
disabled?: boolean;
|
|
7
8
|
/**
|
|
@@ -10,6 +11,7 @@ export type PRadioGroupOptionProps = BaseProps & {
|
|
|
10
11
|
label?: string;
|
|
11
12
|
/**
|
|
12
13
|
* @experimental Shows a loading indicator.
|
|
14
|
+
* @default false
|
|
13
15
|
*/
|
|
14
16
|
loading?: boolean;
|
|
15
17
|
/**
|
|
@@ -20,6 +22,7 @@ export type PRadioGroupOptionProps = BaseProps & {
|
|
|
20
22
|
export declare const PRadioGroupOption: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
21
23
|
/**
|
|
22
24
|
* Disables the radio group option. The value will not be submitted with the form.
|
|
25
|
+
* @default false
|
|
23
26
|
*/
|
|
24
27
|
disabled?: boolean;
|
|
25
28
|
/**
|
|
@@ -28,6 +31,7 @@ export declare const PRadioGroupOption: import("react").ForwardRefExoticComponen
|
|
|
28
31
|
label?: string;
|
|
29
32
|
/**
|
|
30
33
|
* @experimental Shows a loading indicator.
|
|
34
|
+
* @default false
|
|
31
35
|
*/
|
|
32
36
|
loading?: boolean;
|
|
33
37
|
/**
|
|
@@ -3,18 +3,22 @@ import type { BreakpointCustomizable, RadioGroupDirection, RadioGroupChangeEvent
|
|
|
3
3
|
export type PRadioGroupProps = BaseProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Displays the radio group in compact mode.
|
|
6
|
+
* @default false
|
|
6
7
|
*/
|
|
7
8
|
compact?: boolean;
|
|
8
9
|
/**
|
|
9
10
|
* Supplementary text providing more context or explanation for the radio group.
|
|
11
|
+
* @default ''
|
|
10
12
|
*/
|
|
11
13
|
description?: string;
|
|
12
14
|
/**
|
|
13
15
|
* Defines the direction of the main and cross-axis. The default is `column`, which stacks the options vertically. You always need to provide a base value when using breakpoints.
|
|
16
|
+
* @default 'column'
|
|
14
17
|
*/
|
|
15
18
|
direction?: BreakpointCustomizable<RadioGroupDirection>;
|
|
16
19
|
/**
|
|
17
20
|
* Disables the radio group. The value will not be submitted with the form.
|
|
21
|
+
* @default false
|
|
18
22
|
*/
|
|
19
23
|
disabled?: boolean;
|
|
20
24
|
/**
|
|
@@ -23,18 +27,22 @@ export type PRadioGroupProps = BaseProps & {
|
|
|
23
27
|
form?: string;
|
|
24
28
|
/**
|
|
25
29
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
30
|
+
* @default false
|
|
26
31
|
*/
|
|
27
32
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
33
|
/**
|
|
29
34
|
* Text content for a user-facing label.
|
|
35
|
+
* @default ''
|
|
30
36
|
*/
|
|
31
37
|
label?: string;
|
|
32
38
|
/**
|
|
33
39
|
* @experimental Shows a loading indicator.
|
|
40
|
+
* @default false
|
|
34
41
|
*/
|
|
35
42
|
loading?: boolean;
|
|
36
43
|
/**
|
|
37
44
|
* Dynamic feedback text for validation or status.
|
|
45
|
+
* @default ''
|
|
38
46
|
*/
|
|
39
47
|
message?: string;
|
|
40
48
|
/**
|
|
@@ -51,32 +59,39 @@ export type PRadioGroupProps = BaseProps & {
|
|
|
51
59
|
onChange?: (event: CustomEvent<RadioGroupChangeEventDetail>) => void;
|
|
52
60
|
/**
|
|
53
61
|
* A boolean value that specifies a selection must be made from the group before the form can be submitted.
|
|
62
|
+
* @default false
|
|
54
63
|
*/
|
|
55
64
|
required?: boolean;
|
|
56
65
|
/**
|
|
57
66
|
* Indicates the validation or overall status of the radio group component.
|
|
67
|
+
* @default 'none'
|
|
58
68
|
*/
|
|
59
69
|
state?: RadioGroupState;
|
|
60
70
|
/**
|
|
61
71
|
* The default value for the radio-group.
|
|
72
|
+
* @default ''
|
|
62
73
|
*/
|
|
63
74
|
value?: string;
|
|
64
75
|
};
|
|
65
76
|
export declare const PRadioGroup: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
66
77
|
/**
|
|
67
78
|
* Displays the radio group in compact mode.
|
|
79
|
+
* @default false
|
|
68
80
|
*/
|
|
69
81
|
compact?: boolean;
|
|
70
82
|
/**
|
|
71
83
|
* Supplementary text providing more context or explanation for the radio group.
|
|
84
|
+
* @default ''
|
|
72
85
|
*/
|
|
73
86
|
description?: string;
|
|
74
87
|
/**
|
|
75
88
|
* Defines the direction of the main and cross-axis. The default is `column`, which stacks the options vertically. You always need to provide a base value when using breakpoints.
|
|
89
|
+
* @default 'column'
|
|
76
90
|
*/
|
|
77
91
|
direction?: BreakpointCustomizable<RadioGroupDirection>;
|
|
78
92
|
/**
|
|
79
93
|
* Disables the radio group. The value will not be submitted with the form.
|
|
94
|
+
* @default false
|
|
80
95
|
*/
|
|
81
96
|
disabled?: boolean;
|
|
82
97
|
/**
|
|
@@ -85,18 +100,22 @@ export declare const PRadioGroup: import("react").ForwardRefExoticComponent<Omit
|
|
|
85
100
|
form?: string;
|
|
86
101
|
/**
|
|
87
102
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
103
|
+
* @default false
|
|
88
104
|
*/
|
|
89
105
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
90
106
|
/**
|
|
91
107
|
* Text content for a user-facing label.
|
|
108
|
+
* @default ''
|
|
92
109
|
*/
|
|
93
110
|
label?: string;
|
|
94
111
|
/**
|
|
95
112
|
* @experimental Shows a loading indicator.
|
|
113
|
+
* @default false
|
|
96
114
|
*/
|
|
97
115
|
loading?: boolean;
|
|
98
116
|
/**
|
|
99
117
|
* Dynamic feedback text for validation or status.
|
|
118
|
+
* @default ''
|
|
100
119
|
*/
|
|
101
120
|
message?: string;
|
|
102
121
|
/**
|
|
@@ -113,14 +132,17 @@ export declare const PRadioGroup: import("react").ForwardRefExoticComponent<Omit
|
|
|
113
132
|
onChange?: (event: CustomEvent<RadioGroupChangeEventDetail>) => void;
|
|
114
133
|
/**
|
|
115
134
|
* A boolean value that specifies a selection must be made from the group before the form can be submitted.
|
|
135
|
+
* @default false
|
|
116
136
|
*/
|
|
117
137
|
required?: boolean;
|
|
118
138
|
/**
|
|
119
139
|
* Indicates the validation or overall status of the radio group component.
|
|
140
|
+
* @default 'none'
|
|
120
141
|
*/
|
|
121
142
|
state?: RadioGroupState;
|
|
122
143
|
/**
|
|
123
144
|
* The default value for the radio-group.
|
|
145
|
+
* @default ''
|
|
124
146
|
*/
|
|
125
147
|
value?: string;
|
|
126
148
|
} & {
|
|
@@ -3,6 +3,7 @@ import type { ScrollerAlignScrollIndicator, SelectedAriaAttributes, ScrollerAria
|
|
|
3
3
|
export type PScrollerProps = BaseProps & {
|
|
4
4
|
/**
|
|
5
5
|
* @deprecated since v4.0.0, will be removed with next major release, has no effect anymore.
|
|
6
|
+
* @default 'center'
|
|
6
7
|
*/
|
|
7
8
|
alignScrollIndicator?: ScrollerAlignScrollIndicator;
|
|
8
9
|
/**
|
|
@@ -19,16 +20,19 @@ export type PScrollerProps = BaseProps & {
|
|
|
19
20
|
scrollToPosition?: ScrollerScrollToPosition;
|
|
20
21
|
/**
|
|
21
22
|
* Specifies if scrollbar should be shown.
|
|
23
|
+
* @default false
|
|
22
24
|
*/
|
|
23
25
|
scrollbar?: boolean;
|
|
24
26
|
/**
|
|
25
27
|
* @experimental Makes the indicator sticky at the top or bottom while scrolling depending on the scroll direction.
|
|
28
|
+
* @default false
|
|
26
29
|
*/
|
|
27
30
|
sticky?: boolean;
|
|
28
31
|
};
|
|
29
32
|
export declare const PScroller: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
30
33
|
/**
|
|
31
34
|
* @deprecated since v4.0.0, will be removed with next major release, has no effect anymore.
|
|
35
|
+
* @default 'center'
|
|
32
36
|
*/
|
|
33
37
|
alignScrollIndicator?: ScrollerAlignScrollIndicator;
|
|
34
38
|
/**
|
|
@@ -45,10 +49,12 @@ export declare const PScroller: import("react").ForwardRefExoticComponent<Omit<i
|
|
|
45
49
|
scrollToPosition?: ScrollerScrollToPosition;
|
|
46
50
|
/**
|
|
47
51
|
* Specifies if scrollbar should be shown.
|
|
52
|
+
* @default false
|
|
48
53
|
*/
|
|
49
54
|
scrollbar?: boolean;
|
|
50
55
|
/**
|
|
51
56
|
* @experimental Makes the indicator sticky at the top or bottom while scrolling depending on the scroll direction.
|
|
57
|
+
* @default false
|
|
52
58
|
*/
|
|
53
59
|
sticky?: boolean;
|
|
54
60
|
} & {
|
|
@@ -7,6 +7,7 @@ export type PSegmentedControlItemProps = BaseProps & {
|
|
|
7
7
|
aria?: SelectedAriaAttributes<SegmentedControlItemAriaAttribute>;
|
|
8
8
|
/**
|
|
9
9
|
* Disables the button. No events will be triggered while disabled state is active.
|
|
10
|
+
* @default false
|
|
10
11
|
*/
|
|
11
12
|
disabled?: boolean;
|
|
12
13
|
/**
|
|
@@ -33,6 +34,7 @@ export declare const PSegmentedControlItem: import("react").ForwardRefExoticComp
|
|
|
33
34
|
aria?: SelectedAriaAttributes<SegmentedControlItemAriaAttribute>;
|
|
34
35
|
/**
|
|
35
36
|
* Disables the button. No events will be triggered while disabled state is active.
|
|
37
|
+
* @default false
|
|
36
38
|
*/
|
|
37
39
|
disabled?: boolean;
|
|
38
40
|
/**
|
|
@@ -3,18 +3,22 @@ import type { BreakpointCustomizable, SegmentedControlColumns, SegmentedControlC
|
|
|
3
3
|
export type PSegmentedControlProps = BaseProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Sets the amount of columns.
|
|
6
|
+
* @default 'auto'
|
|
6
7
|
*/
|
|
7
8
|
columns?: BreakpointCustomizable<SegmentedControlColumns>;
|
|
8
9
|
/**
|
|
9
10
|
* Displays the segmented control in compact mode.
|
|
11
|
+
* @default false
|
|
10
12
|
*/
|
|
11
13
|
compact?: boolean;
|
|
12
14
|
/**
|
|
13
15
|
* Supplementary text providing more context or explanation for the segmented-control.
|
|
16
|
+
* @default ''
|
|
14
17
|
*/
|
|
15
18
|
description?: string;
|
|
16
19
|
/**
|
|
17
20
|
* Disables the segmented-control.
|
|
21
|
+
* @default false
|
|
18
22
|
*/
|
|
19
23
|
disabled?: boolean;
|
|
20
24
|
/**
|
|
@@ -23,20 +27,28 @@ export type PSegmentedControlProps = BaseProps & {
|
|
|
23
27
|
form?: string;
|
|
24
28
|
/**
|
|
25
29
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
30
|
+
* @default false
|
|
26
31
|
*/
|
|
27
32
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
33
|
/**
|
|
29
34
|
* Text content for a user-facing label.
|
|
35
|
+
* @default ''
|
|
30
36
|
*/
|
|
31
37
|
label?: string;
|
|
32
38
|
/**
|
|
33
39
|
* Dynamic feedback text for validation or status.
|
|
40
|
+
* @default ''
|
|
34
41
|
*/
|
|
35
42
|
message?: string;
|
|
36
43
|
/**
|
|
37
44
|
* The name of the segmented-control.
|
|
38
45
|
*/
|
|
39
46
|
name?: string;
|
|
47
|
+
/**
|
|
48
|
+
* If true, prevents items from wrapping to new rows and renders them in a single scrollable row instead.
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
51
|
+
noWrap?: boolean;
|
|
40
52
|
/**
|
|
41
53
|
* Emitted when the segmented-control has lost focus.
|
|
42
54
|
*/
|
|
@@ -47,10 +59,12 @@ export type PSegmentedControlProps = BaseProps & {
|
|
|
47
59
|
onChange?: (event: CustomEvent<SegmentedControlChangeEventDetail>) => void;
|
|
48
60
|
/**
|
|
49
61
|
* A boolean value that specifies a selection must be made from the group before the form can be submitted.
|
|
62
|
+
* @default false
|
|
50
63
|
*/
|
|
51
64
|
required?: boolean;
|
|
52
65
|
/**
|
|
53
66
|
* Indicates the validation or overall status of the component.
|
|
67
|
+
* @default 'none'
|
|
54
68
|
*/
|
|
55
69
|
state?: SegmentedControlState;
|
|
56
70
|
/**
|
|
@@ -61,18 +75,22 @@ export type PSegmentedControlProps = BaseProps & {
|
|
|
61
75
|
export declare const PSegmentedControl: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
62
76
|
/**
|
|
63
77
|
* Sets the amount of columns.
|
|
78
|
+
* @default 'auto'
|
|
64
79
|
*/
|
|
65
80
|
columns?: BreakpointCustomizable<SegmentedControlColumns>;
|
|
66
81
|
/**
|
|
67
82
|
* Displays the segmented control in compact mode.
|
|
83
|
+
* @default false
|
|
68
84
|
*/
|
|
69
85
|
compact?: boolean;
|
|
70
86
|
/**
|
|
71
87
|
* Supplementary text providing more context or explanation for the segmented-control.
|
|
88
|
+
* @default ''
|
|
72
89
|
*/
|
|
73
90
|
description?: string;
|
|
74
91
|
/**
|
|
75
92
|
* Disables the segmented-control.
|
|
93
|
+
* @default false
|
|
76
94
|
*/
|
|
77
95
|
disabled?: boolean;
|
|
78
96
|
/**
|
|
@@ -81,20 +99,28 @@ export declare const PSegmentedControl: import("react").ForwardRefExoticComponen
|
|
|
81
99
|
form?: string;
|
|
82
100
|
/**
|
|
83
101
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
102
|
+
* @default false
|
|
84
103
|
*/
|
|
85
104
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
86
105
|
/**
|
|
87
106
|
* Text content for a user-facing label.
|
|
107
|
+
* @default ''
|
|
88
108
|
*/
|
|
89
109
|
label?: string;
|
|
90
110
|
/**
|
|
91
111
|
* Dynamic feedback text for validation or status.
|
|
112
|
+
* @default ''
|
|
92
113
|
*/
|
|
93
114
|
message?: string;
|
|
94
115
|
/**
|
|
95
116
|
* The name of the segmented-control.
|
|
96
117
|
*/
|
|
97
118
|
name?: string;
|
|
119
|
+
/**
|
|
120
|
+
* If true, prevents items from wrapping to new rows and renders them in a single scrollable row instead.
|
|
121
|
+
* @default false
|
|
122
|
+
*/
|
|
123
|
+
noWrap?: boolean;
|
|
98
124
|
/**
|
|
99
125
|
* Emitted when the segmented-control has lost focus.
|
|
100
126
|
*/
|
|
@@ -105,10 +131,12 @@ export declare const PSegmentedControl: import("react").ForwardRefExoticComponen
|
|
|
105
131
|
onChange?: (event: CustomEvent<SegmentedControlChangeEventDetail>) => void;
|
|
106
132
|
/**
|
|
107
133
|
* A boolean value that specifies a selection must be made from the group before the form can be submitted.
|
|
134
|
+
* @default false
|
|
108
135
|
*/
|
|
109
136
|
required?: boolean;
|
|
110
137
|
/**
|
|
111
138
|
* Indicates the validation or overall status of the component.
|
|
139
|
+
* @default 'none'
|
|
112
140
|
*/
|
|
113
141
|
state?: SegmentedControlState;
|
|
114
142
|
/**
|
|
@@ -4,15 +4,15 @@ import { forwardRef, useRef } from 'react';
|
|
|
4
4
|
import { useEventCallback, usePrefix, useBrowserLayoutEffect, useMergedClass } from '../../hooks.mjs';
|
|
5
5
|
import { syncRef } from '../../utils.mjs';
|
|
6
6
|
|
|
7
|
-
const PSegmentedControl = /*#__PURE__*/ forwardRef(({ columns = 'auto', compact = false, description = '', disabled = false, form, hideLabel = false, label = '', message = '', name, onBlur, onChange, required = false, state = 'none', value, className, ...rest }, ref) => {
|
|
7
|
+
const PSegmentedControl = /*#__PURE__*/ forwardRef(({ columns = 'auto', compact = false, description = '', disabled = false, form, hideLabel = false, label = '', message = '', name, noWrap = false, onBlur, onChange, required = false, state = 'none', value, className, ...rest }, ref) => {
|
|
8
8
|
const elementRef = useRef(undefined);
|
|
9
9
|
useEventCallback(elementRef, 'blur', onBlur);
|
|
10
10
|
useEventCallback(elementRef, 'change', onChange);
|
|
11
11
|
const WebComponentTag = usePrefix('p-segmented-control');
|
|
12
|
-
const propsToSync = [columns, compact, description, disabled, form, hideLabel, label, message, name, required, state, value];
|
|
12
|
+
const propsToSync = [columns, compact, description, disabled, form, hideLabel, label, message, name, noWrap, required, state, value];
|
|
13
13
|
useBrowserLayoutEffect(() => {
|
|
14
14
|
const { current } = elementRef;
|
|
15
|
-
['columns', 'compact', 'description', 'disabled', 'form', 'hideLabel', 'label', 'message', 'name', 'required', 'state', 'value'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
15
|
+
['columns', 'compact', 'description', 'disabled', 'form', 'hideLabel', 'label', 'message', 'name', 'noWrap', 'required', 'state', 'value'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
16
16
|
}, propsToSync);
|
|
17
17
|
const props = {
|
|
18
18
|
...rest,
|
|
@@ -2,6 +2,7 @@ import type { BaseProps } from '../../BaseProps';
|
|
|
2
2
|
export type PSelectOptionProps = BaseProps & {
|
|
3
3
|
/**
|
|
4
4
|
* Disables the option.
|
|
5
|
+
* @default false
|
|
5
6
|
*/
|
|
6
7
|
disabled?: boolean;
|
|
7
8
|
/**
|
|
@@ -12,6 +13,7 @@ export type PSelectOptionProps = BaseProps & {
|
|
|
12
13
|
export declare const PSelectOption: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
13
14
|
/**
|
|
14
15
|
* Disables the option.
|
|
16
|
+
* @default false
|
|
15
17
|
*/
|
|
16
18
|
disabled?: boolean;
|
|
17
19
|
/**
|
|
@@ -3,22 +3,27 @@ import type { SelectDropdownDirection, BreakpointCustomizable, SelectChangeEvent
|
|
|
3
3
|
export type PSelectProps = BaseProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Displays the select in compact mode.
|
|
6
|
+
* @default false
|
|
6
7
|
*/
|
|
7
8
|
compact?: boolean;
|
|
8
9
|
/**
|
|
9
10
|
* Supplementary text providing more context or explanation for the select.
|
|
11
|
+
* @default ''
|
|
10
12
|
*/
|
|
11
13
|
description?: string;
|
|
12
14
|
/**
|
|
13
15
|
* Disables the select.
|
|
16
|
+
* @default false
|
|
14
17
|
*/
|
|
15
18
|
disabled?: boolean;
|
|
16
19
|
/**
|
|
17
20
|
* Changes the direction to which the dropdown list appears.
|
|
21
|
+
* @default 'auto'
|
|
18
22
|
*/
|
|
19
23
|
dropdownDirection?: SelectDropdownDirection;
|
|
20
24
|
/**
|
|
21
25
|
* Shows an input in the dropdown allowing options to be filtered. Will be ignored if the `filter` slot is used.
|
|
26
|
+
* @default false
|
|
22
27
|
*/
|
|
23
28
|
filter?: boolean;
|
|
24
29
|
/**
|
|
@@ -27,14 +32,17 @@ export type PSelectProps = BaseProps & {
|
|
|
27
32
|
form?: string;
|
|
28
33
|
/**
|
|
29
34
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
35
|
+
* @default false
|
|
30
36
|
*/
|
|
31
37
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
32
38
|
/**
|
|
33
39
|
* Text content for a user-facing label.
|
|
40
|
+
* @default ''
|
|
34
41
|
*/
|
|
35
42
|
label?: string;
|
|
36
43
|
/**
|
|
37
44
|
* The message styled depending on validation state.
|
|
45
|
+
* @default ''
|
|
38
46
|
*/
|
|
39
47
|
message?: string;
|
|
40
48
|
/**
|
|
@@ -55,10 +63,12 @@ export type PSelectProps = BaseProps & {
|
|
|
55
63
|
onToggle?: (event: CustomEvent<SelectToggleEventDetail>) => void;
|
|
56
64
|
/**
|
|
57
65
|
* Requires an option with a non-empty string value to be selected.
|
|
66
|
+
* @default false
|
|
58
67
|
*/
|
|
59
68
|
required?: boolean;
|
|
60
69
|
/**
|
|
61
70
|
* The validation state.
|
|
71
|
+
* @default 'none'
|
|
62
72
|
*/
|
|
63
73
|
state?: SelectState;
|
|
64
74
|
/**
|
|
@@ -69,22 +79,27 @@ export type PSelectProps = BaseProps & {
|
|
|
69
79
|
export declare const PSelect: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
70
80
|
/**
|
|
71
81
|
* Displays the select in compact mode.
|
|
82
|
+
* @default false
|
|
72
83
|
*/
|
|
73
84
|
compact?: boolean;
|
|
74
85
|
/**
|
|
75
86
|
* Supplementary text providing more context or explanation for the select.
|
|
87
|
+
* @default ''
|
|
76
88
|
*/
|
|
77
89
|
description?: string;
|
|
78
90
|
/**
|
|
79
91
|
* Disables the select.
|
|
92
|
+
* @default false
|
|
80
93
|
*/
|
|
81
94
|
disabled?: boolean;
|
|
82
95
|
/**
|
|
83
96
|
* Changes the direction to which the dropdown list appears.
|
|
97
|
+
* @default 'auto'
|
|
84
98
|
*/
|
|
85
99
|
dropdownDirection?: SelectDropdownDirection;
|
|
86
100
|
/**
|
|
87
101
|
* Shows an input in the dropdown allowing options to be filtered. Will be ignored if the `filter` slot is used.
|
|
102
|
+
* @default false
|
|
88
103
|
*/
|
|
89
104
|
filter?: boolean;
|
|
90
105
|
/**
|
|
@@ -93,14 +108,17 @@ export declare const PSelect: import("react").ForwardRefExoticComponent<Omit<imp
|
|
|
93
108
|
form?: string;
|
|
94
109
|
/**
|
|
95
110
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
111
|
+
* @default false
|
|
96
112
|
*/
|
|
97
113
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
98
114
|
/**
|
|
99
115
|
* Text content for a user-facing label.
|
|
116
|
+
* @default ''
|
|
100
117
|
*/
|
|
101
118
|
label?: string;
|
|
102
119
|
/**
|
|
103
120
|
* The message styled depending on validation state.
|
|
121
|
+
* @default ''
|
|
104
122
|
*/
|
|
105
123
|
message?: string;
|
|
106
124
|
/**
|
|
@@ -121,10 +139,12 @@ export declare const PSelect: import("react").ForwardRefExoticComponent<Omit<imp
|
|
|
121
139
|
onToggle?: (event: CustomEvent<SelectToggleEventDetail>) => void;
|
|
122
140
|
/**
|
|
123
141
|
* Requires an option with a non-empty string value to be selected.
|
|
142
|
+
* @default false
|
|
124
143
|
*/
|
|
125
144
|
required?: boolean;
|
|
126
145
|
/**
|
|
127
146
|
* The validation state.
|
|
147
|
+
* @default 'none'
|
|
128
148
|
*/
|
|
129
149
|
state?: SelectState;
|
|
130
150
|
/**
|