@porsche-design-system/components-react 3.31.0 → 3.32.0-rc.1
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 +49 -0
- package/bin/patchRemixRunProcessBrowserGlobalIdentifier.js +0 -0
- package/cjs/hooks.cjs +5 -1
- package/cjs/lib/components/button-group.wrapper.cjs +1 -0
- package/cjs/lib/components/input-month.wrapper.cjs +29 -0
- package/cjs/lib/components/input-search.wrapper.cjs +3 -3
- package/cjs/lib/components/input-week.wrapper.cjs +29 -0
- package/cjs/lib/components/multi-select.wrapper.cjs +2 -1
- package/cjs/lib/components/segmented-control.wrapper.cjs +3 -3
- package/cjs/lib/components/select.wrapper.cjs +2 -1
- package/cjs/lib/components/tag-dismissible.wrapper.cjs +3 -3
- package/cjs/lib/components/textarea.wrapper.cjs +3 -3
- package/cjs/public-api.cjs +4 -0
- package/esm/BaseProps.d.ts +1 -1
- package/esm/hooks.d.ts +3 -0
- package/esm/hooks.mjs +5 -2
- 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 +2 -1
- package/esm/lib/components/button-group.wrapper.mjs +1 -0
- 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 +1 -1
- 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-month.wrapper.d.ts +176 -0
- package/esm/lib/components/input-month.wrapper.mjs +27 -0
- 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 +17 -1
- package/esm/lib/components/input-search.wrapper.mjs +3 -3
- 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/input-week.wrapper.d.ts +176 -0
- package/esm/lib/components/input-week.wrapper.mjs +27 -0
- 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 +10 -2
- package/esm/lib/components/multi-select.wrapper.mjs +2 -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 +1 -1
- package/esm/lib/components/popover.wrapper.d.ts +1 -1
- package/esm/lib/components/radio-button-wrapper.wrapper.d.ts +1 -1
- package/esm/lib/components/radio-group-option.wrapper.d.ts +3 -1
- package/esm/lib/components/radio-group.wrapper.d.ts +1 -1
- 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 +50 -2
- package/esm/lib/components/segmented-control.wrapper.mjs +3 -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 +12 -4
- package/esm/lib/components/select.wrapper.mjs +2 -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 +9 -1
- package/esm/lib/components/tag-dismissible.wrapper.mjs +3 -3
- 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 +11 -3
- package/esm/lib/components/textarea.wrapper.mjs +3 -3
- 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 +19 -0
- package/esm/public-api.mjs +2 -0
- package/package.json +5 -5
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +229 -132
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +4 -13
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/hooks.cjs +5 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/button-group.wrapper.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/input-month.wrapper.cjs +40 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/input-search.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/input-week.wrapper.cjs +40 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/multi-select.wrapper.cjs +2 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/radio-group-option.wrapper.cjs +3 -2
- 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 +4 -5
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/select.wrapper.cjs +2 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/tag-dismissible.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/textarea.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-date.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-email.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-month.cjs +45 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-number.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-password.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-search.cjs +2 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-tel.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-text.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-time.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-url.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-week.cjs +45 -0
- 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/multi-select-option.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.cjs +10 -6
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.cjs +10 -3
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.cjs +9 -3
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.cjs +13 -10
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.cjs +2 -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 +189 -94
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +5 -10
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/hooks.mjs +5 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/button-group.wrapper.mjs +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/input-month.wrapper.mjs +38 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/input-search.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/input-week.wrapper.mjs +38 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/multi-select.wrapper.mjs +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/radio-group-option.wrapper.mjs +3 -2
- 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 +4 -5
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/select.wrapper.mjs +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/tag-dismissible.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/textarea.wrapper.mjs +4 -4
- 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 +3 -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 +2 -2
- 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 +3 -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 +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-email.mjs +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-month.mjs +43 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-number.mjs +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-password.mjs +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-search.mjs +4 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-tel.mjs +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-text.mjs +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-time.mjs +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-url.mjs +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-week.mjs +43 -0
- 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/multi-select-option.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.mjs +11 -7
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.mjs +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.mjs +11 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.mjs +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.mjs +9 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.mjs +14 -11
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.mjs +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.mjs +2 -0
- package/ssr/esm/hooks.d.ts +3 -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 +2 -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 +1 -1
- 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-month.wrapper.d.ts +176 -0
- 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 +17 -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/input-week.wrapper.d.ts +176 -0
- 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 +10 -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 +1 -1
- package/ssr/esm/lib/components/popover.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/radio-button-wrapper.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +3 -1
- package/ssr/esm/lib/components/radio-group.wrapper.d.ts +1 -1
- 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 +50 -2
- 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 +12 -4
- 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 +9 -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 +11 -3
- 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-group.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/input-month.d.ts +19 -0
- package/ssr/esm/lib/dsr-components/input-week.d.ts +19 -0
- package/ssr/esm/lib/dsr-components/multi-select.d.ts +5 -2
- package/ssr/esm/lib/dsr-components/radio-group-option.d.ts +5 -0
- package/ssr/esm/lib/dsr-components/segmented-control.d.ts +3 -0
- package/ssr/esm/lib/dsr-components/select.d.ts +6 -3
- package/ssr/esm/lib/types.d.ts +19 -0
|
@@ -3631,7 +3631,7 @@ const hasShowPickerSupport = () => (hasDocument &&
|
|
|
3631
3631
|
'showPicker' in HTMLInputElement.prototype &&
|
|
3632
3632
|
CSS.supports('selector(::-webkit-calendar-picker-indicator)'));
|
|
3633
3633
|
|
|
3634
|
-
const prefix = `[Porsche Design System v${"3.
|
|
3634
|
+
const prefix = `[Porsche Design System v${"3.32.0-rc.1"}]` // this part isn't covered by unit tests
|
|
3635
3635
|
;
|
|
3636
3636
|
const consoleError = (...messages) => {
|
|
3637
3637
|
console.error(prefix, ...messages); // eslint-disable-line no-console
|
|
@@ -4027,7 +4027,7 @@ const forcedColorsMediaQuery = (style) => {
|
|
|
4027
4027
|
/**
|
|
4028
4028
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
4029
4029
|
*/
|
|
4030
|
-
const getComponentCss$
|
|
4030
|
+
const getComponentCss$1p = (size, compact, open, theme, sticky) => {
|
|
4031
4031
|
const { primaryColor, hoverColor, contrastLowColor, backgroundColor } = getThemedColors(theme);
|
|
4032
4032
|
const { primaryColor: primaryColorDark, hoverColor: hoverColorDark, contrastLowColor: contrastLowColorDark, backgroundColor: backgroundColorDark, } = getThemedColors('dark');
|
|
4033
4033
|
const cssVariablePositionStickyTop = '--p-accordion-position-sticky-top';
|
|
@@ -4199,7 +4199,7 @@ const cssVariableTop = '--p-banner-position-top';
|
|
|
4199
4199
|
const cssVariableBottom = '--p-banner-position-bottom';
|
|
4200
4200
|
const cssVariableZIndex = '--p-internal-banner-z-index';
|
|
4201
4201
|
const topBottomFallback = '56px';
|
|
4202
|
-
const getComponentCss$
|
|
4202
|
+
const getComponentCss$1o = (isOpen) => {
|
|
4203
4203
|
return getCss({
|
|
4204
4204
|
'@global': {
|
|
4205
4205
|
':host': {
|
|
@@ -4271,7 +4271,7 @@ const getGroupDirectionJssStyles = (direction) => {
|
|
|
4271
4271
|
return groupDirectionJssStyles[direction];
|
|
4272
4272
|
};
|
|
4273
4273
|
|
|
4274
|
-
const getComponentCss$
|
|
4274
|
+
const getComponentCss$1n = (direction) => {
|
|
4275
4275
|
return getCss({
|
|
4276
4276
|
'@global': {
|
|
4277
4277
|
':host': {
|
|
@@ -4428,7 +4428,7 @@ const getFunctionalComponentLoadingMessageStyles = () => {
|
|
|
4428
4428
|
/**
|
|
4429
4429
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
4430
4430
|
*/
|
|
4431
|
-
const getComponentCss$
|
|
4431
|
+
const getComponentCss$1m = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, underline, theme) => {
|
|
4432
4432
|
const hasIcon = hasVisibleIcon(icon, iconSource);
|
|
4433
4433
|
return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, underline, false, theme), {
|
|
4434
4434
|
root: {
|
|
@@ -4470,7 +4470,7 @@ const getFontWeight = (weight) => {
|
|
|
4470
4470
|
/**
|
|
4471
4471
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
4472
4472
|
*/
|
|
4473
|
-
const getComponentCss$
|
|
4473
|
+
const getComponentCss$1l = (isDisabledOrLoading, aspectRatio, size, weight, background, align, compact, hasGradient, hasFooterSlot, isDisabled) => {
|
|
4474
4474
|
const isTopAligned = align === 'top';
|
|
4475
4475
|
return getCss({
|
|
4476
4476
|
'@global': {
|
|
@@ -4763,7 +4763,7 @@ const getDisabledColors = (variant, loading, theme) => {
|
|
|
4763
4763
|
/**
|
|
4764
4764
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
4765
4765
|
*/
|
|
4766
|
-
const getComponentCss$
|
|
4766
|
+
const getComponentCss$1k = (icon, iconSource, variant, hideLabel, disabled, loading, compact, theme) => {
|
|
4767
4767
|
const disabledOrLoading = isDisabledOrLoading(disabled, loading);
|
|
4768
4768
|
const { textColor, borderColor, backgroundColor } = getDisabledColors(variant, loading, theme);
|
|
4769
4769
|
const { textColor: textColorDark, borderColor: borderColorDark, backgroundColor: backgroundColorDark, } = getDisabledColors(variant, loading, 'dark');
|
|
@@ -4839,7 +4839,7 @@ const mediaQueryS$1 = getMediaQueryMin('s');
|
|
|
4839
4839
|
const mediaQueryM = getMediaQueryMin('m');
|
|
4840
4840
|
// others
|
|
4841
4841
|
const spacingBase = gridGap.replace('36px', '24px');
|
|
4842
|
-
const getComponentCss$
|
|
4842
|
+
const getComponentCss$1j = (theme, isSidebarStartOpen, isSidebarEndOpen) => {
|
|
4843
4843
|
const { primaryColor, backgroundColor, backgroundSurfaceColor, contrastLowColor } = getThemedColors(theme);
|
|
4844
4844
|
const { primaryColor: primaryColorDark, backgroundColor: backgroundColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, contrastLowColor: contrastLowColorDark, } = getThemedColors('dark');
|
|
4845
4845
|
return getCss({
|
|
@@ -5222,7 +5222,7 @@ const getGradient = (theme, gradientColorTheme) => {
|
|
|
5222
5222
|
/**
|
|
5223
5223
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
5224
5224
|
*/
|
|
5225
|
-
const getComponentCss$
|
|
5225
|
+
const getComponentCss$1i = (gradientColor, hasHeading, hasDescription, hasControlsSlot, headingSize, width, hasPagination, isInfinitePagination, alignHeader, theme, hasNavigation, alignControls) => {
|
|
5226
5226
|
const { primaryColor, contrastMediumColor } = getThemedColors(theme);
|
|
5227
5227
|
const { primaryColor: primaryColorDark, contrastMediumColor: contrastMediumColorDark } = getThemedColors('dark');
|
|
5228
5228
|
const { canvasTextColor } = getHighContrastColors();
|
|
@@ -5684,7 +5684,7 @@ const getIndeterminateSVGBackgroundImage$1 = (fill) => {
|
|
|
5684
5684
|
/**
|
|
5685
5685
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
5686
5686
|
*/
|
|
5687
|
-
const getComponentCss$
|
|
5687
|
+
const getComponentCss$1h = (hideLabel, state, isDisabled, isLoading, theme) => {
|
|
5688
5688
|
const checkedIconColor = escapeHashCharacter(getInvertedThemedColors(theme).primaryColor);
|
|
5689
5689
|
const checkedIconColorDark = escapeHashCharacter(getInvertedThemedColors('dark').primaryColor);
|
|
5690
5690
|
const indeterminateIconColor = escapeHashCharacter(getThemedColors(theme).primaryColor);
|
|
@@ -5890,7 +5890,7 @@ const getIndeterminateSVGBackgroundImage = (fill) => {
|
|
|
5890
5890
|
/**
|
|
5891
5891
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
5892
5892
|
*/
|
|
5893
|
-
const getComponentCss$
|
|
5893
|
+
const getComponentCss$1g = (hideLabel, state, isDisabled, isLoading, compact, theme) => {
|
|
5894
5894
|
const { primaryColor, contrastMediumColor, contrastHighColor, disabledColor, focusColor } = getThemedColors(theme);
|
|
5895
5895
|
const { primaryColor: primaryColorDark, contrastMediumColor: contrastMediumColorDark, contrastHighColor: contrastHighColorDark, disabledColor: disabledColorDark, focusColor: focusColorDark, } = getThemedColors('dark');
|
|
5896
5896
|
const { formStateColor, formStateHoverColor } = getThemedFormStateColors(theme, state);
|
|
@@ -6182,7 +6182,7 @@ const getUnitCounterJssStyle = (isDisabled, isReadonly, theme) => {
|
|
|
6182
6182
|
const cssVarInternalInputBaseScaling = '--p-internal-input-base-scaling';
|
|
6183
6183
|
// Determines the scaling factor for the input-number size. In "compact" mode, it uses 0.5 to achieve a 36px input-number (compact size).
|
|
6184
6184
|
// Defaults to 1 for the standard size and can be overridden by the CSS variable `cssVarInternalInputBaseScaling`.
|
|
6185
|
-
const getScalingVar$
|
|
6185
|
+
const getScalingVar$4 = (compact) => `var(${cssVarInternalInputBaseScaling}, ${compact ? 0.5 : 1})`;
|
|
6186
6186
|
/**
|
|
6187
6187
|
* @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."}
|
|
6188
6188
|
*/
|
|
@@ -6192,7 +6192,7 @@ const cssVarButtonPurePadding = '--ref-p-input-slotted-padding';
|
|
|
6192
6192
|
*/
|
|
6193
6193
|
const cssVarButtonPureMargin = '--ref-p-input-slotted-margin';
|
|
6194
6194
|
const getFunctionalComponentInputBaseStyles = (disabled, loading, hideLabel, state, compact, readOnly, theme, additionalInputJssStyle) => {
|
|
6195
|
-
const scalingVar = getScalingVar$
|
|
6195
|
+
const scalingVar = getScalingVar$4(compact);
|
|
6196
6196
|
const paddingBlock = `max(2px, ${formElementPaddingVertical} * ${scalingVar})`;
|
|
6197
6197
|
const paddingInline = `max(2px, ${formElementPaddingHorizontal} * ${scalingVar})`;
|
|
6198
6198
|
const height = `max(${fontLineHeight}, ${scalingVar} * (${fontLineHeight} + 10px))`;
|
|
@@ -6505,6 +6505,13 @@ optionHeight, theme) => {
|
|
|
6505
6505
|
};
|
|
6506
6506
|
};
|
|
6507
6507
|
|
|
6508
|
+
const getSelectedSlotJssStyle = {
|
|
6509
|
+
display: 'block',
|
|
6510
|
+
height: '100%',
|
|
6511
|
+
flexGrow: 1,
|
|
6512
|
+
overflow: 'hidden',
|
|
6513
|
+
};
|
|
6514
|
+
|
|
6508
6515
|
const getFunctionalComponentNoResultsOptionStyles = (componentName, cssVarScaling, // "1" is needed for components not yet supporting compact mode
|
|
6509
6516
|
theme) => {
|
|
6510
6517
|
const { contrastMediumColor } = getThemedColors(theme);
|
|
@@ -6529,7 +6536,7 @@ const widthMap = {
|
|
|
6529
6536
|
basic: gridBasicOffset,
|
|
6530
6537
|
extended: gridExtendedOffset,
|
|
6531
6538
|
};
|
|
6532
|
-
const getComponentCss$
|
|
6539
|
+
const getComponentCss$1f = (width) => {
|
|
6533
6540
|
return getCss({
|
|
6534
6541
|
'@global': {
|
|
6535
6542
|
':host': {
|
|
@@ -6571,7 +6578,7 @@ const getDimensionStyle = {
|
|
|
6571
6578
|
width: 'inherit',
|
|
6572
6579
|
height: 'inherit',
|
|
6573
6580
|
};
|
|
6574
|
-
const getComponentCss$
|
|
6581
|
+
const getComponentCss$1e = () => {
|
|
6575
6582
|
return getCss({
|
|
6576
6583
|
'@global': {
|
|
6577
6584
|
':host': {
|
|
@@ -6670,7 +6677,7 @@ const sizeMap$5 = {
|
|
|
6670
6677
|
medium: fontSizeDisplayMedium,
|
|
6671
6678
|
large: fontSizeDisplayLarge,
|
|
6672
6679
|
};
|
|
6673
|
-
const getComponentCss$
|
|
6680
|
+
const getComponentCss$1d = (size, align, color, ellipsis, theme) => {
|
|
6674
6681
|
return getCss({
|
|
6675
6682
|
'@global': {
|
|
6676
6683
|
':host': {
|
|
@@ -6688,7 +6695,7 @@ const getComponentCss$1b = (size, align, color, ellipsis, theme) => {
|
|
|
6688
6695
|
});
|
|
6689
6696
|
};
|
|
6690
6697
|
|
|
6691
|
-
const getComponentCss$
|
|
6698
|
+
const getComponentCss$1c = (color, orientation, theme) => {
|
|
6692
6699
|
const { contrastLowColor, contrastMediumColor, contrastHighColor } = getThemedColors(theme);
|
|
6693
6700
|
const { contrastLowColor: contrastLowColorDark, contrastMediumColor: contrastMediumColorDark, contrastHighColor: contrastHighColorDark, } = getThemedColors('dark');
|
|
6694
6701
|
const colorMap = {
|
|
@@ -6749,7 +6756,7 @@ const easingOpen = 'in';
|
|
|
6749
6756
|
const dialogDurationClose = 'short';
|
|
6750
6757
|
const backdropDurationClose = 'moderate';
|
|
6751
6758
|
const easingClose = 'out';
|
|
6752
|
-
const getComponentCss$
|
|
6759
|
+
const getComponentCss$1b = (isOpen, isPrimary, isSecondaryScrollerVisible, theme) => {
|
|
6753
6760
|
const { primaryColor, backgroundColor, backgroundSurfaceColor, backgroundShadingColor } = getThemedColors(theme);
|
|
6754
6761
|
const { primaryColor: primaryColorDark, backgroundColor: backgroundColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, backgroundShadingColor: backgroundShadingColorDark, } = getThemedColors('dark');
|
|
6755
6762
|
return getCss({
|
|
@@ -6996,7 +7003,7 @@ const getComponentCss$19 = (isOpen, isPrimary, isSecondaryScrollerVisible, theme
|
|
|
6996
7003
|
});
|
|
6997
7004
|
};
|
|
6998
7005
|
|
|
6999
|
-
const getComponentCss$
|
|
7006
|
+
const getComponentCss$1a = (isPrimary, isSecondary, isCascade) => {
|
|
7000
7007
|
return getCss({
|
|
7001
7008
|
'@global': {
|
|
7002
7009
|
'@keyframes slide-up-mobile': {
|
|
@@ -7227,7 +7234,7 @@ const getComponentCss$18 = (isPrimary, isSecondary, isCascade) => {
|
|
|
7227
7234
|
});
|
|
7228
7235
|
};
|
|
7229
7236
|
|
|
7230
|
-
const getComponentCss$
|
|
7237
|
+
const getComponentCss$19 = (hasSlottedAnchor, isActive) => {
|
|
7231
7238
|
const anchorJssStyle = {
|
|
7232
7239
|
all: 'unset',
|
|
7233
7240
|
padding: `calc(${spacingFluidSmall} + 2px) calc(${spacingFluidSmall} + 4px)`, // aligned with link-pure
|
|
@@ -7279,7 +7286,7 @@ const getComponentCss$17 = (hasSlottedAnchor, isActive) => {
|
|
|
7279
7286
|
});
|
|
7280
7287
|
};
|
|
7281
7288
|
|
|
7282
|
-
const getComponentCss$
|
|
7289
|
+
const getComponentCss$18 = (state, labelSize, hasLabel, theme) => {
|
|
7283
7290
|
return getCss({
|
|
7284
7291
|
'@global': {
|
|
7285
7292
|
':host': {
|
|
@@ -7316,7 +7323,7 @@ const getComponentCss$16 = (state, labelSize, hasLabel, theme) => {
|
|
|
7316
7323
|
});
|
|
7317
7324
|
};
|
|
7318
7325
|
|
|
7319
|
-
const getComponentCss$
|
|
7326
|
+
const getComponentCss$17 = (state, labelSize, hasLabel, theme) => {
|
|
7320
7327
|
return getCss({
|
|
7321
7328
|
'@global': {
|
|
7322
7329
|
':host': {
|
|
@@ -7361,7 +7368,7 @@ const sizeMap$4 = {
|
|
|
7361
7368
|
large: fontSizeTextLarge,
|
|
7362
7369
|
'x-large': fontSizeTextXLarge,
|
|
7363
7370
|
};
|
|
7364
|
-
const getComponentCss$
|
|
7371
|
+
const getComponentCss$16 = (size) => {
|
|
7365
7372
|
return getCss({
|
|
7366
7373
|
'@global': {
|
|
7367
7374
|
':host': {
|
|
@@ -7403,7 +7410,7 @@ const flexItemWidths = {
|
|
|
7403
7410
|
full: 100,
|
|
7404
7411
|
auto: 'auto',
|
|
7405
7412
|
};
|
|
7406
|
-
const getComponentCss$
|
|
7413
|
+
const getComponentCss$15 = (width, offset, alignSelf, grow, shrink, flex) => {
|
|
7407
7414
|
return getCss({
|
|
7408
7415
|
'@global': {
|
|
7409
7416
|
':host': addImportantToEachRule({
|
|
@@ -7425,7 +7432,7 @@ const getComponentCss$13 = (width, offset, alignSelf, grow, shrink, flex) => {
|
|
|
7425
7432
|
});
|
|
7426
7433
|
};
|
|
7427
7434
|
|
|
7428
|
-
const getComponentCss$
|
|
7435
|
+
const getComponentCss$14 = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
|
|
7429
7436
|
return getCss({
|
|
7430
7437
|
'@global': {
|
|
7431
7438
|
':host': {
|
|
@@ -7622,7 +7629,7 @@ const cssVarRefPaddingTop = '--ref-p-flyout-pt';
|
|
|
7622
7629
|
const cssVarRefPaddingInline = '--ref-p-flyout-px';
|
|
7623
7630
|
// TODO: we shouldn't expose --p-flyout-max-width
|
|
7624
7631
|
const cssVariableMaxWidth = '--p-flyout-max-width';
|
|
7625
|
-
const getComponentCss$
|
|
7632
|
+
const getComponentCss$13 = (isOpen, backdrop, position, hasHeader, hasFooter, hasSubFooter, footerBehavior, theme) => {
|
|
7626
7633
|
const isPositionStart = position === 'start' || position === 'left';
|
|
7627
7634
|
const isFooterFixed = footerBehavior === 'fixed';
|
|
7628
7635
|
return getCss({
|
|
@@ -7734,7 +7741,7 @@ const gutter$1 = `calc(${gridGap} / 2)`;
|
|
|
7734
7741
|
const gridItemWidths = [
|
|
7735
7742
|
0, 8.333333, 16.666667, 25, 33.333333, 41.666667, 50, 58.333333, 66.666667, 75, 83.333333, 91.666667, 100,
|
|
7736
7743
|
];
|
|
7737
|
-
const getComponentCss$
|
|
7744
|
+
const getComponentCss$12 = (size, offset) => {
|
|
7738
7745
|
return getCss({
|
|
7739
7746
|
'@global': {
|
|
7740
7747
|
':host': addImportantToEachRule({
|
|
@@ -7754,7 +7761,7 @@ const getComponentCss$10 = (size, offset) => {
|
|
|
7754
7761
|
};
|
|
7755
7762
|
|
|
7756
7763
|
const gutter = `calc(${gridGap} / -2)`;
|
|
7757
|
-
const getComponentCss
|
|
7764
|
+
const getComponentCss$11 = (direction, wrap) => {
|
|
7758
7765
|
return getCss({
|
|
7759
7766
|
'@global': {
|
|
7760
7767
|
':host': {
|
|
@@ -7780,7 +7787,7 @@ const sizeMap$3 = {
|
|
|
7780
7787
|
'x-large': fontSizeHeadingXLarge,
|
|
7781
7788
|
'xx-large': fontSizeHeadingXXLarge,
|
|
7782
7789
|
};
|
|
7783
|
-
const getComponentCss$
|
|
7790
|
+
const getComponentCss$10 = (size, align, color, ellipsis, theme) => {
|
|
7784
7791
|
return getCss({
|
|
7785
7792
|
'@global': {
|
|
7786
7793
|
':host': {
|
|
@@ -7840,7 +7847,7 @@ const getTextSizeJssStyle = (textSize) => {
|
|
|
7840
7847
|
fontSize: textSize === 'inherit' ? textSize : textSizeMap[textSize],
|
|
7841
7848
|
};
|
|
7842
7849
|
};
|
|
7843
|
-
const getComponentCss
|
|
7850
|
+
const getComponentCss$$ = (variant, align, color, ellipsis, theme) => {
|
|
7844
7851
|
return getCss({
|
|
7845
7852
|
'@global': {
|
|
7846
7853
|
':host': {
|
|
@@ -7951,7 +7958,7 @@ const isFlippableIcon = (name, source) => {
|
|
|
7951
7958
|
name === 'return' ||
|
|
7952
7959
|
name === 'send'));
|
|
7953
7960
|
};
|
|
7954
|
-
const getComponentCss$
|
|
7961
|
+
const getComponentCss$_ = (name, source, color, size, theme) => {
|
|
7955
7962
|
const isColorInherit = color === 'inherit';
|
|
7956
7963
|
const isSizeInherit = size === 'inherit';
|
|
7957
7964
|
const isDark = isThemeDark(theme);
|
|
@@ -8074,7 +8081,7 @@ const getHeadingJssStyle = (theme) => ({
|
|
|
8074
8081
|
/**
|
|
8075
8082
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8076
8083
|
*/
|
|
8077
|
-
const getComponentCss$
|
|
8084
|
+
const getComponentCss$Z = (state, hasAction, hasClose, theme) => {
|
|
8078
8085
|
return getCss({
|
|
8079
8086
|
'@global': {
|
|
8080
8087
|
':host': {
|
|
@@ -8125,7 +8132,7 @@ const getComponentCss$X = (state, hasAction, hasClose, theme) => {
|
|
|
8125
8132
|
/**
|
|
8126
8133
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8127
8134
|
*/
|
|
8128
|
-
const getComponentCss$
|
|
8135
|
+
const getComponentCss$Y = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8129
8136
|
return getCss({
|
|
8130
8137
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8131
8138
|
textOverflow: 'ellipsis',
|
|
@@ -8152,7 +8159,7 @@ const getComponentCss$W = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8152
8159
|
/**
|
|
8153
8160
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8154
8161
|
*/
|
|
8155
|
-
const getComponentCss$
|
|
8162
|
+
const getComponentCss$X = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8156
8163
|
return getCss({
|
|
8157
8164
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8158
8165
|
textOverflow: 'ellipsis',
|
|
@@ -8176,7 +8183,34 @@ const getComponentCss$V = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8176
8183
|
/**
|
|
8177
8184
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8178
8185
|
*/
|
|
8179
|
-
const getComponentCss$
|
|
8186
|
+
const getComponentCss$W = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8187
|
+
return getCss({
|
|
8188
|
+
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8189
|
+
textOverflow: 'ellipsis',
|
|
8190
|
+
MozAppearance: 'textfield',
|
|
8191
|
+
'&::-webkit-calendar-picker-indicator': {
|
|
8192
|
+
display: 'none',
|
|
8193
|
+
},
|
|
8194
|
+
}),
|
|
8195
|
+
button: {
|
|
8196
|
+
padding: `var(${cssVarButtonPurePadding})`,
|
|
8197
|
+
margin: `var(${cssVarButtonPureMargin})`,
|
|
8198
|
+
},
|
|
8199
|
+
});
|
|
8200
|
+
};
|
|
8201
|
+
|
|
8202
|
+
// CSS Variables defined in base input
|
|
8203
|
+
/**
|
|
8204
|
+
* @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."}
|
|
8205
|
+
*/
|
|
8206
|
+
/**
|
|
8207
|
+
* @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."}
|
|
8208
|
+
*/
|
|
8209
|
+
// CSS Variable defined in fontHyphenationStyle
|
|
8210
|
+
/**
|
|
8211
|
+
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8212
|
+
*/
|
|
8213
|
+
const getComponentCss$V = (disabled, loading, hideLabel, state, compact, readOnly, theme, controls) => {
|
|
8180
8214
|
return getCss({
|
|
8181
8215
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8182
8216
|
textOverflow: 'ellipsis',
|
|
@@ -8205,7 +8239,7 @@ const getComponentCss$U = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8205
8239
|
/**
|
|
8206
8240
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8207
8241
|
*/
|
|
8208
|
-
const getComponentCss$
|
|
8242
|
+
const getComponentCss$U = (disabled, loading, hideLabel, state, toggle, compact, readOnly, theme) => {
|
|
8209
8243
|
return getCss({
|
|
8210
8244
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8211
8245
|
'&[type="text"]': {
|
|
@@ -8232,7 +8266,7 @@ const getComponentCss$T = (disabled, loading, hideLabel, state, toggle, compact,
|
|
|
8232
8266
|
/**
|
|
8233
8267
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8234
8268
|
*/
|
|
8235
|
-
const getComponentCss$
|
|
8269
|
+
const getComponentCss$T = (disabled, loading, hideLabel, state, compact, readOnly, theme, clear) => {
|
|
8236
8270
|
return getCss({
|
|
8237
8271
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8238
8272
|
textOverflow: 'ellipsis',
|
|
@@ -8260,7 +8294,7 @@ const getComponentCss$S = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8260
8294
|
/**
|
|
8261
8295
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8262
8296
|
*/
|
|
8263
|
-
const getComponentCss$
|
|
8297
|
+
const getComponentCss$S = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8264
8298
|
return getCss({
|
|
8265
8299
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8266
8300
|
textOverflow: 'ellipsis',
|
|
@@ -8284,7 +8318,7 @@ const getComponentCss$R = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8284
8318
|
/**
|
|
8285
8319
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8286
8320
|
*/
|
|
8287
|
-
const getComponentCss$
|
|
8321
|
+
const getComponentCss$R = (disabled, loading, hideLabel, state, compact, readOnly, theme, counter) => {
|
|
8288
8322
|
return getCss({
|
|
8289
8323
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8290
8324
|
textOverflow: 'ellipsis',
|
|
@@ -8314,7 +8348,7 @@ const getComponentCss$Q = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8314
8348
|
/**
|
|
8315
8349
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8316
8350
|
*/
|
|
8317
|
-
const getComponentCss$
|
|
8351
|
+
const getComponentCss$Q = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8318
8352
|
return getCss({
|
|
8319
8353
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8320
8354
|
textOverflow: 'ellipsis',
|
|
@@ -8341,7 +8375,7 @@ const getComponentCss$P = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8341
8375
|
/**
|
|
8342
8376
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8343
8377
|
*/
|
|
8344
|
-
const getComponentCss$
|
|
8378
|
+
const getComponentCss$P = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8345
8379
|
return getCss({
|
|
8346
8380
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8347
8381
|
textOverflow: 'ellipsis',
|
|
@@ -8354,6 +8388,33 @@ const getComponentCss$O = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8354
8388
|
});
|
|
8355
8389
|
};
|
|
8356
8390
|
|
|
8391
|
+
// CSS Variables defined in base input
|
|
8392
|
+
/**
|
|
8393
|
+
* @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."}
|
|
8394
|
+
*/
|
|
8395
|
+
/**
|
|
8396
|
+
* @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."}
|
|
8397
|
+
*/
|
|
8398
|
+
// CSS Variable defined in fontHyphenationStyle
|
|
8399
|
+
/**
|
|
8400
|
+
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8401
|
+
*/
|
|
8402
|
+
const getComponentCss$O = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8403
|
+
return getCss({
|
|
8404
|
+
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8405
|
+
textOverflow: 'ellipsis',
|
|
8406
|
+
MozAppearance: 'textfield',
|
|
8407
|
+
'&::-webkit-calendar-picker-indicator': {
|
|
8408
|
+
display: 'none',
|
|
8409
|
+
},
|
|
8410
|
+
}),
|
|
8411
|
+
button: {
|
|
8412
|
+
padding: `var(${cssVarButtonPurePadding})`,
|
|
8413
|
+
margin: `var(${cssVarButtonPureMargin})`,
|
|
8414
|
+
},
|
|
8415
|
+
});
|
|
8416
|
+
};
|
|
8417
|
+
|
|
8357
8418
|
// CSS Variable defined in fontHyphenationStyle
|
|
8358
8419
|
/**
|
|
8359
8420
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
@@ -9136,9 +9197,6 @@ const getComponentCss$F = (theme, isDisabled, selected) => {
|
|
|
9136
9197
|
[`${cssVarInternalCheckboxScaling}`]: `var(${cssVarInternalMultiSelectOptionScaling})`,
|
|
9137
9198
|
}),
|
|
9138
9199
|
},
|
|
9139
|
-
slot: {
|
|
9140
|
-
display: 'block',
|
|
9141
|
-
},
|
|
9142
9200
|
},
|
|
9143
9201
|
option: getOptionJssStyle('multi-select-option', `var(${cssVarInternalMultiSelectOptionScaling}, 1)`, theme),
|
|
9144
9202
|
'checkbox-wrapper': {
|
|
@@ -9222,6 +9280,8 @@ const getComponentCss$D = (isOpen, isDisabled, hideLabel, state, compact, theme)
|
|
|
9222
9280
|
'& span': getButtonLabelJssStyle,
|
|
9223
9281
|
},
|
|
9224
9282
|
'[popover]': getPopoverJssStyle(isOpen, scalingVar, 44, theme),
|
|
9283
|
+
'::slotted([slot="filter"])': addImportantToEachRule(getFilterJssStyle(scalingVar, theme)),
|
|
9284
|
+
'slot[name="selected"]': getSelectedSlotJssStyle,
|
|
9225
9285
|
},
|
|
9226
9286
|
root: {
|
|
9227
9287
|
display: 'grid',
|
|
@@ -9388,13 +9448,13 @@ const removeStyles = (selector, styles) => Object.fromEntries(Object.entries(sty
|
|
|
9388
9448
|
}));
|
|
9389
9449
|
|
|
9390
9450
|
const cssVarInternalPinCodeScaling = '--p-internal-pin-code-scaling';
|
|
9391
|
-
const getScalingVar$
|
|
9451
|
+
const getScalingVar$3 = (compact) => `var(${cssVarInternalPinCodeScaling}, ${compact ? 0.5 : 1})`;
|
|
9392
9452
|
// CSS Variable defined in fontHyphenationStyle
|
|
9393
9453
|
/**
|
|
9394
9454
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
9395
9455
|
*/
|
|
9396
9456
|
const getComponentCss$B = (hideLabel, state, isDisabled, isLoading, length, compact, theme) => {
|
|
9397
|
-
const scalingVar = getScalingVar$
|
|
9457
|
+
const scalingVar = getScalingVar$3(compact);
|
|
9398
9458
|
const dimension = `max(${fontLineHeight}, ${scalingVar} * (${fontLineHeight} + 10px))`;
|
|
9399
9459
|
const gap = `max(${spacingStaticXSmall}, ${scalingVar} * ${spacingStaticSmall})`;
|
|
9400
9460
|
const paddingBlock = `max(2px, ${formElementPaddingVertical} * ${scalingVar})`;
|
|
@@ -9864,16 +9924,6 @@ const getRadioGroupDirectionJssStyles = (direction) => {
|
|
|
9864
9924
|
*/
|
|
9865
9925
|
const getComponentCss$x = (disabled, loading, hideLabel, state, compact, direction, theme) => {
|
|
9866
9926
|
const scalingVar = `var(${cssVarInternalRadioGroupScaling}, ${compact ? 0.6668 : 1})`;
|
|
9867
|
-
const { primaryColor } = getThemedColors(theme);
|
|
9868
|
-
const { primaryColor: primaryColorDark } = getThemedColors('dark');
|
|
9869
|
-
const { formStateHoverColor } = getThemedFormStateColors(theme, state);
|
|
9870
|
-
const { formStateHoverColor: formStateHoverColorDark } = getThemedFormStateColors('dark', state);
|
|
9871
|
-
const hoverStyles = {
|
|
9872
|
-
borderColor: formStateHoverColor || primaryColor,
|
|
9873
|
-
...prefersColorSchemeDarkMediaQuery(theme, {
|
|
9874
|
-
borderColor: formStateHoverColorDark || primaryColorDark,
|
|
9875
|
-
}),
|
|
9876
|
-
};
|
|
9877
9927
|
const dimension = `max(${fontLineHeight}, ${scalingVar} * (${fontLineHeight} + 10px))`;
|
|
9878
9928
|
const columnGap = `max(${spacingStaticSmall}, ${scalingVar} * ${spacingStaticMedium})`;
|
|
9879
9929
|
const rowGap = `max(${spacingStaticXSmall}, ${scalingVar} * ${spacingStaticSmall})`;
|
|
@@ -9914,12 +9964,8 @@ const getComponentCss$x = (disabled, loading, hideLabel, state, compact, directi
|
|
|
9914
9964
|
},
|
|
9915
9965
|
}),
|
|
9916
9966
|
// .label / .required
|
|
9917
|
-
...getFunctionalComponentLabelStyles(disabled, hideLabel, theme,
|
|
9918
|
-
|
|
9919
|
-
'&:hover~.wrapper': hoverStyles,
|
|
9920
|
-
}),
|
|
9921
|
-
cursor: 'inherit', // the label is not clickable
|
|
9922
|
-
}, {
|
|
9967
|
+
...getFunctionalComponentLabelStyles(disabled, hideLabel, theme, {
|
|
9968
|
+
cursor: 'inherit',
|
|
9923
9969
|
'&:is(legend)': {
|
|
9924
9970
|
marginBottom: spacingStaticXSmall, // this fixes a known layout bug of the legend element (in all browsers) when the parent fieldset is a flex or grid container
|
|
9925
9971
|
},
|
|
@@ -10046,14 +10092,15 @@ const getComponentCss$w = (isNextHidden, isPrevHidden, alignScrollIndicator, has
|
|
|
10046
10092
|
};
|
|
10047
10093
|
|
|
10048
10094
|
const cssVarInternalSegmentedControlScaling = '--p-internal-segmented-control-scaling';
|
|
10049
|
-
const getScalingVar = (compact) => `var(${cssVarInternalSegmentedControlScaling}, ${compact ? 0.5 : 1})`;
|
|
10095
|
+
const getScalingVar$2 = (compact) => `var(${cssVarInternalSegmentedControlScaling}, ${compact ? 0.5 : 1})`;
|
|
10050
10096
|
const ICON_OFFSET = '4px';
|
|
10051
10097
|
const { font: BUTTON_FONT } = textSmallStyle;
|
|
10052
10098
|
const ICON_SIZE = '1.5rem';
|
|
10053
10099
|
const ICON_MARGIN = '.25rem';
|
|
10054
|
-
const getColors$2 = (isDisabled, isSelected, theme) => {
|
|
10100
|
+
const getColors$2 = (isDisabled, isSelected, state, theme) => {
|
|
10055
10101
|
const { primaryColor, contrastMediumColor, disabledColor, contrastLowColor } = getThemedColors(theme);
|
|
10056
10102
|
const { highlightColor } = getHighContrastColors();
|
|
10103
|
+
const { formStateColor, formStateHoverColor } = getThemedFormStateColors(theme, state);
|
|
10057
10104
|
return {
|
|
10058
10105
|
buttonColor: isDisabled ? disabledColor : primaryColor,
|
|
10059
10106
|
labelColor: isDisabled ? disabledColor : contrastMediumColor,
|
|
@@ -10062,13 +10109,17 @@ const getColors$2 = (isDisabled, isSelected, theme) => {
|
|
|
10062
10109
|
? disabledColor
|
|
10063
10110
|
: isHighContrastMode
|
|
10064
10111
|
? highlightColor
|
|
10065
|
-
:
|
|
10066
|
-
|
|
10067
|
-
|
|
10112
|
+
: state === 'success'
|
|
10113
|
+
? formStateColor
|
|
10114
|
+
: primaryColor
|
|
10115
|
+
: state === 'error'
|
|
10116
|
+
? formStateColor
|
|
10117
|
+
: contrastLowColor,
|
|
10118
|
+
hoverBorderColor: state === 'error' ? formStateHoverColor : primaryColor,
|
|
10068
10119
|
};
|
|
10069
10120
|
};
|
|
10070
10121
|
const getScalableItemStyles = (hasIconAndSlottedContent, compact) => {
|
|
10071
|
-
const scalingVar = getScalingVar(compact);
|
|
10122
|
+
const scalingVar = getScalingVar$2(compact);
|
|
10072
10123
|
const verticalPadding = `max(2px, ${formElementPaddingVertical} * ${scalingVar})`;
|
|
10073
10124
|
const horizontalPadding = `calc(${verticalPadding} + ${ICON_OFFSET})`;
|
|
10074
10125
|
const padding = hasIconAndSlottedContent
|
|
@@ -10081,9 +10132,9 @@ const getScalableItemStyles = (hasIconAndSlottedContent, compact) => {
|
|
|
10081
10132
|
/**
|
|
10082
10133
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
10083
10134
|
*/
|
|
10084
|
-
const getComponentCss$v = (compact, isDisabled, isSelected, hasIcon, hasSlottedContent, theme) => {
|
|
10085
|
-
const { buttonColor, labelColor, borderColor, hoverBorderColor } = getColors$2(isDisabled, isSelected, theme);
|
|
10086
|
-
const { buttonColor: buttonColorDark, labelColor: labelColorDark, borderColor: borderColorDark, hoverBorderColor: hoverBorderColorDark, } = getColors$2(isDisabled, isSelected, 'dark');
|
|
10135
|
+
const getComponentCss$v = (compact, isDisabled, isSelected, state, hasIcon, hasSlottedContent, theme) => {
|
|
10136
|
+
const { buttonColor, labelColor, borderColor, hoverBorderColor } = getColors$2(isDisabled, isSelected, state, theme);
|
|
10137
|
+
const { buttonColor: buttonColorDark, labelColor: labelColorDark, borderColor: borderColorDark, hoverBorderColor: hoverBorderColorDark, } = getColors$2(isDisabled, isSelected, state, 'dark');
|
|
10087
10138
|
const { dimension, padding } = getScalableItemStyles(hasIcon && hasSlottedContent, compact);
|
|
10088
10139
|
return getCss({
|
|
10089
10140
|
'@global': {
|
|
@@ -10155,25 +10206,42 @@ const getComponentCss$v = (compact, isDisabled, isSelected, hasIcon, hasSlottedC
|
|
|
10155
10206
|
}),
|
|
10156
10207
|
});
|
|
10157
10208
|
};
|
|
10158
|
-
const getComponentCss$u = (minWidth, maxWidth, columns,
|
|
10159
|
-
const scalingVar = getScalingVar(compact);
|
|
10209
|
+
const getComponentCss$u = (minWidth, maxWidth, columns, disabled, hideLabel, state, theme) => {
|
|
10160
10210
|
return getCss({
|
|
10161
10211
|
'@global': {
|
|
10162
10212
|
':host': {
|
|
10163
|
-
display: 'grid',
|
|
10164
10213
|
...addImportantToEachRule({
|
|
10165
|
-
|
|
10166
|
-
...buildResponsiveStyles(columns, (col) => ({
|
|
10167
|
-
gridTemplateColumns: col === 'auto'
|
|
10168
|
-
? `repeat(auto-fit, ${maxWidth}px)`
|
|
10169
|
-
: `repeat(${col}, minmax(0, 1fr))`,
|
|
10170
|
-
})),
|
|
10171
|
-
gap: `max(${spacingStaticXSmall}, ${scalingVar} * 6px)`,
|
|
10214
|
+
...(disabled && { cursor: 'not-allowed' }),
|
|
10172
10215
|
...colorSchemeStyles,
|
|
10173
10216
|
...hostHiddenStyles,
|
|
10174
10217
|
}),
|
|
10175
10218
|
},
|
|
10219
|
+
...preventFoucOfNestedElementsStyles,
|
|
10220
|
+
'slot:not([name])': {
|
|
10221
|
+
display: 'grid',
|
|
10222
|
+
gridAutoRows: '1fr', // for equal height
|
|
10223
|
+
...buildResponsiveStyles(columns, (col) => ({
|
|
10224
|
+
gridTemplateColumns: col === 'auto'
|
|
10225
|
+
? `repeat(auto-fit, ${maxWidth}px)`
|
|
10226
|
+
: `repeat(${col}, minmax(0, 1fr))`,
|
|
10227
|
+
})),
|
|
10228
|
+
gap: '6px',
|
|
10229
|
+
},
|
|
10176
10230
|
},
|
|
10231
|
+
root: {
|
|
10232
|
+
all: 'unset',
|
|
10233
|
+
display: 'grid',
|
|
10234
|
+
gap: spacingStaticXSmall,
|
|
10235
|
+
},
|
|
10236
|
+
// .label / .required
|
|
10237
|
+
...getFunctionalComponentLabelStyles(disabled, hideLabel, theme, {
|
|
10238
|
+
cursor: 'inherit',
|
|
10239
|
+
'&:is(legend)': {
|
|
10240
|
+
marginBottom: spacingStaticXSmall, // this fixes a known layout bug of the legend element (in all browsers) when the parent fieldset is a flex or grid container
|
|
10241
|
+
},
|
|
10242
|
+
}),
|
|
10243
|
+
// .message
|
|
10244
|
+
...getFunctionalComponentStateMessageStyles(theme, state),
|
|
10177
10245
|
});
|
|
10178
10246
|
};
|
|
10179
10247
|
|
|
@@ -10514,6 +10582,8 @@ const getComponentCss$q = (isOpen, isDisabled, hideLabel, state, compact, theme)
|
|
|
10514
10582
|
'& span': getButtonLabelJssStyle,
|
|
10515
10583
|
},
|
|
10516
10584
|
'[popover]': getPopoverJssStyle(isOpen, scalingVar, 40, theme),
|
|
10585
|
+
'::slotted([slot="filter"])': addImportantToEachRule(getFilterJssStyle(scalingVar, theme)),
|
|
10586
|
+
'slot[name="selected"]': getSelectedSlotJssStyle,
|
|
10517
10587
|
},
|
|
10518
10588
|
root: {
|
|
10519
10589
|
display: 'grid',
|
|
@@ -11380,11 +11450,18 @@ const getThemedBackgroundColor = (tagColor, themedColors) => {
|
|
|
11380
11450
|
return colorMap[tagColor];
|
|
11381
11451
|
};
|
|
11382
11452
|
|
|
11453
|
+
const cssVarInternalTagDismissibleScaling = '--p-internal-tag-dismissible-scaling';
|
|
11454
|
+
const getScalingVar$1 = (compact) => `var(${cssVarInternalTagDismissibleScaling}, ${compact ? 'calc(4 / 13)' : 1})`;
|
|
11383
11455
|
// CSS Variable defined in fontHyphenationStyle
|
|
11384
11456
|
/**
|
|
11385
11457
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
11386
11458
|
*/
|
|
11387
|
-
const getComponentCss$a = (color, hasLabel, theme) => {
|
|
11459
|
+
const getComponentCss$a = (color, hasLabel, compact, theme) => {
|
|
11460
|
+
const scalingVar = getScalingVar$1(compact);
|
|
11461
|
+
const iconPadding = '4px';
|
|
11462
|
+
const paddingBlock = `calc(${scalingVar} * 0.8125 * ${SCALING_BASE_VALUE} - ${iconPadding}/2)`; // 0.8125 * SCALING_BASE_VALUE corresponds to 13px
|
|
11463
|
+
const paddingInline = `max(calc(${scalingVar} * 0.8125 * ${SCALING_BASE_VALUE} - 1px), 4px)`;
|
|
11464
|
+
const gap = `max(calc(${scalingVar} * 0.75 * ${SCALING_BASE_VALUE}), 2px)`; // 0.5 * SCALING_BASE_VALUE corresponds to 12px
|
|
11388
11465
|
const themedColors = getThemedColors(theme);
|
|
11389
11466
|
const themedColorsDark = getThemedColors('dark');
|
|
11390
11467
|
const { primaryColor, hoverColor, contrastHighColor } = themedColors;
|
|
@@ -11407,9 +11484,8 @@ const getComponentCss$a = (color, hasLabel, theme) => {
|
|
|
11407
11484
|
display: 'flex',
|
|
11408
11485
|
position: 'relative',
|
|
11409
11486
|
alignItems: 'center',
|
|
11410
|
-
gap
|
|
11411
|
-
|
|
11412
|
-
padding: '4px 12px',
|
|
11487
|
+
gap,
|
|
11488
|
+
padding: `${hasLabel ? `calc(${paddingBlock} - 6px)` : paddingBlock} ${paddingInline}`,
|
|
11413
11489
|
margin: 0, // Removes default button margin on safari 15
|
|
11414
11490
|
borderRadius: borderRadiusSmall,
|
|
11415
11491
|
border: 0,
|
|
@@ -11449,7 +11525,7 @@ const getComponentCss$a = (color, hasLabel, theme) => {
|
|
|
11449
11525
|
},
|
|
11450
11526
|
}),
|
|
11451
11527
|
icon: {
|
|
11452
|
-
padding:
|
|
11528
|
+
padding: iconPadding,
|
|
11453
11529
|
marginInlineEnd: '-2px', // compensate white space of svg icon and optimize visual alignment
|
|
11454
11530
|
transition: getTransition('background-color'),
|
|
11455
11531
|
borderRadius: borderRadiusSmall,
|
|
@@ -11876,11 +11952,27 @@ const getComponentCss$4 = (isDisabled, isReadonly, hideLabel, state, hasCounter,
|
|
|
11876
11952
|
});
|
|
11877
11953
|
};
|
|
11878
11954
|
|
|
11879
|
-
|
|
11955
|
+
const cssVarInternalTextareaScaling = '--p-internal-textarea-scaling';
|
|
11956
|
+
const getScalingVar = (compact) => `var(${cssVarInternalTextareaScaling}, ${compact ? 0.5 : 1})`;
|
|
11880
11957
|
/**
|
|
11881
11958
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
11959
|
+
* @css-variable {"name":"--p-textarea-field-sizing","description":"Controls CSS `field-sizing` for textarea.","defaultValue":"unset"}
|
|
11960
|
+
* @css-variable {"name":"--p-textarea-min-width","description":"Minimum width of the textarea.","defaultValue":"52px"}
|
|
11961
|
+
* @css-variable {"name":"--p-textarea-max-width","description":"Maximum width of the textarea.","defaultValue":"unset"}
|
|
11962
|
+
* @css-variable {"name":"--p-textarea-min-height","description":"Minimum height of the textarea.","defaultValue":"unset"}
|
|
11963
|
+
* @css-variable {"name":"--p-textarea-max-height","description":"Maximum height of the textarea.","defaultValue":"unset"}
|
|
11882
11964
|
*/
|
|
11883
|
-
const getComponentCss$3 = (isDisabled, isReadonly, hideLabel, state, counter, resize, theme) => {
|
|
11965
|
+
const getComponentCss$3 = (isDisabled, isReadonly, hideLabel, state, compact, counter, resize, theme) => {
|
|
11966
|
+
const scalingVar = getScalingVar(compact);
|
|
11967
|
+
const minPadding = '2px';
|
|
11968
|
+
const minCounterPadding = '12px';
|
|
11969
|
+
const basePaddingInline = `max(${minPadding}, calc(${formElementPaddingHorizontal} * ${scalingVar}))`;
|
|
11970
|
+
const basePaddingBlock = `max(${minPadding}, calc(12px * ${scalingVar}))`;
|
|
11971
|
+
const counterPaddingInline = `max(${minCounterPadding}, calc((${formElementPaddingHorizontal} + ${borderWidthBase}) * ${scalingVar}))`;
|
|
11972
|
+
const counterPaddingBlock = `max(${minPadding}, calc(6px * ${scalingVar}))`;
|
|
11973
|
+
const paddingBottom = `calc(${fontLineHeight} + ${counterPaddingBlock} * 2 - 4px)`;
|
|
11974
|
+
// min width is needed for showing at least 1 character in very narrow containers. The "1rem" value is the minimum safe zone to show at least 1 character.
|
|
11975
|
+
const minWidth = `calc(1rem + ${formElementPaddingHorizontal}*2 + ${borderWidthBase}*2)`;
|
|
11884
11976
|
const { primaryColor, contrastLowColor, contrastMediumColor, disabledColor } = getThemedColors(theme);
|
|
11885
11977
|
const { primaryColor: primaryColorDark, contrastLowColor: contrastLowColorDark, contrastMediumColor: contrastMediumColorDark, disabledColor: disabledColorDark, } = getThemedColors('dark');
|
|
11886
11978
|
const { formStateColor, formStateHoverColor } = getThemedFormStateColors(theme, state);
|
|
@@ -11897,6 +11989,11 @@ const getComponentCss$3 = (isDisabled, isReadonly, hideLabel, state, counter, re
|
|
|
11897
11989
|
...preventFoucOfNestedElementsStyles,
|
|
11898
11990
|
textarea: {
|
|
11899
11991
|
resize,
|
|
11992
|
+
fieldSizing: 'var(--p-textarea-field-sizing, unset)',
|
|
11993
|
+
minWidth: `var(--p-textarea-min-width, ${minWidth})`,
|
|
11994
|
+
maxWidth: 'var(--p-textarea-max-width, unset)',
|
|
11995
|
+
minHeight: 'var(--p-textarea-min-height, unset)',
|
|
11996
|
+
maxHeight: 'var(--p-textarea-max-height, unset)',
|
|
11900
11997
|
display: 'block',
|
|
11901
11998
|
width: '100%',
|
|
11902
11999
|
height: 'auto',
|
|
@@ -11910,8 +12007,6 @@ const getComponentCss$3 = (isDisabled, isReadonly, hideLabel, state, counter, re
|
|
|
11910
12007
|
background: 'transparent',
|
|
11911
12008
|
textIndent: 0,
|
|
11912
12009
|
color: primaryColor,
|
|
11913
|
-
// min width is needed for showing at least 1 character in very narrow containers. The "1rem" value is the minimum safe zone to show at least 1 character.
|
|
11914
|
-
minWidth: `calc(1rem + ${formElementPaddingHorizontal}*2 + ${borderWidthBase}*2)`,
|
|
11915
12010
|
transition: `${getTransition('background-color')}, ${getTransition('border-color')}, ${getTransition('color')}`, // for smooth transitions between e.g. disabled states
|
|
11916
12011
|
...prefersColorSchemeDarkMediaQuery(theme, {
|
|
11917
12012
|
borderColor: formStateColorDark || contrastMediumColorDark,
|
|
@@ -11920,8 +12015,8 @@ const getComponentCss$3 = (isDisabled, isReadonly, hideLabel, state, counter, re
|
|
|
11920
12015
|
gridArea: '1/1',
|
|
11921
12016
|
font: textSmallStyle.font, // to override line-height
|
|
11922
12017
|
padding: counter
|
|
11923
|
-
?
|
|
11924
|
-
:
|
|
12018
|
+
? `${basePaddingBlock} ${basePaddingInline} ${paddingBottom}`
|
|
12019
|
+
: `${basePaddingBlock} ${basePaddingInline}`,
|
|
11925
12020
|
// TODO: getFocusJssStyle() can't be re-used because focus style differs for form elements
|
|
11926
12021
|
'&:focus': {
|
|
11927
12022
|
borderColor: primaryColor,
|
|
@@ -11971,7 +12066,7 @@ const getComponentCss$3 = (isDisabled, isReadonly, hideLabel, state, counter, re
|
|
|
11971
12066
|
...getUnitCounterJssStyle(isDisabled, isReadonly, theme),
|
|
11972
12067
|
gridArea: '1/1',
|
|
11973
12068
|
placeSelf: 'flex-end',
|
|
11974
|
-
padding:
|
|
12069
|
+
padding: `${counterPaddingBlock} ${counterPaddingInline}`,
|
|
11975
12070
|
},
|
|
11976
12071
|
// TODO: maybe we should extract it as functional component too
|
|
11977
12072
|
'sr-only': getHiddenTextJssStyle(),
|
|
@@ -12101,50 +12196,52 @@ const getComponentCss = (size, theme) => {
|
|
|
12101
12196
|
exports.cssVarButtonPureMargin = cssVarButtonPureMargin;
|
|
12102
12197
|
exports.cssVarButtonPurePadding = cssVarButtonPurePadding;
|
|
12103
12198
|
exports.cssVarInternalInputBaseScaling = cssVarInternalInputBaseScaling;
|
|
12104
|
-
exports.getAccordionCss = getComponentCss$
|
|
12105
|
-
exports.getBannerCss = getComponentCss$
|
|
12106
|
-
exports.getButtonCss = getComponentCss$
|
|
12107
|
-
exports.getButtonGroupCss = getComponentCss$
|
|
12108
|
-
exports.getButtonPureCss = getComponentCss$
|
|
12109
|
-
exports.getButtonTileCss = getComponentCss$
|
|
12110
|
-
exports.getCanvasCss = getComponentCss$
|
|
12111
|
-
exports.getCarouselCss = getComponentCss$
|
|
12112
|
-
exports.getCheckboxCss = getComponentCss$
|
|
12113
|
-
exports.getCheckboxWrapperCss = getComponentCss$
|
|
12114
|
-
exports.getContentWrapperCss = getComponentCss$
|
|
12115
|
-
exports.getCrestCss = getComponentCss$
|
|
12116
|
-
exports.getDisplayCss = getComponentCss$
|
|
12117
|
-
exports.getDividerCss = getComponentCss$
|
|
12118
|
-
exports.getDrilldownCss = getComponentCss$
|
|
12119
|
-
exports.getDrilldownItemCss = getComponentCss$
|
|
12120
|
-
exports.getDrilldownLinkCss = getComponentCss$
|
|
12121
|
-
exports.getFieldsetCss = getComponentCss$
|
|
12122
|
-
exports.getFieldsetWrapperCss = getComponentCss$
|
|
12123
|
-
exports.getFlagCss = getComponentCss$
|
|
12124
|
-
exports.getFlexCss = getComponentCss$
|
|
12125
|
-
exports.getFlexItemCss = getComponentCss$
|
|
12126
|
-
exports.getFlyoutCss = getComponentCss$
|
|
12199
|
+
exports.getAccordionCss = getComponentCss$1p;
|
|
12200
|
+
exports.getBannerCss = getComponentCss$1o;
|
|
12201
|
+
exports.getButtonCss = getComponentCss$1k;
|
|
12202
|
+
exports.getButtonGroupCss = getComponentCss$1n;
|
|
12203
|
+
exports.getButtonPureCss = getComponentCss$1m;
|
|
12204
|
+
exports.getButtonTileCss = getComponentCss$1l;
|
|
12205
|
+
exports.getCanvasCss = getComponentCss$1j;
|
|
12206
|
+
exports.getCarouselCss = getComponentCss$1i;
|
|
12207
|
+
exports.getCheckboxCss = getComponentCss$1g;
|
|
12208
|
+
exports.getCheckboxWrapperCss = getComponentCss$1h;
|
|
12209
|
+
exports.getContentWrapperCss = getComponentCss$1f;
|
|
12210
|
+
exports.getCrestCss = getComponentCss$1e;
|
|
12211
|
+
exports.getDisplayCss = getComponentCss$1d;
|
|
12212
|
+
exports.getDividerCss = getComponentCss$1c;
|
|
12213
|
+
exports.getDrilldownCss = getComponentCss$1b;
|
|
12214
|
+
exports.getDrilldownItemCss = getComponentCss$1a;
|
|
12215
|
+
exports.getDrilldownLinkCss = getComponentCss$19;
|
|
12216
|
+
exports.getFieldsetCss = getComponentCss$17;
|
|
12217
|
+
exports.getFieldsetWrapperCss = getComponentCss$18;
|
|
12218
|
+
exports.getFlagCss = getComponentCss$16;
|
|
12219
|
+
exports.getFlexCss = getComponentCss$14;
|
|
12220
|
+
exports.getFlexItemCss = getComponentCss$15;
|
|
12221
|
+
exports.getFlyoutCss = getComponentCss$13;
|
|
12127
12222
|
exports.getFunctionalComponentInputBaseStyles = getFunctionalComponentInputBaseStyles;
|
|
12128
12223
|
exports.getFunctionalComponentLabelStyles = getFunctionalComponentLabelStyles;
|
|
12129
12224
|
exports.getFunctionalComponentLoadingMessageStyles = getFunctionalComponentLoadingMessageStyles;
|
|
12130
12225
|
exports.getFunctionalComponentNoResultsOptionStyles = getFunctionalComponentNoResultsOptionStyles;
|
|
12131
12226
|
exports.getFunctionalComponentRequiredStyles = getFunctionalComponentRequiredStyles;
|
|
12132
12227
|
exports.getFunctionalComponentStateMessageStyles = getFunctionalComponentStateMessageStyles;
|
|
12133
|
-
exports.getGridCss = getComponentCss
|
|
12134
|
-
exports.getGridItemCss = getComponentCss$
|
|
12135
|
-
exports.getHeadingCss = getComponentCss$
|
|
12136
|
-
exports.getHeadlineCss = getComponentCss
|
|
12137
|
-
exports.getIconCss = getComponentCss$
|
|
12138
|
-
exports.getInlineNotificationCss = getComponentCss$
|
|
12139
|
-
exports.getInputDateCss = getComponentCss$
|
|
12140
|
-
exports.getInputEmailCss = getComponentCss$
|
|
12141
|
-
exports.
|
|
12142
|
-
exports.
|
|
12143
|
-
exports.
|
|
12144
|
-
exports.
|
|
12145
|
-
exports.
|
|
12146
|
-
exports.
|
|
12147
|
-
exports.
|
|
12228
|
+
exports.getGridCss = getComponentCss$11;
|
|
12229
|
+
exports.getGridItemCss = getComponentCss$12;
|
|
12230
|
+
exports.getHeadingCss = getComponentCss$10;
|
|
12231
|
+
exports.getHeadlineCss = getComponentCss$$;
|
|
12232
|
+
exports.getIconCss = getComponentCss$_;
|
|
12233
|
+
exports.getInlineNotificationCss = getComponentCss$Z;
|
|
12234
|
+
exports.getInputDateCss = getComponentCss$Y;
|
|
12235
|
+
exports.getInputEmailCss = getComponentCss$X;
|
|
12236
|
+
exports.getInputMonthCss = getComponentCss$W;
|
|
12237
|
+
exports.getInputNumberCss = getComponentCss$V;
|
|
12238
|
+
exports.getInputPasswordCss = getComponentCss$U;
|
|
12239
|
+
exports.getInputSearchCss = getComponentCss$T;
|
|
12240
|
+
exports.getInputTelCss = getComponentCss$S;
|
|
12241
|
+
exports.getInputTextCss = getComponentCss$R;
|
|
12242
|
+
exports.getInputTimeCss = getComponentCss$Q;
|
|
12243
|
+
exports.getInputUrlCss = getComponentCss$P;
|
|
12244
|
+
exports.getInputWeekCss = getComponentCss$O;
|
|
12148
12245
|
exports.getLinkCss = getComponentCss$M;
|
|
12149
12246
|
exports.getLinkPureCss = getComponentCss$N;
|
|
12150
12247
|
exports.getLinkSocialCss = getComponentCss$M;
|
|
@@ -12163,7 +12260,7 @@ exports.getPopoverCss = getComponentCss$A;
|
|
|
12163
12260
|
exports.getRadioButtonWrapperCss = getComponentCss$z;
|
|
12164
12261
|
exports.getRadioGroupCss = getComponentCss$x;
|
|
12165
12262
|
exports.getRadioGroupOptionCss = getComponentCss$y;
|
|
12166
|
-
exports.getScalingVar = getScalingVar$
|
|
12263
|
+
exports.getScalingVar = getScalingVar$4;
|
|
12167
12264
|
exports.getScrollerCss = getComponentCss$w;
|
|
12168
12265
|
exports.getSegmentedControlCss = getComponentCss$u;
|
|
12169
12266
|
exports.getSegmentedControlItemCss = getComponentCss$v;
|