@porsche-design-system/components-react 3.30.0-rc.0 → 3.30.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 +59 -0
- package/OSS_NOTICE +1635 -2257
- package/cjs/lib/components/flyout.wrapper.cjs +3 -3
- package/cjs/lib/components/multi-select.wrapper.cjs +3 -1
- package/cjs/lib/components/pin-code.wrapper.cjs +3 -1
- package/cjs/lib/components/radio-button-wrapper.wrapper.cjs +1 -0
- package/cjs/lib/components/radio-group-option.wrapper.cjs +26 -0
- package/cjs/lib/components/radio-group.wrapper.cjs +28 -0
- package/cjs/lib/components/segmented-control.wrapper.cjs +5 -3
- package/cjs/lib/components/select.wrapper.cjs +3 -1
- package/cjs/public-api.cjs +4 -0
- package/esm/BaseProps.d.ts +1 -1
- package/esm/lib/components/accordion.wrapper.d.ts +1 -1
- package/esm/lib/components/banner.wrapper.d.ts +1 -1
- package/esm/lib/components/button-group.wrapper.d.ts +1 -1
- package/esm/lib/components/button-pure.wrapper.d.ts +1 -1
- package/esm/lib/components/button-tile.wrapper.d.ts +1 -1
- package/esm/lib/components/button.wrapper.d.ts +1 -1
- package/esm/lib/components/canvas.wrapper.d.ts +1 -1
- package/esm/lib/components/carousel.wrapper.d.ts +1 -1
- package/esm/lib/components/checkbox-wrapper.wrapper.d.ts +1 -1
- package/esm/lib/components/checkbox.wrapper.d.ts +1 -1
- package/esm/lib/components/content-wrapper.wrapper.d.ts +1 -1
- package/esm/lib/components/crest.wrapper.d.ts +1 -1
- package/esm/lib/components/display.wrapper.d.ts +1 -1
- package/esm/lib/components/divider.wrapper.d.ts +1 -1
- package/esm/lib/components/drilldown-item.wrapper.d.ts +1 -1
- package/esm/lib/components/drilldown-link.wrapper.d.ts +1 -1
- package/esm/lib/components/drilldown.wrapper.d.ts +1 -1
- package/esm/lib/components/fieldset-wrapper.wrapper.d.ts +1 -1
- package/esm/lib/components/fieldset.wrapper.d.ts +1 -1
- package/esm/lib/components/flag.wrapper.d.ts +1 -1
- package/esm/lib/components/flex-item.wrapper.d.ts +1 -1
- package/esm/lib/components/flex.wrapper.d.ts +1 -1
- package/esm/lib/components/flyout.wrapper.d.ts +10 -2
- package/esm/lib/components/flyout.wrapper.mjs +3 -3
- package/esm/lib/components/grid-item.wrapper.d.ts +1 -1
- package/esm/lib/components/grid.wrapper.d.ts +1 -1
- package/esm/lib/components/heading.wrapper.d.ts +1 -1
- package/esm/lib/components/headline.wrapper.d.ts +1 -1
- package/esm/lib/components/icon.wrapper.d.ts +1 -1
- package/esm/lib/components/index.d.ts +2 -0
- package/esm/lib/components/inline-notification.wrapper.d.ts +1 -1
- package/esm/lib/components/input-date.wrapper.d.ts +1 -1
- package/esm/lib/components/input-email.wrapper.d.ts +1 -1
- package/esm/lib/components/input-number.wrapper.d.ts +1 -1
- package/esm/lib/components/input-password.wrapper.d.ts +1 -1
- package/esm/lib/components/input-search.wrapper.d.ts +1 -1
- package/esm/lib/components/input-tel.wrapper.d.ts +1 -1
- package/esm/lib/components/input-text.wrapper.d.ts +1 -1
- package/esm/lib/components/input-time.wrapper.d.ts +1 -1
- package/esm/lib/components/input-url.wrapper.d.ts +1 -1
- package/esm/lib/components/link-pure.wrapper.d.ts +1 -1
- package/esm/lib/components/link-social.wrapper.d.ts +1 -1
- package/esm/lib/components/link-tile-model-signature.wrapper.d.ts +1 -1
- package/esm/lib/components/link-tile-product.wrapper.d.ts +1 -1
- package/esm/lib/components/link-tile.wrapper.d.ts +1 -1
- package/esm/lib/components/link.wrapper.d.ts +1 -1
- package/esm/lib/components/marque.wrapper.d.ts +1 -1
- package/esm/lib/components/modal.wrapper.d.ts +1 -1
- package/esm/lib/components/model-signature.wrapper.d.ts +1 -1
- package/esm/lib/components/multi-select-option.wrapper.d.ts +1 -1
- package/esm/lib/components/multi-select.wrapper.d.ts +18 -2
- package/esm/lib/components/multi-select.wrapper.mjs +3 -1
- package/esm/lib/components/optgroup.wrapper.d.ts +1 -1
- package/esm/lib/components/pagination.wrapper.d.ts +1 -1
- package/esm/lib/components/pin-code.wrapper.d.ts +20 -4
- package/esm/lib/components/pin-code.wrapper.mjs +3 -1
- package/esm/lib/components/popover.wrapper.d.ts +1 -1
- package/esm/lib/components/radio-button-wrapper.wrapper.d.ts +2 -1
- package/esm/lib/components/radio-button-wrapper.wrapper.mjs +1 -0
- package/esm/lib/components/radio-group-option.wrapper.d.ts +37 -0
- package/esm/lib/components/radio-group-option.wrapper.mjs +24 -0
- package/esm/lib/components/radio-group.wrapper.d.ts +136 -0
- package/esm/lib/components/radio-group.wrapper.mjs +26 -0
- package/esm/lib/components/scroller.wrapper.d.ts +1 -1
- package/esm/lib/components/segmented-control-item.wrapper.d.ts +1 -1
- package/esm/lib/components/segmented-control.wrapper.d.ts +28 -4
- package/esm/lib/components/segmented-control.wrapper.mjs +5 -3
- package/esm/lib/components/select-option.wrapper.d.ts +1 -1
- package/esm/lib/components/select-wrapper.wrapper.d.ts +1 -1
- package/esm/lib/components/select.wrapper.d.ts +18 -2
- package/esm/lib/components/select.wrapper.mjs +3 -1
- package/esm/lib/components/sheet.wrapper.d.ts +1 -1
- package/esm/lib/components/spinner.wrapper.d.ts +1 -1
- package/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +1 -1
- package/esm/lib/components/stepper-horizontal.wrapper.d.ts +1 -1
- package/esm/lib/components/switch.wrapper.d.ts +1 -1
- package/esm/lib/components/table-body.wrapper.d.ts +1 -1
- package/esm/lib/components/table-cell.wrapper.d.ts +1 -1
- package/esm/lib/components/table-head-cell.wrapper.d.ts +1 -1
- package/esm/lib/components/table-head-row.wrapper.d.ts +1 -1
- package/esm/lib/components/table-head.wrapper.d.ts +1 -1
- package/esm/lib/components/table-row.wrapper.d.ts +1 -1
- package/esm/lib/components/table.wrapper.d.ts +1 -1
- package/esm/lib/components/tabs-bar.wrapper.d.ts +1 -1
- package/esm/lib/components/tabs-item.wrapper.d.ts +1 -1
- package/esm/lib/components/tabs.wrapper.d.ts +1 -1
- package/esm/lib/components/tag-dismissible.wrapper.d.ts +1 -1
- package/esm/lib/components/tag.wrapper.d.ts +1 -1
- package/esm/lib/components/text-field-wrapper.wrapper.d.ts +1 -1
- package/esm/lib/components/text-list-item.wrapper.d.ts +1 -1
- package/esm/lib/components/text-list.wrapper.d.ts +1 -1
- package/esm/lib/components/text.wrapper.d.ts +1 -1
- package/esm/lib/components/textarea-wrapper.wrapper.d.ts +1 -1
- package/esm/lib/components/textarea.wrapper.d.ts +1 -1
- package/esm/lib/components/toast.wrapper.d.ts +1 -1
- package/esm/lib/components/wordmark.wrapper.d.ts +1 -1
- package/esm/lib/types.d.ts +24 -5
- package/esm/public-api.mjs +2 -0
- package/package.json +2 -2
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +445 -150
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +3 -6
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/flyout.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/multi-select.wrapper.cjs +3 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/pin-code.wrapper.cjs +3 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/radio-button-wrapper.wrapper.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/radio-group-option.wrapper.cjs +36 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/radio-group.wrapper.cjs +39 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control-item.wrapper.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control.wrapper.cjs +6 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/select.wrapper.cjs +3 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.cjs +4 -2
- 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/label.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.cjs +4 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.cjs +2 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.cjs +2 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.cjs +32 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.cjs +44 -0
- 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 +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/public-api.cjs +4 -0
- package/ssr/esm/BaseProps.d.ts +1 -1
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +389 -96
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +3 -6
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/flyout.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/multi-select.wrapper.mjs +3 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/pin-code.wrapper.mjs +3 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/radio-button-wrapper.wrapper.mjs +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/radio-group-option.wrapper.mjs +34 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/radio-group.wrapper.mjs +37 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control-item.wrapper.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control.wrapper.mjs +6 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/select.wrapper.mjs +3 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.mjs +5 -3
- 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 +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-link.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flag.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-date.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-email.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-number.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-password.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-search.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-tel.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-text.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-time.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-url.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/label.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-product.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.mjs +5 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/model-signature.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select-option.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/optgroup.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.mjs +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.mjs +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.mjs +30 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.mjs +42 -0
- 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 +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.mjs +2 -0
- package/ssr/esm/lib/components/accordion.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/banner.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/button-group.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/button-pure.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/button-tile.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/button.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/canvas.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/carousel.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/checkbox-wrapper.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/checkbox.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/content-wrapper.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/crest.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/display.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/divider.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/drilldown.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/fieldset-wrapper.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/fieldset.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/flag.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/flex-item.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/flex.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/flyout.wrapper.d.ts +10 -2
- package/ssr/esm/lib/components/grid-item.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/grid.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/heading.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/headline.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/icon.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/index.d.ts +2 -0
- package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/input-date.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/input-email.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/input-number.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/input-password.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/input-search.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/input-tel.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/input-text.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/input-time.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/input-url.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/link-pure.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/link-social.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/link-tile-model-signature.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/link-tile.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/link.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/marque.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/modal.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/model-signature.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/multi-select.wrapper.d.ts +18 -2
- package/ssr/esm/lib/components/optgroup.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/pagination.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/pin-code.wrapper.d.ts +20 -4
- package/ssr/esm/lib/components/popover.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/radio-button-wrapper.wrapper.d.ts +2 -1
- package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +37 -0
- package/ssr/esm/lib/components/radio-group.wrapper.d.ts +136 -0
- package/ssr/esm/lib/components/scroller.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +28 -4
- package/ssr/esm/lib/components/select-option.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/select-wrapper-dropdown.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/select-wrapper.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/select.wrapper.d.ts +18 -2
- package/ssr/esm/lib/components/sheet.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/spinner.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/switch.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/table-body.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/table-cell.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/table-head-row.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/table-head.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/table-row.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/table.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/tabs-item.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/tabs.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/tag.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/text-field-wrapper.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/text-list-item.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/text-list.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/text.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/textarea-wrapper.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/textarea.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/toast.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/wordmark.wrapper.d.ts +1 -1
- package/ssr/esm/lib/dsr-components/button-tile.d.ts +2 -0
- package/ssr/esm/lib/dsr-components/label.d.ts +5 -0
- package/ssr/esm/lib/dsr-components/link-tile.d.ts +2 -0
- package/ssr/esm/lib/dsr-components/radio-button-wrapper.d.ts +2 -0
- package/ssr/esm/lib/dsr-components/radio-group-option.d.ts +8 -0
- package/ssr/esm/lib/dsr-components/radio-group.d.ts +19 -0
- package/ssr/esm/lib/types.d.ts +24 -5
- package/tailwindcss/index.css +6 -6
|
@@ -3927,7 +3927,7 @@ const formatObjectOutput = (value) => {
|
|
|
3927
3927
|
|
|
3928
3928
|
const OPTION_LIST_SAFE_ZONE = 6;
|
|
3929
3929
|
|
|
3930
|
-
const getComponentCss$
|
|
3930
|
+
const getComponentCss$1n = (size, compact, open, theme, sticky) => {
|
|
3931
3931
|
const { primaryColor, hoverColor, contrastLowColor, backgroundColor } = getThemedColors(theme);
|
|
3932
3932
|
const { primaryColor: primaryColorDark, hoverColor: hoverColorDark, contrastLowColor: contrastLowColorDark, backgroundColor: backgroundColorDark, } = getThemedColors('dark');
|
|
3933
3933
|
const cssVariablePositionStickyTop = '--p-accordion-position-sticky-top';
|
|
@@ -4099,7 +4099,7 @@ const cssVariableTop = '--p-banner-position-top';
|
|
|
4099
4099
|
const cssVariableBottom = '--p-banner-position-bottom';
|
|
4100
4100
|
const cssVariableZIndex = '--p-internal-banner-z-index';
|
|
4101
4101
|
const topBottomFallback = '56px';
|
|
4102
|
-
const getComponentCss$
|
|
4102
|
+
const getComponentCss$1m = (isOpen) => {
|
|
4103
4103
|
return getCss({
|
|
4104
4104
|
'@global': {
|
|
4105
4105
|
':host': {
|
|
@@ -4171,7 +4171,7 @@ const getGroupDirectionJssStyles = (direction) => {
|
|
|
4171
4171
|
return groupDirectionJssStyles[direction];
|
|
4172
4172
|
};
|
|
4173
4173
|
|
|
4174
|
-
const getComponentCss$
|
|
4174
|
+
const getComponentCss$1l = (direction) => {
|
|
4175
4175
|
return getCss({
|
|
4176
4176
|
'@global': {
|
|
4177
4177
|
':host': {
|
|
@@ -4324,7 +4324,7 @@ const getFunctionalComponentLoadingMessageStyles = () => {
|
|
|
4324
4324
|
};
|
|
4325
4325
|
};
|
|
4326
4326
|
|
|
4327
|
-
const getComponentCss$
|
|
4327
|
+
const getComponentCss$1k = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, underline, theme) => {
|
|
4328
4328
|
const hasIcon = hasVisibleIcon(icon, iconSource);
|
|
4329
4329
|
return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, underline, false, theme), {
|
|
4330
4330
|
root: {
|
|
@@ -4362,7 +4362,7 @@ const getFontWeight = (weight) => {
|
|
|
4362
4362
|
return fontWeightMap[weight];
|
|
4363
4363
|
};
|
|
4364
4364
|
|
|
4365
|
-
const getComponentCss$
|
|
4365
|
+
const getComponentCss$1j = (isDisabledOrLoading, aspectRatio, size, weight, background, align, compact, hasGradient, hasFooterSlot, isDisabled) => {
|
|
4366
4366
|
const isTopAligned = align === 'top';
|
|
4367
4367
|
return getCss({
|
|
4368
4368
|
'@global': {
|
|
@@ -4391,6 +4391,10 @@ const getComponentCss$1h = (isDisabledOrLoading, aspectRatio, size, weight, back
|
|
|
4391
4391
|
gridArea: `${isTopAligned ? 4 : 2}/2`,
|
|
4392
4392
|
zIndex: 3,
|
|
4393
4393
|
},
|
|
4394
|
+
'&[name="footer"]': {
|
|
4395
|
+
gridRow: 2,
|
|
4396
|
+
zIndex: 3,
|
|
4397
|
+
},
|
|
4394
4398
|
},
|
|
4395
4399
|
'::slotted(:is(img,picture,video))': addImportantToEachRule({
|
|
4396
4400
|
display: 'block',
|
|
@@ -4473,21 +4477,23 @@ const getComponentCss$1h = (isDisabledOrLoading, aspectRatio, size, weight, back
|
|
|
4473
4477
|
},
|
|
4474
4478
|
footer: {
|
|
4475
4479
|
gridArea: `${isTopAligned ? 2 : 4}/2`,
|
|
4476
|
-
display: 'flex',
|
|
4477
|
-
gap: spacingStaticMedium,
|
|
4478
|
-
justifyContent: 'space-between',
|
|
4479
4480
|
...buildResponsiveStyles(compact, (compactValue) => compactValue
|
|
4480
4481
|
? {
|
|
4481
|
-
|
|
4482
|
-
|
|
4482
|
+
display: 'grid',
|
|
4483
|
+
gridTemplateColumns: '1fr auto',
|
|
4484
|
+
columnGap: spacingStaticMedium,
|
|
4483
4485
|
}
|
|
4484
4486
|
: {
|
|
4485
|
-
|
|
4487
|
+
display: 'flex',
|
|
4486
4488
|
flexDirection: 'column',
|
|
4489
|
+
alignItems: 'start',
|
|
4487
4490
|
}),
|
|
4488
4491
|
},
|
|
4489
4492
|
'link-or-button-pure': {
|
|
4490
4493
|
zIndex: 5,
|
|
4494
|
+
gridColumn: 2,
|
|
4495
|
+
gridRow: hasFooterSlot && !isTopAligned ? 2 : 1,
|
|
4496
|
+
alignSelf: 'center',
|
|
4491
4497
|
...buildResponsiveStyles(compact, (compactValue) => ({
|
|
4492
4498
|
display: compactValue ? 'inline-block' : 'none',
|
|
4493
4499
|
})),
|
|
@@ -4495,6 +4501,7 @@ const getComponentCss$1h = (isDisabledOrLoading, aspectRatio, size, weight, back
|
|
|
4495
4501
|
'link-or-button': {
|
|
4496
4502
|
minHeight: '54px', // prevent content shift
|
|
4497
4503
|
zIndex: 5,
|
|
4504
|
+
marginTop: spacingStaticMedium,
|
|
4498
4505
|
...buildResponsiveStyles(compact, (compactValue) => ({
|
|
4499
4506
|
display: compactValue ? 'none' : 'inline-block',
|
|
4500
4507
|
})),
|
|
@@ -4539,7 +4546,8 @@ const getLinkButtonStyles = (icon, iconSource, variant, hideLabel, isDisabledOrL
|
|
|
4539
4546
|
const { focusColor } = getThemedColors(theme);
|
|
4540
4547
|
const hasIcon = hasVisibleIcon(icon, iconSource) || hideLabel;
|
|
4541
4548
|
const scalingVar = `var(${cssVariableInternalScaling}, var(--p-internal-scaling-factor))`;
|
|
4542
|
-
const borderCompensation = variant === 'ghost' ? `+ ${borderWidthBase}` : ''; // Compensate for missing border in ghost variant (Fixes border backdrop-filter blur rendering issue in safari)
|
|
4549
|
+
const borderCompensation = variant === 'ghost' && !isHighContrastMode ? `+ ${borderWidthBase}` : ''; // Compensate for missing border in ghost variant (Fixes border backdrop-filter blur rendering issue in safari)
|
|
4550
|
+
const borderStyle = `${borderWidthBase} solid ${borderColor}`;
|
|
4543
4551
|
const paddingBlock = `calc(${scalingVar} * 0.8125 * ${SCALING_BASE_VALUE} ${borderCompensation})`; // 0.8125 * SCALING_BASE_VALUE corresponds to 13px
|
|
4544
4552
|
const paddingInline = `max(calc(${scalingVar} * 1.625 * ${SCALING_BASE_VALUE} ${borderCompensation}), ${variant === 'ghost' ? '6px' : '4px'})`; // 1.625 * SCALING_BASE_VALUE corresponds to 26px
|
|
4545
4553
|
const gap = `clamp(2px, calc(${scalingVar} * 0.5 * ${SCALING_BASE_VALUE}), 16px)`; // 0.5 * SCALING_BASE_VALUE corresponds to 8px
|
|
@@ -4571,8 +4579,11 @@ const getLinkButtonStyles = (icon, iconSource, variant, hideLabel, isDisabledOrL
|
|
|
4571
4579
|
textDecoration: 'none',
|
|
4572
4580
|
...textSmallStyle,
|
|
4573
4581
|
...(variant === 'ghost'
|
|
4574
|
-
? {
|
|
4575
|
-
|
|
4582
|
+
? {
|
|
4583
|
+
...frostedGlassStyle,
|
|
4584
|
+
border: isHighContrastMode ? borderStyle : 'none',
|
|
4585
|
+
} // We can't use a border in the ghost variant due to rendering issues with backdrop-filter in safari
|
|
4586
|
+
: { border: borderStyle }),
|
|
4576
4587
|
borderRadius: borderRadiusSmall,
|
|
4577
4588
|
transform: 'translate3d(0,0,0)', // creates new stacking context (for slotted anchor + focus)
|
|
4578
4589
|
backgroundColor,
|
|
@@ -4640,7 +4651,7 @@ const getDisabledColors = (variant, loading, theme) => {
|
|
|
4640
4651
|
};
|
|
4641
4652
|
return colors[variant === 'tertiary' ? 'secondary' : variant];
|
|
4642
4653
|
};
|
|
4643
|
-
const getComponentCss$
|
|
4654
|
+
const getComponentCss$1i = (icon, iconSource, variant, hideLabel, disabled, loading, compact, theme) => {
|
|
4644
4655
|
const disabledOrLoading = isDisabledOrLoading(disabled, loading);
|
|
4645
4656
|
const { textColor, borderColor, backgroundColor } = getDisabledColors(variant, loading, theme);
|
|
4646
4657
|
const { textColor: textColorDark, borderColor: borderColorDark, backgroundColor: backgroundColorDark, } = getDisabledColors(variant, loading, 'dark');
|
|
@@ -4716,7 +4727,7 @@ const mediaQueryS$1 = getMediaQueryMin('s');
|
|
|
4716
4727
|
const mediaQueryM = getMediaQueryMin('m');
|
|
4717
4728
|
// others
|
|
4718
4729
|
const spacingBase = gridGap.replace('36px', '24px');
|
|
4719
|
-
const getComponentCss$
|
|
4730
|
+
const getComponentCss$1h = (theme, isSidebarStartOpen, isSidebarEndOpen) => {
|
|
4720
4731
|
const { primaryColor, backgroundColor, backgroundSurfaceColor, contrastLowColor } = getThemedColors(theme);
|
|
4721
4732
|
const { primaryColor: primaryColorDark, backgroundColor: backgroundColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, contrastLowColor: contrastLowColorDark, } = getThemedColors('dark');
|
|
4722
4733
|
return getCss({
|
|
@@ -5095,7 +5106,7 @@ const getGradient = (theme, gradientColorTheme) => {
|
|
|
5095
5106
|
`rgba(${gradientColor},0.3) 68%,` +
|
|
5096
5107
|
`rgba(${gradientColor},0)`);
|
|
5097
5108
|
};
|
|
5098
|
-
const getComponentCss$
|
|
5109
|
+
const getComponentCss$1g = (gradientColor, hasHeading, hasDescription, hasControlsSlot, headingSize, width, hasPagination, isInfinitePagination, alignHeader, theme, hasNavigation, alignControls) => {
|
|
5099
5110
|
const { primaryColor, contrastMediumColor } = getThemedColors(theme);
|
|
5100
5111
|
const { primaryColor: primaryColorDark, contrastMediumColor: contrastMediumColorDark } = getThemedColors('dark');
|
|
5101
5112
|
const { canvasTextColor } = getHighContrastColors();
|
|
@@ -5547,13 +5558,13 @@ const getFunctionalComponentStateMessageStyles = (theme, state, additionalDefaul
|
|
|
5547
5558
|
};
|
|
5548
5559
|
};
|
|
5549
5560
|
|
|
5550
|
-
const getCheckedSVGBackgroundImage$
|
|
5561
|
+
const getCheckedSVGBackgroundImage$3 = (fill) => {
|
|
5551
5562
|
return getInlineSVGBackgroundImage(`<path fill="${fill}" d="m20.22,7.47l-1.47-1.42-9.26,9.02-4.24-4.15-1.47,1.42,5.71,5.6,10.73-10.47Z"/>`);
|
|
5552
5563
|
};
|
|
5553
5564
|
const getIndeterminateSVGBackgroundImage$1 = (fill) => {
|
|
5554
5565
|
return getInlineSVGBackgroundImage(`<path fill="${fill}" d="m20,11v2H4v-2h16Z"/>`);
|
|
5555
5566
|
};
|
|
5556
|
-
const getComponentCss$
|
|
5567
|
+
const getComponentCss$1f = (hideLabel, state, isDisabled, isLoading, theme) => {
|
|
5557
5568
|
const checkedIconColor = escapeHashCharacter(getInvertedThemedColors(theme).primaryColor);
|
|
5558
5569
|
const checkedIconColorDark = escapeHashCharacter(getInvertedThemedColors('dark').primaryColor);
|
|
5559
5570
|
const indeterminateIconColor = escapeHashCharacter(getThemedColors(theme).primaryColor);
|
|
@@ -5578,16 +5589,16 @@ const getComponentCss$1d = (hideLabel, state, isDisabled, isLoading, theme) => {
|
|
|
5578
5589
|
// TODO: is it somehow useful possible to make following styles configurable by parameter?
|
|
5579
5590
|
...(!isLoading && {
|
|
5580
5591
|
'&(input:checked)': {
|
|
5581
|
-
backgroundImage: getCheckedSVGBackgroundImage$
|
|
5592
|
+
backgroundImage: getCheckedSVGBackgroundImage$3(checkedIconColor),
|
|
5582
5593
|
...prefersColorSchemeDarkMediaQuery(theme, {
|
|
5583
|
-
backgroundImage: getCheckedSVGBackgroundImage$
|
|
5594
|
+
backgroundImage: getCheckedSVGBackgroundImage$3(checkedIconColorDark),
|
|
5584
5595
|
}),
|
|
5585
5596
|
// This is a workaround for Blink based browsers, which do not reflect the high contrast system colors (e.g.: "Canvas" and "CanvasText") when added to background SVG's.
|
|
5586
5597
|
...(isHighContrastMode &&
|
|
5587
5598
|
getSchemedHighContrastMediaQuery({
|
|
5588
|
-
backgroundImage: getCheckedSVGBackgroundImage$
|
|
5599
|
+
backgroundImage: getCheckedSVGBackgroundImage$3('white'),
|
|
5589
5600
|
}, {
|
|
5590
|
-
backgroundImage: getCheckedSVGBackgroundImage$
|
|
5601
|
+
backgroundImage: getCheckedSVGBackgroundImage$3('black'),
|
|
5591
5602
|
})),
|
|
5592
5603
|
},
|
|
5593
5604
|
'&(input:indeterminate)': {
|
|
@@ -5710,7 +5721,7 @@ const getCheckboxBaseStyles = (theme, isDisabled, isLoading, state, compact) =>
|
|
|
5710
5721
|
};
|
|
5711
5722
|
};
|
|
5712
5723
|
|
|
5713
|
-
const getCheckedSVGBackgroundImage$
|
|
5724
|
+
const getCheckedSVGBackgroundImage$2 = (fill) => {
|
|
5714
5725
|
return getInlineSVGBackgroundImage(`<path fill="${fill}" d="m20.22,7.47l-1.47-1.42-9.26,9.02-4.24-4.15-1.47,1.42,5.71,5.6,10.73-10.47Z"/>`);
|
|
5715
5726
|
};
|
|
5716
5727
|
const getCheckboxCheckedBaseStyles = (theme, isDisabled, isLoading, state) => {
|
|
@@ -5736,18 +5747,18 @@ const getCheckboxCheckedBaseStyles = (theme, isDisabled, isLoading, state) => {
|
|
|
5736
5747
|
return {
|
|
5737
5748
|
borderColor: checkedColor,
|
|
5738
5749
|
backgroundColor: checkedColor,
|
|
5739
|
-
backgroundImage: getCheckedSVGBackgroundImage$
|
|
5750
|
+
backgroundImage: getCheckedSVGBackgroundImage$2(checkedIconColor),
|
|
5740
5751
|
...prefersColorSchemeDarkMediaQuery(theme, {
|
|
5741
|
-
backgroundImage: getCheckedSVGBackgroundImage$
|
|
5752
|
+
backgroundImage: getCheckedSVGBackgroundImage$2(checkedIconColorDark),
|
|
5742
5753
|
borderColor: checkedColorDark,
|
|
5743
5754
|
backgroundColor: checkedColorDark,
|
|
5744
5755
|
}),
|
|
5745
5756
|
// This is a workaround for Blink based browsers, which do not reflect the high contrast system colors (e.g.: "Canvas" and "CanvasText") when added to background SVG's.
|
|
5746
5757
|
...(isHighContrastMode &&
|
|
5747
5758
|
getSchemedHighContrastMediaQuery({
|
|
5748
|
-
backgroundImage: getCheckedSVGBackgroundImage$
|
|
5759
|
+
backgroundImage: getCheckedSVGBackgroundImage$2('white'),
|
|
5749
5760
|
}, {
|
|
5750
|
-
backgroundImage: getCheckedSVGBackgroundImage$
|
|
5761
|
+
backgroundImage: getCheckedSVGBackgroundImage$2('black'),
|
|
5751
5762
|
})),
|
|
5752
5763
|
};
|
|
5753
5764
|
};
|
|
@@ -5755,7 +5766,7 @@ const getCheckboxCheckedBaseStyles = (theme, isDisabled, isLoading, state) => {
|
|
|
5755
5766
|
const getIndeterminateSVGBackgroundImage = (fill) => {
|
|
5756
5767
|
return getInlineSVGBackgroundImage(`<path fill="${fill}" d="m20,11v2H4v-2h16Z"/>`);
|
|
5757
5768
|
};
|
|
5758
|
-
const getComponentCss$
|
|
5769
|
+
const getComponentCss$1e = (hideLabel, state, isDisabled, isLoading, compact, theme) => {
|
|
5759
5770
|
const { primaryColor, contrastMediumColor, contrastHighColor, disabledColor, focusColor } = getThemedColors(theme);
|
|
5760
5771
|
const { primaryColor: primaryColorDark, contrastMediumColor: contrastMediumColorDark, contrastHighColor: contrastHighColorDark, disabledColor: disabledColorDark, focusColor: focusColorDark, } = getThemedColors('dark');
|
|
5761
5772
|
const { formStateColor, formStateHoverColor } = getThemedFormStateColors(theme, state);
|
|
@@ -6047,7 +6058,7 @@ const getUnitCounterJssStyle = (isDisabled, isReadonly, theme) => {
|
|
|
6047
6058
|
const cssVarInternalInputBaseScaling = '--p-internal-input-base-scaling';
|
|
6048
6059
|
// Determines the scaling factor for the input-number size. In "compact" mode, it uses 0.5 to achieve a 36px input-number (compact size).
|
|
6049
6060
|
// Defaults to 1 for the standard size and can be overridden by the CSS variable `cssVarInternalInputBaseScaling`.
|
|
6050
|
-
const getScalingVar$
|
|
6061
|
+
const getScalingVar$2 = (compact) => `var(${cssVarInternalInputBaseScaling}, ${compact ? 0.5 : 1})`;
|
|
6051
6062
|
/**
|
|
6052
6063
|
* @css-variable {"name": "--ref-p-input-slotted-padding", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `padding` in oder to adjust the alignment correctly."}
|
|
6053
6064
|
*/
|
|
@@ -6057,7 +6068,7 @@ const cssVarButtonPurePadding = '--ref-p-input-slotted-padding';
|
|
|
6057
6068
|
*/
|
|
6058
6069
|
const cssVarButtonPureMargin = '--ref-p-input-slotted-margin';
|
|
6059
6070
|
const getFunctionalComponentInputBaseStyles = (disabled, loading, hideLabel, state, compact, readOnly, theme, additionalInputJssStyle) => {
|
|
6060
|
-
const scalingVar = getScalingVar$
|
|
6071
|
+
const scalingVar = getScalingVar$2(compact);
|
|
6061
6072
|
const paddingBlock = `max(2px, ${formElementPaddingVertical} * ${scalingVar})`;
|
|
6062
6073
|
const paddingInline = `max(2px, ${formElementPaddingHorizontal} * ${scalingVar})`;
|
|
6063
6074
|
const height = `max(${fontLineHeight}, ${scalingVar} * (${fontLineHeight} + 10px))`;
|
|
@@ -6394,7 +6405,7 @@ const widthMap = {
|
|
|
6394
6405
|
basic: gridBasicOffset,
|
|
6395
6406
|
extended: gridExtendedOffset,
|
|
6396
6407
|
};
|
|
6397
|
-
const getComponentCss$
|
|
6408
|
+
const getComponentCss$1d = (width) => {
|
|
6398
6409
|
return getCss({
|
|
6399
6410
|
'@global': {
|
|
6400
6411
|
':host': {
|
|
@@ -6436,7 +6447,7 @@ const getDimensionStyle = {
|
|
|
6436
6447
|
width: 'inherit',
|
|
6437
6448
|
height: 'inherit',
|
|
6438
6449
|
};
|
|
6439
|
-
const getComponentCss$
|
|
6450
|
+
const getComponentCss$1c = () => {
|
|
6440
6451
|
return getCss({
|
|
6441
6452
|
'@global': {
|
|
6442
6453
|
':host': {
|
|
@@ -6535,7 +6546,7 @@ const sizeMap$5 = {
|
|
|
6535
6546
|
medium: fontSizeDisplayMedium,
|
|
6536
6547
|
large: fontSizeDisplayLarge,
|
|
6537
6548
|
};
|
|
6538
|
-
const getComponentCss$
|
|
6549
|
+
const getComponentCss$1b = (size, align, color, ellipsis, theme) => {
|
|
6539
6550
|
return getCss({
|
|
6540
6551
|
'@global': {
|
|
6541
6552
|
':host': {
|
|
@@ -6553,7 +6564,7 @@ const getComponentCss$19 = (size, align, color, ellipsis, theme) => {
|
|
|
6553
6564
|
});
|
|
6554
6565
|
};
|
|
6555
6566
|
|
|
6556
|
-
const getComponentCss$
|
|
6567
|
+
const getComponentCss$1a = (color, orientation, theme) => {
|
|
6557
6568
|
const { contrastLowColor, contrastMediumColor, contrastHighColor } = getThemedColors(theme);
|
|
6558
6569
|
const { contrastLowColor: contrastLowColorDark, contrastMediumColor: contrastMediumColorDark, contrastHighColor: contrastHighColorDark, } = getThemedColors('dark');
|
|
6559
6570
|
const colorMap = {
|
|
@@ -6614,7 +6625,7 @@ const easingOpen = 'in';
|
|
|
6614
6625
|
const dialogDurationClose = 'short';
|
|
6615
6626
|
const backdropDurationClose = 'moderate';
|
|
6616
6627
|
const easingClose = 'out';
|
|
6617
|
-
const getComponentCss$
|
|
6628
|
+
const getComponentCss$19 = (isOpen, isPrimary, isSecondaryScrollerVisible, theme) => {
|
|
6618
6629
|
const { primaryColor, backgroundColor, backgroundSurfaceColor, backgroundShadingColor } = getThemedColors(theme);
|
|
6619
6630
|
const { primaryColor: primaryColorDark, backgroundColor: backgroundColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, backgroundShadingColor: backgroundShadingColorDark, } = getThemedColors('dark');
|
|
6620
6631
|
return getCss({
|
|
@@ -6861,7 +6872,7 @@ const getComponentCss$17 = (isOpen, isPrimary, isSecondaryScrollerVisible, theme
|
|
|
6861
6872
|
});
|
|
6862
6873
|
};
|
|
6863
6874
|
|
|
6864
|
-
const getComponentCss$
|
|
6875
|
+
const getComponentCss$18 = (isPrimary, isSecondary, isCascade) => {
|
|
6865
6876
|
return getCss({
|
|
6866
6877
|
'@global': {
|
|
6867
6878
|
'@keyframes slide-up-mobile': {
|
|
@@ -7092,7 +7103,7 @@ const getComponentCss$16 = (isPrimary, isSecondary, isCascade) => {
|
|
|
7092
7103
|
});
|
|
7093
7104
|
};
|
|
7094
7105
|
|
|
7095
|
-
const getComponentCss$
|
|
7106
|
+
const getComponentCss$17 = (hasSlottedAnchor, isActive) => {
|
|
7096
7107
|
const anchorJssStyle = {
|
|
7097
7108
|
all: 'unset',
|
|
7098
7109
|
padding: `calc(${spacingFluidSmall} + 2px) calc(${spacingFluidSmall} + 4px)`, // aligned with link-pure
|
|
@@ -7144,7 +7155,7 @@ const getComponentCss$15 = (hasSlottedAnchor, isActive) => {
|
|
|
7144
7155
|
});
|
|
7145
7156
|
};
|
|
7146
7157
|
|
|
7147
|
-
const getComponentCss$
|
|
7158
|
+
const getComponentCss$16 = (state, labelSize, hasLabel, theme) => {
|
|
7148
7159
|
return getCss({
|
|
7149
7160
|
'@global': {
|
|
7150
7161
|
':host': {
|
|
@@ -7181,7 +7192,7 @@ const getComponentCss$14 = (state, labelSize, hasLabel, theme) => {
|
|
|
7181
7192
|
});
|
|
7182
7193
|
};
|
|
7183
7194
|
|
|
7184
|
-
const getComponentCss$
|
|
7195
|
+
const getComponentCss$15 = (state, labelSize, hasLabel, theme) => {
|
|
7185
7196
|
return getCss({
|
|
7186
7197
|
'@global': {
|
|
7187
7198
|
':host': {
|
|
@@ -7226,7 +7237,7 @@ const sizeMap$4 = {
|
|
|
7226
7237
|
large: fontSizeTextLarge,
|
|
7227
7238
|
'x-large': fontSizeTextXLarge,
|
|
7228
7239
|
};
|
|
7229
|
-
const getComponentCss$
|
|
7240
|
+
const getComponentCss$14 = (size) => {
|
|
7230
7241
|
return getCss({
|
|
7231
7242
|
'@global': {
|
|
7232
7243
|
':host': {
|
|
@@ -7268,7 +7279,7 @@ const flexItemWidths = {
|
|
|
7268
7279
|
full: 100,
|
|
7269
7280
|
auto: 'auto',
|
|
7270
7281
|
};
|
|
7271
|
-
const getComponentCss$
|
|
7282
|
+
const getComponentCss$13 = (width, offset, alignSelf, grow, shrink, flex) => {
|
|
7272
7283
|
return getCss({
|
|
7273
7284
|
'@global': {
|
|
7274
7285
|
':host': addImportantToEachRule({
|
|
@@ -7290,7 +7301,7 @@ const getComponentCss$11 = (width, offset, alignSelf, grow, shrink, flex) => {
|
|
|
7290
7301
|
});
|
|
7291
7302
|
};
|
|
7292
7303
|
|
|
7293
|
-
const getComponentCss$
|
|
7304
|
+
const getComponentCss$12 = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
|
|
7294
7305
|
return getCss({
|
|
7295
7306
|
'@global': {
|
|
7296
7307
|
':host': {
|
|
@@ -7487,7 +7498,7 @@ const cssVarRefPaddingTop = '--ref-p-flyout-pt';
|
|
|
7487
7498
|
const cssVarRefPaddingInline = '--ref-p-flyout-px';
|
|
7488
7499
|
// TODO: we shouldn't expose --p-flyout-max-width
|
|
7489
7500
|
const cssVariableMaxWidth = '--p-flyout-max-width';
|
|
7490
|
-
const getComponentCss
|
|
7501
|
+
const getComponentCss$11 = (isOpen, backdrop, position, hasHeader, hasFooter, hasSubFooter, footerBehavior, theme) => {
|
|
7491
7502
|
const isPositionStart = position === 'start' || position === 'left';
|
|
7492
7503
|
const isFooterFixed = footerBehavior === 'fixed';
|
|
7493
7504
|
return getCss({
|
|
@@ -7547,7 +7558,7 @@ const getComponentCss$$ = (isOpen, position, hasHeader, hasFooter, hasSubFooter,
|
|
|
7547
7558
|
},
|
|
7548
7559
|
}),
|
|
7549
7560
|
},
|
|
7550
|
-
dialog: getDialogJssStyle(isOpen, theme),
|
|
7561
|
+
dialog: getDialogJssStyle(isOpen, theme, backdrop),
|
|
7551
7562
|
},
|
|
7552
7563
|
scroller: {
|
|
7553
7564
|
...getScrollerJssStyle(isPositionStart ? 'start' : 'end', theme),
|
|
@@ -7599,7 +7610,7 @@ const gutter$1 = `calc(${gridGap} / 2)`;
|
|
|
7599
7610
|
const gridItemWidths = [
|
|
7600
7611
|
0, 8.333333, 16.666667, 25, 33.333333, 41.666667, 50, 58.333333, 66.666667, 75, 83.333333, 91.666667, 100,
|
|
7601
7612
|
];
|
|
7602
|
-
const getComponentCss$
|
|
7613
|
+
const getComponentCss$10 = (size, offset) => {
|
|
7603
7614
|
return getCss({
|
|
7604
7615
|
'@global': {
|
|
7605
7616
|
':host': addImportantToEachRule({
|
|
@@ -7619,7 +7630,7 @@ const getComponentCss$_ = (size, offset) => {
|
|
|
7619
7630
|
};
|
|
7620
7631
|
|
|
7621
7632
|
const gutter = `calc(${gridGap} / -2)`;
|
|
7622
|
-
const getComponentCss
|
|
7633
|
+
const getComponentCss$$ = (direction, wrap) => {
|
|
7623
7634
|
return getCss({
|
|
7624
7635
|
'@global': {
|
|
7625
7636
|
':host': {
|
|
@@ -7645,7 +7656,7 @@ const sizeMap$3 = {
|
|
|
7645
7656
|
'x-large': fontSizeHeadingXLarge,
|
|
7646
7657
|
'xx-large': fontSizeHeadingXXLarge,
|
|
7647
7658
|
};
|
|
7648
|
-
const getComponentCss$
|
|
7659
|
+
const getComponentCss$_ = (size, align, color, ellipsis, theme) => {
|
|
7649
7660
|
return getCss({
|
|
7650
7661
|
'@global': {
|
|
7651
7662
|
':host': {
|
|
@@ -7705,7 +7716,7 @@ const getTextSizeJssStyle = (textSize) => {
|
|
|
7705
7716
|
fontSize: textSize === 'inherit' ? textSize : textSizeMap[textSize],
|
|
7706
7717
|
};
|
|
7707
7718
|
};
|
|
7708
|
-
const getComponentCss$
|
|
7719
|
+
const getComponentCss$Z = (variant, align, color, ellipsis, theme) => {
|
|
7709
7720
|
return getCss({
|
|
7710
7721
|
'@global': {
|
|
7711
7722
|
':host': {
|
|
@@ -7816,7 +7827,7 @@ const isFlippableIcon = (name, source) => {
|
|
|
7816
7827
|
name === 'return' ||
|
|
7817
7828
|
name === 'send'));
|
|
7818
7829
|
};
|
|
7819
|
-
const getComponentCss$
|
|
7830
|
+
const getComponentCss$Y = (name, source, color, size, theme) => {
|
|
7820
7831
|
const isColorInherit = color === 'inherit';
|
|
7821
7832
|
const isSizeInherit = size === 'inherit';
|
|
7822
7833
|
const isDark = isThemeDark(theme);
|
|
@@ -7935,7 +7946,7 @@ const getHeadingJssStyle = (theme) => ({
|
|
|
7935
7946
|
...headingSmallStyle,
|
|
7936
7947
|
...getTextJssStyle(theme),
|
|
7937
7948
|
});
|
|
7938
|
-
const getComponentCss$
|
|
7949
|
+
const getComponentCss$X = (state, hasAction, hasClose, theme) => {
|
|
7939
7950
|
return getCss({
|
|
7940
7951
|
'@global': {
|
|
7941
7952
|
':host': {
|
|
@@ -7982,7 +7993,7 @@ const getComponentCss$V = (state, hasAction, hasClose, theme) => {
|
|
|
7982
7993
|
/**
|
|
7983
7994
|
* @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
|
|
7984
7995
|
*/
|
|
7985
|
-
const getComponentCss$
|
|
7996
|
+
const getComponentCss$W = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
7986
7997
|
return getCss({
|
|
7987
7998
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
7988
7999
|
textOverflow: 'ellipsis',
|
|
@@ -8005,7 +8016,7 @@ const getComponentCss$U = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8005
8016
|
/**
|
|
8006
8017
|
* @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
|
|
8007
8018
|
*/
|
|
8008
|
-
const getComponentCss$
|
|
8019
|
+
const getComponentCss$V = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8009
8020
|
return getCss({
|
|
8010
8021
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8011
8022
|
textOverflow: 'ellipsis',
|
|
@@ -8025,7 +8036,7 @@ const getComponentCss$T = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8025
8036
|
/**
|
|
8026
8037
|
* @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
|
|
8027
8038
|
*/
|
|
8028
|
-
const getComponentCss$
|
|
8039
|
+
const getComponentCss$U = (disabled, loading, hideLabel, state, compact, readOnly, theme, controls) => {
|
|
8029
8040
|
return getCss({
|
|
8030
8041
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8031
8042
|
textOverflow: 'ellipsis',
|
|
@@ -8050,7 +8061,7 @@ const getComponentCss$S = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8050
8061
|
/**
|
|
8051
8062
|
* @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
|
|
8052
8063
|
*/
|
|
8053
|
-
const getComponentCss$
|
|
8064
|
+
const getComponentCss$T = (disabled, loading, hideLabel, state, toggle, compact, readOnly, theme) => {
|
|
8054
8065
|
return getCss({
|
|
8055
8066
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8056
8067
|
'&[type="text"]': {
|
|
@@ -8073,7 +8084,7 @@ const getComponentCss$R = (disabled, loading, hideLabel, state, toggle, compact,
|
|
|
8073
8084
|
/**
|
|
8074
8085
|
* @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
|
|
8075
8086
|
*/
|
|
8076
|
-
const getComponentCss$
|
|
8087
|
+
const getComponentCss$S = (disabled, loading, hideLabel, state, compact, readOnly, theme, clear) => {
|
|
8077
8088
|
return getCss({
|
|
8078
8089
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8079
8090
|
textOverflow: 'ellipsis',
|
|
@@ -8097,7 +8108,7 @@ const getComponentCss$Q = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8097
8108
|
/**
|
|
8098
8109
|
* @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
|
|
8099
8110
|
*/
|
|
8100
|
-
const getComponentCss$
|
|
8111
|
+
const getComponentCss$R = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8101
8112
|
return getCss({
|
|
8102
8113
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8103
8114
|
textOverflow: 'ellipsis',
|
|
@@ -8117,7 +8128,7 @@ const getComponentCss$P = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8117
8128
|
/**
|
|
8118
8129
|
* @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
|
|
8119
8130
|
*/
|
|
8120
|
-
const getComponentCss$
|
|
8131
|
+
const getComponentCss$Q = (disabled, loading, hideLabel, state, compact, readOnly, theme, counter) => {
|
|
8121
8132
|
return getCss({
|
|
8122
8133
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8123
8134
|
textOverflow: 'ellipsis',
|
|
@@ -8143,7 +8154,7 @@ const getComponentCss$O = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8143
8154
|
/**
|
|
8144
8155
|
* @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
|
|
8145
8156
|
*/
|
|
8146
|
-
const getComponentCss$
|
|
8157
|
+
const getComponentCss$P = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8147
8158
|
return getCss({
|
|
8148
8159
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8149
8160
|
textOverflow: 'ellipsis',
|
|
@@ -8166,7 +8177,7 @@ const getComponentCss$N = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8166
8177
|
/**
|
|
8167
8178
|
* @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
|
|
8168
8179
|
*/
|
|
8169
|
-
const getComponentCss$
|
|
8180
|
+
const getComponentCss$O = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8170
8181
|
return getCss({
|
|
8171
8182
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8172
8183
|
textOverflow: 'ellipsis',
|
|
@@ -8179,7 +8190,7 @@ const getComponentCss$M = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8179
8190
|
});
|
|
8180
8191
|
};
|
|
8181
8192
|
|
|
8182
|
-
const getComponentCss$
|
|
8193
|
+
const getComponentCss$N = (icon, iconSource, active, stretch, size, hideLabel, alignLabel, underline, hasSlottedAnchor, theme) => {
|
|
8183
8194
|
return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, false, stretch, size, hideLabel, alignLabel, underline, hasSlottedAnchor, theme), hasSlottedAnchor && {
|
|
8184
8195
|
'@global': addImportantToEachRule({
|
|
8185
8196
|
'::slotted': {
|
|
@@ -8208,7 +8219,7 @@ const getComponentCss$L = (icon, iconSource, active, stretch, size, hideLabel, a
|
|
|
8208
8219
|
};
|
|
8209
8220
|
|
|
8210
8221
|
const cssVariableInternalLinkScaling = '--p-internal-link-scaling';
|
|
8211
|
-
const getComponentCss$
|
|
8222
|
+
const getComponentCss$M = (icon, iconSource, variant, hideLabel, hasSlottedAnchor, compact, theme) => {
|
|
8212
8223
|
const { linkColor } = getHighContrastColors();
|
|
8213
8224
|
const isPrimary = variant === 'primary';
|
|
8214
8225
|
return getCss(mergeDeep(getLinkButtonStyles(icon, iconSource, variant, hideLabel, false, hasSlottedAnchor, compact, cssVariableInternalLinkScaling, theme), {
|
|
@@ -8250,7 +8261,7 @@ const getComponentCss$K = (icon, iconSource, variant, hideLabel, hasSlottedAncho
|
|
|
8250
8261
|
}));
|
|
8251
8262
|
};
|
|
8252
8263
|
|
|
8253
|
-
const getComponentCss$
|
|
8264
|
+
const getComponentCss$L = (aspectRatio, weight, // to get deprecated semibold typed
|
|
8254
8265
|
direction, hasDescription) => {
|
|
8255
8266
|
return getCss({
|
|
8256
8267
|
'@global': {
|
|
@@ -8392,7 +8403,7 @@ const getMultilineEllipsis = (lineClamp) => {
|
|
|
8392
8403
|
overflow: 'hidden',
|
|
8393
8404
|
};
|
|
8394
8405
|
};
|
|
8395
|
-
const getComponentCss$
|
|
8406
|
+
const getComponentCss$K = (hasLikeButton, hasSlottedAnchor, hasPriceOriginal, hasDescription, aspectRatio, theme) => {
|
|
8396
8407
|
const { primaryColor, contrastHighColor, contrastMediumColor, backgroundSurfaceColor } = getThemedColors(theme);
|
|
8397
8408
|
const { primaryColor: primaryColorDark, contrastHighColor: contrastHighColorDark, contrastMediumColor: contrastMediumColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, } = getThemedColors('dark');
|
|
8398
8409
|
return getCss({
|
|
@@ -8531,8 +8542,8 @@ const getComponentCss$I = (hasLikeButton, hasSlottedAnchor, hasPriceOriginal, ha
|
|
|
8531
8542
|
});
|
|
8532
8543
|
};
|
|
8533
8544
|
|
|
8534
|
-
const getComponentCss$
|
|
8535
|
-
background, align, compact, hasGradient, isDisabled) => {
|
|
8545
|
+
const getComponentCss$J = (aspectRatio, size, weight, // to get deprecated semibold typed
|
|
8546
|
+
background, align, compact, hasGradient, hasFooterSlot, isDisabled) => {
|
|
8536
8547
|
const isTopAligned = align === 'top';
|
|
8537
8548
|
return getCss({
|
|
8538
8549
|
'@global': {
|
|
@@ -8561,6 +8572,10 @@ background, align, compact, hasGradient, isDisabled) => {
|
|
|
8561
8572
|
gridArea: `${isTopAligned ? 4 : 2}/2`,
|
|
8562
8573
|
zIndex: 3,
|
|
8563
8574
|
},
|
|
8575
|
+
'&[name="footer"]': {
|
|
8576
|
+
gridRow: 2,
|
|
8577
|
+
zIndex: 3,
|
|
8578
|
+
},
|
|
8564
8579
|
},
|
|
8565
8580
|
'::slotted(:is(img,picture,video))': addImportantToEachRule({
|
|
8566
8581
|
display: 'block',
|
|
@@ -8641,21 +8656,23 @@ background, align, compact, hasGradient, isDisabled) => {
|
|
|
8641
8656
|
},
|
|
8642
8657
|
footer: {
|
|
8643
8658
|
gridArea: `${isTopAligned ? 2 : 4}/2`,
|
|
8644
|
-
display: 'flex',
|
|
8645
|
-
gap: spacingStaticMedium,
|
|
8646
|
-
justifyContent: 'space-between',
|
|
8647
8659
|
...buildResponsiveStyles(compact, (compactValue) => compactValue
|
|
8648
8660
|
? {
|
|
8649
|
-
|
|
8650
|
-
|
|
8661
|
+
display: 'grid',
|
|
8662
|
+
gridTemplateColumns: '1fr auto',
|
|
8663
|
+
columnGap: spacingStaticMedium,
|
|
8651
8664
|
}
|
|
8652
8665
|
: {
|
|
8653
|
-
|
|
8666
|
+
display: 'flex',
|
|
8654
8667
|
flexDirection: 'column',
|
|
8668
|
+
alignItems: 'start',
|
|
8655
8669
|
}),
|
|
8656
8670
|
},
|
|
8657
8671
|
'link-or-button-pure': {
|
|
8658
8672
|
zIndex: 5,
|
|
8673
|
+
gridColumn: 2,
|
|
8674
|
+
gridRow: hasFooterSlot && !isTopAligned ? 2 : 1,
|
|
8675
|
+
alignSelf: 'center',
|
|
8659
8676
|
...buildResponsiveStyles(compact, (compactValue) => ({
|
|
8660
8677
|
display: compactValue ? 'inline-block' : 'none',
|
|
8661
8678
|
})),
|
|
@@ -8663,6 +8680,7 @@ background, align, compact, hasGradient, isDisabled) => {
|
|
|
8663
8680
|
'link-or-button': {
|
|
8664
8681
|
minHeight: '54px', // prevent content shift
|
|
8665
8682
|
zIndex: 5,
|
|
8683
|
+
marginTop: spacingStaticMedium,
|
|
8666
8684
|
...buildResponsiveStyles(compact, (compactValue) => ({
|
|
8667
8685
|
display: compactValue ? 'none' : 'inline-block',
|
|
8668
8686
|
})),
|
|
@@ -8680,7 +8698,7 @@ const baseSizes = {
|
|
|
8680
8698
|
height: '72px',
|
|
8681
8699
|
},
|
|
8682
8700
|
};
|
|
8683
|
-
const getComponentCss$
|
|
8701
|
+
const getComponentCss$I = (size) => {
|
|
8684
8702
|
return getCss({
|
|
8685
8703
|
'@global': {
|
|
8686
8704
|
':host': {
|
|
@@ -8735,7 +8753,7 @@ const cssVariableSpacingBottom = '--p-modal-spacing-bottom'; // TODO: maybe --p-
|
|
|
8735
8753
|
const safeZoneVertical = `calc(${spacingFluidSmall} + ${spacingFluidMedium})`;
|
|
8736
8754
|
const safeZoneHorizontal = `${spacingFluidLarge}`;
|
|
8737
8755
|
const cssClassNameStretchToFullModalWidth = 'stretch-to-full-modal-width';
|
|
8738
|
-
const getComponentCss$
|
|
8756
|
+
const getComponentCss$H = (isOpen, backdrop, fullscreen, hasDismissButton, hasHeader, hasFooter, theme) => {
|
|
8739
8757
|
return getCss({
|
|
8740
8758
|
'@global': {
|
|
8741
8759
|
':host': {
|
|
@@ -8873,7 +8891,7 @@ const getThemedColor = (color, themedColors) => {
|
|
|
8873
8891
|
};
|
|
8874
8892
|
return colorMap[color];
|
|
8875
8893
|
};
|
|
8876
|
-
const getComponentCss$
|
|
8894
|
+
const getComponentCss$G = (model, safeZone, size, color, theme) => {
|
|
8877
8895
|
const { width, height } = MODEL_SIGNATURES_MANIFEST[model];
|
|
8878
8896
|
const isSizeInherit = size === 'inherit';
|
|
8879
8897
|
return getCss({
|
|
@@ -8918,7 +8936,7 @@ const getComponentCss$E = (model, safeZone, size, color, theme) => {
|
|
|
8918
8936
|
};
|
|
8919
8937
|
|
|
8920
8938
|
const cssVarInternalMultiSelectOptionScaling = '--p-internal-multi-select-option-scaling';
|
|
8921
|
-
const getComponentCss$
|
|
8939
|
+
const getComponentCss$F = (theme, isDisabled, selected) => {
|
|
8922
8940
|
return getCss({
|
|
8923
8941
|
'@global': {
|
|
8924
8942
|
':host': {
|
|
@@ -8952,7 +8970,7 @@ const getComponentCss$D = (theme, isDisabled, selected) => {
|
|
|
8952
8970
|
|
|
8953
8971
|
const cssVarInternalOptgroupScaling = '--p-internal-optgroup-scaling';
|
|
8954
8972
|
const scalingVar = `var(${cssVarInternalOptgroupScaling}, 1)`;
|
|
8955
|
-
const getComponentCss$
|
|
8973
|
+
const getComponentCss$E = (isDisabled, theme) => {
|
|
8956
8974
|
const { primaryColor, disabledColor } = getThemedColors(theme);
|
|
8957
8975
|
const { primaryColor: primaryColorDark, disabledColor: disabledColorDark } = getThemedColors('dark');
|
|
8958
8976
|
const padding = `max(2px, ${scalingVar} * ${spacingStaticSmall}) max(4px, ${scalingVar} * 12px)`;
|
|
@@ -8991,7 +9009,7 @@ const getComponentCss$C = (isDisabled, theme) => {
|
|
|
8991
9009
|
};
|
|
8992
9010
|
|
|
8993
9011
|
const cssVarInternalMultiSelectScaling = '--p-internal-multi-select-scaling';
|
|
8994
|
-
const getComponentCss$
|
|
9012
|
+
const getComponentCss$D = (isOpen, isDisabled, hideLabel, state, compact, theme) => {
|
|
8995
9013
|
const scalingVar = `var(${cssVarInternalMultiSelectScaling}, ${compact ? 0.5 : 1})`;
|
|
8996
9014
|
return getCss({
|
|
8997
9015
|
'@global': {
|
|
@@ -9041,7 +9059,7 @@ const disabledCursorStyle = {
|
|
|
9041
9059
|
pointerEvents: 'none', // prevents :hover (has no effect when forced), maybe we can remove it since CSS selectors already cover desired behavior
|
|
9042
9060
|
};
|
|
9043
9061
|
const hiddenStyle = { display: 'none' };
|
|
9044
|
-
const getComponentCss$
|
|
9062
|
+
const getComponentCss$C = (activePage, pageTotal, showLastPage, theme) => {
|
|
9045
9063
|
const { primaryColor, disabledColor, hoverColor } = getThemedColors(theme);
|
|
9046
9064
|
const { primaryColor: primaryColorDark, disabledColor: disabledColorDark, hoverColor: hoverColorDark, } = getThemedColors('dark');
|
|
9047
9065
|
return getCss({
|
|
@@ -9178,9 +9196,9 @@ const removeStyles = (selector, styles) => Object.fromEntries(Object.entries(sty
|
|
|
9178
9196
|
}));
|
|
9179
9197
|
|
|
9180
9198
|
const cssVarInternalPinCodeScaling = '--p-internal-pin-code-scaling';
|
|
9181
|
-
const getScalingVar = (compact) => `var(${cssVarInternalPinCodeScaling}, ${compact ? 0.5 : 1})`;
|
|
9182
|
-
const getComponentCss$
|
|
9183
|
-
const scalingVar = getScalingVar(compact);
|
|
9199
|
+
const getScalingVar$1 = (compact) => `var(${cssVarInternalPinCodeScaling}, ${compact ? 0.5 : 1})`;
|
|
9200
|
+
const getComponentCss$B = (hideLabel, state, isDisabled, isLoading, length, compact, theme) => {
|
|
9201
|
+
const scalingVar = getScalingVar$1(compact);
|
|
9184
9202
|
const dimension = `max(${fontLineHeight}, ${scalingVar} * (${fontLineHeight} + 10px))`;
|
|
9185
9203
|
const gap = `max(${spacingStaticXSmall}, ${scalingVar} * ${spacingStaticSmall})`;
|
|
9186
9204
|
const paddingBlock = `max(2px, ${formElementPaddingVertical} * ${scalingVar})`;
|
|
@@ -9248,7 +9266,7 @@ const getComponentCss$z = (hideLabel, state, isDisabled, isLoading, length, comp
|
|
|
9248
9266
|
const POPOVER_SAFE_ZONE = 8;
|
|
9249
9267
|
|
|
9250
9268
|
const { canvasTextColor } = getHighContrastColors();
|
|
9251
|
-
const getComponentCss$
|
|
9269
|
+
const getComponentCss$A = (theme) => {
|
|
9252
9270
|
const { hoverColor, backgroundColor, primaryColor, backgroundSurfaceColor } = getThemedColors(theme);
|
|
9253
9271
|
const { hoverColor: hoverColorDark, primaryColor: primaryColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, } = getThemedColors('dark');
|
|
9254
9272
|
const shadowColor = 'rgba(0,0,0,0.3)';
|
|
@@ -9352,10 +9370,10 @@ const getComponentCss$y = (theme) => {
|
|
|
9352
9370
|
});
|
|
9353
9371
|
};
|
|
9354
9372
|
|
|
9355
|
-
const getCheckedSVGBackgroundImage = (fill) => {
|
|
9373
|
+
const getCheckedSVGBackgroundImage$1 = (fill) => {
|
|
9356
9374
|
return getInlineSVGBackgroundImage(`<circle fill="${fill}" cx="12" cy="12" r="6"/>`);
|
|
9357
9375
|
};
|
|
9358
|
-
const getComponentCss$
|
|
9376
|
+
const getComponentCss$z = (hideLabel, state, isDisabled, isLoading, theme) => {
|
|
9359
9377
|
const checkedIconColor = escapeHashCharacter(getInvertedThemedColors(theme).primaryColor);
|
|
9360
9378
|
const checkedIconColorDark = escapeHashCharacter(getInvertedThemedColors('dark').primaryColor);
|
|
9361
9379
|
return getCss({
|
|
@@ -9378,16 +9396,16 @@ const getComponentCss$x = (hideLabel, state, isDisabled, isLoading, theme) => {
|
|
|
9378
9396
|
// TODO: is it somehow useful possible to make following styles configurable by paramter?
|
|
9379
9397
|
...(!isLoading && {
|
|
9380
9398
|
'&(input:checked)': {
|
|
9381
|
-
backgroundImage: getCheckedSVGBackgroundImage(checkedIconColor),
|
|
9399
|
+
backgroundImage: getCheckedSVGBackgroundImage$1(checkedIconColor),
|
|
9382
9400
|
...prefersColorSchemeDarkMediaQuery(theme, {
|
|
9383
|
-
backgroundImage: getCheckedSVGBackgroundImage(checkedIconColorDark),
|
|
9401
|
+
backgroundImage: getCheckedSVGBackgroundImage$1(checkedIconColorDark),
|
|
9384
9402
|
}),
|
|
9385
9403
|
// This is a workaround for Blink based browsers, which do not reflect the high contrast system colors (e.g.: "Canvas" and "CanvasText") when added to background SVG's.
|
|
9386
9404
|
...(isHighContrastMode &&
|
|
9387
9405
|
getSchemedHighContrastMediaQuery({
|
|
9388
|
-
backgroundImage: getCheckedSVGBackgroundImage('white'),
|
|
9406
|
+
backgroundImage: getCheckedSVGBackgroundImage$1('white'),
|
|
9389
9407
|
}, {
|
|
9390
|
-
backgroundImage: getCheckedSVGBackgroundImage('black'),
|
|
9408
|
+
backgroundImage: getCheckedSVGBackgroundImage$1('black'),
|
|
9391
9409
|
})),
|
|
9392
9410
|
},
|
|
9393
9411
|
}),
|
|
@@ -9436,6 +9454,267 @@ const getComponentCss$x = (hideLabel, state, isDisabled, isLoading, theme) => {
|
|
|
9436
9454
|
});
|
|
9437
9455
|
};
|
|
9438
9456
|
|
|
9457
|
+
const cssVarInternalRadioGroupOptionScaling = '--p-internal-radio-group-option-scaling';
|
|
9458
|
+
const getCheckedSVGBackgroundImage = (fill) => {
|
|
9459
|
+
return getInlineSVGBackgroundImage(`<circle fill="${fill}" cx="12" cy="12" r="6"/>`);
|
|
9460
|
+
};
|
|
9461
|
+
const getComponentCss$y = (disabled, loading, state, theme) => {
|
|
9462
|
+
const { primaryColor, contrastMediumColor, contrastHighColor, disabledColor, focusColor } = getThemedColors(theme);
|
|
9463
|
+
const { primaryColor: primaryColorDark, contrastMediumColor: contrastMediumColorDark, contrastHighColor: contrastHighColorDark, disabledColor: disabledColorDark, focusColor: focusColorDark, } = getThemedColors('dark');
|
|
9464
|
+
const { formStateColor, formStateHoverColor } = getThemedFormStateColors(theme, state);
|
|
9465
|
+
const { formStateColor: formStateColorDark, formStateHoverColor: formStateHoverColorDark } = getThemedFormStateColors('dark', state);
|
|
9466
|
+
const { canvasTextColor } = getHighContrastColors();
|
|
9467
|
+
const disabledOrLoading = isDisabledOrLoading(disabled, loading);
|
|
9468
|
+
// TODO: needs to be extracted into a color function
|
|
9469
|
+
const uncheckedColor = disabledOrLoading ? disabledColor : formStateColor || contrastMediumColor;
|
|
9470
|
+
const uncheckedColorDark = disabledOrLoading ? disabledColorDark : formStateColorDark || contrastMediumColorDark;
|
|
9471
|
+
const uncheckedHoverColor = formStateHoverColor || primaryColor;
|
|
9472
|
+
const uncheckedHoverColorDark = formStateHoverColorDark || primaryColorDark;
|
|
9473
|
+
const checkedColor = isHighContrastMode
|
|
9474
|
+
? canvasTextColor
|
|
9475
|
+
: disabledOrLoading
|
|
9476
|
+
? disabledColor
|
|
9477
|
+
: formStateColor || primaryColor;
|
|
9478
|
+
const checkedColorDark = isHighContrastMode
|
|
9479
|
+
? canvasTextColor
|
|
9480
|
+
: disabledOrLoading
|
|
9481
|
+
? disabledColorDark
|
|
9482
|
+
: formStateColorDark || primaryColorDark;
|
|
9483
|
+
const checkedHoverColor = formStateHoverColor || contrastHighColor;
|
|
9484
|
+
const checkedHoverColorDark = formStateHoverColorDark || contrastHighColorDark;
|
|
9485
|
+
const minDimension = `calc(${SCALING_BASE_VALUE} * 0.75)`;
|
|
9486
|
+
const scalingVar = `var(${cssVarInternalRadioGroupOptionScaling}, 1)`;
|
|
9487
|
+
const dimension = `max(${minDimension}, ${scalingVar} * (${fontLineHeight}))`;
|
|
9488
|
+
const dimensionFull = `calc(${dimension} + ${borderWidthBase} * 2)`; // Calculates the total size of the checkbox including its borders.
|
|
9489
|
+
const minimumTouchTargetSize = '24px'; // Minimum touch target size to comply with accessibility guidelines.
|
|
9490
|
+
const touchTargetSizeDiff = `calc(${minimumTouchTargetSize} - ${dimensionFull})`; // Difference between the minimum touch target size and the radio button full size.
|
|
9491
|
+
const inset = `calc(-${borderWidthBase} - max(0px, ${touchTargetSizeDiff} / 2))`; // Positions the radio button '::before' pseudo-element with a negative offset to align it with the touch target.
|
|
9492
|
+
const paddingInlineStart = `calc(${spacingStaticSmall} - (max(0px, ${touchTargetSizeDiff})))`;
|
|
9493
|
+
const checkedIconColor = escapeHashCharacter(getInvertedThemedColors(theme).primaryColor);
|
|
9494
|
+
const checkedIconColorDark = escapeHashCharacter(getInvertedThemedColors('dark').primaryColor);
|
|
9495
|
+
const paddingTop = `calc((${dimensionFull} - ${fontLineHeight}) / 2)`; // Vertically centers the radio button label relative to the radio button size.
|
|
9496
|
+
const height = `calc(max(${fontLineHeight}, ${dimensionFull}))`; // Ensures the wrapper height matches either the font's line height or the full size of the radio-group, whichever is larger.
|
|
9497
|
+
return getCss({
|
|
9498
|
+
'@global': {
|
|
9499
|
+
':host': {
|
|
9500
|
+
...addImportantToEachRule({
|
|
9501
|
+
...colorSchemeStyles,
|
|
9502
|
+
...hostHiddenStyles,
|
|
9503
|
+
}),
|
|
9504
|
+
display: 'block',
|
|
9505
|
+
},
|
|
9506
|
+
input: {
|
|
9507
|
+
gridArea: '1/1',
|
|
9508
|
+
borderRadius: '50%',
|
|
9509
|
+
position: 'relative',
|
|
9510
|
+
width: dimension,
|
|
9511
|
+
height: dimension,
|
|
9512
|
+
font: `${fontSizeTextSmall} ${fontFamily}`, // needed for correct width and height definition based on ex-unit
|
|
9513
|
+
display: 'block',
|
|
9514
|
+
margin: 0,
|
|
9515
|
+
padding: 0,
|
|
9516
|
+
WebkitAppearance: 'none', // iOS safari
|
|
9517
|
+
appearance: 'none',
|
|
9518
|
+
boxSizing: 'content-box',
|
|
9519
|
+
background: `transparent 0% 0% / ${fontLineHeight}`,
|
|
9520
|
+
transition: `${getTransition('background-color')}, ${getTransition('border-color')}`,
|
|
9521
|
+
border: `${borderWidthBase} solid ${uncheckedColor}`,
|
|
9522
|
+
outline: 0, // TODO: only relevant for VRT testing with forced states - prevents :focus style (in case getFocusJssStyle() condition is not matching)
|
|
9523
|
+
...(disabledOrLoading
|
|
9524
|
+
? {
|
|
9525
|
+
pointerEvents: 'none', // to prevent form element becomes clickable/toggleable
|
|
9526
|
+
}
|
|
9527
|
+
: {
|
|
9528
|
+
cursor: 'pointer',
|
|
9529
|
+
}),
|
|
9530
|
+
...prefersColorSchemeDarkMediaQuery(theme, {
|
|
9531
|
+
borderColor: uncheckedColorDark,
|
|
9532
|
+
}),
|
|
9533
|
+
'&::before': {
|
|
9534
|
+
// Ensures the touch target is at least '24px', even if the radio button is smaller than the minimum touch target size.
|
|
9535
|
+
// This pseudo-element expands the clickable area without affecting the visual size of the radio button itself.
|
|
9536
|
+
content: '""',
|
|
9537
|
+
position: 'absolute',
|
|
9538
|
+
inset,
|
|
9539
|
+
},
|
|
9540
|
+
},
|
|
9541
|
+
'input:checked': {
|
|
9542
|
+
borderColor: checkedColor,
|
|
9543
|
+
backgroundColor: checkedColor,
|
|
9544
|
+
backgroundSize: dimension,
|
|
9545
|
+
backgroundImage: getCheckedSVGBackgroundImage(checkedIconColor),
|
|
9546
|
+
...prefersColorSchemeDarkMediaQuery(theme, {
|
|
9547
|
+
borderColor: checkedColorDark,
|
|
9548
|
+
backgroundColor: checkedColorDark,
|
|
9549
|
+
backgroundImage: getCheckedSVGBackgroundImage(checkedIconColorDark),
|
|
9550
|
+
}),
|
|
9551
|
+
// This is a workaround for Blink-based browsers, which do not reflect the high contrast system colors (e.g.: "Canvas" and "CanvasText") when added to background SVG's.
|
|
9552
|
+
...(isHighContrastMode &&
|
|
9553
|
+
getSchemedHighContrastMediaQuery({
|
|
9554
|
+
backgroundImage: getCheckedSVGBackgroundImage('white'),
|
|
9555
|
+
}, {
|
|
9556
|
+
backgroundImage: getCheckedSVGBackgroundImage('black'),
|
|
9557
|
+
})),
|
|
9558
|
+
},
|
|
9559
|
+
...(!disabledOrLoading &&
|
|
9560
|
+
!isHighContrastMode &&
|
|
9561
|
+
hoverMediaQuery({
|
|
9562
|
+
'input:hover,label:hover~.wrapper input': {
|
|
9563
|
+
borderColor: uncheckedHoverColor,
|
|
9564
|
+
...prefersColorSchemeDarkMediaQuery(theme, {
|
|
9565
|
+
borderColor: uncheckedHoverColorDark,
|
|
9566
|
+
}),
|
|
9567
|
+
},
|
|
9568
|
+
'input:checked:hover,label:hover~.wrapper input:checked': {
|
|
9569
|
+
borderColor: checkedHoverColor,
|
|
9570
|
+
backgroundColor: checkedHoverColor,
|
|
9571
|
+
...prefersColorSchemeDarkMediaQuery(theme, {
|
|
9572
|
+
borderColor: checkedHoverColorDark,
|
|
9573
|
+
backgroundColor: checkedHoverColorDark,
|
|
9574
|
+
}),
|
|
9575
|
+
},
|
|
9576
|
+
'label:hover~.wrapper input': supportsChromiumMediaQuery({
|
|
9577
|
+
transition: 'unset', // Fixes a chrome bug where transition properties are stuck on hover
|
|
9578
|
+
}),
|
|
9579
|
+
})),
|
|
9580
|
+
...(!disabled && {
|
|
9581
|
+
'input::-moz-focus-inner': {
|
|
9582
|
+
border: 0, // reset ua-style (for FF)
|
|
9583
|
+
},
|
|
9584
|
+
'input:focus': {
|
|
9585
|
+
outline: 0, // reset ua-style (for older browsers)
|
|
9586
|
+
},
|
|
9587
|
+
'input:focus-visible': {
|
|
9588
|
+
outline: `${borderWidthBase} solid ${focusColor}`,
|
|
9589
|
+
outlineOffset: '2px',
|
|
9590
|
+
...prefersColorSchemeDarkMediaQuery(theme, {
|
|
9591
|
+
outlineColor: focusColorDark,
|
|
9592
|
+
}),
|
|
9593
|
+
},
|
|
9594
|
+
}),
|
|
9595
|
+
...preventFoucOfNestedElementsStyles,
|
|
9596
|
+
},
|
|
9597
|
+
root: {
|
|
9598
|
+
display: 'grid',
|
|
9599
|
+
gridTemplateColumns: 'auto minmax(0, 1fr)',
|
|
9600
|
+
rowGap: spacingStaticXSmall,
|
|
9601
|
+
},
|
|
9602
|
+
wrapper: {
|
|
9603
|
+
...textSmallStyle,
|
|
9604
|
+
display: 'grid',
|
|
9605
|
+
gridArea: '1/1',
|
|
9606
|
+
minWidth: minimumTouchTargetSize,
|
|
9607
|
+
minHeight: minimumTouchTargetSize,
|
|
9608
|
+
justifyContent: 'center',
|
|
9609
|
+
alignItems: 'center',
|
|
9610
|
+
alignSelf: 'flex-start', // in case label becomes multiline
|
|
9611
|
+
...(isDisabledOrLoading(disabled, loading) && {
|
|
9612
|
+
cursor: 'not-allowed',
|
|
9613
|
+
}),
|
|
9614
|
+
height,
|
|
9615
|
+
},
|
|
9616
|
+
...(loading && {
|
|
9617
|
+
spinner: {
|
|
9618
|
+
position: 'relative', // ensure correct stacking, can be removed as soon as focus for input is handled with outline
|
|
9619
|
+
gridArea: '1/1',
|
|
9620
|
+
placeSelf: 'center',
|
|
9621
|
+
width: dimension,
|
|
9622
|
+
height: dimension,
|
|
9623
|
+
font: `${fontSizeTextSmall} ${fontFamily}`, // needed for correct width and height definition based on ex-unit
|
|
9624
|
+
pointerEvents: 'none',
|
|
9625
|
+
},
|
|
9626
|
+
}),
|
|
9627
|
+
// .label / .required
|
|
9628
|
+
...getFunctionalComponentLabelStyles(disabled || loading, false, theme, {
|
|
9629
|
+
gridArea: '1/2',
|
|
9630
|
+
}, {
|
|
9631
|
+
paddingTop,
|
|
9632
|
+
paddingInlineStart,
|
|
9633
|
+
}),
|
|
9634
|
+
// .loading
|
|
9635
|
+
...getFunctionalComponentLoadingMessageStyles(),
|
|
9636
|
+
});
|
|
9637
|
+
};
|
|
9638
|
+
|
|
9639
|
+
const cssVarInternalRadioGroupScaling = '--p-internal-radio-group-scaling';
|
|
9640
|
+
const groupRadioGroupDirectionJssStyles = {
|
|
9641
|
+
column: {
|
|
9642
|
+
flexFlow: 'column nowrap',
|
|
9643
|
+
alignItems: 'stretch',
|
|
9644
|
+
},
|
|
9645
|
+
row: {
|
|
9646
|
+
flexFlow: 'row wrap',
|
|
9647
|
+
alignItems: 'start',
|
|
9648
|
+
},
|
|
9649
|
+
};
|
|
9650
|
+
const getRadioGroupDirectionJssStyles = (direction) => {
|
|
9651
|
+
return groupRadioGroupDirectionJssStyles[direction];
|
|
9652
|
+
};
|
|
9653
|
+
const getComponentCss$x = (disabled, loading, hideLabel, state, compact, direction, theme) => {
|
|
9654
|
+
const scalingVar = `var(${cssVarInternalRadioGroupScaling}, ${compact ? 0.6668 : 1})`;
|
|
9655
|
+
const { primaryColor } = getThemedColors(theme);
|
|
9656
|
+
const { primaryColor: primaryColorDark } = getThemedColors('dark');
|
|
9657
|
+
const { formStateHoverColor } = getThemedFormStateColors(theme, state);
|
|
9658
|
+
const { formStateHoverColor: formStateHoverColorDark } = getThemedFormStateColors('dark', state);
|
|
9659
|
+
const hoverStyles = {
|
|
9660
|
+
borderColor: formStateHoverColor || primaryColor,
|
|
9661
|
+
...prefersColorSchemeDarkMediaQuery(theme, {
|
|
9662
|
+
borderColor: formStateHoverColorDark || primaryColorDark,
|
|
9663
|
+
}),
|
|
9664
|
+
};
|
|
9665
|
+
const dimension = `max(${fontLineHeight}, ${scalingVar} * (${fontLineHeight} + 10px))`;
|
|
9666
|
+
const columnGap = `max(${spacingStaticSmall}, ${scalingVar} * ${spacingStaticMedium})`;
|
|
9667
|
+
const rowGap = `max(${spacingStaticXSmall}, ${scalingVar} * ${spacingStaticSmall})`;
|
|
9668
|
+
return getCss({
|
|
9669
|
+
'@global': {
|
|
9670
|
+
':host': {
|
|
9671
|
+
...addImportantToEachRule({
|
|
9672
|
+
...colorSchemeStyles,
|
|
9673
|
+
...hostHiddenStyles,
|
|
9674
|
+
}),
|
|
9675
|
+
[`${cssVarInternalRadioGroupOptionScaling}`]: scalingVar,
|
|
9676
|
+
},
|
|
9677
|
+
...preventFoucOfNestedElementsStyles,
|
|
9678
|
+
},
|
|
9679
|
+
root: {
|
|
9680
|
+
display: 'grid',
|
|
9681
|
+
justifySelf: 'flex-start',
|
|
9682
|
+
rowGap: spacingStaticXSmall,
|
|
9683
|
+
},
|
|
9684
|
+
wrapper: {
|
|
9685
|
+
alignItems: 'start',
|
|
9686
|
+
position: 'relative',
|
|
9687
|
+
display: 'flex',
|
|
9688
|
+
...buildResponsiveStyles(direction, getRadioGroupDirectionJssStyles),
|
|
9689
|
+
columnGap,
|
|
9690
|
+
rowGap,
|
|
9691
|
+
},
|
|
9692
|
+
...(loading && {
|
|
9693
|
+
spinner: {
|
|
9694
|
+
position: 'absolute',
|
|
9695
|
+
top: '50%',
|
|
9696
|
+
left: '50%',
|
|
9697
|
+
transform: 'translate(-50%, -50%)',
|
|
9698
|
+
width: dimension,
|
|
9699
|
+
height: dimension,
|
|
9700
|
+
pointerEvents: 'none',
|
|
9701
|
+
},
|
|
9702
|
+
}),
|
|
9703
|
+
// .label / .required
|
|
9704
|
+
...getFunctionalComponentLabelStyles(disabled, hideLabel, theme, !disabled && {
|
|
9705
|
+
...hoverMediaQuery({
|
|
9706
|
+
'&:hover~.wrapper': hoverStyles,
|
|
9707
|
+
}),
|
|
9708
|
+
cursor: 'inherit', // the label is not clickable
|
|
9709
|
+
}),
|
|
9710
|
+
// .message
|
|
9711
|
+
...getFunctionalComponentStateMessageStyles(theme, state),
|
|
9712
|
+
// .loading
|
|
9713
|
+
...getFunctionalComponentLoadingMessageStyles(),
|
|
9714
|
+
'sr-only': getHiddenTextJssStyle(),
|
|
9715
|
+
});
|
|
9716
|
+
};
|
|
9717
|
+
|
|
9439
9718
|
const prevNextWrapperWidth = `calc(${fontLineHeight} + 24px)`;
|
|
9440
9719
|
const getComponentCss$w = (isNextHidden, isPrevHidden, alignScrollIndicator, hasScrollbar, theme) => {
|
|
9441
9720
|
const actionPrevNextStyles = {
|
|
@@ -9549,7 +9828,9 @@ const getComponentCss$w = (isNextHidden, isPrevHidden, alignScrollIndicator, has
|
|
|
9549
9828
|
});
|
|
9550
9829
|
};
|
|
9551
9830
|
|
|
9552
|
-
const
|
|
9831
|
+
const cssVarInternalSegmentedControlScaling = '--p-internal-segmented-control-scaling';
|
|
9832
|
+
const getScalingVar = (compact) => `var(${cssVarInternalSegmentedControlScaling}, ${compact ? 0.5 : 1})`;
|
|
9833
|
+
const ICON_OFFSET = '4px';
|
|
9553
9834
|
const { font: BUTTON_FONT } = textSmallStyle;
|
|
9554
9835
|
const ICON_SIZE = '1.5rem';
|
|
9555
9836
|
const ICON_MARGIN = '.25rem';
|
|
@@ -9569,10 +9850,20 @@ const getColors$2 = (isDisabled, isSelected, theme) => {
|
|
|
9569
9850
|
hoverBorderColor: primaryColor,
|
|
9570
9851
|
};
|
|
9571
9852
|
};
|
|
9572
|
-
const
|
|
9573
|
-
const
|
|
9853
|
+
const getScalableItemStyles = (hasIconAndSlottedContent, compact) => {
|
|
9854
|
+
const scalingVar = getScalingVar(compact);
|
|
9855
|
+
const verticalPadding = `max(2px, ${formElementPaddingVertical} * ${scalingVar})`;
|
|
9856
|
+
const horizontalPadding = `calc(${verticalPadding} + ${ICON_OFFSET})`;
|
|
9857
|
+
const padding = hasIconAndSlottedContent
|
|
9858
|
+
? `${verticalPadding} ${horizontalPadding} ${verticalPadding} ${verticalPadding}`
|
|
9859
|
+
: `${verticalPadding} ${horizontalPadding}`;
|
|
9860
|
+
const dimension = `calc(max(${fontLineHeight}, ${scalingVar} * (${fontLineHeight} + 10px)) + (${verticalPadding} + ${borderWidthBase}) * 2)`;
|
|
9861
|
+
return { padding, dimension };
|
|
9862
|
+
};
|
|
9863
|
+
const getComponentCss$v = (compact, isDisabled, isSelected, hasIcon, hasSlottedContent, theme) => {
|
|
9574
9864
|
const { buttonColor, labelColor, borderColor, hoverBorderColor } = getColors$2(isDisabled, isSelected, theme);
|
|
9575
9865
|
const { buttonColor: buttonColorDark, labelColor: labelColorDark, borderColor: borderColorDark, hoverBorderColor: hoverBorderColorDark, } = getColors$2(isDisabled, isSelected, 'dark');
|
|
9866
|
+
const scalableItemStyles = getScalableItemStyles(hasIcon && hasSlottedContent, compact);
|
|
9576
9867
|
return getCss({
|
|
9577
9868
|
'@global': {
|
|
9578
9869
|
':host': {
|
|
@@ -9588,8 +9879,9 @@ const getComponentCss$v = (isDisabled, isSelected, hasIcon, hasSlottedContent, t
|
|
|
9588
9879
|
position: 'relative',
|
|
9589
9880
|
display: 'block',
|
|
9590
9881
|
height: '100%',
|
|
9882
|
+
minHeight: scalableItemStyles.dimension,
|
|
9591
9883
|
width: '100%',
|
|
9592
|
-
padding:
|
|
9884
|
+
padding: scalableItemStyles.padding,
|
|
9593
9885
|
margin: 0, // Removes default button margin on safari 15
|
|
9594
9886
|
border: `${borderWidthBase} solid ${borderColor}`,
|
|
9595
9887
|
borderRadius: borderRadiusSmall,
|
|
@@ -9641,7 +9933,8 @@ const getComponentCss$v = (isDisabled, isSelected, hasIcon, hasSlottedContent, t
|
|
|
9641
9933
|
}),
|
|
9642
9934
|
});
|
|
9643
9935
|
};
|
|
9644
|
-
const getComponentCss$u = (maxWidth, columns) => {
|
|
9936
|
+
const getComponentCss$u = (maxWidth, columns, compact) => {
|
|
9937
|
+
const scalingVar = getScalingVar(compact);
|
|
9645
9938
|
return getCss({
|
|
9646
9939
|
'@global': {
|
|
9647
9940
|
':host': {
|
|
@@ -9653,7 +9946,7 @@ const getComponentCss$u = (maxWidth, columns) => {
|
|
|
9653
9946
|
? `repeat(auto-fit, ${maxWidth}px)`
|
|
9654
9947
|
: `repeat(${col}, minmax(0, 1fr))`,
|
|
9655
9948
|
})),
|
|
9656
|
-
gap:
|
|
9949
|
+
gap: `max(${spacingStaticXSmall}, ${scalingVar} * 6px)`,
|
|
9657
9950
|
...colorSchemeStyles,
|
|
9658
9951
|
...hostHiddenStyles,
|
|
9659
9952
|
}),
|
|
@@ -11542,67 +11835,69 @@ const getComponentCss = (size, theme) => {
|
|
|
11542
11835
|
exports.cssVarButtonPureMargin = cssVarButtonPureMargin;
|
|
11543
11836
|
exports.cssVarButtonPurePadding = cssVarButtonPurePadding;
|
|
11544
11837
|
exports.cssVarInternalInputBaseScaling = cssVarInternalInputBaseScaling;
|
|
11545
|
-
exports.getAccordionCss = getComponentCss$
|
|
11546
|
-
exports.getBannerCss = getComponentCss$
|
|
11547
|
-
exports.getButtonCss = getComponentCss$
|
|
11548
|
-
exports.getButtonGroupCss = getComponentCss$
|
|
11549
|
-
exports.getButtonPureCss = getComponentCss$
|
|
11550
|
-
exports.getButtonTileCss = getComponentCss$
|
|
11551
|
-
exports.getCanvasCss = getComponentCss$
|
|
11552
|
-
exports.getCarouselCss = getComponentCss$
|
|
11553
|
-
exports.getCheckboxCss = getComponentCss$
|
|
11554
|
-
exports.getCheckboxWrapperCss = getComponentCss$
|
|
11555
|
-
exports.getContentWrapperCss = getComponentCss$
|
|
11556
|
-
exports.getCrestCss = getComponentCss$
|
|
11557
|
-
exports.getDisplayCss = getComponentCss$
|
|
11558
|
-
exports.getDividerCss = getComponentCss$
|
|
11559
|
-
exports.getDrilldownCss = getComponentCss$
|
|
11560
|
-
exports.getDrilldownItemCss = getComponentCss$
|
|
11561
|
-
exports.getDrilldownLinkCss = getComponentCss$
|
|
11562
|
-
exports.getFieldsetCss = getComponentCss$
|
|
11563
|
-
exports.getFieldsetWrapperCss = getComponentCss$
|
|
11564
|
-
exports.getFlagCss = getComponentCss$
|
|
11565
|
-
exports.getFlexCss = getComponentCss$
|
|
11566
|
-
exports.getFlexItemCss = getComponentCss$
|
|
11567
|
-
exports.getFlyoutCss = getComponentCss
|
|
11838
|
+
exports.getAccordionCss = getComponentCss$1n;
|
|
11839
|
+
exports.getBannerCss = getComponentCss$1m;
|
|
11840
|
+
exports.getButtonCss = getComponentCss$1i;
|
|
11841
|
+
exports.getButtonGroupCss = getComponentCss$1l;
|
|
11842
|
+
exports.getButtonPureCss = getComponentCss$1k;
|
|
11843
|
+
exports.getButtonTileCss = getComponentCss$1j;
|
|
11844
|
+
exports.getCanvasCss = getComponentCss$1h;
|
|
11845
|
+
exports.getCarouselCss = getComponentCss$1g;
|
|
11846
|
+
exports.getCheckboxCss = getComponentCss$1e;
|
|
11847
|
+
exports.getCheckboxWrapperCss = getComponentCss$1f;
|
|
11848
|
+
exports.getContentWrapperCss = getComponentCss$1d;
|
|
11849
|
+
exports.getCrestCss = getComponentCss$1c;
|
|
11850
|
+
exports.getDisplayCss = getComponentCss$1b;
|
|
11851
|
+
exports.getDividerCss = getComponentCss$1a;
|
|
11852
|
+
exports.getDrilldownCss = getComponentCss$19;
|
|
11853
|
+
exports.getDrilldownItemCss = getComponentCss$18;
|
|
11854
|
+
exports.getDrilldownLinkCss = getComponentCss$17;
|
|
11855
|
+
exports.getFieldsetCss = getComponentCss$15;
|
|
11856
|
+
exports.getFieldsetWrapperCss = getComponentCss$16;
|
|
11857
|
+
exports.getFlagCss = getComponentCss$14;
|
|
11858
|
+
exports.getFlexCss = getComponentCss$12;
|
|
11859
|
+
exports.getFlexItemCss = getComponentCss$13;
|
|
11860
|
+
exports.getFlyoutCss = getComponentCss$11;
|
|
11568
11861
|
exports.getFunctionalComponentInputBaseStyles = getFunctionalComponentInputBaseStyles;
|
|
11569
11862
|
exports.getFunctionalComponentLabelStyles = getFunctionalComponentLabelStyles;
|
|
11570
11863
|
exports.getFunctionalComponentLoadingMessageStyles = getFunctionalComponentLoadingMessageStyles;
|
|
11571
11864
|
exports.getFunctionalComponentNoResultsOptionStyles = getFunctionalComponentNoResultsOptionStyles;
|
|
11572
11865
|
exports.getFunctionalComponentRequiredStyles = getFunctionalComponentRequiredStyles;
|
|
11573
11866
|
exports.getFunctionalComponentStateMessageStyles = getFunctionalComponentStateMessageStyles;
|
|
11574
|
-
exports.getGridCss = getComponentCss
|
|
11575
|
-
exports.getGridItemCss = getComponentCss$
|
|
11576
|
-
exports.getHeadingCss = getComponentCss$
|
|
11577
|
-
exports.getHeadlineCss = getComponentCss$
|
|
11578
|
-
exports.getIconCss = getComponentCss$
|
|
11579
|
-
exports.getInlineNotificationCss = getComponentCss$
|
|
11580
|
-
exports.getInputDateCss = getComponentCss$
|
|
11581
|
-
exports.getInputEmailCss = getComponentCss$
|
|
11582
|
-
exports.getInputNumberCss = getComponentCss$
|
|
11583
|
-
exports.getInputPasswordCss = getComponentCss$
|
|
11584
|
-
exports.getInputSearchCss = getComponentCss$
|
|
11585
|
-
exports.getInputTelCss = getComponentCss$
|
|
11586
|
-
exports.getInputTextCss = getComponentCss$
|
|
11587
|
-
exports.getInputTimeCss = getComponentCss$
|
|
11588
|
-
exports.getInputUrlCss = getComponentCss$
|
|
11589
|
-
exports.getLinkCss = getComponentCss$
|
|
11590
|
-
exports.getLinkPureCss = getComponentCss$
|
|
11591
|
-
exports.getLinkSocialCss = getComponentCss$
|
|
11592
|
-
exports.getLinkTileCss = getComponentCss$
|
|
11593
|
-
exports.getLinkTileModelSignatureCss = getComponentCss$
|
|
11594
|
-
exports.getLinkTileProductCss = getComponentCss$
|
|
11595
|
-
exports.getMarqueCss = getComponentCss$
|
|
11596
|
-
exports.getModalCss = getComponentCss$
|
|
11597
|
-
exports.getModelSignatureCss = getComponentCss$
|
|
11598
|
-
exports.getMultiSelectCss = getComponentCss$
|
|
11599
|
-
exports.getMultiSelectOptionCss = getComponentCss$
|
|
11600
|
-
exports.getOptgroupCss = getComponentCss$
|
|
11601
|
-
exports.getPaginationCss = getComponentCss$
|
|
11602
|
-
exports.getPinCodeCss = getComponentCss$
|
|
11603
|
-
exports.getPopoverCss = getComponentCss$
|
|
11604
|
-
exports.getRadioButtonWrapperCss = getComponentCss$
|
|
11605
|
-
exports.
|
|
11867
|
+
exports.getGridCss = getComponentCss$$;
|
|
11868
|
+
exports.getGridItemCss = getComponentCss$10;
|
|
11869
|
+
exports.getHeadingCss = getComponentCss$_;
|
|
11870
|
+
exports.getHeadlineCss = getComponentCss$Z;
|
|
11871
|
+
exports.getIconCss = getComponentCss$Y;
|
|
11872
|
+
exports.getInlineNotificationCss = getComponentCss$X;
|
|
11873
|
+
exports.getInputDateCss = getComponentCss$W;
|
|
11874
|
+
exports.getInputEmailCss = getComponentCss$V;
|
|
11875
|
+
exports.getInputNumberCss = getComponentCss$U;
|
|
11876
|
+
exports.getInputPasswordCss = getComponentCss$T;
|
|
11877
|
+
exports.getInputSearchCss = getComponentCss$S;
|
|
11878
|
+
exports.getInputTelCss = getComponentCss$R;
|
|
11879
|
+
exports.getInputTextCss = getComponentCss$Q;
|
|
11880
|
+
exports.getInputTimeCss = getComponentCss$P;
|
|
11881
|
+
exports.getInputUrlCss = getComponentCss$O;
|
|
11882
|
+
exports.getLinkCss = getComponentCss$M;
|
|
11883
|
+
exports.getLinkPureCss = getComponentCss$N;
|
|
11884
|
+
exports.getLinkSocialCss = getComponentCss$M;
|
|
11885
|
+
exports.getLinkTileCss = getComponentCss$J;
|
|
11886
|
+
exports.getLinkTileModelSignatureCss = getComponentCss$L;
|
|
11887
|
+
exports.getLinkTileProductCss = getComponentCss$K;
|
|
11888
|
+
exports.getMarqueCss = getComponentCss$I;
|
|
11889
|
+
exports.getModalCss = getComponentCss$H;
|
|
11890
|
+
exports.getModelSignatureCss = getComponentCss$G;
|
|
11891
|
+
exports.getMultiSelectCss = getComponentCss$D;
|
|
11892
|
+
exports.getMultiSelectOptionCss = getComponentCss$F;
|
|
11893
|
+
exports.getOptgroupCss = getComponentCss$E;
|
|
11894
|
+
exports.getPaginationCss = getComponentCss$C;
|
|
11895
|
+
exports.getPinCodeCss = getComponentCss$B;
|
|
11896
|
+
exports.getPopoverCss = getComponentCss$A;
|
|
11897
|
+
exports.getRadioButtonWrapperCss = getComponentCss$z;
|
|
11898
|
+
exports.getRadioGroupCss = getComponentCss$x;
|
|
11899
|
+
exports.getRadioGroupOptionCss = getComponentCss$y;
|
|
11900
|
+
exports.getScalingVar = getScalingVar$2;
|
|
11606
11901
|
exports.getScrollerCss = getComponentCss$w;
|
|
11607
11902
|
exports.getSegmentedControlCss = getComponentCss$u;
|
|
11608
11903
|
exports.getSegmentedControlItemCss = getComponentCss$v;
|