@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
|
@@ -3629,7 +3629,7 @@ const hasShowPickerSupport = () => (hasDocument &&
|
|
|
3629
3629
|
'showPicker' in HTMLInputElement.prototype &&
|
|
3630
3630
|
CSS.supports('selector(::-webkit-calendar-picker-indicator)'));
|
|
3631
3631
|
|
|
3632
|
-
const prefix = `[Porsche Design System v${"3.
|
|
3632
|
+
const prefix = `[Porsche Design System v${"3.32.0-rc.1"}]` // this part isn't covered by unit tests
|
|
3633
3633
|
;
|
|
3634
3634
|
const consoleError = (...messages) => {
|
|
3635
3635
|
console.error(prefix, ...messages); // eslint-disable-line no-console
|
|
@@ -4025,7 +4025,7 @@ const forcedColorsMediaQuery = (style) => {
|
|
|
4025
4025
|
/**
|
|
4026
4026
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
4027
4027
|
*/
|
|
4028
|
-
const getComponentCss$
|
|
4028
|
+
const getComponentCss$1p = (size, compact, open, theme, sticky) => {
|
|
4029
4029
|
const { primaryColor, hoverColor, contrastLowColor, backgroundColor } = getThemedColors(theme);
|
|
4030
4030
|
const { primaryColor: primaryColorDark, hoverColor: hoverColorDark, contrastLowColor: contrastLowColorDark, backgroundColor: backgroundColorDark, } = getThemedColors('dark');
|
|
4031
4031
|
const cssVariablePositionStickyTop = '--p-accordion-position-sticky-top';
|
|
@@ -4197,7 +4197,7 @@ const cssVariableTop = '--p-banner-position-top';
|
|
|
4197
4197
|
const cssVariableBottom = '--p-banner-position-bottom';
|
|
4198
4198
|
const cssVariableZIndex = '--p-internal-banner-z-index';
|
|
4199
4199
|
const topBottomFallback = '56px';
|
|
4200
|
-
const getComponentCss$
|
|
4200
|
+
const getComponentCss$1o = (isOpen) => {
|
|
4201
4201
|
return getCss({
|
|
4202
4202
|
'@global': {
|
|
4203
4203
|
':host': {
|
|
@@ -4269,7 +4269,7 @@ const getGroupDirectionJssStyles = (direction) => {
|
|
|
4269
4269
|
return groupDirectionJssStyles[direction];
|
|
4270
4270
|
};
|
|
4271
4271
|
|
|
4272
|
-
const getComponentCss$
|
|
4272
|
+
const getComponentCss$1n = (direction) => {
|
|
4273
4273
|
return getCss({
|
|
4274
4274
|
'@global': {
|
|
4275
4275
|
':host': {
|
|
@@ -4426,7 +4426,7 @@ const getFunctionalComponentLoadingMessageStyles = () => {
|
|
|
4426
4426
|
/**
|
|
4427
4427
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
4428
4428
|
*/
|
|
4429
|
-
const getComponentCss$
|
|
4429
|
+
const getComponentCss$1m = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, underline, theme) => {
|
|
4430
4430
|
const hasIcon = hasVisibleIcon(icon, iconSource);
|
|
4431
4431
|
return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, underline, false, theme), {
|
|
4432
4432
|
root: {
|
|
@@ -4468,7 +4468,7 @@ const getFontWeight = (weight) => {
|
|
|
4468
4468
|
/**
|
|
4469
4469
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
4470
4470
|
*/
|
|
4471
|
-
const getComponentCss$
|
|
4471
|
+
const getComponentCss$1l = (isDisabledOrLoading, aspectRatio, size, weight, background, align, compact, hasGradient, hasFooterSlot, isDisabled) => {
|
|
4472
4472
|
const isTopAligned = align === 'top';
|
|
4473
4473
|
return getCss({
|
|
4474
4474
|
'@global': {
|
|
@@ -4761,7 +4761,7 @@ const getDisabledColors = (variant, loading, theme) => {
|
|
|
4761
4761
|
/**
|
|
4762
4762
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
4763
4763
|
*/
|
|
4764
|
-
const getComponentCss$
|
|
4764
|
+
const getComponentCss$1k = (icon, iconSource, variant, hideLabel, disabled, loading, compact, theme) => {
|
|
4765
4765
|
const disabledOrLoading = isDisabledOrLoading(disabled, loading);
|
|
4766
4766
|
const { textColor, borderColor, backgroundColor } = getDisabledColors(variant, loading, theme);
|
|
4767
4767
|
const { textColor: textColorDark, borderColor: borderColorDark, backgroundColor: backgroundColorDark, } = getDisabledColors(variant, loading, 'dark');
|
|
@@ -4837,7 +4837,7 @@ const mediaQueryS$1 = getMediaQueryMin('s');
|
|
|
4837
4837
|
const mediaQueryM = getMediaQueryMin('m');
|
|
4838
4838
|
// others
|
|
4839
4839
|
const spacingBase = gridGap.replace('36px', '24px');
|
|
4840
|
-
const getComponentCss$
|
|
4840
|
+
const getComponentCss$1j = (theme, isSidebarStartOpen, isSidebarEndOpen) => {
|
|
4841
4841
|
const { primaryColor, backgroundColor, backgroundSurfaceColor, contrastLowColor } = getThemedColors(theme);
|
|
4842
4842
|
const { primaryColor: primaryColorDark, backgroundColor: backgroundColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, contrastLowColor: contrastLowColorDark, } = getThemedColors('dark');
|
|
4843
4843
|
return getCss({
|
|
@@ -5220,7 +5220,7 @@ const getGradient = (theme, gradientColorTheme) => {
|
|
|
5220
5220
|
/**
|
|
5221
5221
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
5222
5222
|
*/
|
|
5223
|
-
const getComponentCss$
|
|
5223
|
+
const getComponentCss$1i = (gradientColor, hasHeading, hasDescription, hasControlsSlot, headingSize, width, hasPagination, isInfinitePagination, alignHeader, theme, hasNavigation, alignControls) => {
|
|
5224
5224
|
const { primaryColor, contrastMediumColor } = getThemedColors(theme);
|
|
5225
5225
|
const { primaryColor: primaryColorDark, contrastMediumColor: contrastMediumColorDark } = getThemedColors('dark');
|
|
5226
5226
|
const { canvasTextColor } = getHighContrastColors();
|
|
@@ -5682,7 +5682,7 @@ const getIndeterminateSVGBackgroundImage$1 = (fill) => {
|
|
|
5682
5682
|
/**
|
|
5683
5683
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
5684
5684
|
*/
|
|
5685
|
-
const getComponentCss$
|
|
5685
|
+
const getComponentCss$1h = (hideLabel, state, isDisabled, isLoading, theme) => {
|
|
5686
5686
|
const checkedIconColor = escapeHashCharacter(getInvertedThemedColors(theme).primaryColor);
|
|
5687
5687
|
const checkedIconColorDark = escapeHashCharacter(getInvertedThemedColors('dark').primaryColor);
|
|
5688
5688
|
const indeterminateIconColor = escapeHashCharacter(getThemedColors(theme).primaryColor);
|
|
@@ -5888,7 +5888,7 @@ const getIndeterminateSVGBackgroundImage = (fill) => {
|
|
|
5888
5888
|
/**
|
|
5889
5889
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
5890
5890
|
*/
|
|
5891
|
-
const getComponentCss$
|
|
5891
|
+
const getComponentCss$1g = (hideLabel, state, isDisabled, isLoading, compact, theme) => {
|
|
5892
5892
|
const { primaryColor, contrastMediumColor, contrastHighColor, disabledColor, focusColor } = getThemedColors(theme);
|
|
5893
5893
|
const { primaryColor: primaryColorDark, contrastMediumColor: contrastMediumColorDark, contrastHighColor: contrastHighColorDark, disabledColor: disabledColorDark, focusColor: focusColorDark, } = getThemedColors('dark');
|
|
5894
5894
|
const { formStateColor, formStateHoverColor } = getThemedFormStateColors(theme, state);
|
|
@@ -6180,7 +6180,7 @@ const getUnitCounterJssStyle = (isDisabled, isReadonly, theme) => {
|
|
|
6180
6180
|
const cssVarInternalInputBaseScaling = '--p-internal-input-base-scaling';
|
|
6181
6181
|
// Determines the scaling factor for the input-number size. In "compact" mode, it uses 0.5 to achieve a 36px input-number (compact size).
|
|
6182
6182
|
// Defaults to 1 for the standard size and can be overridden by the CSS variable `cssVarInternalInputBaseScaling`.
|
|
6183
|
-
const getScalingVar$
|
|
6183
|
+
const getScalingVar$4 = (compact) => `var(${cssVarInternalInputBaseScaling}, ${compact ? 0.5 : 1})`;
|
|
6184
6184
|
/**
|
|
6185
6185
|
* @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."}
|
|
6186
6186
|
*/
|
|
@@ -6190,7 +6190,7 @@ const cssVarButtonPurePadding = '--ref-p-input-slotted-padding';
|
|
|
6190
6190
|
*/
|
|
6191
6191
|
const cssVarButtonPureMargin = '--ref-p-input-slotted-margin';
|
|
6192
6192
|
const getFunctionalComponentInputBaseStyles = (disabled, loading, hideLabel, state, compact, readOnly, theme, additionalInputJssStyle) => {
|
|
6193
|
-
const scalingVar = getScalingVar$
|
|
6193
|
+
const scalingVar = getScalingVar$4(compact);
|
|
6194
6194
|
const paddingBlock = `max(2px, ${formElementPaddingVertical} * ${scalingVar})`;
|
|
6195
6195
|
const paddingInline = `max(2px, ${formElementPaddingHorizontal} * ${scalingVar})`;
|
|
6196
6196
|
const height = `max(${fontLineHeight}, ${scalingVar} * (${fontLineHeight} + 10px))`;
|
|
@@ -6503,6 +6503,13 @@ optionHeight, theme) => {
|
|
|
6503
6503
|
};
|
|
6504
6504
|
};
|
|
6505
6505
|
|
|
6506
|
+
const getSelectedSlotJssStyle = {
|
|
6507
|
+
display: 'block',
|
|
6508
|
+
height: '100%',
|
|
6509
|
+
flexGrow: 1,
|
|
6510
|
+
overflow: 'hidden',
|
|
6511
|
+
};
|
|
6512
|
+
|
|
6506
6513
|
const getFunctionalComponentNoResultsOptionStyles = (componentName, cssVarScaling, // "1" is needed for components not yet supporting compact mode
|
|
6507
6514
|
theme) => {
|
|
6508
6515
|
const { contrastMediumColor } = getThemedColors(theme);
|
|
@@ -6527,7 +6534,7 @@ const widthMap = {
|
|
|
6527
6534
|
basic: gridBasicOffset,
|
|
6528
6535
|
extended: gridExtendedOffset,
|
|
6529
6536
|
};
|
|
6530
|
-
const getComponentCss$
|
|
6537
|
+
const getComponentCss$1f = (width) => {
|
|
6531
6538
|
return getCss({
|
|
6532
6539
|
'@global': {
|
|
6533
6540
|
':host': {
|
|
@@ -6569,7 +6576,7 @@ const getDimensionStyle = {
|
|
|
6569
6576
|
width: 'inherit',
|
|
6570
6577
|
height: 'inherit',
|
|
6571
6578
|
};
|
|
6572
|
-
const getComponentCss$
|
|
6579
|
+
const getComponentCss$1e = () => {
|
|
6573
6580
|
return getCss({
|
|
6574
6581
|
'@global': {
|
|
6575
6582
|
':host': {
|
|
@@ -6668,7 +6675,7 @@ const sizeMap$5 = {
|
|
|
6668
6675
|
medium: fontSizeDisplayMedium,
|
|
6669
6676
|
large: fontSizeDisplayLarge,
|
|
6670
6677
|
};
|
|
6671
|
-
const getComponentCss$
|
|
6678
|
+
const getComponentCss$1d = (size, align, color, ellipsis, theme) => {
|
|
6672
6679
|
return getCss({
|
|
6673
6680
|
'@global': {
|
|
6674
6681
|
':host': {
|
|
@@ -6686,7 +6693,7 @@ const getComponentCss$1b = (size, align, color, ellipsis, theme) => {
|
|
|
6686
6693
|
});
|
|
6687
6694
|
};
|
|
6688
6695
|
|
|
6689
|
-
const getComponentCss$
|
|
6696
|
+
const getComponentCss$1c = (color, orientation, theme) => {
|
|
6690
6697
|
const { contrastLowColor, contrastMediumColor, contrastHighColor } = getThemedColors(theme);
|
|
6691
6698
|
const { contrastLowColor: contrastLowColorDark, contrastMediumColor: contrastMediumColorDark, contrastHighColor: contrastHighColorDark, } = getThemedColors('dark');
|
|
6692
6699
|
const colorMap = {
|
|
@@ -6747,7 +6754,7 @@ const easingOpen = 'in';
|
|
|
6747
6754
|
const dialogDurationClose = 'short';
|
|
6748
6755
|
const backdropDurationClose = 'moderate';
|
|
6749
6756
|
const easingClose = 'out';
|
|
6750
|
-
const getComponentCss$
|
|
6757
|
+
const getComponentCss$1b = (isOpen, isPrimary, isSecondaryScrollerVisible, theme) => {
|
|
6751
6758
|
const { primaryColor, backgroundColor, backgroundSurfaceColor, backgroundShadingColor } = getThemedColors(theme);
|
|
6752
6759
|
const { primaryColor: primaryColorDark, backgroundColor: backgroundColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, backgroundShadingColor: backgroundShadingColorDark, } = getThemedColors('dark');
|
|
6753
6760
|
return getCss({
|
|
@@ -6994,7 +7001,7 @@ const getComponentCss$19 = (isOpen, isPrimary, isSecondaryScrollerVisible, theme
|
|
|
6994
7001
|
});
|
|
6995
7002
|
};
|
|
6996
7003
|
|
|
6997
|
-
const getComponentCss$
|
|
7004
|
+
const getComponentCss$1a = (isPrimary, isSecondary, isCascade) => {
|
|
6998
7005
|
return getCss({
|
|
6999
7006
|
'@global': {
|
|
7000
7007
|
'@keyframes slide-up-mobile': {
|
|
@@ -7225,7 +7232,7 @@ const getComponentCss$18 = (isPrimary, isSecondary, isCascade) => {
|
|
|
7225
7232
|
});
|
|
7226
7233
|
};
|
|
7227
7234
|
|
|
7228
|
-
const getComponentCss$
|
|
7235
|
+
const getComponentCss$19 = (hasSlottedAnchor, isActive) => {
|
|
7229
7236
|
const anchorJssStyle = {
|
|
7230
7237
|
all: 'unset',
|
|
7231
7238
|
padding: `calc(${spacingFluidSmall} + 2px) calc(${spacingFluidSmall} + 4px)`, // aligned with link-pure
|
|
@@ -7277,7 +7284,7 @@ const getComponentCss$17 = (hasSlottedAnchor, isActive) => {
|
|
|
7277
7284
|
});
|
|
7278
7285
|
};
|
|
7279
7286
|
|
|
7280
|
-
const getComponentCss$
|
|
7287
|
+
const getComponentCss$18 = (state, labelSize, hasLabel, theme) => {
|
|
7281
7288
|
return getCss({
|
|
7282
7289
|
'@global': {
|
|
7283
7290
|
':host': {
|
|
@@ -7314,7 +7321,7 @@ const getComponentCss$16 = (state, labelSize, hasLabel, theme) => {
|
|
|
7314
7321
|
});
|
|
7315
7322
|
};
|
|
7316
7323
|
|
|
7317
|
-
const getComponentCss$
|
|
7324
|
+
const getComponentCss$17 = (state, labelSize, hasLabel, theme) => {
|
|
7318
7325
|
return getCss({
|
|
7319
7326
|
'@global': {
|
|
7320
7327
|
':host': {
|
|
@@ -7359,7 +7366,7 @@ const sizeMap$4 = {
|
|
|
7359
7366
|
large: fontSizeTextLarge,
|
|
7360
7367
|
'x-large': fontSizeTextXLarge,
|
|
7361
7368
|
};
|
|
7362
|
-
const getComponentCss$
|
|
7369
|
+
const getComponentCss$16 = (size) => {
|
|
7363
7370
|
return getCss({
|
|
7364
7371
|
'@global': {
|
|
7365
7372
|
':host': {
|
|
@@ -7401,7 +7408,7 @@ const flexItemWidths = {
|
|
|
7401
7408
|
full: 100,
|
|
7402
7409
|
auto: 'auto',
|
|
7403
7410
|
};
|
|
7404
|
-
const getComponentCss$
|
|
7411
|
+
const getComponentCss$15 = (width, offset, alignSelf, grow, shrink, flex) => {
|
|
7405
7412
|
return getCss({
|
|
7406
7413
|
'@global': {
|
|
7407
7414
|
':host': addImportantToEachRule({
|
|
@@ -7423,7 +7430,7 @@ const getComponentCss$13 = (width, offset, alignSelf, grow, shrink, flex) => {
|
|
|
7423
7430
|
});
|
|
7424
7431
|
};
|
|
7425
7432
|
|
|
7426
|
-
const getComponentCss$
|
|
7433
|
+
const getComponentCss$14 = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
|
|
7427
7434
|
return getCss({
|
|
7428
7435
|
'@global': {
|
|
7429
7436
|
':host': {
|
|
@@ -7620,7 +7627,7 @@ const cssVarRefPaddingTop = '--ref-p-flyout-pt';
|
|
|
7620
7627
|
const cssVarRefPaddingInline = '--ref-p-flyout-px';
|
|
7621
7628
|
// TODO: we shouldn't expose --p-flyout-max-width
|
|
7622
7629
|
const cssVariableMaxWidth = '--p-flyout-max-width';
|
|
7623
|
-
const getComponentCss$
|
|
7630
|
+
const getComponentCss$13 = (isOpen, backdrop, position, hasHeader, hasFooter, hasSubFooter, footerBehavior, theme) => {
|
|
7624
7631
|
const isPositionStart = position === 'start' || position === 'left';
|
|
7625
7632
|
const isFooterFixed = footerBehavior === 'fixed';
|
|
7626
7633
|
return getCss({
|
|
@@ -7732,7 +7739,7 @@ const gutter$1 = `calc(${gridGap} / 2)`;
|
|
|
7732
7739
|
const gridItemWidths = [
|
|
7733
7740
|
0, 8.333333, 16.666667, 25, 33.333333, 41.666667, 50, 58.333333, 66.666667, 75, 83.333333, 91.666667, 100,
|
|
7734
7741
|
];
|
|
7735
|
-
const getComponentCss$
|
|
7742
|
+
const getComponentCss$12 = (size, offset) => {
|
|
7736
7743
|
return getCss({
|
|
7737
7744
|
'@global': {
|
|
7738
7745
|
':host': addImportantToEachRule({
|
|
@@ -7752,7 +7759,7 @@ const getComponentCss$10 = (size, offset) => {
|
|
|
7752
7759
|
};
|
|
7753
7760
|
|
|
7754
7761
|
const gutter = `calc(${gridGap} / -2)`;
|
|
7755
|
-
const getComponentCss
|
|
7762
|
+
const getComponentCss$11 = (direction, wrap) => {
|
|
7756
7763
|
return getCss({
|
|
7757
7764
|
'@global': {
|
|
7758
7765
|
':host': {
|
|
@@ -7778,7 +7785,7 @@ const sizeMap$3 = {
|
|
|
7778
7785
|
'x-large': fontSizeHeadingXLarge,
|
|
7779
7786
|
'xx-large': fontSizeHeadingXXLarge,
|
|
7780
7787
|
};
|
|
7781
|
-
const getComponentCss$
|
|
7788
|
+
const getComponentCss$10 = (size, align, color, ellipsis, theme) => {
|
|
7782
7789
|
return getCss({
|
|
7783
7790
|
'@global': {
|
|
7784
7791
|
':host': {
|
|
@@ -7838,7 +7845,7 @@ const getTextSizeJssStyle = (textSize) => {
|
|
|
7838
7845
|
fontSize: textSize === 'inherit' ? textSize : textSizeMap[textSize],
|
|
7839
7846
|
};
|
|
7840
7847
|
};
|
|
7841
|
-
const getComponentCss
|
|
7848
|
+
const getComponentCss$$ = (variant, align, color, ellipsis, theme) => {
|
|
7842
7849
|
return getCss({
|
|
7843
7850
|
'@global': {
|
|
7844
7851
|
':host': {
|
|
@@ -7949,7 +7956,7 @@ const isFlippableIcon = (name, source) => {
|
|
|
7949
7956
|
name === 'return' ||
|
|
7950
7957
|
name === 'send'));
|
|
7951
7958
|
};
|
|
7952
|
-
const getComponentCss$
|
|
7959
|
+
const getComponentCss$_ = (name, source, color, size, theme) => {
|
|
7953
7960
|
const isColorInherit = color === 'inherit';
|
|
7954
7961
|
const isSizeInherit = size === 'inherit';
|
|
7955
7962
|
const isDark = isThemeDark(theme);
|
|
@@ -8072,7 +8079,7 @@ const getHeadingJssStyle = (theme) => ({
|
|
|
8072
8079
|
/**
|
|
8073
8080
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8074
8081
|
*/
|
|
8075
|
-
const getComponentCss$
|
|
8082
|
+
const getComponentCss$Z = (state, hasAction, hasClose, theme) => {
|
|
8076
8083
|
return getCss({
|
|
8077
8084
|
'@global': {
|
|
8078
8085
|
':host': {
|
|
@@ -8123,7 +8130,7 @@ const getComponentCss$X = (state, hasAction, hasClose, theme) => {
|
|
|
8123
8130
|
/**
|
|
8124
8131
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8125
8132
|
*/
|
|
8126
|
-
const getComponentCss$
|
|
8133
|
+
const getComponentCss$Y = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8127
8134
|
return getCss({
|
|
8128
8135
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8129
8136
|
textOverflow: 'ellipsis',
|
|
@@ -8150,7 +8157,7 @@ const getComponentCss$W = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8150
8157
|
/**
|
|
8151
8158
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8152
8159
|
*/
|
|
8153
|
-
const getComponentCss$
|
|
8160
|
+
const getComponentCss$X = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8154
8161
|
return getCss({
|
|
8155
8162
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8156
8163
|
textOverflow: 'ellipsis',
|
|
@@ -8174,7 +8181,34 @@ const getComponentCss$V = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8174
8181
|
/**
|
|
8175
8182
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8176
8183
|
*/
|
|
8177
|
-
const getComponentCss$
|
|
8184
|
+
const getComponentCss$W = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8185
|
+
return getCss({
|
|
8186
|
+
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8187
|
+
textOverflow: 'ellipsis',
|
|
8188
|
+
MozAppearance: 'textfield',
|
|
8189
|
+
'&::-webkit-calendar-picker-indicator': {
|
|
8190
|
+
display: 'none',
|
|
8191
|
+
},
|
|
8192
|
+
}),
|
|
8193
|
+
button: {
|
|
8194
|
+
padding: `var(${cssVarButtonPurePadding})`,
|
|
8195
|
+
margin: `var(${cssVarButtonPureMargin})`,
|
|
8196
|
+
},
|
|
8197
|
+
});
|
|
8198
|
+
};
|
|
8199
|
+
|
|
8200
|
+
// CSS Variables defined in base input
|
|
8201
|
+
/**
|
|
8202
|
+
* @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."}
|
|
8203
|
+
*/
|
|
8204
|
+
/**
|
|
8205
|
+
* @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."}
|
|
8206
|
+
*/
|
|
8207
|
+
// CSS Variable defined in fontHyphenationStyle
|
|
8208
|
+
/**
|
|
8209
|
+
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8210
|
+
*/
|
|
8211
|
+
const getComponentCss$V = (disabled, loading, hideLabel, state, compact, readOnly, theme, controls) => {
|
|
8178
8212
|
return getCss({
|
|
8179
8213
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8180
8214
|
textOverflow: 'ellipsis',
|
|
@@ -8203,7 +8237,7 @@ const getComponentCss$U = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8203
8237
|
/**
|
|
8204
8238
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8205
8239
|
*/
|
|
8206
|
-
const getComponentCss$
|
|
8240
|
+
const getComponentCss$U = (disabled, loading, hideLabel, state, toggle, compact, readOnly, theme) => {
|
|
8207
8241
|
return getCss({
|
|
8208
8242
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8209
8243
|
'&[type="text"]': {
|
|
@@ -8230,7 +8264,7 @@ const getComponentCss$T = (disabled, loading, hideLabel, state, toggle, compact,
|
|
|
8230
8264
|
/**
|
|
8231
8265
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8232
8266
|
*/
|
|
8233
|
-
const getComponentCss$
|
|
8267
|
+
const getComponentCss$T = (disabled, loading, hideLabel, state, compact, readOnly, theme, clear) => {
|
|
8234
8268
|
return getCss({
|
|
8235
8269
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8236
8270
|
textOverflow: 'ellipsis',
|
|
@@ -8258,7 +8292,7 @@ const getComponentCss$S = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8258
8292
|
/**
|
|
8259
8293
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8260
8294
|
*/
|
|
8261
|
-
const getComponentCss$
|
|
8295
|
+
const getComponentCss$S = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8262
8296
|
return getCss({
|
|
8263
8297
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8264
8298
|
textOverflow: 'ellipsis',
|
|
@@ -8282,7 +8316,7 @@ const getComponentCss$R = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8282
8316
|
/**
|
|
8283
8317
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8284
8318
|
*/
|
|
8285
|
-
const getComponentCss$
|
|
8319
|
+
const getComponentCss$R = (disabled, loading, hideLabel, state, compact, readOnly, theme, counter) => {
|
|
8286
8320
|
return getCss({
|
|
8287
8321
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8288
8322
|
textOverflow: 'ellipsis',
|
|
@@ -8312,7 +8346,7 @@ const getComponentCss$Q = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8312
8346
|
/**
|
|
8313
8347
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8314
8348
|
*/
|
|
8315
|
-
const getComponentCss$
|
|
8349
|
+
const getComponentCss$Q = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8316
8350
|
return getCss({
|
|
8317
8351
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8318
8352
|
textOverflow: 'ellipsis',
|
|
@@ -8339,7 +8373,7 @@ const getComponentCss$P = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8339
8373
|
/**
|
|
8340
8374
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8341
8375
|
*/
|
|
8342
|
-
const getComponentCss$
|
|
8376
|
+
const getComponentCss$P = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8343
8377
|
return getCss({
|
|
8344
8378
|
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8345
8379
|
textOverflow: 'ellipsis',
|
|
@@ -8352,6 +8386,33 @@ const getComponentCss$O = (disabled, loading, hideLabel, state, compact, readOnl
|
|
|
8352
8386
|
});
|
|
8353
8387
|
};
|
|
8354
8388
|
|
|
8389
|
+
// CSS Variables defined in base input
|
|
8390
|
+
/**
|
|
8391
|
+
* @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."}
|
|
8392
|
+
*/
|
|
8393
|
+
/**
|
|
8394
|
+
* @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."}
|
|
8395
|
+
*/
|
|
8396
|
+
// CSS Variable defined in fontHyphenationStyle
|
|
8397
|
+
/**
|
|
8398
|
+
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
8399
|
+
*/
|
|
8400
|
+
const getComponentCss$O = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
|
|
8401
|
+
return getCss({
|
|
8402
|
+
...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
|
|
8403
|
+
textOverflow: 'ellipsis',
|
|
8404
|
+
MozAppearance: 'textfield',
|
|
8405
|
+
'&::-webkit-calendar-picker-indicator': {
|
|
8406
|
+
display: 'none',
|
|
8407
|
+
},
|
|
8408
|
+
}),
|
|
8409
|
+
button: {
|
|
8410
|
+
padding: `var(${cssVarButtonPurePadding})`,
|
|
8411
|
+
margin: `var(${cssVarButtonPureMargin})`,
|
|
8412
|
+
},
|
|
8413
|
+
});
|
|
8414
|
+
};
|
|
8415
|
+
|
|
8355
8416
|
// CSS Variable defined in fontHyphenationStyle
|
|
8356
8417
|
/**
|
|
8357
8418
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
@@ -9134,9 +9195,6 @@ const getComponentCss$F = (theme, isDisabled, selected) => {
|
|
|
9134
9195
|
[`${cssVarInternalCheckboxScaling}`]: `var(${cssVarInternalMultiSelectOptionScaling})`,
|
|
9135
9196
|
}),
|
|
9136
9197
|
},
|
|
9137
|
-
slot: {
|
|
9138
|
-
display: 'block',
|
|
9139
|
-
},
|
|
9140
9198
|
},
|
|
9141
9199
|
option: getOptionJssStyle('multi-select-option', `var(${cssVarInternalMultiSelectOptionScaling}, 1)`, theme),
|
|
9142
9200
|
'checkbox-wrapper': {
|
|
@@ -9220,6 +9278,8 @@ const getComponentCss$D = (isOpen, isDisabled, hideLabel, state, compact, theme)
|
|
|
9220
9278
|
'& span': getButtonLabelJssStyle,
|
|
9221
9279
|
},
|
|
9222
9280
|
'[popover]': getPopoverJssStyle(isOpen, scalingVar, 44, theme),
|
|
9281
|
+
'::slotted([slot="filter"])': addImportantToEachRule(getFilterJssStyle(scalingVar, theme)),
|
|
9282
|
+
'slot[name="selected"]': getSelectedSlotJssStyle,
|
|
9223
9283
|
},
|
|
9224
9284
|
root: {
|
|
9225
9285
|
display: 'grid',
|
|
@@ -9386,13 +9446,13 @@ const removeStyles = (selector, styles) => Object.fromEntries(Object.entries(sty
|
|
|
9386
9446
|
}));
|
|
9387
9447
|
|
|
9388
9448
|
const cssVarInternalPinCodeScaling = '--p-internal-pin-code-scaling';
|
|
9389
|
-
const getScalingVar$
|
|
9449
|
+
const getScalingVar$3 = (compact) => `var(${cssVarInternalPinCodeScaling}, ${compact ? 0.5 : 1})`;
|
|
9390
9450
|
// CSS Variable defined in fontHyphenationStyle
|
|
9391
9451
|
/**
|
|
9392
9452
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
9393
9453
|
*/
|
|
9394
9454
|
const getComponentCss$B = (hideLabel, state, isDisabled, isLoading, length, compact, theme) => {
|
|
9395
|
-
const scalingVar = getScalingVar$
|
|
9455
|
+
const scalingVar = getScalingVar$3(compact);
|
|
9396
9456
|
const dimension = `max(${fontLineHeight}, ${scalingVar} * (${fontLineHeight} + 10px))`;
|
|
9397
9457
|
const gap = `max(${spacingStaticXSmall}, ${scalingVar} * ${spacingStaticSmall})`;
|
|
9398
9458
|
const paddingBlock = `max(2px, ${formElementPaddingVertical} * ${scalingVar})`;
|
|
@@ -9862,16 +9922,6 @@ const getRadioGroupDirectionJssStyles = (direction) => {
|
|
|
9862
9922
|
*/
|
|
9863
9923
|
const getComponentCss$x = (disabled, loading, hideLabel, state, compact, direction, theme) => {
|
|
9864
9924
|
const scalingVar = `var(${cssVarInternalRadioGroupScaling}, ${compact ? 0.6668 : 1})`;
|
|
9865
|
-
const { primaryColor } = getThemedColors(theme);
|
|
9866
|
-
const { primaryColor: primaryColorDark } = getThemedColors('dark');
|
|
9867
|
-
const { formStateHoverColor } = getThemedFormStateColors(theme, state);
|
|
9868
|
-
const { formStateHoverColor: formStateHoverColorDark } = getThemedFormStateColors('dark', state);
|
|
9869
|
-
const hoverStyles = {
|
|
9870
|
-
borderColor: formStateHoverColor || primaryColor,
|
|
9871
|
-
...prefersColorSchemeDarkMediaQuery(theme, {
|
|
9872
|
-
borderColor: formStateHoverColorDark || primaryColorDark,
|
|
9873
|
-
}),
|
|
9874
|
-
};
|
|
9875
9925
|
const dimension = `max(${fontLineHeight}, ${scalingVar} * (${fontLineHeight} + 10px))`;
|
|
9876
9926
|
const columnGap = `max(${spacingStaticSmall}, ${scalingVar} * ${spacingStaticMedium})`;
|
|
9877
9927
|
const rowGap = `max(${spacingStaticXSmall}, ${scalingVar} * ${spacingStaticSmall})`;
|
|
@@ -9912,12 +9962,8 @@ const getComponentCss$x = (disabled, loading, hideLabel, state, compact, directi
|
|
|
9912
9962
|
},
|
|
9913
9963
|
}),
|
|
9914
9964
|
// .label / .required
|
|
9915
|
-
...getFunctionalComponentLabelStyles(disabled, hideLabel, theme,
|
|
9916
|
-
|
|
9917
|
-
'&:hover~.wrapper': hoverStyles,
|
|
9918
|
-
}),
|
|
9919
|
-
cursor: 'inherit', // the label is not clickable
|
|
9920
|
-
}, {
|
|
9965
|
+
...getFunctionalComponentLabelStyles(disabled, hideLabel, theme, {
|
|
9966
|
+
cursor: 'inherit',
|
|
9921
9967
|
'&:is(legend)': {
|
|
9922
9968
|
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
|
|
9923
9969
|
},
|
|
@@ -10044,14 +10090,15 @@ const getComponentCss$w = (isNextHidden, isPrevHidden, alignScrollIndicator, has
|
|
|
10044
10090
|
};
|
|
10045
10091
|
|
|
10046
10092
|
const cssVarInternalSegmentedControlScaling = '--p-internal-segmented-control-scaling';
|
|
10047
|
-
const getScalingVar = (compact) => `var(${cssVarInternalSegmentedControlScaling}, ${compact ? 0.5 : 1})`;
|
|
10093
|
+
const getScalingVar$2 = (compact) => `var(${cssVarInternalSegmentedControlScaling}, ${compact ? 0.5 : 1})`;
|
|
10048
10094
|
const ICON_OFFSET = '4px';
|
|
10049
10095
|
const { font: BUTTON_FONT } = textSmallStyle;
|
|
10050
10096
|
const ICON_SIZE = '1.5rem';
|
|
10051
10097
|
const ICON_MARGIN = '.25rem';
|
|
10052
|
-
const getColors$2 = (isDisabled, isSelected, theme) => {
|
|
10098
|
+
const getColors$2 = (isDisabled, isSelected, state, theme) => {
|
|
10053
10099
|
const { primaryColor, contrastMediumColor, disabledColor, contrastLowColor } = getThemedColors(theme);
|
|
10054
10100
|
const { highlightColor } = getHighContrastColors();
|
|
10101
|
+
const { formStateColor, formStateHoverColor } = getThemedFormStateColors(theme, state);
|
|
10055
10102
|
return {
|
|
10056
10103
|
buttonColor: isDisabled ? disabledColor : primaryColor,
|
|
10057
10104
|
labelColor: isDisabled ? disabledColor : contrastMediumColor,
|
|
@@ -10060,13 +10107,17 @@ const getColors$2 = (isDisabled, isSelected, theme) => {
|
|
|
10060
10107
|
? disabledColor
|
|
10061
10108
|
: isHighContrastMode
|
|
10062
10109
|
? highlightColor
|
|
10063
|
-
:
|
|
10064
|
-
|
|
10065
|
-
|
|
10110
|
+
: state === 'success'
|
|
10111
|
+
? formStateColor
|
|
10112
|
+
: primaryColor
|
|
10113
|
+
: state === 'error'
|
|
10114
|
+
? formStateColor
|
|
10115
|
+
: contrastLowColor,
|
|
10116
|
+
hoverBorderColor: state === 'error' ? formStateHoverColor : primaryColor,
|
|
10066
10117
|
};
|
|
10067
10118
|
};
|
|
10068
10119
|
const getScalableItemStyles = (hasIconAndSlottedContent, compact) => {
|
|
10069
|
-
const scalingVar = getScalingVar(compact);
|
|
10120
|
+
const scalingVar = getScalingVar$2(compact);
|
|
10070
10121
|
const verticalPadding = `max(2px, ${formElementPaddingVertical} * ${scalingVar})`;
|
|
10071
10122
|
const horizontalPadding = `calc(${verticalPadding} + ${ICON_OFFSET})`;
|
|
10072
10123
|
const padding = hasIconAndSlottedContent
|
|
@@ -10079,9 +10130,9 @@ const getScalableItemStyles = (hasIconAndSlottedContent, compact) => {
|
|
|
10079
10130
|
/**
|
|
10080
10131
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
10081
10132
|
*/
|
|
10082
|
-
const getComponentCss$v = (compact, isDisabled, isSelected, hasIcon, hasSlottedContent, theme) => {
|
|
10083
|
-
const { buttonColor, labelColor, borderColor, hoverBorderColor } = getColors$2(isDisabled, isSelected, theme);
|
|
10084
|
-
const { buttonColor: buttonColorDark, labelColor: labelColorDark, borderColor: borderColorDark, hoverBorderColor: hoverBorderColorDark, } = getColors$2(isDisabled, isSelected, 'dark');
|
|
10133
|
+
const getComponentCss$v = (compact, isDisabled, isSelected, state, hasIcon, hasSlottedContent, theme) => {
|
|
10134
|
+
const { buttonColor, labelColor, borderColor, hoverBorderColor } = getColors$2(isDisabled, isSelected, state, theme);
|
|
10135
|
+
const { buttonColor: buttonColorDark, labelColor: labelColorDark, borderColor: borderColorDark, hoverBorderColor: hoverBorderColorDark, } = getColors$2(isDisabled, isSelected, state, 'dark');
|
|
10085
10136
|
const { dimension, padding } = getScalableItemStyles(hasIcon && hasSlottedContent, compact);
|
|
10086
10137
|
return getCss({
|
|
10087
10138
|
'@global': {
|
|
@@ -10153,25 +10204,42 @@ const getComponentCss$v = (compact, isDisabled, isSelected, hasIcon, hasSlottedC
|
|
|
10153
10204
|
}),
|
|
10154
10205
|
});
|
|
10155
10206
|
};
|
|
10156
|
-
const getComponentCss$u = (minWidth, maxWidth, columns,
|
|
10157
|
-
const scalingVar = getScalingVar(compact);
|
|
10207
|
+
const getComponentCss$u = (minWidth, maxWidth, columns, disabled, hideLabel, state, theme) => {
|
|
10158
10208
|
return getCss({
|
|
10159
10209
|
'@global': {
|
|
10160
10210
|
':host': {
|
|
10161
|
-
display: 'grid',
|
|
10162
10211
|
...addImportantToEachRule({
|
|
10163
|
-
|
|
10164
|
-
...buildResponsiveStyles(columns, (col) => ({
|
|
10165
|
-
gridTemplateColumns: col === 'auto'
|
|
10166
|
-
? `repeat(auto-fit, ${maxWidth}px)`
|
|
10167
|
-
: `repeat(${col}, minmax(0, 1fr))`,
|
|
10168
|
-
})),
|
|
10169
|
-
gap: `max(${spacingStaticXSmall}, ${scalingVar} * 6px)`,
|
|
10212
|
+
...(disabled && { cursor: 'not-allowed' }),
|
|
10170
10213
|
...colorSchemeStyles,
|
|
10171
10214
|
...hostHiddenStyles,
|
|
10172
10215
|
}),
|
|
10173
10216
|
},
|
|
10217
|
+
...preventFoucOfNestedElementsStyles,
|
|
10218
|
+
'slot:not([name])': {
|
|
10219
|
+
display: 'grid',
|
|
10220
|
+
gridAutoRows: '1fr', // for equal height
|
|
10221
|
+
...buildResponsiveStyles(columns, (col) => ({
|
|
10222
|
+
gridTemplateColumns: col === 'auto'
|
|
10223
|
+
? `repeat(auto-fit, ${maxWidth}px)`
|
|
10224
|
+
: `repeat(${col}, minmax(0, 1fr))`,
|
|
10225
|
+
})),
|
|
10226
|
+
gap: '6px',
|
|
10227
|
+
},
|
|
10174
10228
|
},
|
|
10229
|
+
root: {
|
|
10230
|
+
all: 'unset',
|
|
10231
|
+
display: 'grid',
|
|
10232
|
+
gap: spacingStaticXSmall,
|
|
10233
|
+
},
|
|
10234
|
+
// .label / .required
|
|
10235
|
+
...getFunctionalComponentLabelStyles(disabled, hideLabel, theme, {
|
|
10236
|
+
cursor: 'inherit',
|
|
10237
|
+
'&:is(legend)': {
|
|
10238
|
+
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
|
|
10239
|
+
},
|
|
10240
|
+
}),
|
|
10241
|
+
// .message
|
|
10242
|
+
...getFunctionalComponentStateMessageStyles(theme, state),
|
|
10175
10243
|
});
|
|
10176
10244
|
};
|
|
10177
10245
|
|
|
@@ -10512,6 +10580,8 @@ const getComponentCss$q = (isOpen, isDisabled, hideLabel, state, compact, theme)
|
|
|
10512
10580
|
'& span': getButtonLabelJssStyle,
|
|
10513
10581
|
},
|
|
10514
10582
|
'[popover]': getPopoverJssStyle(isOpen, scalingVar, 40, theme),
|
|
10583
|
+
'::slotted([slot="filter"])': addImportantToEachRule(getFilterJssStyle(scalingVar, theme)),
|
|
10584
|
+
'slot[name="selected"]': getSelectedSlotJssStyle,
|
|
10515
10585
|
},
|
|
10516
10586
|
root: {
|
|
10517
10587
|
display: 'grid',
|
|
@@ -11378,11 +11448,18 @@ const getThemedBackgroundColor = (tagColor, themedColors) => {
|
|
|
11378
11448
|
return colorMap[tagColor];
|
|
11379
11449
|
};
|
|
11380
11450
|
|
|
11451
|
+
const cssVarInternalTagDismissibleScaling = '--p-internal-tag-dismissible-scaling';
|
|
11452
|
+
const getScalingVar$1 = (compact) => `var(${cssVarInternalTagDismissibleScaling}, ${compact ? 'calc(4 / 13)' : 1})`;
|
|
11381
11453
|
// CSS Variable defined in fontHyphenationStyle
|
|
11382
11454
|
/**
|
|
11383
11455
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
11384
11456
|
*/
|
|
11385
|
-
const getComponentCss$a = (color, hasLabel, theme) => {
|
|
11457
|
+
const getComponentCss$a = (color, hasLabel, compact, theme) => {
|
|
11458
|
+
const scalingVar = getScalingVar$1(compact);
|
|
11459
|
+
const iconPadding = '4px';
|
|
11460
|
+
const paddingBlock = `calc(${scalingVar} * 0.8125 * ${SCALING_BASE_VALUE} - ${iconPadding}/2)`; // 0.8125 * SCALING_BASE_VALUE corresponds to 13px
|
|
11461
|
+
const paddingInline = `max(calc(${scalingVar} * 0.8125 * ${SCALING_BASE_VALUE} - 1px), 4px)`;
|
|
11462
|
+
const gap = `max(calc(${scalingVar} * 0.75 * ${SCALING_BASE_VALUE}), 2px)`; // 0.5 * SCALING_BASE_VALUE corresponds to 12px
|
|
11386
11463
|
const themedColors = getThemedColors(theme);
|
|
11387
11464
|
const themedColorsDark = getThemedColors('dark');
|
|
11388
11465
|
const { primaryColor, hoverColor, contrastHighColor } = themedColors;
|
|
@@ -11405,9 +11482,8 @@ const getComponentCss$a = (color, hasLabel, theme) => {
|
|
|
11405
11482
|
display: 'flex',
|
|
11406
11483
|
position: 'relative',
|
|
11407
11484
|
alignItems: 'center',
|
|
11408
|
-
gap
|
|
11409
|
-
|
|
11410
|
-
padding: '4px 12px',
|
|
11485
|
+
gap,
|
|
11486
|
+
padding: `${hasLabel ? `calc(${paddingBlock} - 6px)` : paddingBlock} ${paddingInline}`,
|
|
11411
11487
|
margin: 0, // Removes default button margin on safari 15
|
|
11412
11488
|
borderRadius: borderRadiusSmall,
|
|
11413
11489
|
border: 0,
|
|
@@ -11447,7 +11523,7 @@ const getComponentCss$a = (color, hasLabel, theme) => {
|
|
|
11447
11523
|
},
|
|
11448
11524
|
}),
|
|
11449
11525
|
icon: {
|
|
11450
|
-
padding:
|
|
11526
|
+
padding: iconPadding,
|
|
11451
11527
|
marginInlineEnd: '-2px', // compensate white space of svg icon and optimize visual alignment
|
|
11452
11528
|
transition: getTransition('background-color'),
|
|
11453
11529
|
borderRadius: borderRadiusSmall,
|
|
@@ -11874,11 +11950,27 @@ const getComponentCss$4 = (isDisabled, isReadonly, hideLabel, state, hasCounter,
|
|
|
11874
11950
|
});
|
|
11875
11951
|
};
|
|
11876
11952
|
|
|
11877
|
-
|
|
11953
|
+
const cssVarInternalTextareaScaling = '--p-internal-textarea-scaling';
|
|
11954
|
+
const getScalingVar = (compact) => `var(${cssVarInternalTextareaScaling}, ${compact ? 0.5 : 1})`;
|
|
11878
11955
|
/**
|
|
11879
11956
|
* @css-variable {"name": "--p-hyphens", "description": "Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.", "defaultValue": "auto"}
|
|
11957
|
+
* @css-variable {"name":"--p-textarea-field-sizing","description":"Controls CSS `field-sizing` for textarea.","defaultValue":"unset"}
|
|
11958
|
+
* @css-variable {"name":"--p-textarea-min-width","description":"Minimum width of the textarea.","defaultValue":"52px"}
|
|
11959
|
+
* @css-variable {"name":"--p-textarea-max-width","description":"Maximum width of the textarea.","defaultValue":"unset"}
|
|
11960
|
+
* @css-variable {"name":"--p-textarea-min-height","description":"Minimum height of the textarea.","defaultValue":"unset"}
|
|
11961
|
+
* @css-variable {"name":"--p-textarea-max-height","description":"Maximum height of the textarea.","defaultValue":"unset"}
|
|
11880
11962
|
*/
|
|
11881
|
-
const getComponentCss$3 = (isDisabled, isReadonly, hideLabel, state, counter, resize, theme) => {
|
|
11963
|
+
const getComponentCss$3 = (isDisabled, isReadonly, hideLabel, state, compact, counter, resize, theme) => {
|
|
11964
|
+
const scalingVar = getScalingVar(compact);
|
|
11965
|
+
const minPadding = '2px';
|
|
11966
|
+
const minCounterPadding = '12px';
|
|
11967
|
+
const basePaddingInline = `max(${minPadding}, calc(${formElementPaddingHorizontal} * ${scalingVar}))`;
|
|
11968
|
+
const basePaddingBlock = `max(${minPadding}, calc(12px * ${scalingVar}))`;
|
|
11969
|
+
const counterPaddingInline = `max(${minCounterPadding}, calc((${formElementPaddingHorizontal} + ${borderWidthBase}) * ${scalingVar}))`;
|
|
11970
|
+
const counterPaddingBlock = `max(${minPadding}, calc(6px * ${scalingVar}))`;
|
|
11971
|
+
const paddingBottom = `calc(${fontLineHeight} + ${counterPaddingBlock} * 2 - 4px)`;
|
|
11972
|
+
// 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.
|
|
11973
|
+
const minWidth = `calc(1rem + ${formElementPaddingHorizontal}*2 + ${borderWidthBase}*2)`;
|
|
11882
11974
|
const { primaryColor, contrastLowColor, contrastMediumColor, disabledColor } = getThemedColors(theme);
|
|
11883
11975
|
const { primaryColor: primaryColorDark, contrastLowColor: contrastLowColorDark, contrastMediumColor: contrastMediumColorDark, disabledColor: disabledColorDark, } = getThemedColors('dark');
|
|
11884
11976
|
const { formStateColor, formStateHoverColor } = getThemedFormStateColors(theme, state);
|
|
@@ -11895,6 +11987,11 @@ const getComponentCss$3 = (isDisabled, isReadonly, hideLabel, state, counter, re
|
|
|
11895
11987
|
...preventFoucOfNestedElementsStyles,
|
|
11896
11988
|
textarea: {
|
|
11897
11989
|
resize,
|
|
11990
|
+
fieldSizing: 'var(--p-textarea-field-sizing, unset)',
|
|
11991
|
+
minWidth: `var(--p-textarea-min-width, ${minWidth})`,
|
|
11992
|
+
maxWidth: 'var(--p-textarea-max-width, unset)',
|
|
11993
|
+
minHeight: 'var(--p-textarea-min-height, unset)',
|
|
11994
|
+
maxHeight: 'var(--p-textarea-max-height, unset)',
|
|
11898
11995
|
display: 'block',
|
|
11899
11996
|
width: '100%',
|
|
11900
11997
|
height: 'auto',
|
|
@@ -11908,8 +12005,6 @@ const getComponentCss$3 = (isDisabled, isReadonly, hideLabel, state, counter, re
|
|
|
11908
12005
|
background: 'transparent',
|
|
11909
12006
|
textIndent: 0,
|
|
11910
12007
|
color: primaryColor,
|
|
11911
|
-
// 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.
|
|
11912
|
-
minWidth: `calc(1rem + ${formElementPaddingHorizontal}*2 + ${borderWidthBase}*2)`,
|
|
11913
12008
|
transition: `${getTransition('background-color')}, ${getTransition('border-color')}, ${getTransition('color')}`, // for smooth transitions between e.g. disabled states
|
|
11914
12009
|
...prefersColorSchemeDarkMediaQuery(theme, {
|
|
11915
12010
|
borderColor: formStateColorDark || contrastMediumColorDark,
|
|
@@ -11918,8 +12013,8 @@ const getComponentCss$3 = (isDisabled, isReadonly, hideLabel, state, counter, re
|
|
|
11918
12013
|
gridArea: '1/1',
|
|
11919
12014
|
font: textSmallStyle.font, // to override line-height
|
|
11920
12015
|
padding: counter
|
|
11921
|
-
?
|
|
11922
|
-
:
|
|
12016
|
+
? `${basePaddingBlock} ${basePaddingInline} ${paddingBottom}`
|
|
12017
|
+
: `${basePaddingBlock} ${basePaddingInline}`,
|
|
11923
12018
|
// TODO: getFocusJssStyle() can't be re-used because focus style differs for form elements
|
|
11924
12019
|
'&:focus': {
|
|
11925
12020
|
borderColor: primaryColor,
|
|
@@ -11969,7 +12064,7 @@ const getComponentCss$3 = (isDisabled, isReadonly, hideLabel, state, counter, re
|
|
|
11969
12064
|
...getUnitCounterJssStyle(isDisabled, isReadonly, theme),
|
|
11970
12065
|
gridArea: '1/1',
|
|
11971
12066
|
placeSelf: 'flex-end',
|
|
11972
|
-
padding:
|
|
12067
|
+
padding: `${counterPaddingBlock} ${counterPaddingInline}`,
|
|
11973
12068
|
},
|
|
11974
12069
|
// TODO: maybe we should extract it as functional component too
|
|
11975
12070
|
'sr-only': getHiddenTextJssStyle(),
|
|
@@ -12096,4 +12191,4 @@ const getComponentCss = (size, theme) => {
|
|
|
12096
12191
|
});
|
|
12097
12192
|
};
|
|
12098
12193
|
|
|
12099
|
-
export { cssVarButtonPureMargin, cssVarButtonPurePadding, cssVarInternalInputBaseScaling, getComponentCss$
|
|
12194
|
+
export { cssVarButtonPureMargin, cssVarButtonPurePadding, cssVarInternalInputBaseScaling, getComponentCss$1p as getAccordionCss, getComponentCss$1o as getBannerCss, getComponentCss$1k as getButtonCss, getComponentCss$1n as getButtonGroupCss, getComponentCss$1m as getButtonPureCss, getComponentCss$1l as getButtonTileCss, getComponentCss$1j as getCanvasCss, getComponentCss$1i as getCarouselCss, getComponentCss$1g as getCheckboxCss, getComponentCss$1h as getCheckboxWrapperCss, getComponentCss$1f as getContentWrapperCss, getComponentCss$1e as getCrestCss, getComponentCss$1d as getDisplayCss, getComponentCss$1c as getDividerCss, getComponentCss$1b as getDrilldownCss, getComponentCss$1a as getDrilldownItemCss, getComponentCss$19 as getDrilldownLinkCss, getComponentCss$17 as getFieldsetCss, getComponentCss$18 as getFieldsetWrapperCss, getComponentCss$16 as getFlagCss, getComponentCss$14 as getFlexCss, getComponentCss$15 as getFlexItemCss, getComponentCss$13 as getFlyoutCss, getFunctionalComponentInputBaseStyles, getFunctionalComponentLabelStyles, getFunctionalComponentLoadingMessageStyles, getFunctionalComponentNoResultsOptionStyles, getFunctionalComponentRequiredStyles, getFunctionalComponentStateMessageStyles, getComponentCss$11 as getGridCss, getComponentCss$12 as getGridItemCss, getComponentCss$10 as getHeadingCss, getComponentCss$$ as getHeadlineCss, getComponentCss$_ as getIconCss, getComponentCss$Z as getInlineNotificationCss, getComponentCss$Y as getInputDateCss, getComponentCss$X as getInputEmailCss, getComponentCss$W as getInputMonthCss, getComponentCss$V as getInputNumberCss, getComponentCss$U as getInputPasswordCss, getComponentCss$T as getInputSearchCss, getComponentCss$S as getInputTelCss, getComponentCss$R as getInputTextCss, getComponentCss$Q as getInputTimeCss, getComponentCss$P as getInputUrlCss, getComponentCss$O as getInputWeekCss, getComponentCss$M as getLinkCss, getComponentCss$N as getLinkPureCss, getComponentCss$M as getLinkSocialCss, getComponentCss$J as getLinkTileCss, getComponentCss$L as getLinkTileModelSignatureCss, getComponentCss$K as getLinkTileProductCss, getComponentCss$I as getMarqueCss, getComponentCss$H as getModalCss, getComponentCss$G as getModelSignatureCss, getComponentCss$D as getMultiSelectCss, getComponentCss$F as getMultiSelectOptionCss, getComponentCss$E as getOptgroupCss, getComponentCss$C as getPaginationCss, getComponentCss$B as getPinCodeCss, getComponentCss$A as getPopoverCss, getComponentCss$z as getRadioButtonWrapperCss, getComponentCss$x as getRadioGroupCss, getComponentCss$y as getRadioGroupOptionCss, getScalingVar$4 as getScalingVar, getComponentCss$w as getScrollerCss, getComponentCss$u as getSegmentedControlCss, getComponentCss$v as getSegmentedControlItemCss, getComponentCss$q as getSelectCss, getComponentCss$r as getSelectOptionCss, getComponentCss$s as getSelectWrapperCss, getComponentCss$t as getSelectWrapperDropdownCss, getComponentCss$p as getSheetCss, getComponentCss$o as getSpinnerCss, getComponentCss$m as getStepperHorizontalCss, getComponentCss$n as getStepperHorizontalItemCss, getComponentCss$l as getSwitchCss, getComponentCss$k as getTableBodyCss, getComponentCss$i as getTableCellCss, getComponentCss$j as getTableCss, getComponentCss$h as getTableHeadCellCss, getComponentCss$f as getTableHeadCss, getComponentCss$g as getTableHeadRowCss, getComponentCss$e as getTableRowCss, getComponentCss$d as getTabsBarCss, getComponentCss$b as getTabsCss, getComponentCss$c as getTabsItemCss, getComponentCss$9 as getTagCss, getComponentCss$a as getTagDismissibleCss, getComponentCss$5 as getTextCss, getComponentCss$8 as getTextFieldWrapperCss, getComponentCss$7 as getTextListCss, getComponentCss$6 as getTextListItemCss, getComponentCss$3 as getTextareaCss, getComponentCss$4 as getTextareaWrapperCss, getComponentCss$1 as getToastCss, getComponentCss as getWordmarkCss };
|