@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,247 +1,9 @@
|
|
|
1
1
|
const palette = {
|
|
2
|
-
light: {
|
|
3
|
-
green: {
|
|
4
|
-
'50': 'hsl(115 29.7% 92.7%)',
|
|
5
|
-
'100': 'hsl(114 30.3% 87.1%)',
|
|
6
|
-
'200': 'hsl(116 29.2% 81.2%)',
|
|
7
|
-
'300': 'hsl(115 29.6% 75.5%)',
|
|
8
|
-
'400': 'hsl(116 29.9% 69.8%)',
|
|
9
|
-
'500': 'hsl(116 30.1% 64.1%)',
|
|
10
|
-
'600': 'hsl(115 30% 56.9%)',
|
|
11
|
-
'700': 'hsl(115 30.4% 49.6%)',
|
|
12
|
-
'800': 'hsl(115 40.7% 42.4%)',
|
|
13
|
-
'900': 'hsl(115 55.3% 35.1%)',
|
|
14
|
-
'950': 'hsl(115 77.5% 27.8%)',
|
|
15
|
-
'50a': 'hsl(115 77.5% 27.8% / 0.1)',
|
|
16
|
-
'100a': 'hsl(115 77.5% 27.8% / 0.18)',
|
|
17
|
-
'200a': 'hsl(115 77.5% 27.8% / 0.26)',
|
|
18
|
-
'300a': 'hsl(115 77.5% 27.8% / 0.34)',
|
|
19
|
-
'400a': 'hsl(115 77.5% 27.8% / 0.42)',
|
|
20
|
-
'500a': 'hsl(115 77.5% 27.8% / 0.5)',
|
|
21
|
-
'600a': 'hsl(115 77.5% 27.8% / 0.6)',
|
|
22
|
-
'700a': 'hsl(115 77.5% 27.8% / 0.7)',
|
|
23
|
-
'800a': 'hsl(115 77.5% 27.8% / 0.8)',
|
|
24
|
-
'900a': 'hsl(115 77.5% 27.8% / 0.9)',
|
|
25
|
-
'950a': 'hsl(115 77.5% 27.8%)',
|
|
26
|
-
},
|
|
27
|
-
red: {
|
|
28
|
-
'50': 'hsl(0 53.3% 94.1%)',
|
|
29
|
-
'100': 'hsl(358 55.6% 89.4%)',
|
|
30
|
-
'200': 'hsl(359 53.8% 84.7%)',
|
|
31
|
-
'300': 'hsl(358 54.9% 80%)',
|
|
32
|
-
'400': 'hsl(358 54% 75.3%)',
|
|
33
|
-
'500': 'hsl(357 54.7% 70.6%)',
|
|
34
|
-
'600': 'hsl(358 54.4% 64.7%)',
|
|
35
|
-
'700': 'hsl(357 54.3% 58.8%)',
|
|
36
|
-
'800': 'hsl(357 54.4% 52.7%)',
|
|
37
|
-
'900': 'hsl(357 61.5% 46.9%)',
|
|
38
|
-
'950': 'hsl(357 78% 41%)',
|
|
39
|
-
'50a': 'hsl(357 78% 41% / 0.1)',
|
|
40
|
-
'100a': 'hsl(357 78% 41% / 0.18)',
|
|
41
|
-
'200a': 'hsl(357 78% 41% / 0.26)',
|
|
42
|
-
'300a': 'hsl(357 78% 41% / 0.34)',
|
|
43
|
-
'400a': 'hsl(357 78% 41% / 0.42)',
|
|
44
|
-
'500a': 'hsl(357 78% 41% / 0.5)',
|
|
45
|
-
'600a': 'hsl(357 78% 41% / 0.6)',
|
|
46
|
-
'700a': 'hsl(357 78% 41% / 0.7)',
|
|
47
|
-
'800a': 'hsl(357 78% 41% / 0.8)',
|
|
48
|
-
'900a': 'hsl(357 78% 41% / 0.9)',
|
|
49
|
-
'950a': 'hsl(357 78% 41%)',
|
|
50
|
-
},
|
|
51
|
-
yellow: {
|
|
52
|
-
'50': 'hsl(25 51.5% 93.5%)',
|
|
53
|
-
'100': 'hsl(27 50.8% 88%)',
|
|
54
|
-
'200': 'hsl(27 50% 82.7%)',
|
|
55
|
-
'300': 'hsl(27 50.9% 77.6%)',
|
|
56
|
-
'400': 'hsl(27 50.4% 72.4%)',
|
|
57
|
-
'500': 'hsl(28 50.9% 67.3%)',
|
|
58
|
-
'600': 'hsl(28 50.5% 60.4%)',
|
|
59
|
-
'700': 'hsl(28 50.6% 53.9%)',
|
|
60
|
-
'800': 'hsl(27 56.2% 47.5%)',
|
|
61
|
-
'900': 'hsl(28 73.9% 40.6%)',
|
|
62
|
-
'950': 'hsl(28 97.7% 34.1%)',
|
|
63
|
-
'50a': 'hsl(28 97.7% 34.1% / 0.1)',
|
|
64
|
-
'100a': 'hsl(28 97.7% 34.1% / 0.18)',
|
|
65
|
-
'200a': 'hsl(28 97.7% 34.1% / 0.26)',
|
|
66
|
-
'300a': 'hsl(28 97.7% 34.1% / 0.34)',
|
|
67
|
-
'400a': 'hsl(28 97.7% 34.1% / 0.42)',
|
|
68
|
-
'500a': 'hsl(28 97.7% 34.1% / 0.5)',
|
|
69
|
-
'600a': 'hsl(28 97.7% 34.1% / 0.6)',
|
|
70
|
-
'700a': 'hsl(28 97.7% 34.1% / 0.7)',
|
|
71
|
-
'800a': 'hsl(28 97.7% 34.1% / 0.8)',
|
|
72
|
-
'900a': 'hsl(28 97.7% 34.1% / 0.9)',
|
|
73
|
-
'950a': 'hsl(28 97.7% 34.1%)',
|
|
74
|
-
},
|
|
75
|
-
blue: {
|
|
76
|
-
'50': 'hsl(229 84% 95.1%)',
|
|
77
|
-
'100': 'hsl(229 82.2% 91.2%)',
|
|
78
|
-
'200': 'hsl(228 84.6% 87.3%)',
|
|
79
|
-
'300': 'hsl(228 83.5% 83.3%)',
|
|
80
|
-
'400': 'hsl(228 82.9% 79.4%)',
|
|
81
|
-
'500': 'hsl(228 83.9% 75.7%)',
|
|
82
|
-
'600': 'hsl(228 82.7% 70.6%)',
|
|
83
|
-
'700': 'hsl(228 82.9% 65.7%)',
|
|
84
|
-
'800': 'hsl(228 83% 60.8%)',
|
|
85
|
-
'900': 'hsl(228 83.1% 55.9%)',
|
|
86
|
-
'950': 'hsl(228 83.2% 51%)',
|
|
87
|
-
'50a': 'hsl(228 83.2% 51% / 0.1)',
|
|
88
|
-
'100a': 'hsl(228 83.2% 51% / 0.18)',
|
|
89
|
-
'200a': 'hsl(228 83.2% 51% / 0.26)',
|
|
90
|
-
'300a': 'hsl(228 83.2% 51% / 0.34)',
|
|
91
|
-
'400a': 'hsl(228 83.2% 51% / 0.42)',
|
|
92
|
-
'500a': 'hsl(228 83.2% 51% / 0.5)',
|
|
93
|
-
'600a': 'hsl(228 83.2% 51% / 0.6)',
|
|
94
|
-
'700a': 'hsl(228 83.2% 51% / 0.7)',
|
|
95
|
-
'800a': 'hsl(228 83.2% 51% / 0.8)',
|
|
96
|
-
'900a': 'hsl(228 83.2% 51% / 0.9)',
|
|
97
|
-
'950a': 'hsl(228 83.2% 51%)',
|
|
98
|
-
},
|
|
99
|
-
grey: {
|
|
100
|
-
'50': 'hsl(240 10% 95%)',
|
|
101
|
-
'100': 'hsl(240 8.1% 92.7%)',
|
|
102
|
-
'200': 'hsl(225 5.7% 86.3%)',
|
|
103
|
-
'300': 'hsl(240 2.7% 78.2%)',
|
|
104
|
-
'400': 'hsl(240 1.9% 68.8%)',
|
|
105
|
-
'500': 'hsl(240 0.9% 57.6%)',
|
|
106
|
-
'600': 'hsl(240 0.8% 47.8%)',
|
|
107
|
-
'700': 'hsl(240 1.6% 37.8%)',
|
|
108
|
-
'800': 'hsl(240 2.2% 27.3%)',
|
|
109
|
-
'900': 'hsl(240 4.8% 16.5%)',
|
|
110
|
-
'950': 'hsl(225 66.7% 1.2%)',
|
|
111
|
-
'50a': 'hsl(234 9.8% 60% / 0.06)',
|
|
112
|
-
'100a': 'hsl(240 5% 70% / 0.148)',
|
|
113
|
-
'200a': 'hsl(236 6.5% 42% / 0.236)',
|
|
114
|
-
'300a': 'hsl(234 6% 32.9% / 0.324)',
|
|
115
|
-
'400a': 'hsl(233 6.6% 23.9% / 0.412)',
|
|
116
|
-
'500a': 'hsl(240 5.3% 14.9% / 0.5)',
|
|
117
|
-
'600a': 'hsl(240 6.1% 7% / 0.6)',
|
|
118
|
-
'700a': 'hsl(240 7.1% 11% / 0.7)',
|
|
119
|
-
'800a': 'hsl(240 8.7% 9% / 0.8)',
|
|
120
|
-
'900a': 'hsl(240 11.1% 7.1% / 0.9)',
|
|
121
|
-
'950a': 'hsl(240 15.4% 5.1%)',
|
|
122
|
-
},
|
|
123
|
-
},
|
|
124
2
|
dark: {
|
|
125
|
-
green: {
|
|
126
|
-
'50': 'hsl(157 33.3% 10.6%)',
|
|
127
|
-
'100': 'hsl(158 47.1% 13.3%)',
|
|
128
|
-
'200': 'hsl(157 58% 15.9%)',
|
|
129
|
-
'300': 'hsl(157 64.6% 18.8%)',
|
|
130
|
-
'400': 'hsl(157 69.1% 21.6%)',
|
|
131
|
-
'500': 'hsl(157 72.6% 24.3%)',
|
|
132
|
-
'600': 'hsl(157 76.1% 27.8%)',
|
|
133
|
-
'700': 'hsl(157 78.7% 31.4%)',
|
|
134
|
-
'800': 'hsl(157 81.8% 34.5%)',
|
|
135
|
-
'900': 'hsl(157 83.5% 38%)',
|
|
136
|
-
'950': 'hsl(157 84.9% 41.6%)',
|
|
137
|
-
'50a': 'hsl(157 84.9% 41.6% / 0.1)',
|
|
138
|
-
'100a': 'hsl(157 84.9% 41.6% / 0.18)',
|
|
139
|
-
'200a': 'hsl(157 84.9% 41.6% / 0.26)',
|
|
140
|
-
'300a': 'hsl(157 84.9% 41.6% / 0.34)',
|
|
141
|
-
'400a': 'hsl(157 84.9% 41.6% / 0.42)',
|
|
142
|
-
'500a': 'hsl(157 84.9% 41.6% / 0.5)',
|
|
143
|
-
'600a': 'hsl(157 84.9% 41.6% / 0.6)',
|
|
144
|
-
'700a': 'hsl(157 84.9% 41.6% / 0.7)',
|
|
145
|
-
'800a': 'hsl(157 84.9% 41.6% / 0.8)',
|
|
146
|
-
'900a': 'hsl(157 84.9% 41.6% / 0.9)',
|
|
147
|
-
'950a': 'hsl(157 84.9% 41.6%)',
|
|
148
|
-
},
|
|
149
|
-
red: {
|
|
150
|
-
'50': 'hsl(0 28.1% 12.5%)',
|
|
151
|
-
'100': 'hsl(0 39.5% 16.9%)',
|
|
152
|
-
'200': 'hsl(0 45% 21.4%)',
|
|
153
|
-
'300': 'hsl(0 48.5% 25.9%)',
|
|
154
|
-
'400': 'hsl(0 51.6% 30%)',
|
|
155
|
-
'500': 'hsl(0 53.4% 34.5%)',
|
|
156
|
-
'600': 'hsl(0 54.9% 40%)',
|
|
157
|
-
'700': 'hsl(0 56.9% 45.5%)',
|
|
158
|
-
'800': 'hsl(0 60% 51%)',
|
|
159
|
-
'900': 'hsl(0 76.6% 56.5%)',
|
|
160
|
-
'950': 'hsl(0 96.9% 62%)',
|
|
161
|
-
'50a': 'hsl(0 96.9% 62% / 0.1)',
|
|
162
|
-
'100a': 'hsl(0 96.9% 62% / 0.18)',
|
|
163
|
-
'200a': 'hsl(0 96.9% 62% / 0.26)',
|
|
164
|
-
'300a': 'hsl(0 96.9% 62% / 0.34)',
|
|
165
|
-
'400a': 'hsl(0 96.9% 62% / 0.42)',
|
|
166
|
-
'500a': 'hsl(0 96.9% 62% / 0.5)',
|
|
167
|
-
'600a': 'hsl(0 96.9% 62% / 0.6)',
|
|
168
|
-
'700a': 'hsl(0 96.9% 62% / 0.7)',
|
|
169
|
-
'800a': 'hsl(0 96.9% 62% / 0.8)',
|
|
170
|
-
'900a': 'hsl(0 96.9% 62% / 0.9)',
|
|
171
|
-
'950a': 'hsl(0 96.9% 62%)',
|
|
172
|
-
},
|
|
173
|
-
yellow: {
|
|
174
|
-
'50': 'hsl(29 34.4% 12%)',
|
|
175
|
-
'100': 'hsl(28 45.7% 15.9%)',
|
|
176
|
-
'200': 'hsl(28 52.5% 19.8%)',
|
|
177
|
-
'300': 'hsl(28 57% 23.7%)',
|
|
178
|
-
'400': 'hsl(28 60.3% 27.6%)',
|
|
179
|
-
'500': 'hsl(28 62.7% 31.6%)',
|
|
180
|
-
'600': 'hsl(28 65.6% 36.5%)',
|
|
181
|
-
'700': 'hsl(28 66.8% 41.4%)',
|
|
182
|
-
'800': 'hsl(28 68.6% 46.3%)',
|
|
183
|
-
'900': 'hsl(28 72.7% 51.2%)',
|
|
184
|
-
'950': 'hsl(28 90.2% 56.1%)',
|
|
185
|
-
'50a': 'hsl(28 90.2% 56.1% / 0.1)',
|
|
186
|
-
'100a': 'hsl(28 90.2% 56.1% / 0.18)',
|
|
187
|
-
'200a': 'hsl(28 90.2% 56.1% / 0.26)',
|
|
188
|
-
'300a': 'hsl(28 90.2% 56.1% / 0.34)',
|
|
189
|
-
'400a': 'hsl(28 90.2% 56.1% / 0.42)',
|
|
190
|
-
'500a': 'hsl(28 90.2% 56.1% / 0.5)',
|
|
191
|
-
'600a': 'hsl(28 90.2% 56.1% / 0.6)',
|
|
192
|
-
'700a': 'hsl(28 90.2% 56.1% / 0.7)',
|
|
193
|
-
'800a': 'hsl(28 90.2% 56.1% / 0.8)',
|
|
194
|
-
'900a': 'hsl(28 90.2% 56.1% / 0.9)',
|
|
195
|
-
'950a': 'hsl(28 90.2% 56.1%)',
|
|
196
|
-
},
|
|
197
|
-
blue: {
|
|
198
|
-
'50': 'hsl(211 37.7% 12%)',
|
|
199
|
-
'100': 'hsl(210 52.5% 15.7%)',
|
|
200
|
-
'200': 'hsl(210 61.6% 19.4%)',
|
|
201
|
-
'300': 'hsl(210 66.4% 23.3%)',
|
|
202
|
-
'400': 'hsl(210 71% 27.1%)',
|
|
203
|
-
'500': 'hsl(210 73.4% 31%)',
|
|
204
|
-
'600': 'hsl(210 76.8% 35.5%)',
|
|
205
|
-
'700': 'hsl(210 78.6% 40.4%)',
|
|
206
|
-
'800': 'hsl(210 80.9% 45.1%)',
|
|
207
|
-
'900': 'hsl(210 81.9% 49.8%)',
|
|
208
|
-
'950': 'hsl(210 100% 54.5%)',
|
|
209
|
-
'50a': 'hsl(210 100% 54.5% / 0.1)',
|
|
210
|
-
'100a': 'hsl(210 100% 54.5% / 0.18)',
|
|
211
|
-
'200a': 'hsl(210 100% 54.5% / 0.26)',
|
|
212
|
-
'300a': 'hsl(210 100% 54.5% / 0.34)',
|
|
213
|
-
'400a': 'hsl(210 100% 54.5% / 0.42)',
|
|
214
|
-
'500a': 'hsl(210 100% 54.5% / 0.5)',
|
|
215
|
-
'600a': 'hsl(210 100% 54.5% / 0.6)',
|
|
216
|
-
'700a': 'hsl(210 100% 54.5% / 0.7)',
|
|
217
|
-
'800a': 'hsl(210 100% 54.5% / 0.8)',
|
|
218
|
-
'900a': 'hsl(210 100% 54.5% / 0.9)',
|
|
219
|
-
'950a': 'hsl(210 100% 54.5%)',
|
|
220
|
-
},
|
|
221
3
|
grey: {
|
|
222
|
-
'50': 'hsl(225 66.7% 1.2%)',
|
|
223
|
-
'100': 'hsl(240 2% 10%)',
|
|
224
|
-
'200': 'hsl(240 1.3% 15.5%)',
|
|
225
|
-
'300': 'hsl(240 0.8% 23.7%)',
|
|
226
|
-
'400': 'hsl(240 0.6% 34.3%)',
|
|
227
|
-
'500': 'hsl(240 0.4% 47.6%)',
|
|
228
|
-
'600': 'hsl(240 0.5% 57.5%)',
|
|
229
|
-
'700': 'hsl(240 0.6% 67.3%)',
|
|
230
|
-
'800': 'hsl(240 0.9% 77.1%)',
|
|
231
|
-
'900': 'hsl(240 3% 87.1%)',
|
|
232
4
|
'950': 'hsl(225 100% 99%)',
|
|
233
|
-
'50a': 'hsl(225 66.7% 1.2% / 0.08)',
|
|
234
5
|
'100a': 'hsl(240 3.7% 26.5% / 0.154)',
|
|
235
|
-
'200a': 'hsl(240 2% 43% / 0.228)',
|
|
236
|
-
'300a': 'hsl(240 1.5% 61.8% / 0.302)',
|
|
237
|
-
'400a': 'hsl(240 2.9% 79.4% / 0.376)',
|
|
238
|
-
'500a': 'hsl(240 12.5% 96.9% / 0.45)',
|
|
239
|
-
'600a': 'hsl(240 12.5% 96.9% / 0.56)',
|
|
240
|
-
'700a': 'hsl(240 12.5% 96.9% / 0.67)',
|
|
241
|
-
'800a': 'hsl(240 12.5% 96.9% / 0.78)',
|
|
242
|
-
'900a': 'hsl(240 12.5% 96.9% / 0.89)',
|
|
243
|
-
'950a': 'hsl(225 100% 99%)',
|
|
244
|
-
},
|
|
6
|
+
'200a': 'hsl(240 2% 43% / 0.228)'},
|
|
245
7
|
},
|
|
246
8
|
};
|
|
247
9
|
|
|
@@ -600,18 +362,13 @@ const pointerCoarseMediaQuery = (style) => {
|
|
|
600
362
|
};
|
|
601
363
|
|
|
602
364
|
function _extends() {
|
|
603
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
604
|
-
for (var
|
|
605
|
-
var
|
|
606
|
-
for (var
|
|
607
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
608
|
-
target[key] = source[key];
|
|
609
|
-
}
|
|
610
|
-
}
|
|
365
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
366
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
367
|
+
var t = arguments[e];
|
|
368
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
611
369
|
}
|
|
612
|
-
return
|
|
613
|
-
};
|
|
614
|
-
return _extends.apply(this, arguments);
|
|
370
|
+
return n;
|
|
371
|
+
}, _extends.apply(null, arguments);
|
|
615
372
|
}
|
|
616
373
|
|
|
617
374
|
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; };
|
|
@@ -644,55 +401,41 @@ function toPropertyKey(t) {
|
|
|
644
401
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
645
402
|
}
|
|
646
403
|
|
|
647
|
-
function _defineProperties(
|
|
648
|
-
for (var
|
|
649
|
-
var
|
|
650
|
-
|
|
651
|
-
descriptor.configurable = true;
|
|
652
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
653
|
-
Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
|
|
404
|
+
function _defineProperties(e, r) {
|
|
405
|
+
for (var t = 0; t < r.length; t++) {
|
|
406
|
+
var o = r[t];
|
|
407
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
654
408
|
}
|
|
655
409
|
}
|
|
656
|
-
function _createClass(
|
|
657
|
-
|
|
658
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
410
|
+
function _createClass(e, r, t) {
|
|
411
|
+
return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", {
|
|
659
412
|
writable: false
|
|
660
|
-
});
|
|
661
|
-
return Constructor;
|
|
413
|
+
}), e;
|
|
662
414
|
}
|
|
663
415
|
|
|
664
|
-
function _setPrototypeOf(
|
|
665
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
};
|
|
669
|
-
return _setPrototypeOf(o, p);
|
|
416
|
+
function _setPrototypeOf(t, e) {
|
|
417
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
418
|
+
return t.__proto__ = e, t;
|
|
419
|
+
}, _setPrototypeOf(t, e);
|
|
670
420
|
}
|
|
671
421
|
|
|
672
|
-
function _inheritsLoose(
|
|
673
|
-
|
|
674
|
-
subClass.prototype.constructor = subClass;
|
|
675
|
-
_setPrototypeOf(subClass, superClass);
|
|
422
|
+
function _inheritsLoose(t, o) {
|
|
423
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
676
424
|
}
|
|
677
425
|
|
|
678
|
-
function _assertThisInitialized(
|
|
679
|
-
if (
|
|
680
|
-
|
|
681
|
-
}
|
|
682
|
-
return self;
|
|
426
|
+
function _assertThisInitialized(e) {
|
|
427
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
428
|
+
return e;
|
|
683
429
|
}
|
|
684
430
|
|
|
685
|
-
function _objectWithoutPropertiesLoose(
|
|
686
|
-
if (
|
|
687
|
-
var
|
|
688
|
-
var
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
key = sourceKeys[i];
|
|
692
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
693
|
-
target[key] = source[key];
|
|
431
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
432
|
+
if (null == r) return {};
|
|
433
|
+
var t = {};
|
|
434
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
435
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
436
|
+
t[n] = r[n];
|
|
694
437
|
}
|
|
695
|
-
return
|
|
438
|
+
return t;
|
|
696
439
|
}
|
|
697
440
|
|
|
698
441
|
var plainObjectConstrurctor = {}.constructor;
|
|
@@ -3339,7 +3082,7 @@ function getAugmentedNamespace(n) {
|
|
|
3339
3082
|
var isInstance = false;
|
|
3340
3083
|
try {
|
|
3341
3084
|
isInstance = this instanceof a;
|
|
3342
|
-
} catch {}
|
|
3085
|
+
} catch (e) {}
|
|
3343
3086
|
if (isInstance) {
|
|
3344
3087
|
return Reflect.construct(f, arguments, this.constructor);
|
|
3345
3088
|
}
|
|
@@ -4040,7 +3783,6 @@ const supportsConstructableStylesheets = () => {
|
|
|
4040
3783
|
// determine it once
|
|
4041
3784
|
supportsConstructableStylesheets();
|
|
4042
3785
|
const buildResponsiveStyles = (rawValue, getJssStyle) => {
|
|
4043
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
4044
3786
|
const value = parseJSON(rawValue);
|
|
4045
3787
|
return typeof value === 'object'
|
|
4046
3788
|
? Object.keys(value)
|
|
@@ -4049,7 +3791,6 @@ const buildResponsiveStyles = (rawValue, getJssStyle) => {
|
|
|
4049
3791
|
.filter((key) => key !== 'base')
|
|
4050
3792
|
.reduce((result, breakpointValue) => ({
|
|
4051
3793
|
...result,
|
|
4052
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
4053
3794
|
[getMediaQueryMin(breakpointValue)]: getJssStyle(value[breakpointValue]),
|
|
4054
3795
|
}), getJssStyle(value.base))
|
|
4055
3796
|
: getJssStyle(value);
|
|
@@ -4130,12 +3871,30 @@ const OPTION_LIST_SAFE_ZONE = 6;
|
|
|
4130
3871
|
|
|
4131
3872
|
const getCDNBaseURL = () => global.PORSCHE_DESIGN_SYSTEM_CDN_URL + "/porsche-design-system";
|
|
4132
3873
|
|
|
4133
|
-
const prefix = `[Porsche Design System v${"4.2.0
|
|
3874
|
+
const prefix = `[Porsche Design System v${"4.2.0"}]` // this part isn't covered by unit tests
|
|
4134
3875
|
;
|
|
4135
3876
|
const consoleError = (...messages) => {
|
|
4136
3877
|
console.error(prefix, ...messages);
|
|
4137
3878
|
};
|
|
4138
3879
|
|
|
3880
|
+
// Single source of truth for the two CSS feature queries behind the "keep on #top-layer during fade-out" capability,
|
|
3881
|
+
// shared by the JS detection (`supportsOverlayTransition`) and the CSS `@supports` wrapper
|
|
3882
|
+
// (`overlayTransitionSupportsQuery`) so the two can never drift.
|
|
3883
|
+
const overlayFeature = 'overlay: auto';
|
|
3884
|
+
const allowDiscreteFeature = 'transition-behavior: allow-discrete';
|
|
3885
|
+
/**
|
|
3886
|
+
* Wraps JSS styles in `@supports (overlay: auto) and (transition-behavior: allow-discrete)`, kept in sync with
|
|
3887
|
+
* `supportsOverlayTransition()`. Use it for styles that should only apply where the dialog/popover can stay on the
|
|
3888
|
+
* `#top-layer` during its fade-out (Chromium); other browsers defer the native hide instead (see
|
|
3889
|
+
* `createTopLayerController`).
|
|
3890
|
+
*
|
|
3891
|
+
* @param {JssStyle} style - The styles to apply only when the `overlay` transition is supported.
|
|
3892
|
+
* @returns {JssStyle} The `@supports`-wrapped styles.
|
|
3893
|
+
*/
|
|
3894
|
+
const overlayTransitionSupportsQuery = (style) => {
|
|
3895
|
+
return { [`@supports (${overlayFeature}) and (${allowDiscreteFeature})`]: style };
|
|
3896
|
+
};
|
|
3897
|
+
|
|
4139
3898
|
const headerSlot = 'header';
|
|
4140
3899
|
const anchorSlot = 'anchor';
|
|
4141
3900
|
|
|
@@ -4147,15 +3906,11 @@ const formatObjectOutput = (value) => {
|
|
|
4147
3906
|
.replace(/^"(.+)"$/, '$1'); // remove wrapping double quotes
|
|
4148
3907
|
};
|
|
4149
3908
|
const formatArrayOutput = (value) => {
|
|
4150
|
-
return (
|
|
4151
|
-
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
|
4152
|
-
JSON.stringify(value.map((x) => (x === undefined ? `${x}` : x))) // wrap undefined in quotes to not convert it to null
|
|
3909
|
+
return JSON.stringify(value.map((x) => (x === undefined ? `${x}` : x))) // wrap undefined in quotes to not convert it to null
|
|
4153
3910
|
.replace(/'/g, '') // remove single quotes
|
|
4154
|
-
// eslint-disable-next-line @typescript-eslint/quotes
|
|
4155
3911
|
.replace(/"/g, "'") // replace double quotes with single quotes
|
|
4156
3912
|
.replace(/'(undefined)'/, '$1') // remove quotes around undefined
|
|
4157
|
-
.replace(/,/g, ', ') // add space after comma
|
|
4158
|
-
);
|
|
3913
|
+
.replace(/,/g, ', '); // add space after comma
|
|
4159
3914
|
};
|
|
4160
3915
|
const printErrorMessage = ({ propName, propValue, // TODO: might be nicer if this is always a string
|
|
4161
3916
|
propType, componentName, instance, }) => {
|
|
@@ -4180,15 +3935,13 @@ const getBreakpointCustomizableStructure = (allowedValues) => {
|
|
|
4180
3935
|
: allowedValues);
|
|
4181
3936
|
};
|
|
4182
3937
|
const getAriaStructure = (allowedAriaAttributes) => {
|
|
4183
|
-
return
|
|
3938
|
+
return internalValidateProps
|
|
4184
3939
|
.formatObjectOutput(allowedAriaAttributes.reduce((prev, key) => ({
|
|
4185
3940
|
...prev,
|
|
4186
3941
|
[key]: 'value',
|
|
4187
3942
|
}), {}))
|
|
4188
3943
|
.replace(/":/g, '"?:') // add optional modifier on keys before colon
|
|
4189
|
-
//
|
|
4190
|
-
.replace(/"/g, "'") // replace double quotes with single quotes
|
|
4191
|
-
);
|
|
3944
|
+
.replace(/"/g, "'"); // replace double quotes with single quotes
|
|
4192
3945
|
};
|
|
4193
3946
|
const getShapeStructure = (shapeStructure) => {
|
|
4194
3947
|
return internalValidateProps
|
|
@@ -4683,6 +4436,7 @@ const getComponentCss$18 = (isOpen, position, state, hasDismissButton, hasHeadin
|
|
|
4683
4436
|
})),
|
|
4684
4437
|
left: '50vw',
|
|
4685
4438
|
width: `min(calc(100vw - 2 * ${ref(cssVarInsetX, gridExtendedOffsetBase)}),${ref(cssVarMaxWidth, '100ch')})`,
|
|
4439
|
+
overlay: 'none',
|
|
4686
4440
|
'&:popover-open': {
|
|
4687
4441
|
overlay: 'auto',
|
|
4688
4442
|
},
|
|
@@ -4697,10 +4451,10 @@ const getComponentCss$18 = (isOpen, position, state, hasDismissButton, hasHeadin
|
|
|
4697
4451
|
transform: 'translate3d(-50%,0,0)',
|
|
4698
4452
|
}),
|
|
4699
4453
|
transition,
|
|
4700
|
-
//
|
|
4701
|
-
|
|
4454
|
+
// keep the popover on the #top-layer while the fade-out runs (Chromium only; see `overlayTransitionSupportsQuery`)
|
|
4455
|
+
...overlayTransitionSupportsQuery({
|
|
4702
4456
|
transition: `${transition},${getTransition('overlay', duration, easing)} allow-discrete`,
|
|
4703
|
-
},
|
|
4457
|
+
}),
|
|
4704
4458
|
},
|
|
4705
4459
|
},
|
|
4706
4460
|
}, {
|
|
@@ -5464,6 +5218,9 @@ const cssVarPaddingInlineEnd = '--p-carousel-pe';
|
|
|
5464
5218
|
* @css-variable {"name": "--p-carousel-prev-next-color-scheme", "description": "Color Scheme applied to the navigation (prev/next buttons)"}
|
|
5465
5219
|
*/
|
|
5466
5220
|
const cssVariablePrevNextColorScheme = '--p-carousel-prev-next-color-scheme';
|
|
5221
|
+
/**
|
|
5222
|
+
* @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))"}
|
|
5223
|
+
*/
|
|
5467
5224
|
const cssVariableGradientColorWidth = '--p-gradient-color-width';
|
|
5468
5225
|
const carouselTransitionDuration = motionDurationModerate;
|
|
5469
5226
|
const paginationInfiniteStartCaseClass = 'pagination--infinite';
|
|
@@ -6091,6 +5848,7 @@ const getDialogBackdropTransitionJssStyle = (isVisible, backdrop = 'blur') => {
|
|
|
6091
5848
|
height: '100dvh',
|
|
6092
5849
|
visibility: 'inherit',
|
|
6093
5850
|
pointerEvents: 'auto',
|
|
5851
|
+
overlay: 'auto',
|
|
6094
5852
|
background: ref(colorBackdrop),
|
|
6095
5853
|
...(isBackdropBlur && {
|
|
6096
5854
|
WebkitBackdropFilter: ref(blurFrosted),
|
|
@@ -6106,25 +5864,21 @@ const getDialogBackdropTransitionJssStyle = (isVisible, backdrop = 'blur') => {
|
|
|
6106
5864
|
height: '0px',
|
|
6107
5865
|
visibility: 'hidden', // element shall not be tabbable with keyboard after fade out transition has finished
|
|
6108
5866
|
pointerEvents: 'none', // element can't be interacted with mouse
|
|
5867
|
+
overlay: 'none',
|
|
6109
5868
|
background: 'transparent',
|
|
6110
5869
|
}),
|
|
6111
5870
|
transition,
|
|
6112
|
-
//
|
|
6113
|
-
|
|
6114
|
-
'@supports (transition-behavior: allow-discrete)': {
|
|
5871
|
+
// keep the dialog on the #top-layer while the fade-out runs (Chromium only; see `overlayTransitionSupportsQuery`)
|
|
5872
|
+
...overlayTransitionSupportsQuery({
|
|
6115
5873
|
transition: `${transition}, ${getTransition('overlay', duration, easing)} allow-discrete`,
|
|
6116
|
-
},
|
|
5874
|
+
}),
|
|
6117
5875
|
};
|
|
6118
5876
|
};
|
|
6119
5877
|
const getScrollerJssStyle = (position) => {
|
|
6120
5878
|
// ensures scrollbar color is set correctly (e.g. when scrollbar is shown on backdrop, on flyout/modal surface or with Auto Dark Mode)
|
|
6121
5879
|
const backgroundLight = 'rgba(255,255,255,.01)';
|
|
6122
|
-
const backgroundDark = 'rgba(0,0,0,.01)';
|
|
6123
5880
|
const background = {
|
|
6124
|
-
light: backgroundLight
|
|
6125
|
-
dark: backgroundDark,
|
|
6126
|
-
auto: backgroundLight,
|
|
6127
|
-
};
|
|
5881
|
+
light: backgroundLight};
|
|
6128
5882
|
return {
|
|
6129
5883
|
position: 'absolute',
|
|
6130
5884
|
isolation: 'isolate', // creates new stacking context to show scrollbars on top of header/footer areas (on iOS/iPadOS)
|
|
@@ -6141,13 +5895,17 @@ const getScrollerJssStyle = (position) => {
|
|
|
6141
5895
|
overscrollBehaviorY: 'none',
|
|
6142
5896
|
// TODO: check if smooth scrolling on iOS is given?
|
|
6143
5897
|
background: background.light,
|
|
5898
|
+
// ensure a translate3d style is always applied on .scroller and .modal/.flyout/.sheet to create a new stacking
|
|
5899
|
+
// context and prevent a Chromium paint bug: when a dialog element is nested inside another (e.g. `p-modal` within
|
|
5900
|
+
// `p-flyout`)
|
|
5901
|
+
transform: 'translate3d(0,0,0)',
|
|
6144
5902
|
};
|
|
6145
5903
|
};
|
|
6146
5904
|
const dialogBorderRadius = ref(radius3Xl);
|
|
6147
5905
|
const dialogPaddingTop = ref(spacingFluidMd$1);
|
|
6148
5906
|
const dialogPaddingBottom = `calc(${dialogBorderRadius} + ${ref(spacingFluidMd$1)})`;
|
|
6149
5907
|
const dialogPaddingInline = ref(spacingFluidLg);
|
|
6150
|
-
const dialogGridJssStyle = (
|
|
5908
|
+
const dialogGridJssStyle = () => {
|
|
6151
5909
|
return {
|
|
6152
5910
|
position: 'relative',
|
|
6153
5911
|
display: 'grid',
|
|
@@ -6156,8 +5914,12 @@ const dialogGridJssStyle = (clipPath = 'none') => {
|
|
|
6156
5914
|
paddingTop: dialogPaddingTop,
|
|
6157
5915
|
paddingBottom: dialogPaddingBottom,
|
|
6158
5916
|
alignContent: 'flex-start',
|
|
5917
|
+
// Consumers set their own `clip-path` next to their corner `border-radius` (e.g. `inset(0 round …)`).
|
|
6159
5918
|
// `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
|
|
6160
|
-
|
|
5919
|
+
// Chromium paint bug: when a dialog element is nested inside another (e.g. `p-modal` within `p-flyout`),
|
|
5920
|
+
// the inner dialog's grid content fails to render. Forcing a new compositing layer via `translate3d`
|
|
5921
|
+
// triggers a repaint and fixes it. Re-check periodically; remove once the upstream Chromium bug is resolved.
|
|
5922
|
+
transform: 'translate3d(0,0,0)',
|
|
6161
5923
|
};
|
|
6162
5924
|
};
|
|
6163
5925
|
const getDialogColorJssStyle = () => {
|
|
@@ -6175,13 +5937,13 @@ const getDialogTransitionJssStyle = (isVisible, slideIn) => {
|
|
|
6175
5937
|
...(isVisible
|
|
6176
5938
|
? {
|
|
6177
5939
|
opacity: 1,
|
|
6178
|
-
transform: '
|
|
5940
|
+
transform: 'translate3d(0,0,0)',
|
|
6179
5941
|
}
|
|
6180
5942
|
: {
|
|
6181
5943
|
opacity: 0,
|
|
6182
|
-
transform: slideIn === '^' ? '
|
|
5944
|
+
transform: slideIn === '^' ? 'translate3d(0,25vh,0)' : `translate3d(${slideIn === '>' ? '-' : ''}100%,0,0)`,
|
|
6183
5945
|
'&:dir(rtl)': {
|
|
6184
|
-
transform: slideIn === '^' ? '
|
|
5946
|
+
transform: slideIn === '^' ? 'translate3d(0,25vh,0)' : `translate3d(${slideIn === '>' ? '' : '-'}100%,0,0)`,
|
|
6185
5947
|
},
|
|
6186
5948
|
}),
|
|
6187
5949
|
transition: `${getTransition('opacity', duration, easing)}, ${getTransition('transform', duration, easing)}`,
|
|
@@ -6546,11 +6308,9 @@ const getFunctionalComponentNoResultsOptionStyles = (componentName, cssVarScalin
|
|
|
6546
6308
|
};
|
|
6547
6309
|
};
|
|
6548
6310
|
|
|
6549
|
-
// index.ts
|
|
6550
|
-
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" };
|
|
6311
|
+
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" };
|
|
6551
6312
|
|
|
6552
|
-
|
|
6553
|
-
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 } };
|
|
6313
|
+
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 } };
|
|
6554
6314
|
|
|
6555
6315
|
const crestSize = {
|
|
6556
6316
|
width: 30,
|
|
@@ -6673,8 +6433,13 @@ const getComponentCss$$ = (color, orientation) => {
|
|
|
6673
6433
|
});
|
|
6674
6434
|
};
|
|
6675
6435
|
|
|
6676
|
-
|
|
6436
|
+
/**
|
|
6437
|
+
* @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"}
|
|
6438
|
+
*/
|
|
6677
6439
|
const cssVariableGridTemplate = '--p-drilldown-grid-template';
|
|
6440
|
+
/**
|
|
6441
|
+
* @css-variable {"name": "--p-drilldown-gap", "description": "Overrides the gap between drilldown items in the default slot container.", "defaultValue": "8px"}
|
|
6442
|
+
*/
|
|
6678
6443
|
const cssVariableGap = '--p-drilldown-gap';
|
|
6679
6444
|
// private css variables
|
|
6680
6445
|
const cssVarColorPrimary = '--_p-drilldown-a';
|
|
@@ -7280,6 +7045,9 @@ const getComponentCss$W = (size) => {
|
|
|
7280
7045
|
* @css-variable {"name": "--p-flyout-width", "description": "Width of the flyout.", "defaultValue": "auto"}
|
|
7281
7046
|
*/
|
|
7282
7047
|
const cssVariableWidth$2 = '--p-flyout-width';
|
|
7048
|
+
/**
|
|
7049
|
+
* @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."}
|
|
7050
|
+
*/
|
|
7283
7051
|
/**
|
|
7284
7052
|
* @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."}
|
|
7285
7053
|
*/
|
|
@@ -7292,7 +7060,7 @@ const cssVarRefPaddingBottom$2 = '--ref-p-flyout-pb';
|
|
|
7292
7060
|
* @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."}
|
|
7293
7061
|
*/
|
|
7294
7062
|
const cssVarRefPaddingInline$2 = '--ref-p-flyout-px';
|
|
7295
|
-
const getComponentCss$V = (isOpen, background, backdrop, position, hasHeader, hasFooter, hasSubFooter, footerBehavior) => {
|
|
7063
|
+
const getComponentCss$V = (isOpen, background, backdrop, position, hasHeader, hasFooter, hasSubFooter, footerBehavior, fullscreen) => {
|
|
7296
7064
|
const isPositionStart = position === 'start';
|
|
7297
7065
|
const isFooterFixed = footerBehavior === 'fixed';
|
|
7298
7066
|
return getCss({
|
|
@@ -7343,35 +7111,49 @@ const getComponentCss$V = (isOpen, background, backdrop, position, hasHeader, ha
|
|
|
7343
7111
|
},
|
|
7344
7112
|
},
|
|
7345
7113
|
flyout: {
|
|
7346
|
-
...dialogGridJssStyle(
|
|
7347
|
-
? `inset(0 round 0 ${dialogBorderRadius} ${dialogBorderRadius} 0)` // position 'start': round inline-end (right in LTR) corners only
|
|
7348
|
-
: `inset(0 round ${dialogBorderRadius} 0 0 ${dialogBorderRadius})` // position 'end': round inline-start (left in LTR) corners only
|
|
7349
|
-
),
|
|
7114
|
+
...dialogGridJssStyle(),
|
|
7350
7115
|
...getDialogColorJssStyle(),
|
|
7351
|
-
|
|
7352
|
-
minWidth: '320px',
|
|
7353
|
-
maxWidth: '100vw',
|
|
7354
|
-
// `clip-path` uses physical corners, so mirror for RTL to keep parity with the logical border*Radius below
|
|
7355
|
-
'&:dir(rtl)': {
|
|
7356
|
-
clipPath: isPositionStart
|
|
7357
|
-
? `inset(0 round ${dialogBorderRadius} 0 0 ${dialogBorderRadius})`
|
|
7358
|
-
: `inset(0 round 0 ${dialogBorderRadius} ${dialogBorderRadius} 0)`,
|
|
7359
|
-
},
|
|
7360
|
-
...(isPositionStart
|
|
7116
|
+
...buildResponsiveStyles(fullscreen, (fullscreenValue) => fullscreenValue
|
|
7361
7117
|
? {
|
|
7362
|
-
|
|
7363
|
-
|
|
7364
|
-
|
|
7365
|
-
|
|
7366
|
-
|
|
7118
|
+
// fullscreen spans the whole viewport width, so corners are squared and corner clipping is disabled
|
|
7119
|
+
width: '100dvw',
|
|
7120
|
+
minWidth: 'auto',
|
|
7121
|
+
maxWidth: 'none',
|
|
7122
|
+
borderRadius: 0,
|
|
7123
|
+
clipPath: 'none',
|
|
7124
|
+
// the flyout touches both inline edges, so the inner-side HCM border is no longer needed
|
|
7125
|
+
'&:dir(rtl)': {
|
|
7126
|
+
clipPath: 'none',
|
|
7127
|
+
},
|
|
7367
7128
|
}
|
|
7368
7129
|
: {
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
|
|
7373
|
-
|
|
7374
|
-
|
|
7130
|
+
width: ref(cssVariableWidth$2, 'auto'),
|
|
7131
|
+
minWidth: '320px',
|
|
7132
|
+
maxWidth: '100vw',
|
|
7133
|
+
clipPath: isPositionStart
|
|
7134
|
+
? `inset(0 round 0 ${dialogBorderRadius} ${dialogBorderRadius} 0)` // position 'start': round inline-end (right in LTR) corners only
|
|
7135
|
+
: `inset(0 round ${dialogBorderRadius} 0 0 ${dialogBorderRadius})`, // position 'end': round inline-start (left in LTR) corners only
|
|
7136
|
+
// `clip-path` uses physical corners, so mirror for RTL to keep parity with the logical border*Radius below
|
|
7137
|
+
'&:dir(rtl)': {
|
|
7138
|
+
clipPath: isPositionStart
|
|
7139
|
+
? `inset(0 round ${dialogBorderRadius} 0 0 ${dialogBorderRadius})`
|
|
7140
|
+
: `inset(0 round 0 ${dialogBorderRadius} ${dialogBorderRadius} 0)`,
|
|
7141
|
+
},
|
|
7142
|
+
...(isPositionStart
|
|
7143
|
+
? {
|
|
7144
|
+
borderStartEndRadius: dialogBorderRadius,
|
|
7145
|
+
borderEndEndRadius: dialogBorderRadius,
|
|
7146
|
+
...forcedColorsMediaQuery({
|
|
7147
|
+
borderInlineEnd: '2px solid CanvasText',
|
|
7148
|
+
}),
|
|
7149
|
+
}
|
|
7150
|
+
: {
|
|
7151
|
+
borderStartStartRadius: dialogBorderRadius,
|
|
7152
|
+
borderEndStartRadius: dialogBorderRadius,
|
|
7153
|
+
...forcedColorsMediaQuery({
|
|
7154
|
+
borderInlineStart: '2px solid CanvasText',
|
|
7155
|
+
}),
|
|
7156
|
+
}),
|
|
7375
7157
|
}),
|
|
7376
7158
|
...(isFooterFixed && {
|
|
7377
7159
|
gridTemplateRows: hasHeader ? 'auto 1fr auto' : '1fr',
|
|
@@ -7421,7 +7203,6 @@ const getComponentCss$U = (size, weight, align, color, hyphens, ellipsis) => {
|
|
|
7421
7203
|
|
|
7422
7204
|
const isUrl = (str) => str?.length > 0 && /(\/)/.test(str);
|
|
7423
7205
|
const DEFAULT_ICON_NAME = 'arrow-right';
|
|
7424
|
-
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
|
|
7425
7206
|
const buildIconUrl = (iconNameOrSource = DEFAULT_ICON_NAME) => {
|
|
7426
7207
|
if (iconNameOrSource === null) {
|
|
7427
7208
|
return buildIconUrl(DEFAULT_ICON_NAME);
|
|
@@ -8165,7 +7946,7 @@ const getComponentCss$C = (isOpen, background, backdrop, fullscreen, hasDismissB
|
|
|
8165
7946
|
},
|
|
8166
7947
|
scroller: getScrollerJssStyle('fullscreen'),
|
|
8167
7948
|
modal: {
|
|
8168
|
-
...dialogGridJssStyle(
|
|
7949
|
+
...dialogGridJssStyle(),
|
|
8169
7950
|
...getDialogColorJssStyle(),
|
|
8170
7951
|
...getDialogTransitionJssStyle(isOpen, '^'),
|
|
8171
7952
|
...buildResponsiveStyles(fullscreen, (fullscreenValue) => fullscreenValue
|
|
@@ -8185,6 +7966,7 @@ const getComponentCss$C = (isOpen, background, backdrop, fullscreen, hasDismissB
|
|
|
8185
7966
|
placeSelf: 'center',
|
|
8186
7967
|
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
|
|
8187
7968
|
borderRadius: dialogBorderRadius,
|
|
7969
|
+
clipPath: `inset(0 round ${dialogBorderRadius})`, // non-fullscreen has rounded corners, so clip slotted content to them
|
|
8188
7970
|
...forcedColorsMediaQuery({
|
|
8189
7971
|
outline: '2px solid CanvasText',
|
|
8190
7972
|
outlineOffset: '-2px',
|
|
@@ -8201,8 +7983,17 @@ const getSvgUrl = (model) => {
|
|
|
8201
7983
|
return `${getCDNBaseURL()}/model-signatures/${MODEL_SIGNATURES_MANIFEST[model].src}`;
|
|
8202
7984
|
};
|
|
8203
7985
|
|
|
7986
|
+
/**
|
|
7987
|
+
* @css-variable {"name": "--p-model-signature-width", "description": "Overrides the width of the model signature.", "defaultValue": ""}
|
|
7988
|
+
*/
|
|
8204
7989
|
const cssVariableWidth = '--p-model-signature-width';
|
|
7990
|
+
/**
|
|
7991
|
+
* @css-variable {"name": "--p-model-signature-height", "description": "Overrides the height of the model signature.", "defaultValue": "auto"}
|
|
7992
|
+
*/
|
|
8205
7993
|
const cssVariableHeight = '--p-model-signature-height';
|
|
7994
|
+
/**
|
|
7995
|
+
* @css-variable {"name": "--p-model-signature-color", "description": "Overrides the fill color of the model signature. Overrides the `color` property when set.", "defaultValue": ""}
|
|
7996
|
+
*/
|
|
8206
7997
|
const cssVariableColor = '--p-model-signature-color';
|
|
8207
7998
|
const colorMap = {
|
|
8208
7999
|
primary: ref(colorPrimary),
|
|
@@ -9237,7 +9028,7 @@ const getComponentCss$n = (isOpen, background, hasDismissButton) => {
|
|
|
9237
9028
|
},
|
|
9238
9029
|
scroller: getScrollerJssStyle('fullscreen'),
|
|
9239
9030
|
sheet: {
|
|
9240
|
-
...dialogGridJssStyle(
|
|
9031
|
+
...dialogGridJssStyle(),
|
|
9241
9032
|
...getDialogColorJssStyle(),
|
|
9242
9033
|
...getDialogTransitionJssStyle(isOpen, '^'),
|
|
9243
9034
|
width: '100%',
|
|
@@ -9245,6 +9036,7 @@ const getComponentCss$n = (isOpen, background, hasDismissButton) => {
|
|
|
9245
9036
|
marginBlockStart: ref(spacingFluidLg), // ensures minimal space at the top to visualize paper sheet like border top radius in case sheet becomes scrollable
|
|
9246
9037
|
borderTopLeftRadius: dialogBorderRadius,
|
|
9247
9038
|
borderTopRightRadius: dialogBorderRadius,
|
|
9039
|
+
clipPath: `inset(0 round ${dialogBorderRadius} ${dialogBorderRadius} 0 0)`, // round top corners only
|
|
9248
9040
|
...forcedColorsMediaQuery({
|
|
9249
9041
|
borderTop: '2px solid CanvasText',
|
|
9250
9042
|
}),
|