@porsche-design-system/components-react 4.2.0-rc.4 → 4.2.0
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 +21 -0
- package/cjs/lib/components/flyout.wrapper.cjs +3 -3
- package/emotion/package.json +1 -8
- package/esm/hooks.mjs +1 -1
- package/esm/lib/components/accordion.wrapper.d.ts +8 -8
- package/esm/lib/components/banner.wrapper.d.ts +16 -16
- package/esm/lib/components/button-pure.wrapper.d.ts +32 -32
- package/esm/lib/components/button-tile.wrapper.d.ts +28 -28
- package/esm/lib/components/button.wrapper.d.ts +24 -24
- package/esm/lib/components/canvas.wrapper.d.ts +10 -10
- package/esm/lib/components/carousel.wrapper.d.ts +34 -34
- package/esm/lib/components/checkbox.wrapper.d.ts +30 -30
- package/esm/lib/components/crest.wrapper.d.ts +6 -6
- package/esm/lib/components/display.wrapper.d.ts +10 -10
- package/esm/lib/components/divider.wrapper.d.ts +4 -4
- package/esm/lib/components/drilldown-item.wrapper.d.ts +4 -4
- package/esm/lib/components/drilldown-link.wrapper.d.ts +12 -12
- package/esm/lib/components/drilldown.wrapper.d.ts +10 -10
- package/esm/lib/components/fieldset.wrapper.d.ts +12 -12
- package/esm/lib/components/flyout.wrapper.d.ts +31 -21
- package/esm/lib/components/flyout.wrapper.mjs +3 -3
- package/esm/lib/components/heading.wrapper.d.ts +14 -14
- package/esm/lib/components/icon.wrapper.d.ts +10 -10
- package/esm/lib/components/inline-notification.wrapper.d.ts +20 -20
- package/esm/lib/components/input-date.wrapper.d.ts +40 -40
- package/esm/lib/components/input-email.wrapper.d.ts +46 -46
- package/esm/lib/components/input-month.wrapper.d.ts +40 -40
- package/esm/lib/components/input-number.wrapper.d.ts +38 -38
- package/esm/lib/components/input-password.wrapper.d.ts +36 -36
- package/esm/lib/components/input-search.wrapper.d.ts +44 -44
- package/esm/lib/components/input-tel.wrapper.d.ts +44 -44
- package/esm/lib/components/input-text.wrapper.d.ts +44 -44
- package/esm/lib/components/input-time.wrapper.d.ts +40 -40
- package/esm/lib/components/input-url.wrapper.d.ts +44 -44
- package/esm/lib/components/input-week.wrapper.d.ts +40 -40
- package/esm/lib/components/link-pure.wrapper.d.ts +28 -28
- package/esm/lib/components/link-tile-product.wrapper.d.ts +22 -22
- package/esm/lib/components/link-tile.wrapper.d.ts +26 -26
- package/esm/lib/components/link.wrapper.d.ts +20 -20
- package/esm/lib/components/modal.wrapper.d.ts +20 -20
- package/esm/lib/components/model-signature.wrapper.d.ts +12 -12
- package/esm/lib/components/multi-select-option.wrapper.d.ts +4 -4
- package/esm/lib/components/multi-select.wrapper.d.ts +28 -28
- package/esm/lib/components/optgroup.wrapper.d.ts +4 -4
- package/esm/lib/components/pagination.wrapper.d.ts +12 -12
- package/esm/lib/components/pin-code.wrapper.d.ts +32 -32
- package/esm/lib/components/popover.wrapper.d.ts +6 -6
- package/esm/lib/components/radio-group-option.wrapper.d.ts +8 -8
- package/esm/lib/components/radio-group.wrapper.d.ts +30 -30
- package/esm/lib/components/scroller.wrapper.d.ts +6 -6
- package/esm/lib/components/segmented-control-item.wrapper.d.ts +12 -12
- package/esm/lib/components/segmented-control.wrapper.d.ts +30 -30
- package/esm/lib/components/select-option.wrapper.d.ts +4 -4
- package/esm/lib/components/select.wrapper.d.ts +30 -30
- package/esm/lib/components/sheet.wrapper.d.ts +16 -16
- package/esm/lib/components/spinner.wrapper.d.ts +6 -6
- package/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -2
- package/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -2
- package/esm/lib/components/switch.wrapper.d.ts +16 -16
- package/esm/lib/components/table-head-cell.wrapper.d.ts +6 -6
- package/esm/lib/components/table.wrapper.d.ts +10 -10
- package/esm/lib/components/tabs-bar.wrapper.d.ts +10 -10
- package/esm/lib/components/tabs-item.wrapper.d.ts +2 -2
- package/esm/lib/components/tabs.wrapper.d.ts +10 -10
- package/esm/lib/components/tag-dismissible.wrapper.d.ts +6 -6
- package/esm/lib/components/tag.wrapper.d.ts +8 -8
- package/esm/lib/components/text-list.wrapper.d.ts +2 -2
- package/esm/lib/components/textarea.wrapper.d.ts +48 -48
- package/esm/lib/components/wordmark.wrapper.d.ts +8 -8
- package/package.json +6 -6
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +144 -352
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +177 -90
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/flyout.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.cjs +7 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.cjs +8 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.cjs +7 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.cjs +7 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.cjs +1 -1
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +144 -352
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +174 -91
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/hooks.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/flyout.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +8 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flag.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +9 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.mjs +8 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.mjs +8 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.mjs +1 -1
- package/ssr/esm/lib/components/accordion.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/banner.wrapper.d.ts +16 -16
- package/ssr/esm/lib/components/button-pure.wrapper.d.ts +32 -32
- package/ssr/esm/lib/components/button-tile.wrapper.d.ts +28 -28
- package/ssr/esm/lib/components/button.wrapper.d.ts +24 -24
- package/ssr/esm/lib/components/canvas.wrapper.d.ts +10 -10
- package/ssr/esm/lib/components/carousel.wrapper.d.ts +34 -34
- package/ssr/esm/lib/components/checkbox.wrapper.d.ts +30 -30
- package/ssr/esm/lib/components/crest.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/display.wrapper.d.ts +10 -10
- package/ssr/esm/lib/components/divider.wrapper.d.ts +4 -4
- package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +4 -4
- package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +12 -12
- package/ssr/esm/lib/components/drilldown.wrapper.d.ts +10 -10
- package/ssr/esm/lib/components/fieldset.wrapper.d.ts +12 -12
- package/ssr/esm/lib/components/flyout.wrapper.d.ts +31 -21
- package/ssr/esm/lib/components/heading.wrapper.d.ts +14 -14
- package/ssr/esm/lib/components/icon.wrapper.d.ts +10 -10
- package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +20 -20
- package/ssr/esm/lib/components/input-date.wrapper.d.ts +40 -40
- package/ssr/esm/lib/components/input-email.wrapper.d.ts +46 -46
- package/ssr/esm/lib/components/input-month.wrapper.d.ts +40 -40
- package/ssr/esm/lib/components/input-number.wrapper.d.ts +38 -38
- package/ssr/esm/lib/components/input-password.wrapper.d.ts +36 -36
- package/ssr/esm/lib/components/input-search.wrapper.d.ts +44 -44
- package/ssr/esm/lib/components/input-tel.wrapper.d.ts +44 -44
- package/ssr/esm/lib/components/input-text.wrapper.d.ts +44 -44
- package/ssr/esm/lib/components/input-time.wrapper.d.ts +40 -40
- package/ssr/esm/lib/components/input-url.wrapper.d.ts +44 -44
- package/ssr/esm/lib/components/input-week.wrapper.d.ts +40 -40
- package/ssr/esm/lib/components/link-pure.wrapper.d.ts +28 -28
- package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +22 -22
- package/ssr/esm/lib/components/link-tile.wrapper.d.ts +26 -26
- package/ssr/esm/lib/components/link.wrapper.d.ts +20 -20
- package/ssr/esm/lib/components/modal.wrapper.d.ts +20 -20
- package/ssr/esm/lib/components/model-signature.wrapper.d.ts +12 -12
- package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +4 -4
- package/ssr/esm/lib/components/multi-select.wrapper.d.ts +28 -28
- package/ssr/esm/lib/components/optgroup.wrapper.d.ts +4 -4
- package/ssr/esm/lib/components/pagination.wrapper.d.ts +12 -12
- package/ssr/esm/lib/components/pin-code.wrapper.d.ts +32 -32
- package/ssr/esm/lib/components/popover.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/radio-group.wrapper.d.ts +30 -30
- package/ssr/esm/lib/components/scroller.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +12 -12
- package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +30 -30
- package/ssr/esm/lib/components/select-option.wrapper.d.ts +4 -4
- package/ssr/esm/lib/components/select.wrapper.d.ts +30 -30
- package/ssr/esm/lib/components/sheet.wrapper.d.ts +16 -16
- package/ssr/esm/lib/components/spinner.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/switch.wrapper.d.ts +16 -16
- package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/table.wrapper.d.ts +10 -10
- package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +10 -10
- package/ssr/esm/lib/components/tabs-item.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/tabs.wrapper.d.ts +10 -10
- package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/tag.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/text-list.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/textarea.wrapper.d.ts +48 -48
- package/ssr/esm/lib/components/wordmark.wrapper.d.ts +8 -8
- package/ssr/esm/lib/dsr-components/banner.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/flyout.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/modal.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/popover.d.ts +1 -1
- package/ssr/esm/lib/dsr-components/sheet.d.ts +1 -0
- package/tailwindcss/index.css +57 -75
- package/vanilla-extract/package.json +1 -8
|
@@ -1,249 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const palette = {
|
|
4
|
-
light: {
|
|
5
|
-
green: {
|
|
6
|
-
'50': 'hsl(115 29.7% 92.7%)',
|
|
7
|
-
'100': 'hsl(114 30.3% 87.1%)',
|
|
8
|
-
'200': 'hsl(116 29.2% 81.2%)',
|
|
9
|
-
'300': 'hsl(115 29.6% 75.5%)',
|
|
10
|
-
'400': 'hsl(116 29.9% 69.8%)',
|
|
11
|
-
'500': 'hsl(116 30.1% 64.1%)',
|
|
12
|
-
'600': 'hsl(115 30% 56.9%)',
|
|
13
|
-
'700': 'hsl(115 30.4% 49.6%)',
|
|
14
|
-
'800': 'hsl(115 40.7% 42.4%)',
|
|
15
|
-
'900': 'hsl(115 55.3% 35.1%)',
|
|
16
|
-
'950': 'hsl(115 77.5% 27.8%)',
|
|
17
|
-
'50a': 'hsl(115 77.5% 27.8% / 0.1)',
|
|
18
|
-
'100a': 'hsl(115 77.5% 27.8% / 0.18)',
|
|
19
|
-
'200a': 'hsl(115 77.5% 27.8% / 0.26)',
|
|
20
|
-
'300a': 'hsl(115 77.5% 27.8% / 0.34)',
|
|
21
|
-
'400a': 'hsl(115 77.5% 27.8% / 0.42)',
|
|
22
|
-
'500a': 'hsl(115 77.5% 27.8% / 0.5)',
|
|
23
|
-
'600a': 'hsl(115 77.5% 27.8% / 0.6)',
|
|
24
|
-
'700a': 'hsl(115 77.5% 27.8% / 0.7)',
|
|
25
|
-
'800a': 'hsl(115 77.5% 27.8% / 0.8)',
|
|
26
|
-
'900a': 'hsl(115 77.5% 27.8% / 0.9)',
|
|
27
|
-
'950a': 'hsl(115 77.5% 27.8%)',
|
|
28
|
-
},
|
|
29
|
-
red: {
|
|
30
|
-
'50': 'hsl(0 53.3% 94.1%)',
|
|
31
|
-
'100': 'hsl(358 55.6% 89.4%)',
|
|
32
|
-
'200': 'hsl(359 53.8% 84.7%)',
|
|
33
|
-
'300': 'hsl(358 54.9% 80%)',
|
|
34
|
-
'400': 'hsl(358 54% 75.3%)',
|
|
35
|
-
'500': 'hsl(357 54.7% 70.6%)',
|
|
36
|
-
'600': 'hsl(358 54.4% 64.7%)',
|
|
37
|
-
'700': 'hsl(357 54.3% 58.8%)',
|
|
38
|
-
'800': 'hsl(357 54.4% 52.7%)',
|
|
39
|
-
'900': 'hsl(357 61.5% 46.9%)',
|
|
40
|
-
'950': 'hsl(357 78% 41%)',
|
|
41
|
-
'50a': 'hsl(357 78% 41% / 0.1)',
|
|
42
|
-
'100a': 'hsl(357 78% 41% / 0.18)',
|
|
43
|
-
'200a': 'hsl(357 78% 41% / 0.26)',
|
|
44
|
-
'300a': 'hsl(357 78% 41% / 0.34)',
|
|
45
|
-
'400a': 'hsl(357 78% 41% / 0.42)',
|
|
46
|
-
'500a': 'hsl(357 78% 41% / 0.5)',
|
|
47
|
-
'600a': 'hsl(357 78% 41% / 0.6)',
|
|
48
|
-
'700a': 'hsl(357 78% 41% / 0.7)',
|
|
49
|
-
'800a': 'hsl(357 78% 41% / 0.8)',
|
|
50
|
-
'900a': 'hsl(357 78% 41% / 0.9)',
|
|
51
|
-
'950a': 'hsl(357 78% 41%)',
|
|
52
|
-
},
|
|
53
|
-
yellow: {
|
|
54
|
-
'50': 'hsl(25 51.5% 93.5%)',
|
|
55
|
-
'100': 'hsl(27 50.8% 88%)',
|
|
56
|
-
'200': 'hsl(27 50% 82.7%)',
|
|
57
|
-
'300': 'hsl(27 50.9% 77.6%)',
|
|
58
|
-
'400': 'hsl(27 50.4% 72.4%)',
|
|
59
|
-
'500': 'hsl(28 50.9% 67.3%)',
|
|
60
|
-
'600': 'hsl(28 50.5% 60.4%)',
|
|
61
|
-
'700': 'hsl(28 50.6% 53.9%)',
|
|
62
|
-
'800': 'hsl(27 56.2% 47.5%)',
|
|
63
|
-
'900': 'hsl(28 73.9% 40.6%)',
|
|
64
|
-
'950': 'hsl(28 97.7% 34.1%)',
|
|
65
|
-
'50a': 'hsl(28 97.7% 34.1% / 0.1)',
|
|
66
|
-
'100a': 'hsl(28 97.7% 34.1% / 0.18)',
|
|
67
|
-
'200a': 'hsl(28 97.7% 34.1% / 0.26)',
|
|
68
|
-
'300a': 'hsl(28 97.7% 34.1% / 0.34)',
|
|
69
|
-
'400a': 'hsl(28 97.7% 34.1% / 0.42)',
|
|
70
|
-
'500a': 'hsl(28 97.7% 34.1% / 0.5)',
|
|
71
|
-
'600a': 'hsl(28 97.7% 34.1% / 0.6)',
|
|
72
|
-
'700a': 'hsl(28 97.7% 34.1% / 0.7)',
|
|
73
|
-
'800a': 'hsl(28 97.7% 34.1% / 0.8)',
|
|
74
|
-
'900a': 'hsl(28 97.7% 34.1% / 0.9)',
|
|
75
|
-
'950a': 'hsl(28 97.7% 34.1%)',
|
|
76
|
-
},
|
|
77
|
-
blue: {
|
|
78
|
-
'50': 'hsl(229 84% 95.1%)',
|
|
79
|
-
'100': 'hsl(229 82.2% 91.2%)',
|
|
80
|
-
'200': 'hsl(228 84.6% 87.3%)',
|
|
81
|
-
'300': 'hsl(228 83.5% 83.3%)',
|
|
82
|
-
'400': 'hsl(228 82.9% 79.4%)',
|
|
83
|
-
'500': 'hsl(228 83.9% 75.7%)',
|
|
84
|
-
'600': 'hsl(228 82.7% 70.6%)',
|
|
85
|
-
'700': 'hsl(228 82.9% 65.7%)',
|
|
86
|
-
'800': 'hsl(228 83% 60.8%)',
|
|
87
|
-
'900': 'hsl(228 83.1% 55.9%)',
|
|
88
|
-
'950': 'hsl(228 83.2% 51%)',
|
|
89
|
-
'50a': 'hsl(228 83.2% 51% / 0.1)',
|
|
90
|
-
'100a': 'hsl(228 83.2% 51% / 0.18)',
|
|
91
|
-
'200a': 'hsl(228 83.2% 51% / 0.26)',
|
|
92
|
-
'300a': 'hsl(228 83.2% 51% / 0.34)',
|
|
93
|
-
'400a': 'hsl(228 83.2% 51% / 0.42)',
|
|
94
|
-
'500a': 'hsl(228 83.2% 51% / 0.5)',
|
|
95
|
-
'600a': 'hsl(228 83.2% 51% / 0.6)',
|
|
96
|
-
'700a': 'hsl(228 83.2% 51% / 0.7)',
|
|
97
|
-
'800a': 'hsl(228 83.2% 51% / 0.8)',
|
|
98
|
-
'900a': 'hsl(228 83.2% 51% / 0.9)',
|
|
99
|
-
'950a': 'hsl(228 83.2% 51%)',
|
|
100
|
-
},
|
|
101
|
-
grey: {
|
|
102
|
-
'50': 'hsl(240 10% 95%)',
|
|
103
|
-
'100': 'hsl(240 8.1% 92.7%)',
|
|
104
|
-
'200': 'hsl(225 5.7% 86.3%)',
|
|
105
|
-
'300': 'hsl(240 2.7% 78.2%)',
|
|
106
|
-
'400': 'hsl(240 1.9% 68.8%)',
|
|
107
|
-
'500': 'hsl(240 0.9% 57.6%)',
|
|
108
|
-
'600': 'hsl(240 0.8% 47.8%)',
|
|
109
|
-
'700': 'hsl(240 1.6% 37.8%)',
|
|
110
|
-
'800': 'hsl(240 2.2% 27.3%)',
|
|
111
|
-
'900': 'hsl(240 4.8% 16.5%)',
|
|
112
|
-
'950': 'hsl(225 66.7% 1.2%)',
|
|
113
|
-
'50a': 'hsl(234 9.8% 60% / 0.06)',
|
|
114
|
-
'100a': 'hsl(240 5% 70% / 0.148)',
|
|
115
|
-
'200a': 'hsl(236 6.5% 42% / 0.236)',
|
|
116
|
-
'300a': 'hsl(234 6% 32.9% / 0.324)',
|
|
117
|
-
'400a': 'hsl(233 6.6% 23.9% / 0.412)',
|
|
118
|
-
'500a': 'hsl(240 5.3% 14.9% / 0.5)',
|
|
119
|
-
'600a': 'hsl(240 6.1% 7% / 0.6)',
|
|
120
|
-
'700a': 'hsl(240 7.1% 11% / 0.7)',
|
|
121
|
-
'800a': 'hsl(240 8.7% 9% / 0.8)',
|
|
122
|
-
'900a': 'hsl(240 11.1% 7.1% / 0.9)',
|
|
123
|
-
'950a': 'hsl(240 15.4% 5.1%)',
|
|
124
|
-
},
|
|
125
|
-
},
|
|
126
4
|
dark: {
|
|
127
|
-
green: {
|
|
128
|
-
'50': 'hsl(157 33.3% 10.6%)',
|
|
129
|
-
'100': 'hsl(158 47.1% 13.3%)',
|
|
130
|
-
'200': 'hsl(157 58% 15.9%)',
|
|
131
|
-
'300': 'hsl(157 64.6% 18.8%)',
|
|
132
|
-
'400': 'hsl(157 69.1% 21.6%)',
|
|
133
|
-
'500': 'hsl(157 72.6% 24.3%)',
|
|
134
|
-
'600': 'hsl(157 76.1% 27.8%)',
|
|
135
|
-
'700': 'hsl(157 78.7% 31.4%)',
|
|
136
|
-
'800': 'hsl(157 81.8% 34.5%)',
|
|
137
|
-
'900': 'hsl(157 83.5% 38%)',
|
|
138
|
-
'950': 'hsl(157 84.9% 41.6%)',
|
|
139
|
-
'50a': 'hsl(157 84.9% 41.6% / 0.1)',
|
|
140
|
-
'100a': 'hsl(157 84.9% 41.6% / 0.18)',
|
|
141
|
-
'200a': 'hsl(157 84.9% 41.6% / 0.26)',
|
|
142
|
-
'300a': 'hsl(157 84.9% 41.6% / 0.34)',
|
|
143
|
-
'400a': 'hsl(157 84.9% 41.6% / 0.42)',
|
|
144
|
-
'500a': 'hsl(157 84.9% 41.6% / 0.5)',
|
|
145
|
-
'600a': 'hsl(157 84.9% 41.6% / 0.6)',
|
|
146
|
-
'700a': 'hsl(157 84.9% 41.6% / 0.7)',
|
|
147
|
-
'800a': 'hsl(157 84.9% 41.6% / 0.8)',
|
|
148
|
-
'900a': 'hsl(157 84.9% 41.6% / 0.9)',
|
|
149
|
-
'950a': 'hsl(157 84.9% 41.6%)',
|
|
150
|
-
},
|
|
151
|
-
red: {
|
|
152
|
-
'50': 'hsl(0 28.1% 12.5%)',
|
|
153
|
-
'100': 'hsl(0 39.5% 16.9%)',
|
|
154
|
-
'200': 'hsl(0 45% 21.4%)',
|
|
155
|
-
'300': 'hsl(0 48.5% 25.9%)',
|
|
156
|
-
'400': 'hsl(0 51.6% 30%)',
|
|
157
|
-
'500': 'hsl(0 53.4% 34.5%)',
|
|
158
|
-
'600': 'hsl(0 54.9% 40%)',
|
|
159
|
-
'700': 'hsl(0 56.9% 45.5%)',
|
|
160
|
-
'800': 'hsl(0 60% 51%)',
|
|
161
|
-
'900': 'hsl(0 76.6% 56.5%)',
|
|
162
|
-
'950': 'hsl(0 96.9% 62%)',
|
|
163
|
-
'50a': 'hsl(0 96.9% 62% / 0.1)',
|
|
164
|
-
'100a': 'hsl(0 96.9% 62% / 0.18)',
|
|
165
|
-
'200a': 'hsl(0 96.9% 62% / 0.26)',
|
|
166
|
-
'300a': 'hsl(0 96.9% 62% / 0.34)',
|
|
167
|
-
'400a': 'hsl(0 96.9% 62% / 0.42)',
|
|
168
|
-
'500a': 'hsl(0 96.9% 62% / 0.5)',
|
|
169
|
-
'600a': 'hsl(0 96.9% 62% / 0.6)',
|
|
170
|
-
'700a': 'hsl(0 96.9% 62% / 0.7)',
|
|
171
|
-
'800a': 'hsl(0 96.9% 62% / 0.8)',
|
|
172
|
-
'900a': 'hsl(0 96.9% 62% / 0.9)',
|
|
173
|
-
'950a': 'hsl(0 96.9% 62%)',
|
|
174
|
-
},
|
|
175
|
-
yellow: {
|
|
176
|
-
'50': 'hsl(29 34.4% 12%)',
|
|
177
|
-
'100': 'hsl(28 45.7% 15.9%)',
|
|
178
|
-
'200': 'hsl(28 52.5% 19.8%)',
|
|
179
|
-
'300': 'hsl(28 57% 23.7%)',
|
|
180
|
-
'400': 'hsl(28 60.3% 27.6%)',
|
|
181
|
-
'500': 'hsl(28 62.7% 31.6%)',
|
|
182
|
-
'600': 'hsl(28 65.6% 36.5%)',
|
|
183
|
-
'700': 'hsl(28 66.8% 41.4%)',
|
|
184
|
-
'800': 'hsl(28 68.6% 46.3%)',
|
|
185
|
-
'900': 'hsl(28 72.7% 51.2%)',
|
|
186
|
-
'950': 'hsl(28 90.2% 56.1%)',
|
|
187
|
-
'50a': 'hsl(28 90.2% 56.1% / 0.1)',
|
|
188
|
-
'100a': 'hsl(28 90.2% 56.1% / 0.18)',
|
|
189
|
-
'200a': 'hsl(28 90.2% 56.1% / 0.26)',
|
|
190
|
-
'300a': 'hsl(28 90.2% 56.1% / 0.34)',
|
|
191
|
-
'400a': 'hsl(28 90.2% 56.1% / 0.42)',
|
|
192
|
-
'500a': 'hsl(28 90.2% 56.1% / 0.5)',
|
|
193
|
-
'600a': 'hsl(28 90.2% 56.1% / 0.6)',
|
|
194
|
-
'700a': 'hsl(28 90.2% 56.1% / 0.7)',
|
|
195
|
-
'800a': 'hsl(28 90.2% 56.1% / 0.8)',
|
|
196
|
-
'900a': 'hsl(28 90.2% 56.1% / 0.9)',
|
|
197
|
-
'950a': 'hsl(28 90.2% 56.1%)',
|
|
198
|
-
},
|
|
199
|
-
blue: {
|
|
200
|
-
'50': 'hsl(211 37.7% 12%)',
|
|
201
|
-
'100': 'hsl(210 52.5% 15.7%)',
|
|
202
|
-
'200': 'hsl(210 61.6% 19.4%)',
|
|
203
|
-
'300': 'hsl(210 66.4% 23.3%)',
|
|
204
|
-
'400': 'hsl(210 71% 27.1%)',
|
|
205
|
-
'500': 'hsl(210 73.4% 31%)',
|
|
206
|
-
'600': 'hsl(210 76.8% 35.5%)',
|
|
207
|
-
'700': 'hsl(210 78.6% 40.4%)',
|
|
208
|
-
'800': 'hsl(210 80.9% 45.1%)',
|
|
209
|
-
'900': 'hsl(210 81.9% 49.8%)',
|
|
210
|
-
'950': 'hsl(210 100% 54.5%)',
|
|
211
|
-
'50a': 'hsl(210 100% 54.5% / 0.1)',
|
|
212
|
-
'100a': 'hsl(210 100% 54.5% / 0.18)',
|
|
213
|
-
'200a': 'hsl(210 100% 54.5% / 0.26)',
|
|
214
|
-
'300a': 'hsl(210 100% 54.5% / 0.34)',
|
|
215
|
-
'400a': 'hsl(210 100% 54.5% / 0.42)',
|
|
216
|
-
'500a': 'hsl(210 100% 54.5% / 0.5)',
|
|
217
|
-
'600a': 'hsl(210 100% 54.5% / 0.6)',
|
|
218
|
-
'700a': 'hsl(210 100% 54.5% / 0.7)',
|
|
219
|
-
'800a': 'hsl(210 100% 54.5% / 0.8)',
|
|
220
|
-
'900a': 'hsl(210 100% 54.5% / 0.9)',
|
|
221
|
-
'950a': 'hsl(210 100% 54.5%)',
|
|
222
|
-
},
|
|
223
5
|
grey: {
|
|
224
|
-
'50': 'hsl(225 66.7% 1.2%)',
|
|
225
|
-
'100': 'hsl(240 2% 10%)',
|
|
226
|
-
'200': 'hsl(240 1.3% 15.5%)',
|
|
227
|
-
'300': 'hsl(240 0.8% 23.7%)',
|
|
228
|
-
'400': 'hsl(240 0.6% 34.3%)',
|
|
229
|
-
'500': 'hsl(240 0.4% 47.6%)',
|
|
230
|
-
'600': 'hsl(240 0.5% 57.5%)',
|
|
231
|
-
'700': 'hsl(240 0.6% 67.3%)',
|
|
232
|
-
'800': 'hsl(240 0.9% 77.1%)',
|
|
233
|
-
'900': 'hsl(240 3% 87.1%)',
|
|
234
6
|
'950': 'hsl(225 100% 99%)',
|
|
235
|
-
'50a': 'hsl(225 66.7% 1.2% / 0.08)',
|
|
236
7
|
'100a': 'hsl(240 3.7% 26.5% / 0.154)',
|
|
237
|
-
'200a': 'hsl(240 2% 43% / 0.228)',
|
|
238
|
-
'300a': 'hsl(240 1.5% 61.8% / 0.302)',
|
|
239
|
-
'400a': 'hsl(240 2.9% 79.4% / 0.376)',
|
|
240
|
-
'500a': 'hsl(240 12.5% 96.9% / 0.45)',
|
|
241
|
-
'600a': 'hsl(240 12.5% 96.9% / 0.56)',
|
|
242
|
-
'700a': 'hsl(240 12.5% 96.9% / 0.67)',
|
|
243
|
-
'800a': 'hsl(240 12.5% 96.9% / 0.78)',
|
|
244
|
-
'900a': 'hsl(240 12.5% 96.9% / 0.89)',
|
|
245
|
-
'950a': 'hsl(225 100% 99%)',
|
|
246
|
-
},
|
|
8
|
+
'200a': 'hsl(240 2% 43% / 0.228)'},
|
|
247
9
|
},
|
|
248
10
|
};
|
|
249
11
|
|
|
@@ -602,18 +364,13 @@ const pointerCoarseMediaQuery = (style) => {
|
|
|
602
364
|
};
|
|
603
365
|
|
|
604
366
|
function _extends() {
|
|
605
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
606
|
-
for (var
|
|
607
|
-
var
|
|
608
|
-
for (var
|
|
609
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
610
|
-
target[key] = source[key];
|
|
611
|
-
}
|
|
612
|
-
}
|
|
367
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
368
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
369
|
+
var t = arguments[e];
|
|
370
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
613
371
|
}
|
|
614
|
-
return
|
|
615
|
-
};
|
|
616
|
-
return _extends.apply(this, arguments);
|
|
372
|
+
return n;
|
|
373
|
+
}, _extends.apply(null, arguments);
|
|
617
374
|
}
|
|
618
375
|
|
|
619
376
|
var _typeof$1 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
@@ -646,55 +403,41 @@ function toPropertyKey(t) {
|
|
|
646
403
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
647
404
|
}
|
|
648
405
|
|
|
649
|
-
function _defineProperties(
|
|
650
|
-
for (var
|
|
651
|
-
var
|
|
652
|
-
|
|
653
|
-
descriptor.configurable = true;
|
|
654
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
655
|
-
Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
|
|
406
|
+
function _defineProperties(e, r) {
|
|
407
|
+
for (var t = 0; t < r.length; t++) {
|
|
408
|
+
var o = r[t];
|
|
409
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
656
410
|
}
|
|
657
411
|
}
|
|
658
|
-
function _createClass(
|
|
659
|
-
|
|
660
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
412
|
+
function _createClass(e, r, t) {
|
|
413
|
+
return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", {
|
|
661
414
|
writable: false
|
|
662
|
-
});
|
|
663
|
-
return Constructor;
|
|
415
|
+
}), e;
|
|
664
416
|
}
|
|
665
417
|
|
|
666
|
-
function _setPrototypeOf(
|
|
667
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
};
|
|
671
|
-
return _setPrototypeOf(o, p);
|
|
418
|
+
function _setPrototypeOf(t, e) {
|
|
419
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
420
|
+
return t.__proto__ = e, t;
|
|
421
|
+
}, _setPrototypeOf(t, e);
|
|
672
422
|
}
|
|
673
423
|
|
|
674
|
-
function _inheritsLoose(
|
|
675
|
-
|
|
676
|
-
subClass.prototype.constructor = subClass;
|
|
677
|
-
_setPrototypeOf(subClass, superClass);
|
|
424
|
+
function _inheritsLoose(t, o) {
|
|
425
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
678
426
|
}
|
|
679
427
|
|
|
680
|
-
function _assertThisInitialized(
|
|
681
|
-
if (
|
|
682
|
-
|
|
683
|
-
}
|
|
684
|
-
return self;
|
|
428
|
+
function _assertThisInitialized(e) {
|
|
429
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
430
|
+
return e;
|
|
685
431
|
}
|
|
686
432
|
|
|
687
|
-
function _objectWithoutPropertiesLoose(
|
|
688
|
-
if (
|
|
689
|
-
var
|
|
690
|
-
var
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
key = sourceKeys[i];
|
|
694
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
695
|
-
target[key] = source[key];
|
|
433
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
434
|
+
if (null == r) return {};
|
|
435
|
+
var t = {};
|
|
436
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
437
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
438
|
+
t[n] = r[n];
|
|
696
439
|
}
|
|
697
|
-
return
|
|
440
|
+
return t;
|
|
698
441
|
}
|
|
699
442
|
|
|
700
443
|
var plainObjectConstrurctor = {}.constructor;
|
|
@@ -3341,7 +3084,7 @@ function getAugmentedNamespace(n) {
|
|
|
3341
3084
|
var isInstance = false;
|
|
3342
3085
|
try {
|
|
3343
3086
|
isInstance = this instanceof a;
|
|
3344
|
-
} catch {}
|
|
3087
|
+
} catch (e) {}
|
|
3345
3088
|
if (isInstance) {
|
|
3346
3089
|
return Reflect.construct(f, arguments, this.constructor);
|
|
3347
3090
|
}
|
|
@@ -4042,7 +3785,6 @@ const supportsConstructableStylesheets = () => {
|
|
|
4042
3785
|
// determine it once
|
|
4043
3786
|
supportsConstructableStylesheets();
|
|
4044
3787
|
const buildResponsiveStyles = (rawValue, getJssStyle) => {
|
|
4045
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
4046
3788
|
const value = parseJSON(rawValue);
|
|
4047
3789
|
return typeof value === 'object'
|
|
4048
3790
|
? Object.keys(value)
|
|
@@ -4051,7 +3793,6 @@ const buildResponsiveStyles = (rawValue, getJssStyle) => {
|
|
|
4051
3793
|
.filter((key) => key !== 'base')
|
|
4052
3794
|
.reduce((result, breakpointValue) => ({
|
|
4053
3795
|
...result,
|
|
4054
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
4055
3796
|
[getMediaQueryMin(breakpointValue)]: getJssStyle(value[breakpointValue]),
|
|
4056
3797
|
}), getJssStyle(value.base))
|
|
4057
3798
|
: getJssStyle(value);
|
|
@@ -4132,12 +3873,30 @@ const OPTION_LIST_SAFE_ZONE = 6;
|
|
|
4132
3873
|
|
|
4133
3874
|
const getCDNBaseURL = () => global.PORSCHE_DESIGN_SYSTEM_CDN_URL + "/porsche-design-system";
|
|
4134
3875
|
|
|
4135
|
-
const prefix = `[Porsche Design System v${"4.2.0
|
|
3876
|
+
const prefix = `[Porsche Design System v${"4.2.0"}]` // this part isn't covered by unit tests
|
|
4136
3877
|
;
|
|
4137
3878
|
const consoleError = (...messages) => {
|
|
4138
3879
|
console.error(prefix, ...messages);
|
|
4139
3880
|
};
|
|
4140
3881
|
|
|
3882
|
+
// Single source of truth for the two CSS feature queries behind the "keep on #top-layer during fade-out" capability,
|
|
3883
|
+
// shared by the JS detection (`supportsOverlayTransition`) and the CSS `@supports` wrapper
|
|
3884
|
+
// (`overlayTransitionSupportsQuery`) so the two can never drift.
|
|
3885
|
+
const overlayFeature = 'overlay: auto';
|
|
3886
|
+
const allowDiscreteFeature = 'transition-behavior: allow-discrete';
|
|
3887
|
+
/**
|
|
3888
|
+
* Wraps JSS styles in `@supports (overlay: auto) and (transition-behavior: allow-discrete)`, kept in sync with
|
|
3889
|
+
* `supportsOverlayTransition()`. Use it for styles that should only apply where the dialog/popover can stay on the
|
|
3890
|
+
* `#top-layer` during its fade-out (Chromium); other browsers defer the native hide instead (see
|
|
3891
|
+
* `createTopLayerController`).
|
|
3892
|
+
*
|
|
3893
|
+
* @param {JssStyle} style - The styles to apply only when the `overlay` transition is supported.
|
|
3894
|
+
* @returns {JssStyle} The `@supports`-wrapped styles.
|
|
3895
|
+
*/
|
|
3896
|
+
const overlayTransitionSupportsQuery = (style) => {
|
|
3897
|
+
return { [`@supports (${overlayFeature}) and (${allowDiscreteFeature})`]: style };
|
|
3898
|
+
};
|
|
3899
|
+
|
|
4141
3900
|
const headerSlot = 'header';
|
|
4142
3901
|
const anchorSlot = 'anchor';
|
|
4143
3902
|
|
|
@@ -4149,15 +3908,11 @@ const formatObjectOutput = (value) => {
|
|
|
4149
3908
|
.replace(/^"(.+)"$/, '$1'); // remove wrapping double quotes
|
|
4150
3909
|
};
|
|
4151
3910
|
const formatArrayOutput = (value) => {
|
|
4152
|
-
return (
|
|
4153
|
-
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
4154
|
-
JSON.stringify(value.map((x) => (x === undefined ? `${x}` : x))) // wrap undefined in quotes to not convert it to null
|
|
3911
|
+
return JSON.stringify(value.map((x) => (x === undefined ? `${x}` : x))) // wrap undefined in quotes to not convert it to null
|
|
4155
3912
|
.replace(/'/g, '') // remove single quotes
|
|
4156
|
-
// eslint-disable-next-line @typescript-eslint/quotes
|
|
4157
3913
|
.replace(/"/g, "'") // replace double quotes with single quotes
|
|
4158
3914
|
.replace(/'(undefined)'/, '$1') // remove quotes around undefined
|
|
4159
|
-
.replace(/,/g, ', ') // add space after comma
|
|
4160
|
-
);
|
|
3915
|
+
.replace(/,/g, ', '); // add space after comma
|
|
4161
3916
|
};
|
|
4162
3917
|
const printErrorMessage = ({ propName, propValue, // TODO: might be nicer if this is always a string
|
|
4163
3918
|
propType, componentName, instance, }) => {
|
|
@@ -4182,15 +3937,13 @@ const getBreakpointCustomizableStructure = (allowedValues) => {
|
|
|
4182
3937
|
: allowedValues);
|
|
4183
3938
|
};
|
|
4184
3939
|
const getAriaStructure = (allowedAriaAttributes) => {
|
|
4185
|
-
return
|
|
3940
|
+
return internalValidateProps
|
|
4186
3941
|
.formatObjectOutput(allowedAriaAttributes.reduce((prev, key) => ({
|
|
4187
3942
|
...prev,
|
|
4188
3943
|
[key]: 'value',
|
|
4189
3944
|
}), {}))
|
|
4190
3945
|
.replace(/":/g, '"?:') // add optional modifier on keys before colon
|
|
4191
|
-
//
|
|
4192
|
-
.replace(/"/g, "'") // replace double quotes with single quotes
|
|
4193
|
-
);
|
|
3946
|
+
.replace(/"/g, "'"); // replace double quotes with single quotes
|
|
4194
3947
|
};
|
|
4195
3948
|
const getShapeStructure = (shapeStructure) => {
|
|
4196
3949
|
return internalValidateProps
|
|
@@ -4685,6 +4438,7 @@ const getComponentCss$18 = (isOpen, position, state, hasDismissButton, hasHeadin
|
|
|
4685
4438
|
})),
|
|
4686
4439
|
left: '50vw',
|
|
4687
4440
|
width: `min(calc(100vw - 2 * ${ref(cssVarInsetX, gridExtendedOffsetBase)}),${ref(cssVarMaxWidth, '100ch')})`,
|
|
4441
|
+
overlay: 'none',
|
|
4688
4442
|
'&:popover-open': {
|
|
4689
4443
|
overlay: 'auto',
|
|
4690
4444
|
},
|
|
@@ -4699,10 +4453,10 @@ const getComponentCss$18 = (isOpen, position, state, hasDismissButton, hasHeadin
|
|
|
4699
4453
|
transform: 'translate3d(-50%,0,0)',
|
|
4700
4454
|
}),
|
|
4701
4455
|
transition,
|
|
4702
|
-
//
|
|
4703
|
-
|
|
4456
|
+
// keep the popover on the #top-layer while the fade-out runs (Chromium only; see `overlayTransitionSupportsQuery`)
|
|
4457
|
+
...overlayTransitionSupportsQuery({
|
|
4704
4458
|
transition: `${transition},${getTransition('overlay', duration, easing)} allow-discrete`,
|
|
4705
|
-
},
|
|
4459
|
+
}),
|
|
4706
4460
|
},
|
|
4707
4461
|
},
|
|
4708
4462
|
}, {
|
|
@@ -5466,6 +5220,9 @@ const cssVarPaddingInlineEnd = '--p-carousel-pe';
|
|
|
5466
5220
|
* @css-variable {"name": "--p-carousel-prev-next-color-scheme", "description": "Color Scheme applied to the navigation (prev/next buttons)"}
|
|
5467
5221
|
*/
|
|
5468
5222
|
const cssVariablePrevNextColorScheme = '--p-carousel-prev-next-color-scheme';
|
|
5223
|
+
/**
|
|
5224
|
+
* @css-variable {"name": "--p-carousel-border-radius", "description": "Sets the border radius of each carousel slide.", "defaultValue": "var(--p-radius-large, var(--p-radius-4xl))"}
|
|
5225
|
+
*/
|
|
5469
5226
|
const cssVariableGradientColorWidth = '--p-gradient-color-width';
|
|
5470
5227
|
const carouselTransitionDuration = motionDurationModerate;
|
|
5471
5228
|
const paginationInfiniteStartCaseClass = 'pagination--infinite';
|
|
@@ -6093,6 +5850,7 @@ const getDialogBackdropTransitionJssStyle = (isVisible, backdrop = 'blur') => {
|
|
|
6093
5850
|
height: '100dvh',
|
|
6094
5851
|
visibility: 'inherit',
|
|
6095
5852
|
pointerEvents: 'auto',
|
|
5853
|
+
overlay: 'auto',
|
|
6096
5854
|
background: ref(colorBackdrop),
|
|
6097
5855
|
...(isBackdropBlur && {
|
|
6098
5856
|
WebkitBackdropFilter: ref(blurFrosted),
|
|
@@ -6108,25 +5866,21 @@ const getDialogBackdropTransitionJssStyle = (isVisible, backdrop = 'blur') => {
|
|
|
6108
5866
|
height: '0px',
|
|
6109
5867
|
visibility: 'hidden', // element shall not be tabbable with keyboard after fade out transition has finished
|
|
6110
5868
|
pointerEvents: 'none', // element can't be interacted with mouse
|
|
5869
|
+
overlay: 'none',
|
|
6111
5870
|
background: 'transparent',
|
|
6112
5871
|
}),
|
|
6113
5872
|
transition,
|
|
6114
|
-
//
|
|
6115
|
-
|
|
6116
|
-
'@supports (transition-behavior: allow-discrete)': {
|
|
5873
|
+
// keep the dialog on the #top-layer while the fade-out runs (Chromium only; see `overlayTransitionSupportsQuery`)
|
|
5874
|
+
...overlayTransitionSupportsQuery({
|
|
6117
5875
|
transition: `${transition}, ${getTransition('overlay', duration, easing)} allow-discrete`,
|
|
6118
|
-
},
|
|
5876
|
+
}),
|
|
6119
5877
|
};
|
|
6120
5878
|
};
|
|
6121
5879
|
const getScrollerJssStyle = (position) => {
|
|
6122
5880
|
// ensures scrollbar color is set correctly (e.g. when scrollbar is shown on backdrop, on flyout/modal surface or with Auto Dark Mode)
|
|
6123
5881
|
const backgroundLight = 'rgba(255,255,255,.01)';
|
|
6124
|
-
const backgroundDark = 'rgba(0,0,0,.01)';
|
|
6125
5882
|
const background = {
|
|
6126
|
-
light: backgroundLight
|
|
6127
|
-
dark: backgroundDark,
|
|
6128
|
-
auto: backgroundLight,
|
|
6129
|
-
};
|
|
5883
|
+
light: backgroundLight};
|
|
6130
5884
|
return {
|
|
6131
5885
|
position: 'absolute',
|
|
6132
5886
|
isolation: 'isolate', // creates new stacking context to show scrollbars on top of header/footer areas (on iOS/iPadOS)
|
|
@@ -6143,13 +5897,17 @@ const getScrollerJssStyle = (position) => {
|
|
|
6143
5897
|
overscrollBehaviorY: 'none',
|
|
6144
5898
|
// TODO: check if smooth scrolling on iOS is given?
|
|
6145
5899
|
background: background.light,
|
|
5900
|
+
// ensure a translate3d style is always applied on .scroller and .modal/.flyout/.sheet to create a new stacking
|
|
5901
|
+
// context and prevent a Chromium paint bug: when a dialog element is nested inside another (e.g. `p-modal` within
|
|
5902
|
+
// `p-flyout`)
|
|
5903
|
+
transform: 'translate3d(0,0,0)',
|
|
6146
5904
|
};
|
|
6147
5905
|
};
|
|
6148
5906
|
const dialogBorderRadius = ref(radius3Xl);
|
|
6149
5907
|
const dialogPaddingTop = ref(spacingFluidMd$1);
|
|
6150
5908
|
const dialogPaddingBottom = `calc(${dialogBorderRadius} + ${ref(spacingFluidMd$1)})`;
|
|
6151
5909
|
const dialogPaddingInline = ref(spacingFluidLg);
|
|
6152
|
-
const dialogGridJssStyle = (
|
|
5910
|
+
const dialogGridJssStyle = () => {
|
|
6153
5911
|
return {
|
|
6154
5912
|
position: 'relative',
|
|
6155
5913
|
display: 'grid',
|
|
@@ -6158,8 +5916,12 @@ const dialogGridJssStyle = (clipPath = 'none') => {
|
|
|
6158
5916
|
paddingTop: dialogPaddingTop,
|
|
6159
5917
|
paddingBottom: dialogPaddingBottom,
|
|
6160
5918
|
alignContent: 'flex-start',
|
|
5919
|
+
// Consumers set their own `clip-path` next to their corner `border-radius` (e.g. `inset(0 round …)`).
|
|
6161
5920
|
// `overflow: clip` can't be used due to a Chromium bug that drops descendant backdrop-filter tiles (e.g. frosted p-tag); `clip-path` clips slotted content to the rounded corners without the faulty paint-containment box while keeping the scroll behavior intact
|
|
6162
|
-
|
|
5921
|
+
// Chromium paint bug: when a dialog element is nested inside another (e.g. `p-modal` within `p-flyout`),
|
|
5922
|
+
// the inner dialog's grid content fails to render. Forcing a new compositing layer via `translate3d`
|
|
5923
|
+
// triggers a repaint and fixes it. Re-check periodically; remove once the upstream Chromium bug is resolved.
|
|
5924
|
+
transform: 'translate3d(0,0,0)',
|
|
6163
5925
|
};
|
|
6164
5926
|
};
|
|
6165
5927
|
const getDialogColorJssStyle = () => {
|
|
@@ -6177,13 +5939,13 @@ const getDialogTransitionJssStyle = (isVisible, slideIn) => {
|
|
|
6177
5939
|
...(isVisible
|
|
6178
5940
|
? {
|
|
6179
5941
|
opacity: 1,
|
|
6180
|
-
transform: '
|
|
5942
|
+
transform: 'translate3d(0,0,0)',
|
|
6181
5943
|
}
|
|
6182
5944
|
: {
|
|
6183
5945
|
opacity: 0,
|
|
6184
|
-
transform: slideIn === '^' ? '
|
|
5946
|
+
transform: slideIn === '^' ? 'translate3d(0,25vh,0)' : `translate3d(${slideIn === '>' ? '-' : ''}100%,0,0)`,
|
|
6185
5947
|
'&:dir(rtl)': {
|
|
6186
|
-
transform: slideIn === '^' ? '
|
|
5948
|
+
transform: slideIn === '^' ? 'translate3d(0,25vh,0)' : `translate3d(${slideIn === '>' ? '' : '-'}100%,0,0)`,
|
|
6187
5949
|
},
|
|
6188
5950
|
}),
|
|
6189
5951
|
transition: `${getTransition('opacity', duration, easing)}, ${getTransition('transform', duration, easing)}`,
|
|
@@ -6548,11 +6310,9 @@ const getFunctionalComponentNoResultsOptionStyles = (componentName, cssVarScalin
|
|
|
6548
6310
|
};
|
|
6549
6311
|
};
|
|
6550
6312
|
|
|
6551
|
-
// index.ts
|
|
6552
|
-
var ICONS_MANIFEST = { "360": "360.0600731.svg", "4-wheel-drive": "4-wheel-drive.9c218bf.svg", "accessibility": "accessibility.087d747.svg", "active-cabin-ventilation": "active-cabin-ventilation.b081399.svg", "add": "add.fac861a.svg", "adjust": "adjust.ca46bd4.svg", "aggregation": "aggregation.96f06e5.svg", "ai-3d-object": "ai-3d-object.7a85dd7.svg", "ai-code": "ai-code.9afafb7.svg", "ai-edit": "ai-edit.75a4765.svg", "ai-image": "ai-image.c786d48.svg", "ai-scale": "ai-scale.846fde0.svg", "ai-sound": "ai-sound.727ea7a.svg", "ai-spark": "ai-spark.a134e18.svg", "ai-spark-filled": "ai-spark-filled.2d5d971.svg", "ai-text": "ai-text.fc84e09.svg", "ai-video": "ai-video.759a7f2.svg", "arrow-compact-down": "arrow-compact-down.9b37afe.svg", "arrow-compact-left": "arrow-compact-left.7169de6.svg", "arrow-compact-right": "arrow-compact-right.cc2d1d2.svg", "arrow-compact-up": "arrow-compact-up.36724bb.svg", "arrow-double-down": "arrow-double-down.61ae4d7.svg", "arrow-double-left": "arrow-double-left.1b576eb.svg", "arrow-double-right": "arrow-double-right.dcfabff.svg", "arrow-double-up": "arrow-double-up.fb73db5.svg", "arrow-down": "arrow-down.49c6983.svg", "arrow-down-left": "arrow-down-left.83597e3.svg", "arrow-down-right": "arrow-down-right.f6ec21e.svg", "arrow-first": "arrow-first.beb7d9f.svg", "arrow-head-down": "arrow-head-down.1e3cbb8.svg", "arrow-head-left": "arrow-head-left.cf1395d.svg", "arrow-head-right": "arrow-head-right.304b330.svg", "arrow-head-up": "arrow-head-up.6d3fd23.svg", "arrow-last": "arrow-last.cc24903.svg", "arrow-left": "arrow-left.e03c25b.svg", "arrow-right": "arrow-right.872716b.svg", "arrow-up": "arrow-up.9d294d1.svg", "arrow-up-left": "arrow-up-left.9e7da2c.svg", "arrow-up-right": "arrow-up-right.776feb2.svg", "arrows": "arrows.de040f9.svg", "attachment": "attachment.8f3dd0a.svg", "augmented-reality": "augmented-reality.8b6ce95.svg", "battery-empty": "battery-empty.38b4b15.svg", "battery-empty-co2": "battery-empty-co2.c4cabef.svg", "battery-empty-fuel": "battery-empty-fuel.e833e13.svg", "battery-full": "battery-full.03de75d.svg", "battery-half": "battery-half.11f1ef8.svg", "battery-one-quarter": "battery-one-quarter.91235a0.svg", "battery-three-quarters": "battery-three-quarters.dcf768f.svg", "bell": "bell.1eab3a2.svg", "bookmark": "bookmark.9d6982f.svg", "bookmark-filled": "bookmark-filled.327ac78.svg", "brain": "brain.838387a.svg", "broadcast": "broadcast.0ad5a15.svg", "cabriolet": "cabriolet.ab33aab.svg", "calculator": "calculator.a323a2d.svg", "calendar": "calendar.70a6a12.svg", "camera": "camera.e5e95b9.svg", "car": "car.35229c9.svg", "car-battery": "car-battery.895510f.svg", "card": "card.f284448.svg", "charging-active": "charging-active.c3aa214.svg", "charging-network": "charging-network.a40072f.svg", "charging-state": "charging-state.f56d8df.svg", "charging-station": "charging-station.5ff1ed4.svg", "chart": "chart.c8c32d2.svg", "chat": "chat.7945544.svg", "check": "check.8ba06be.svg", "city": "city.5ae672c.svg", "climate": "climate.a9d5818.svg", "climate-control": "climate-control.ce31939.svg", "clock": "clock.c88a1ef.svg", "close": "close.eec3c5d.svg", "closed-caption": "closed-caption.ceaf6cb.svg", "cloud": "cloud.2c3959e.svg", "co2-class": "co2-class.fc49211.svg", "co2-emission": "co2-emission.c42e7f8.svg", "color-picker": "color-picker.598f402.svg", "compare": "compare.6578829.svg", "compass": "compass.f90f319.svg", "configurate": "configurate.5311c8d.svg", "copy": "copy.0fcd086.svg", "country-road": "country-road.d2bbc5a.svg", "coupe": "coupe.7549e3e.svg", "cubic-capacity": "cubic-capacity.7b0b8c8.svg", "cut": "cut.851e5c2.svg", "delete": "delete.5a8c8ca.svg", "disable": "disable.5918c32.svg", "dislike": "dislike.51614b0.svg", "dislike-filled": "dislike-filled.e1a8c4d.svg", "document": "document.df36b6c.svg", "door": "door.61c32d6.svg", "download": "download.c06f455.svg", "drag": "drag.9e893fd.svg", "duration": "duration.94e5252.svg", "ear": "ear.27a802f.svg", "edit": "edit.330f321.svg", "email": "email.f2530de.svg", "error": "error.b8ae9ad.svg", "error-filled": "error-filled.a4d06ed.svg", "exclamation": "exclamation.46cd17b.svg", "exclamation-filled": "exclamation-filled.9d09ed1.svg", "external": "external.fb677b9.svg", "fast-backward": "fast-backward.aaca8b9.svg", "fast-forward": "fast-forward.4bc43ff.svg", "file-csv": "file-csv.4140e24.svg", "file-excel": "file-excel.56d577d.svg", "filter": "filter.610f808.svg", "fingerprint": "fingerprint.6a85170.svg", "flag": "flag.7af5baf.svg", "flash": "flash.88a2ada.svg", "fuel-station": "fuel-station.f7bdf51.svg", "garage": "garage.5014e8d.svg", "genuine-parts": "genuine-parts.6bfddde.svg", "geo-localization": "geo-localization.516d603.svg", "gift": "gift.7beb1eb.svg", "globe": "globe.56cc8fc.svg", "grid": "grid.06bc31a.svg", "grip": "grip.5ec4289.svg", "group": "group.051436a.svg", "hand": "hand.4e85714.svg", "heart": "heart.9a5962e.svg", "heart-filled": "heart-filled.dd7decf.svg", "highway": "highway.bf0eb24.svg", "highway-filled": "highway-filled.38e93fb.svg", "history": "history.f09645c.svg", "home": "home.7b1d1da.svg", "horn": "horn.bf47b1a.svg", "image": "image.b2614f0.svg", "increase": "increase.700012f.svg", "information": "information.da41162.svg", "information-filled": "information-filled.8f08911.svg", "key": "key.ee5d89b.svg", "laptop": "laptop.c422480.svg", "leaf": "leaf.92ca6a6.svg", "leather": "leather.1d2769a.svg", "light": "light.f0eb8e4.svg", "like": "like.a7468cd.svg", "like-filled": "like-filled.a0126c1.svg", "limousine": "limousine.87799d5.svg", "linked": "linked.8f30cb5.svg", "list": "list.411dd00.svg", "locate": "locate.6554f9e.svg", "lock": "lock.243281a.svg", "lock-open": "lock-open.95803d2.svg", "logo-apple-carplay": "logo-apple-carplay.c872af9.svg", "logo-apple-music": "logo-apple-music.1395f37.svg", "logo-apple-podcast": "logo-apple-podcast.09be038.svg", "logo-baidu": "logo-baidu.9e89c7d.svg", "logo-delicious": "logo-delicious.e83f574.svg", "logo-digg": "logo-digg.f096670.svg", "logo-facebook": "logo-facebook.74abe88.svg", "logo-foursquare": "logo-foursquare.d638fd8.svg", "logo-gmail": "logo-gmail.5f96ee2.svg", "logo-google": "logo-google.1dee423.svg", "logo-hatena": "logo-hatena.da509f0.svg", "logo-instagram": "logo-instagram.b916daa.svg", "logo-kaixin": "logo-kaixin.b1211a2.svg", "logo-kakaotalk": "logo-kakaotalk.38f5396.svg", "logo-kununu": "logo-kununu.79344ff.svg", "logo-linkedin": "logo-linkedin.b72559f.svg", "logo-naver": "logo-naver.75588fe.svg", "logo-pinterest": "logo-pinterest.e8f6963.svg", "logo-qq": "logo-qq.6d9b6d9.svg", "logo-qq-share": "logo-qq-share.ee864d9.svg", "logo-reddit": "logo-reddit.da13e44.svg", "logo-skyrock": "logo-skyrock.eb2f28d.svg", "logo-snapchat": "logo-snapchat.ef706a2.svg", "logo-sohu": "logo-sohu.a30c66b.svg", "logo-spotify": "logo-spotify.2ec4b2d.svg", "logo-tecent": "logo-tecent.d119e85.svg", "logo-telegram": "logo-telegram.d151481.svg", "logo-tiktok": "logo-tiktok.2f3a465.svg", "logo-tumblr": "logo-tumblr.c689f44.svg", "logo-twitter": "logo-twitter.5f2490a.svg", "logo-viber": "logo-viber.198bd43.svg", "logo-vk": "logo-vk.37b94e0.svg", "logo-wechat": "logo-wechat.83b2b98.svg", "logo-weibo": "logo-weibo.c8dacee.svg", "logo-whatsapp": "logo-whatsapp.add9a6d.svg", "logo-x": "logo-x.5f2490a.svg", "logo-xing": "logo-xing.3a8df0f.svg", "logo-yahoo": "logo-yahoo.8cbd0ba.svg", "logo-youku": "logo-youku.fe988d0.svg", "logo-youtube": "logo-youtube.da3798f.svg", "logout": "logout.7ec7451.svg", "map": "map.c16f618.svg", "menu-dots-horizontal": "menu-dots-horizontal.788f7fa.svg", "menu-dots-vertical": "menu-dots-vertical.4970a65.svg", "menu-lines": "menu-lines.e332216.svg", "microphone": "microphone.8ecdce6.svg", "minus": "minus.f6d964c.svg", "mobile": "mobile.7f35446.svg", "moon": "moon.5b73246.svg", "new-chat": "new-chat.6ba4fae.svg", "news": "news.5b604b0.svg", "north-arrow": "north-arrow.2da1dbe.svg", "oil-can": "oil-can.cb58fc7.svg", "online-search": "online-search.90e9ab1.svg", "parking-brake": "parking-brake.45704bd.svg", "parking-light": "parking-light.c49a231.svg", "paste": "paste.dd60261.svg", "pause": "pause.65f20ae.svg", "phone": "phone.f4f774b.svg", "pin": "pin.3417cec.svg", "pin-filled": "pin-filled.7b8e9ba.svg", "pivot": "pivot.3ae18b8.svg", "play": "play.03ae554.svg", "play-filled": "play-filled.0fb6689.svg", "plug": "plug.c159935.svg", "plus": "plus.319993e.svg", "preheating": "preheating.e2a796f.svg", "price-tag": "price-tag.f0d3917.svg", "printer": "printer.f59b0ee.svg", "purchase": "purchase.9cd6d65.svg", "push-pin": "push-pin.89e4ead.svg", "push-pin-off": "push-pin-off.ba99213.svg", "qr": "qr.87a49a3.svg", "qr-off": "qr-off.64e21b9.svg", "question": "question.3402a63.svg", "question-filled": "question-filled.cf25dd5.svg", "racing-flag": "racing-flag.b7ddcc8.svg", "radar": "radar.de5a6c1.svg", "radio": "radio.2b48e53.svg", "refresh": "refresh.41fd868.svg", "replay": "replay.55a99f2.svg", "reset": "reset.e53d52f.svg", "return": "return.46d30de.svg", "road": "road.bd3d4bc.svg", "roof-closed": "roof-closed.018d021.svg", "roof-open": "roof-open.51c8ee6.svg", "route": "route.f4fbbb4.svg", "rss": "rss.0e77baf.svg", "save": "save.6171ff5.svg", "screen": "screen.420be15.svg", "search": "search.3f0f1ce.svg", "seat": "seat.a3ebc40.svg", "send": "send.b32099c.svg", "service-technician": "service-technician.8749028.svg", "share": "share.a0b30da.svg", "shopping-bag": "shopping-bag.3f91a9b.svg", "shopping-bag-filled": "shopping-bag-filled.abf6c98.svg", "shopping-cart": "shopping-cart.370e224.svg", "shopping-cart-filled": "shopping-cart-filled.e0c3a65.svg", "sidebar": "sidebar.8e43896.svg", "sidelights": "sidelights.65c9dd9.svg", "skip-backward": "skip-backward.05fe8cd.svg", "skip-forward": "skip-forward.45a7bc0.svg", "snowflake": "snowflake.83907b3.svg", "sort": "sort.92b50bd.svg", "stack": "stack.804af93.svg", "star": "star.4c5bb15.svg", "star-filled": "star-filled.84ef2f6.svg", "steering-wheel": "steering-wheel.4dea19e.svg", "stop": "stop.173b6ac.svg", "stopwatch": "stopwatch.0e048a4.svg", "subtract": "subtract.57eed1d.svg", "success": "success.b16d4c1.svg", "success-filled": "success-filled.1832d98.svg", "sun": "sun.4301cbd.svg", "suv": "suv.33ac4aa.svg", "switch": "switch.66f74c4.svg", "tablet": "tablet.07341ac.svg", "tachometer": "tachometer.3a2fc3c.svg", "theme": "theme.08f6508.svg", "tire": "tire.e5c9372.svg", "trigger-finger": "trigger-finger.65aa6e2.svg", "truck": "truck.2c26c04.svg", "turismo": "turismo.a066b9f.svg", "unlinked": "unlinked.e9afe39.svg", "upload": "upload.d1f5a2a.svg", "user": "user.c18dabe.svg", "user-filled": "user-filled.2ea646d.svg", "user-group": "user-group.79cdf86.svg", "user-manual": "user-manual.470e243.svg", "video": "video.7590689.svg", "view": "view.5b4d7f6.svg", "view-off": "view-off.a4ede54.svg", "volume-off": "volume-off.bcd49e7.svg", "volume-up": "volume-up.2084f60.svg", "warning": "warning.59927e6.svg", "warning-filled": "warning-filled.1f6fe21.svg", "weather": "weather.9c96bd7.svg", "weight": "weight.b57a60d.svg", "wifi": "wifi.e2a8d9c.svg", "work": "work.9dd71a4.svg", "wrench": "wrench.09a2a67.svg", "wrenches": "wrenches.d2ed45d.svg", "zoom-in": "zoom-in.ff299b8.svg", "zoom-out": "zoom-out.ebb6246.svg" };
|
|
6313
|
+
const ICONS_MANIFEST = { "360": "360.0600731.svg", "4-wheel-drive": "4-wheel-drive.9c218bf.svg", "accessibility": "accessibility.087d747.svg", "active-cabin-ventilation": "active-cabin-ventilation.b081399.svg", "add": "add.fac861a.svg", "adjust": "adjust.ca46bd4.svg", "aggregation": "aggregation.96f06e5.svg", "ai-3d-object": "ai-3d-object.7a85dd7.svg", "ai-code": "ai-code.9afafb7.svg", "ai-edit": "ai-edit.75a4765.svg", "ai-image": "ai-image.c786d48.svg", "ai-scale": "ai-scale.846fde0.svg", "ai-sound": "ai-sound.727ea7a.svg", "ai-spark": "ai-spark.a134e18.svg", "ai-spark-filled": "ai-spark-filled.2d5d971.svg", "ai-text": "ai-text.fc84e09.svg", "ai-video": "ai-video.759a7f2.svg", "arrow-compact-down": "arrow-compact-down.9b37afe.svg", "arrow-compact-left": "arrow-compact-left.7169de6.svg", "arrow-compact-right": "arrow-compact-right.cc2d1d2.svg", "arrow-compact-up": "arrow-compact-up.36724bb.svg", "arrow-double-down": "arrow-double-down.61ae4d7.svg", "arrow-double-left": "arrow-double-left.1b576eb.svg", "arrow-double-right": "arrow-double-right.dcfabff.svg", "arrow-double-up": "arrow-double-up.fb73db5.svg", "arrow-down": "arrow-down.49c6983.svg", "arrow-down-left": "arrow-down-left.83597e3.svg", "arrow-down-right": "arrow-down-right.f6ec21e.svg", "arrow-first": "arrow-first.beb7d9f.svg", "arrow-head-down": "arrow-head-down.1e3cbb8.svg", "arrow-head-left": "arrow-head-left.cf1395d.svg", "arrow-head-right": "arrow-head-right.304b330.svg", "arrow-head-up": "arrow-head-up.6d3fd23.svg", "arrow-last": "arrow-last.cc24903.svg", "arrow-left": "arrow-left.e03c25b.svg", "arrow-right": "arrow-right.872716b.svg", "arrow-up": "arrow-up.9d294d1.svg", "arrow-up-left": "arrow-up-left.9e7da2c.svg", "arrow-up-right": "arrow-up-right.776feb2.svg", "arrows": "arrows.de040f9.svg", "attachment": "attachment.8f3dd0a.svg", "augmented-reality": "augmented-reality.8b6ce95.svg", "battery-empty": "battery-empty.38b4b15.svg", "battery-empty-co2": "battery-empty-co2.c4cabef.svg", "battery-empty-fuel": "battery-empty-fuel.e833e13.svg", "battery-full": "battery-full.03de75d.svg", "battery-half": "battery-half.11f1ef8.svg", "battery-one-quarter": "battery-one-quarter.91235a0.svg", "battery-three-quarters": "battery-three-quarters.dcf768f.svg", "bell": "bell.1eab3a2.svg", "bookmark": "bookmark.9d6982f.svg", "bookmark-filled": "bookmark-filled.327ac78.svg", "brain": "brain.838387a.svg", "broadcast": "broadcast.0ad5a15.svg", "cabriolet": "cabriolet.ab33aab.svg", "calculator": "calculator.a323a2d.svg", "calendar": "calendar.70a6a12.svg", "camera": "camera.e5e95b9.svg", "car": "car.35229c9.svg", "car-battery": "car-battery.895510f.svg", "card": "card.f284448.svg", "charging-active": "charging-active.c3aa214.svg", "charging-network": "charging-network.a40072f.svg", "charging-state": "charging-state.f56d8df.svg", "charging-station": "charging-station.5ff1ed4.svg", "chart": "chart.c8c32d2.svg", "chat": "chat.7945544.svg", "check": "check.8ba06be.svg", "city": "city.5ae672c.svg", "climate": "climate.a9d5818.svg", "climate-control": "climate-control.ce31939.svg", "clock": "clock.c88a1ef.svg", "close": "close.eec3c5d.svg", "closed-caption": "closed-caption.ceaf6cb.svg", "cloud": "cloud.2c3959e.svg", "co2-class": "co2-class.fc49211.svg", "co2-emission": "co2-emission.c42e7f8.svg", "color-picker": "color-picker.598f402.svg", "compare": "compare.6578829.svg", "compass": "compass.f90f319.svg", "configurate": "configurate.5311c8d.svg", "copy": "copy.0fcd086.svg", "country-road": "country-road.d2bbc5a.svg", "coupe": "coupe.7549e3e.svg", "cubic-capacity": "cubic-capacity.7b0b8c8.svg", "cut": "cut.851e5c2.svg", "delete": "delete.5a8c8ca.svg", "disable": "disable.5918c32.svg", "dislike": "dislike.51614b0.svg", "dislike-filled": "dislike-filled.e1a8c4d.svg", "document": "document.df36b6c.svg", "door": "door.61c32d6.svg", "download": "download.c06f455.svg", "drag": "drag.9e893fd.svg", "duration": "duration.94e5252.svg", "ear": "ear.27a802f.svg", "edit": "edit.330f321.svg", "email": "email.f2530de.svg", "error": "error.b8ae9ad.svg", "error-filled": "error-filled.a4d06ed.svg", "exclamation": "exclamation.46cd17b.svg", "exclamation-filled": "exclamation-filled.9d09ed1.svg", "external": "external.fb677b9.svg", "fast-backward": "fast-backward.aaca8b9.svg", "fast-forward": "fast-forward.4bc43ff.svg", "file-csv": "file-csv.4140e24.svg", "file-excel": "file-excel.56d577d.svg", "filter": "filter.610f808.svg", "fingerprint": "fingerprint.6a85170.svg", "flag": "flag.7af5baf.svg", "flash": "flash.88a2ada.svg", "fuel-station": "fuel-station.f7bdf51.svg", "garage": "garage.5014e8d.svg", "genuine-parts": "genuine-parts.6bfddde.svg", "geo-localization": "geo-localization.516d603.svg", "gift": "gift.7beb1eb.svg", "globe": "globe.56cc8fc.svg", "grid": "grid.06bc31a.svg", "grip": "grip.5ec4289.svg", "group": "group.051436a.svg", "hand": "hand.4e85714.svg", "heart": "heart.9a5962e.svg", "heart-filled": "heart-filled.dd7decf.svg", "highway": "highway.bf0eb24.svg", "highway-filled": "highway-filled.38e93fb.svg", "history": "history.f09645c.svg", "home": "home.7b1d1da.svg", "horn": "horn.bf47b1a.svg", "image": "image.b2614f0.svg", "increase": "increase.700012f.svg", "information": "information.da41162.svg", "information-filled": "information-filled.8f08911.svg", "key": "key.ee5d89b.svg", "laptop": "laptop.c422480.svg", "leaf": "leaf.92ca6a6.svg", "leather": "leather.1d2769a.svg", "light": "light.f0eb8e4.svg", "like": "like.a7468cd.svg", "like-filled": "like-filled.a0126c1.svg", "limousine": "limousine.87799d5.svg", "linked": "linked.8f30cb5.svg", "list": "list.411dd00.svg", "locate": "locate.6554f9e.svg", "lock": "lock.243281a.svg", "lock-open": "lock-open.95803d2.svg", "logo-apple-carplay": "logo-apple-carplay.c872af9.svg", "logo-apple-music": "logo-apple-music.1395f37.svg", "logo-apple-podcast": "logo-apple-podcast.09be038.svg", "logo-baidu": "logo-baidu.9e89c7d.svg", "logo-delicious": "logo-delicious.e83f574.svg", "logo-digg": "logo-digg.f096670.svg", "logo-facebook": "logo-facebook.74abe88.svg", "logo-foursquare": "logo-foursquare.d638fd8.svg", "logo-gmail": "logo-gmail.5f96ee2.svg", "logo-google": "logo-google.1dee423.svg", "logo-hatena": "logo-hatena.da509f0.svg", "logo-instagram": "logo-instagram.b916daa.svg", "logo-kaixin": "logo-kaixin.b1211a2.svg", "logo-kakaotalk": "logo-kakaotalk.38f5396.svg", "logo-kununu": "logo-kununu.79344ff.svg", "logo-linkedin": "logo-linkedin.b72559f.svg", "logo-naver": "logo-naver.75588fe.svg", "logo-pinterest": "logo-pinterest.e8f6963.svg", "logo-qq": "logo-qq.6d9b6d9.svg", "logo-qq-share": "logo-qq-share.ee864d9.svg", "logo-reddit": "logo-reddit.da13e44.svg", "logo-skyrock": "logo-skyrock.eb2f28d.svg", "logo-snapchat": "logo-snapchat.ef706a2.svg", "logo-sohu": "logo-sohu.a30c66b.svg", "logo-spotify": "logo-spotify.2ec4b2d.svg", "logo-tecent": "logo-tecent.d119e85.svg", "logo-telegram": "logo-telegram.d151481.svg", "logo-tiktok": "logo-tiktok.2f3a465.svg", "logo-tumblr": "logo-tumblr.c689f44.svg", "logo-twitter": "logo-twitter.5f2490a.svg", "logo-viber": "logo-viber.198bd43.svg", "logo-vk": "logo-vk.37b94e0.svg", "logo-wechat": "logo-wechat.83b2b98.svg", "logo-weibo": "logo-weibo.c8dacee.svg", "logo-whatsapp": "logo-whatsapp.add9a6d.svg", "logo-x": "logo-x.5f2490a.svg", "logo-xing": "logo-xing.3a8df0f.svg", "logo-yahoo": "logo-yahoo.8cbd0ba.svg", "logo-youku": "logo-youku.fe988d0.svg", "logo-youtube": "logo-youtube.da3798f.svg", "logout": "logout.7ec7451.svg", "map": "map.c16f618.svg", "menu-dots-horizontal": "menu-dots-horizontal.788f7fa.svg", "menu-dots-vertical": "menu-dots-vertical.4970a65.svg", "menu-lines": "menu-lines.e332216.svg", "microphone": "microphone.8ecdce6.svg", "minus": "minus.f6d964c.svg", "mobile": "mobile.7f35446.svg", "moon": "moon.5b73246.svg", "new-chat": "new-chat.6ba4fae.svg", "news": "news.5b604b0.svg", "north-arrow": "north-arrow.2da1dbe.svg", "oil-can": "oil-can.cb58fc7.svg", "online-search": "online-search.90e9ab1.svg", "parking-brake": "parking-brake.45704bd.svg", "parking-light": "parking-light.c49a231.svg", "paste": "paste.dd60261.svg", "pause": "pause.65f20ae.svg", "phone": "phone.f4f774b.svg", "pin": "pin.3417cec.svg", "pin-filled": "pin-filled.7b8e9ba.svg", "pivot": "pivot.3ae18b8.svg", "play": "play.03ae554.svg", "play-filled": "play-filled.0fb6689.svg", "plug": "plug.c159935.svg", "plus": "plus.319993e.svg", "preheating": "preheating.e2a796f.svg", "price-tag": "price-tag.f0d3917.svg", "printer": "printer.f59b0ee.svg", "purchase": "purchase.9cd6d65.svg", "push-pin": "push-pin.89e4ead.svg", "push-pin-off": "push-pin-off.ba99213.svg", "qr": "qr.87a49a3.svg", "qr-off": "qr-off.64e21b9.svg", "question": "question.3402a63.svg", "question-filled": "question-filled.cf25dd5.svg", "racing-flag": "racing-flag.b7ddcc8.svg", "radar": "radar.de5a6c1.svg", "radio": "radio.2b48e53.svg", "refresh": "refresh.41fd868.svg", "replay": "replay.55a99f2.svg", "reset": "reset.e53d52f.svg", "return": "return.46d30de.svg", "road": "road.bd3d4bc.svg", "roof-closed": "roof-closed.018d021.svg", "roof-open": "roof-open.51c8ee6.svg", "route": "route.f4fbbb4.svg", "rss": "rss.0e77baf.svg", "save": "save.6171ff5.svg", "screen": "screen.420be15.svg", "search": "search.3f0f1ce.svg", "seat": "seat.a3ebc40.svg", "send": "send.b32099c.svg", "service-technician": "service-technician.8749028.svg", "share": "share.a0b30da.svg", "shopping-bag": "shopping-bag.3f91a9b.svg", "shopping-bag-filled": "shopping-bag-filled.abf6c98.svg", "shopping-cart": "shopping-cart.370e224.svg", "shopping-cart-filled": "shopping-cart-filled.e0c3a65.svg", "sidebar": "sidebar.8e43896.svg", "sidelights": "sidelights.65c9dd9.svg", "skip-backward": "skip-backward.05fe8cd.svg", "skip-forward": "skip-forward.45a7bc0.svg", "snowflake": "snowflake.83907b3.svg", "sort": "sort.92b50bd.svg", "stack": "stack.804af93.svg", "star": "star.4c5bb15.svg", "star-filled": "star-filled.84ef2f6.svg", "steering-wheel": "steering-wheel.4dea19e.svg", "stop": "stop.173b6ac.svg", "stopwatch": "stopwatch.0e048a4.svg", "subtract": "subtract.57eed1d.svg", "success": "success.b16d4c1.svg", "success-filled": "success-filled.1832d98.svg", "sun": "sun.4301cbd.svg", "suv": "suv.33ac4aa.svg", "switch": "switch.66f74c4.svg", "tablet": "tablet.07341ac.svg", "tachometer": "tachometer.3a2fc3c.svg", "theme": "theme.08f6508.svg", "tire": "tire.e5c9372.svg", "trigger-finger": "trigger-finger.65aa6e2.svg", "truck": "truck.2c26c04.svg", "turismo": "turismo.a066b9f.svg", "unlinked": "unlinked.e9afe39.svg", "upload": "upload.d1f5a2a.svg", "user": "user.c18dabe.svg", "user-filled": "user-filled.2ea646d.svg", "user-group": "user-group.79cdf86.svg", "user-manual": "user-manual.470e243.svg", "video": "video.7590689.svg", "view": "view.5b4d7f6.svg", "view-off": "view-off.a4ede54.svg", "volume-off": "volume-off.bcd49e7.svg", "volume-up": "volume-up.2084f60.svg", "warning": "warning.59927e6.svg", "warning-filled": "warning-filled.1f6fe21.svg", "weather": "weather.9c96bd7.svg", "weight": "weight.b57a60d.svg", "wifi": "wifi.e2a8d9c.svg", "work": "work.9dd71a4.svg", "wrench": "wrench.09a2a67.svg", "wrenches": "wrenches.d2ed45d.svg", "zoom-in": "zoom-in.ff299b8.svg", "zoom-out": "zoom-out.ebb6246.svg" };
|
|
6553
6314
|
|
|
6554
|
-
|
|
6555
|
-
var MODEL_SIGNATURES_MANIFEST = { "718": { "src": "718.493a9e3.svg", "width": 79, "height": 26 }, "911": { "src": "911.b68f913.svg", "width": 94, "height": 25 }, "boxster": { "src": "boxster.c321738.svg", "width": 239, "height": 26 }, "cayenne": { "src": "cayenne.2556201.svg", "width": 245, "height": 35 }, "cayman": { "src": "cayman.cc89196.svg", "width": 229, "height": 35 }, "gt3-rs": { "src": "gt3-rs.03ac3ee.svg", "width": 238, "height": 25 }, "gt3": { "src": "gt3.bd3186c.svg", "width": 151, "height": 25 }, "gts": { "src": "gts.99bd35e.svg", "width": 121, "height": 25 }, "macan": { "src": "macan.a1844f4.svg", "width": 196, "height": 26 }, "panamera": { "src": "panamera.6dae809.svg", "width": 260, "height": 25 }, "taycan": { "src": "taycan.df444c6.svg", "width": 167, "height": 36 }, "turbo-s": { "src": "turbo-s.73f1e10.svg", "width": 199, "height": 25 }, "turbo": { "src": "turbo.6a4084a.svg", "width": 143, "height": 25 } };
|
|
6315
|
+
const MODEL_SIGNATURES_MANIFEST = { "718": { "src": "718.493a9e3.svg", "width": 79, "height": 26 }, "911": { "src": "911.b68f913.svg", "width": 94, "height": 25 }, "boxster": { "src": "boxster.c321738.svg", "width": 239, "height": 26 }, "cayenne": { "src": "cayenne.2556201.svg", "width": 245, "height": 35 }, "cayman": { "src": "cayman.cc89196.svg", "width": 229, "height": 35 }, "gt3-rs": { "src": "gt3-rs.03ac3ee.svg", "width": 238, "height": 25 }, "gt3": { "src": "gt3.bd3186c.svg", "width": 151, "height": 25 }, "gts": { "src": "gts.99bd35e.svg", "width": 121, "height": 25 }, "macan": { "src": "macan.a1844f4.svg", "width": 196, "height": 26 }, "panamera": { "src": "panamera.6dae809.svg", "width": 260, "height": 25 }, "taycan": { "src": "taycan.df444c6.svg", "width": 167, "height": 36 }, "turbo-s": { "src": "turbo-s.73f1e10.svg", "width": 199, "height": 25 }, "turbo": { "src": "turbo.6a4084a.svg", "width": 143, "height": 25 } };
|
|
6556
6316
|
|
|
6557
6317
|
const crestSize = {
|
|
6558
6318
|
width: 30,
|
|
@@ -6675,8 +6435,13 @@ const getComponentCss$$ = (color, orientation) => {
|
|
|
6675
6435
|
});
|
|
6676
6436
|
};
|
|
6677
6437
|
|
|
6678
|
-
|
|
6438
|
+
/**
|
|
6439
|
+
* @css-variable {"name": "--p-drilldown-grid-template", "description": "Overrides the CSS `grid-template` of the default slot container, allowing custom grid layout for drilldown items.", "defaultValue": "auto/auto"}
|
|
6440
|
+
*/
|
|
6679
6441
|
const cssVariableGridTemplate = '--p-drilldown-grid-template';
|
|
6442
|
+
/**
|
|
6443
|
+
* @css-variable {"name": "--p-drilldown-gap", "description": "Overrides the gap between drilldown items in the default slot container.", "defaultValue": "8px"}
|
|
6444
|
+
*/
|
|
6680
6445
|
const cssVariableGap = '--p-drilldown-gap';
|
|
6681
6446
|
// private css variables
|
|
6682
6447
|
const cssVarColorPrimary = '--_p-drilldown-a';
|
|
@@ -7282,6 +7047,9 @@ const getComponentCss$W = (size) => {
|
|
|
7282
7047
|
* @css-variable {"name": "--p-flyout-width", "description": "Width of the flyout.", "defaultValue": "auto"}
|
|
7283
7048
|
*/
|
|
7284
7049
|
const cssVariableWidth$2 = '--p-flyout-width';
|
|
7050
|
+
/**
|
|
7051
|
+
* @css-variable {"name": "--p-flyout-sticky-top", "description": "@experimental Exposes the header's height as a read-only CSS variable, set automatically by the component. Slotted sticky content can use this value to offset their top position correctly."}
|
|
7052
|
+
*/
|
|
7285
7053
|
/**
|
|
7286
7054
|
* @css-variable {"name": "--ref-p-flyout-pt", "description": "Exposes the internally used padding-top of the Flyout as read only CSS variable. When slotting e.g. a media container, this variable can be used to stretch the element to the top of the Flyout."}
|
|
7287
7055
|
*/
|
|
@@ -7294,7 +7062,7 @@ const cssVarRefPaddingBottom$2 = '--ref-p-flyout-pb';
|
|
|
7294
7062
|
* @css-variable {"name": "--ref-p-flyout-px", "description": "Exposes the internally used padding-inline of the Flyout as read only CSS variable. When slotting e.g. a media container, this variable can be used to stretch the element to the full horizontal size of the Flyout."}
|
|
7295
7063
|
*/
|
|
7296
7064
|
const cssVarRefPaddingInline$2 = '--ref-p-flyout-px';
|
|
7297
|
-
const getComponentCss$V = (isOpen, background, backdrop, position, hasHeader, hasFooter, hasSubFooter, footerBehavior) => {
|
|
7065
|
+
const getComponentCss$V = (isOpen, background, backdrop, position, hasHeader, hasFooter, hasSubFooter, footerBehavior, fullscreen) => {
|
|
7298
7066
|
const isPositionStart = position === 'start';
|
|
7299
7067
|
const isFooterFixed = footerBehavior === 'fixed';
|
|
7300
7068
|
return getCss({
|
|
@@ -7345,35 +7113,49 @@ const getComponentCss$V = (isOpen, background, backdrop, position, hasHeader, ha
|
|
|
7345
7113
|
},
|
|
7346
7114
|
},
|
|
7347
7115
|
flyout: {
|
|
7348
|
-
...dialogGridJssStyle(
|
|
7349
|
-
? `inset(0 round 0 ${dialogBorderRadius} ${dialogBorderRadius} 0)` // position 'start': round inline-end (right in LTR) corners only
|
|
7350
|
-
: `inset(0 round ${dialogBorderRadius} 0 0 ${dialogBorderRadius})` // position 'end': round inline-start (left in LTR) corners only
|
|
7351
|
-
),
|
|
7116
|
+
...dialogGridJssStyle(),
|
|
7352
7117
|
...getDialogColorJssStyle(),
|
|
7353
|
-
|
|
7354
|
-
minWidth: '320px',
|
|
7355
|
-
maxWidth: '100vw',
|
|
7356
|
-
// `clip-path` uses physical corners, so mirror for RTL to keep parity with the logical border*Radius below
|
|
7357
|
-
'&:dir(rtl)': {
|
|
7358
|
-
clipPath: isPositionStart
|
|
7359
|
-
? `inset(0 round ${dialogBorderRadius} 0 0 ${dialogBorderRadius})`
|
|
7360
|
-
: `inset(0 round 0 ${dialogBorderRadius} ${dialogBorderRadius} 0)`,
|
|
7361
|
-
},
|
|
7362
|
-
...(isPositionStart
|
|
7118
|
+
...buildResponsiveStyles(fullscreen, (fullscreenValue) => fullscreenValue
|
|
7363
7119
|
? {
|
|
7364
|
-
|
|
7365
|
-
|
|
7366
|
-
|
|
7367
|
-
|
|
7368
|
-
|
|
7120
|
+
// fullscreen spans the whole viewport width, so corners are squared and corner clipping is disabled
|
|
7121
|
+
width: '100dvw',
|
|
7122
|
+
minWidth: 'auto',
|
|
7123
|
+
maxWidth: 'none',
|
|
7124
|
+
borderRadius: 0,
|
|
7125
|
+
clipPath: 'none',
|
|
7126
|
+
// the flyout touches both inline edges, so the inner-side HCM border is no longer needed
|
|
7127
|
+
'&:dir(rtl)': {
|
|
7128
|
+
clipPath: 'none',
|
|
7129
|
+
},
|
|
7369
7130
|
}
|
|
7370
7131
|
: {
|
|
7371
|
-
|
|
7372
|
-
|
|
7373
|
-
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
|
-
|
|
7132
|
+
width: ref(cssVariableWidth$2, 'auto'),
|
|
7133
|
+
minWidth: '320px',
|
|
7134
|
+
maxWidth: '100vw',
|
|
7135
|
+
clipPath: isPositionStart
|
|
7136
|
+
? `inset(0 round 0 ${dialogBorderRadius} ${dialogBorderRadius} 0)` // position 'start': round inline-end (right in LTR) corners only
|
|
7137
|
+
: `inset(0 round ${dialogBorderRadius} 0 0 ${dialogBorderRadius})`, // position 'end': round inline-start (left in LTR) corners only
|
|
7138
|
+
// `clip-path` uses physical corners, so mirror for RTL to keep parity with the logical border*Radius below
|
|
7139
|
+
'&:dir(rtl)': {
|
|
7140
|
+
clipPath: isPositionStart
|
|
7141
|
+
? `inset(0 round ${dialogBorderRadius} 0 0 ${dialogBorderRadius})`
|
|
7142
|
+
: `inset(0 round 0 ${dialogBorderRadius} ${dialogBorderRadius} 0)`,
|
|
7143
|
+
},
|
|
7144
|
+
...(isPositionStart
|
|
7145
|
+
? {
|
|
7146
|
+
borderStartEndRadius: dialogBorderRadius,
|
|
7147
|
+
borderEndEndRadius: dialogBorderRadius,
|
|
7148
|
+
...forcedColorsMediaQuery({
|
|
7149
|
+
borderInlineEnd: '2px solid CanvasText',
|
|
7150
|
+
}),
|
|
7151
|
+
}
|
|
7152
|
+
: {
|
|
7153
|
+
borderStartStartRadius: dialogBorderRadius,
|
|
7154
|
+
borderEndStartRadius: dialogBorderRadius,
|
|
7155
|
+
...forcedColorsMediaQuery({
|
|
7156
|
+
borderInlineStart: '2px solid CanvasText',
|
|
7157
|
+
}),
|
|
7158
|
+
}),
|
|
7377
7159
|
}),
|
|
7378
7160
|
...(isFooterFixed && {
|
|
7379
7161
|
gridTemplateRows: hasHeader ? 'auto 1fr auto' : '1fr',
|
|
@@ -7423,7 +7205,6 @@ const getComponentCss$U = (size, weight, align, color, hyphens, ellipsis) => {
|
|
|
7423
7205
|
|
|
7424
7206
|
const isUrl = (str) => str?.length > 0 && /(\/)/.test(str);
|
|
7425
7207
|
const DEFAULT_ICON_NAME = 'arrow-right';
|
|
7426
|
-
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
|
|
7427
7208
|
const buildIconUrl = (iconNameOrSource = DEFAULT_ICON_NAME) => {
|
|
7428
7209
|
if (iconNameOrSource === null) {
|
|
7429
7210
|
return buildIconUrl(DEFAULT_ICON_NAME);
|
|
@@ -8167,7 +7948,7 @@ const getComponentCss$C = (isOpen, background, backdrop, fullscreen, hasDismissB
|
|
|
8167
7948
|
},
|
|
8168
7949
|
scroller: getScrollerJssStyle('fullscreen'),
|
|
8169
7950
|
modal: {
|
|
8170
|
-
...dialogGridJssStyle(
|
|
7951
|
+
...dialogGridJssStyle(),
|
|
8171
7952
|
...getDialogColorJssStyle(),
|
|
8172
7953
|
...getDialogTransitionJssStyle(isOpen, '^'),
|
|
8173
7954
|
...buildResponsiveStyles(fullscreen, (fullscreenValue) => fullscreenValue
|
|
@@ -8187,6 +7968,7 @@ const getComponentCss$C = (isOpen, background, backdrop, fullscreen, hasDismissB
|
|
|
8187
7968
|
placeSelf: 'center',
|
|
8188
7969
|
margin: `${ref(cssVariableSpacingTop, 'clamp(16px, 10vh, 192px)')} ${gridExtendedOffsetBase} ${ref(cssVariableSpacingBottom, 'clamp(16px, 10vh, 192px)')}`, // horizontal margin is needed to ensure modal is placed on "Porsche Grid" when slotted content is wider than the viewport width
|
|
8189
7970
|
borderRadius: dialogBorderRadius,
|
|
7971
|
+
clipPath: `inset(0 round ${dialogBorderRadius})`, // non-fullscreen has rounded corners, so clip slotted content to them
|
|
8190
7972
|
...forcedColorsMediaQuery({
|
|
8191
7973
|
outline: '2px solid CanvasText',
|
|
8192
7974
|
outlineOffset: '-2px',
|
|
@@ -8203,8 +7985,17 @@ const getSvgUrl = (model) => {
|
|
|
8203
7985
|
return `${getCDNBaseURL()}/model-signatures/${MODEL_SIGNATURES_MANIFEST[model].src}`;
|
|
8204
7986
|
};
|
|
8205
7987
|
|
|
7988
|
+
/**
|
|
7989
|
+
* @css-variable {"name": "--p-model-signature-width", "description": "Overrides the width of the model signature.", "defaultValue": ""}
|
|
7990
|
+
*/
|
|
8206
7991
|
const cssVariableWidth = '--p-model-signature-width';
|
|
7992
|
+
/**
|
|
7993
|
+
* @css-variable {"name": "--p-model-signature-height", "description": "Overrides the height of the model signature.", "defaultValue": "auto"}
|
|
7994
|
+
*/
|
|
8207
7995
|
const cssVariableHeight = '--p-model-signature-height';
|
|
7996
|
+
/**
|
|
7997
|
+
* @css-variable {"name": "--p-model-signature-color", "description": "Overrides the fill color of the model signature. Overrides the `color` property when set.", "defaultValue": ""}
|
|
7998
|
+
*/
|
|
8208
7999
|
const cssVariableColor = '--p-model-signature-color';
|
|
8209
8000
|
const colorMap = {
|
|
8210
8001
|
primary: ref(colorPrimary),
|
|
@@ -9239,7 +9030,7 @@ const getComponentCss$n = (isOpen, background, hasDismissButton) => {
|
|
|
9239
9030
|
},
|
|
9240
9031
|
scroller: getScrollerJssStyle('fullscreen'),
|
|
9241
9032
|
sheet: {
|
|
9242
|
-
...dialogGridJssStyle(
|
|
9033
|
+
...dialogGridJssStyle(),
|
|
9243
9034
|
...getDialogColorJssStyle(),
|
|
9244
9035
|
...getDialogTransitionJssStyle(isOpen, '^'),
|
|
9245
9036
|
width: '100%',
|
|
@@ -9247,6 +9038,7 @@ const getComponentCss$n = (isOpen, background, hasDismissButton) => {
|
|
|
9247
9038
|
marginBlockStart: ref(spacingFluidLg), // ensures minimal space at the top to visualize paper sheet like border top radius in case sheet becomes scrollable
|
|
9248
9039
|
borderTopLeftRadius: dialogBorderRadius,
|
|
9249
9040
|
borderTopRightRadius: dialogBorderRadius,
|
|
9041
|
+
clipPath: `inset(0 round ${dialogBorderRadius} ${dialogBorderRadius} 0 0)`, // round top corners only
|
|
9250
9042
|
...forcedColorsMediaQuery({
|
|
9251
9043
|
borderTop: '2px solid CanvasText',
|
|
9252
9044
|
}),
|