@porsche-design-system/components-react 4.1.0 → 4.2.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/meta/cjs/index.cjs +12 -0
- package/meta/esm/index.d.ts +1 -0
- package/meta/esm/index.mjs +1 -0
- package/meta/package.json +6 -0
- package/package.json +7 -2
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +225 -208
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/dialog-base.cjs +14 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.cjs +4 -5
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.cjs +4 -5
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.cjs +4 -5
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +210 -209
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/dialog-base.mjs +12 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +4 -5
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.mjs +4 -5
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.mjs +4 -5
- package/ssr/esm/lib/dsr-components/dialog-base.d.ts +22 -0
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
14
14
|
|
|
15
15
|
## [Unreleased]
|
|
16
16
|
|
|
17
|
+
## [4.2.0-rc.1] - 2026-05-18
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `Angular`, `Vue`: expose typings for component props (e.g. `PButtonProps`, `PInputProps`, etc.) for better type safety
|
|
22
|
+
and developer experience ([#4403](https://github.com/porsche-design-system/porsche-design-system/pull/4403))
|
|
23
|
+
|
|
24
|
+
## [4.2.0-rc.0] - 2026-05-12
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- `AG Grid`:
|
|
29
|
+
- custom compact theme ([#4301](https://github.com/porsche-design-system/porsche-design-system/pull/4301))
|
|
30
|
+
- minor style adjustments ([#4301](https://github.com/porsche-design-system/porsche-design-system/pull/4301))
|
|
31
|
+
|
|
17
32
|
## [4.1.0] - 2026-05-06
|
|
18
33
|
|
|
19
34
|
## [4.1.0-rc.0] - 2026-05-05
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var meta = require('@porsche-design-system/components-js/meta');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.keys(meta).forEach(function (k) {
|
|
8
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return meta[k]; }
|
|
11
|
+
});
|
|
12
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@porsche-design-system/components-js/meta';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@porsche-design-system/components-js/meta';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-react",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0-rc.1",
|
|
4
4
|
"description": "Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"porsche",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "https://github.com/porsche-design-system/porsche-design-system"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@porsche-design-system/components-js": "4.
|
|
24
|
+
"@porsche-design-system/components-js": "4.2.0-rc.1"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"ag-grid-community": ">= 35.0.0 <36.0.0",
|
|
@@ -86,6 +86,11 @@
|
|
|
86
86
|
"import": "./emotion/esm/index.mjs",
|
|
87
87
|
"default": "./emotion/cjs/index.cjs"
|
|
88
88
|
},
|
|
89
|
+
"./meta": {
|
|
90
|
+
"types": "./meta/esm/index.d.ts",
|
|
91
|
+
"import": "./meta/esm/index.mjs",
|
|
92
|
+
"default": "./meta/cjs/index.cjs"
|
|
93
|
+
},
|
|
89
94
|
"./vanilla-extract": {
|
|
90
95
|
"types": "./vanilla-extract/esm/index.d.ts",
|
|
91
96
|
"import": "./vanilla-extract/esm/index.mjs",
|
|
@@ -3775,7 +3775,7 @@ const OPTION_LIST_SAFE_ZONE = 6;
|
|
|
3775
3775
|
|
|
3776
3776
|
const getCDNBaseURL = () => global.PORSCHE_DESIGN_SYSTEM_CDN_URL + "/porsche-design-system";
|
|
3777
3777
|
|
|
3778
|
-
const prefix = `[Porsche Design System v${"4.
|
|
3778
|
+
const prefix = `[Porsche Design System v${"4.2.0-rc.1"}]` // this part isn't covered by unit tests
|
|
3779
3779
|
;
|
|
3780
3780
|
const consoleError = (...messages) => {
|
|
3781
3781
|
console.error(prefix, ...messages);
|
|
@@ -5879,6 +5879,211 @@ const getComponentCss$12 = (hideLabel, state, isDisabled, isLoading, isCompact)
|
|
|
5879
5879
|
...getFunctionalComponentLoadingMessageStyles(),
|
|
5880
5880
|
});
|
|
5881
5881
|
};
|
|
5882
|
+
const cssVarBackgroundColor = '--_p-dialog-a';
|
|
5883
|
+
const dialogHostJssStyle = (background) => {
|
|
5884
|
+
return {
|
|
5885
|
+
'--pds-internal-grid-outer-column': `calc(${spacingFluidLg} - ${gridGap})`,
|
|
5886
|
+
'--pds-internal-grid-margin': `calc(${spacingFluidLg} * -1)`,
|
|
5887
|
+
'--pds-internal-grid-width-min': 'auto',
|
|
5888
|
+
'--pds-internal-grid-width-max': 'none',
|
|
5889
|
+
[cssVarBackgroundColor]: background === 'surface' ? colorSurface : colorCanvas,
|
|
5890
|
+
};
|
|
5891
|
+
};
|
|
5892
|
+
const getFunctionalComponentDialogBaseStyles = (isVisible, backdrop = 'blur') => {
|
|
5893
|
+
return {
|
|
5894
|
+
dialog: {
|
|
5895
|
+
...dialogBackdropResetJssStyle,
|
|
5896
|
+
...getDialogBackdropTransitionJssStyle(isVisible, backdrop),
|
|
5897
|
+
},
|
|
5898
|
+
};
|
|
5899
|
+
};
|
|
5900
|
+
const dialogBackdropResetJssStyle = {
|
|
5901
|
+
position: 'fixed', // ua-style
|
|
5902
|
+
inset: 0, // ua-style
|
|
5903
|
+
margin: 0, // ua-style
|
|
5904
|
+
padding: 0, // ua-style
|
|
5905
|
+
border: 0, // ua-style
|
|
5906
|
+
width: '100dvw', // ua-style
|
|
5907
|
+
height: '100dvh', // ua-style
|
|
5908
|
+
maxWidth: '100dvw', // ua-style
|
|
5909
|
+
maxHeight: '100dvh', // ua-style
|
|
5910
|
+
overflow: 'hidden', // ua-style
|
|
5911
|
+
display: 'block', // ua-style
|
|
5912
|
+
outline: 0, // ua-style (we always expect a focusable element to be within the dialog)
|
|
5913
|
+
'&::backdrop': {
|
|
5914
|
+
display: 'none', // ua-style (we can't use it atm because it's not animatable in all browsers)
|
|
5915
|
+
},
|
|
5916
|
+
};
|
|
5917
|
+
const getDialogBackdropTransitionJssStyle = (isVisible, backdrop = 'blur') => {
|
|
5918
|
+
const isBackdropBlur = backdrop === 'blur';
|
|
5919
|
+
const duration = isVisible ? 'long' : 'moderate';
|
|
5920
|
+
const easing = isVisible ? 'in' : 'out';
|
|
5921
|
+
// as soon as all browsers are supporting `allow-discrete`, visibility transition shouldn't be necessary anymore
|
|
5922
|
+
const transition = `visibility 0s linear var(${cssVariableTransitionDuration}, ${isVisible ? '0s' : motionDurationMap[duration]}), ${getTransition('background-color', duration, easing)}, ${getTransition('-webkit-backdrop-filter', duration, easing)}, ${getTransition('backdrop-filter', duration, easing)}`;
|
|
5923
|
+
return {
|
|
5924
|
+
zIndex: 9999999, // fallback for fade out stacking until `overlay` + `allow-discrete` is supported in all browsers. It tries to mimic #top-layer positioning hierarchy.
|
|
5925
|
+
...(isVisible
|
|
5926
|
+
? {
|
|
5927
|
+
visibility: 'inherit',
|
|
5928
|
+
pointerEvents: 'auto',
|
|
5929
|
+
background: colorBackdrop,
|
|
5930
|
+
...(isBackdropBlur && {
|
|
5931
|
+
WebkitBackdropFilter: blurFrosted,
|
|
5932
|
+
backdropFilter: blurFrosted,
|
|
5933
|
+
}),
|
|
5934
|
+
}
|
|
5935
|
+
: {
|
|
5936
|
+
visibility: 'hidden', // element shall not be tabbable with keyboard after fade out transition has finished
|
|
5937
|
+
pointerEvents: 'none', // element can't be interacted with mouse
|
|
5938
|
+
background: 'transparent',
|
|
5939
|
+
}),
|
|
5940
|
+
transition,
|
|
5941
|
+
// `allow-discrete` transition for ua-style `overlay` (supported browsers only) ensures dialog is rendered on
|
|
5942
|
+
// #top-layer as long as fade-in or fade-out transition/animation is running
|
|
5943
|
+
'@supports (transition-behavior: allow-discrete)': {
|
|
5944
|
+
transition: `${transition}, ${getTransition('overlay', duration, easing)} allow-discrete`,
|
|
5945
|
+
},
|
|
5946
|
+
};
|
|
5947
|
+
};
|
|
5948
|
+
const getScrollerJssStyle = (position) => {
|
|
5949
|
+
// ensures scrollbar color is set correctly (e.g. when scrollbar is shown on backdrop, on flyout/modal surface or with Auto Dark Mode)
|
|
5950
|
+
const backgroundLight = 'rgba(255,255,255,.01)';
|
|
5951
|
+
const backgroundDark = 'rgba(0,0,0,.01)';
|
|
5952
|
+
const background = {
|
|
5953
|
+
light: backgroundLight,
|
|
5954
|
+
dark: backgroundDark,
|
|
5955
|
+
auto: backgroundLight,
|
|
5956
|
+
};
|
|
5957
|
+
return {
|
|
5958
|
+
position: 'absolute',
|
|
5959
|
+
isolation: 'isolate', // creates new stacking context to show scrollbars on top of header/footer areas (on iOS/iPadOS)
|
|
5960
|
+
display: 'grid',
|
|
5961
|
+
...(position === 'fullscreen'
|
|
5962
|
+
? {
|
|
5963
|
+
inset: 0,
|
|
5964
|
+
}
|
|
5965
|
+
: {
|
|
5966
|
+
insetBlock: 0,
|
|
5967
|
+
[position === 'start' ? 'insetInlineStart' : 'insetInlineEnd']: 0,
|
|
5968
|
+
}),
|
|
5969
|
+
overflow: 'hidden auto',
|
|
5970
|
+
overscrollBehaviorY: 'none',
|
|
5971
|
+
// TODO: check if smooth scrolling on iOS is given?
|
|
5972
|
+
background: background.light,
|
|
5973
|
+
};
|
|
5974
|
+
};
|
|
5975
|
+
const dialogBorderRadius = `var(${legacyRadiusLarge}, ${radiusXl})`;
|
|
5976
|
+
const dialogPaddingTop = spacingFluidMd$1;
|
|
5977
|
+
const dialogPaddingBottom = `calc(${spacingFluidSm} + ${spacingFluidMd$1})`;
|
|
5978
|
+
const dialogPaddingInline = spacingFluidLg;
|
|
5979
|
+
const dialogGridJssStyle = () => {
|
|
5980
|
+
return {
|
|
5981
|
+
position: 'relative',
|
|
5982
|
+
display: 'grid',
|
|
5983
|
+
gridTemplate: `auto/${spacingFluidSm} minmax(0,1fr) ${spacingFluidSm}`,
|
|
5984
|
+
gap: `${spacingFluidMd$1} calc(${spacingFluidLg} - ${spacingFluidSm})`,
|
|
5985
|
+
paddingTop: dialogPaddingTop,
|
|
5986
|
+
paddingBottom: dialogPaddingBottom,
|
|
5987
|
+
alignContent: 'flex-start',
|
|
5988
|
+
};
|
|
5989
|
+
};
|
|
5990
|
+
const getDialogColorJssStyle = () => {
|
|
5991
|
+
return {
|
|
5992
|
+
color: colorPrimary, // enables color inheritance for slots
|
|
5993
|
+
background: `var(${cssVarBackgroundColor})`,
|
|
5994
|
+
};
|
|
5995
|
+
};
|
|
5996
|
+
const getDialogTransitionJssStyle = (isVisible, slideIn) => {
|
|
5997
|
+
const duration = isVisible ? 'moderate' : 'short';
|
|
5998
|
+
const easing = isVisible ? 'in' : 'out';
|
|
5999
|
+
return {
|
|
6000
|
+
// transition offset relies vertically on viewport (vh) because the dialog height can be infinite, while horizontally
|
|
6001
|
+
// it relies on the dialog width (%) which has a max-width
|
|
6002
|
+
...(isVisible
|
|
6003
|
+
? {
|
|
6004
|
+
opacity: 1,
|
|
6005
|
+
transform: 'initial',
|
|
6006
|
+
}
|
|
6007
|
+
: {
|
|
6008
|
+
opacity: 0,
|
|
6009
|
+
transform: slideIn === '^' ? 'translateY(25vh)' : `translateX(${slideIn === '>' ? '-' : ''}100%)`,
|
|
6010
|
+
'&:dir(rtl)': {
|
|
6011
|
+
transform: slideIn === '^' ? 'translateY(25vh)' : `translateX(${slideIn === '>' ? '' : '-'}100%)`,
|
|
6012
|
+
},
|
|
6013
|
+
}),
|
|
6014
|
+
transition: `${getTransition('opacity', duration, easing)}, ${getTransition('transform', duration, easing)}`,
|
|
6015
|
+
};
|
|
6016
|
+
};
|
|
6017
|
+
const getDialogDismissButtonJssStyle = () => {
|
|
6018
|
+
return {
|
|
6019
|
+
gridArea: '1/3',
|
|
6020
|
+
zIndex: 5, // controls layering + creates new stacking context (prevents content within to be above other dialog areas)
|
|
6021
|
+
position: 'sticky',
|
|
6022
|
+
top: spacingFluidSm,
|
|
6023
|
+
marginTop: `calc(-1 * ${dialogPaddingTop} + ${spacingFluidSm})`,
|
|
6024
|
+
marginInlineEnd: spacingFluidSm,
|
|
6025
|
+
placeSelf: 'flex-start flex-end',
|
|
6026
|
+
boxShadow: `0px 0px 30px hsla(from var(${cssVarBackgroundColor}) h s l / 0.35)`,
|
|
6027
|
+
};
|
|
6028
|
+
};
|
|
6029
|
+
const getSlotJssStyle = () => {
|
|
6030
|
+
return {
|
|
6031
|
+
display: 'block',
|
|
6032
|
+
'&:first-of-type': {
|
|
6033
|
+
gridRowStart: 1,
|
|
6034
|
+
},
|
|
6035
|
+
};
|
|
6036
|
+
};
|
|
6037
|
+
const getSlotHeaderJssStyle = () => {
|
|
6038
|
+
const paddingTop = dialogPaddingTop;
|
|
6039
|
+
const paddingBottom = spacingStaticMd;
|
|
6040
|
+
return {
|
|
6041
|
+
gridColumn: '1/-1',
|
|
6042
|
+
zIndex: 1, // controls layering + creates new stacking context (prevents content within to be above other dialog areas)
|
|
6043
|
+
position: 'sticky',
|
|
6044
|
+
top: 0, // necessary for `IntersectionObserver` to detect if sticky element is stuck or not. Float value is used, so that sticky area isn't moved out visually by e.g. 1px when container gets scrolled.
|
|
6045
|
+
marginBlock: `calc(-1 * ${paddingTop}) calc(-1 * ${paddingBottom})`,
|
|
6046
|
+
padding: `${paddingTop} ${dialogPaddingInline} ${paddingBottom}`,
|
|
6047
|
+
background: `linear-gradient(180deg,var(${cssVarBackgroundColor}) 0%,var(${cssVarBackgroundColor}) 80%,transparent 100%)`,
|
|
6048
|
+
};
|
|
6049
|
+
};
|
|
6050
|
+
const getSlotMainJssStyle = () => {
|
|
6051
|
+
return {
|
|
6052
|
+
gridColumn: '2/3',
|
|
6053
|
+
zIndex: 0, // controls layering + creates new stacking context (prevents content within to be above other dialog areas)
|
|
6054
|
+
};
|
|
6055
|
+
};
|
|
6056
|
+
const getSlotFooterJssStyle = () => {
|
|
6057
|
+
const paddingBlock = `calc(${dialogPaddingBottom} - ${dialogBorderRadius})`;
|
|
6058
|
+
const offset = `calc(${paddingBlock} / 2)`;
|
|
6059
|
+
return {
|
|
6060
|
+
gridColumn: '1/-1',
|
|
6061
|
+
zIndex: 2, // controls layering + creates new stacking context (prevents content within to be above other dialog areas)
|
|
6062
|
+
position: 'sticky',
|
|
6063
|
+
bottom: '-.1px', // necessary for `IntersectionObserver` to detect if sticky element is stuck or not. Float value is used, so that sticky area isn't moved out visually by e.g. 1px when container gets scrolled.
|
|
6064
|
+
marginBlock: `calc(-1 * ${paddingBlock})`,
|
|
6065
|
+
padding: `${paddingBlock} ${dialogPaddingInline}`,
|
|
6066
|
+
background: `linear-gradient(0deg,var(${cssVarBackgroundColor}) 0%,var(${cssVarBackgroundColor}) 20%,transparent 80%)`,
|
|
6067
|
+
'&[data-stuck]::after': {
|
|
6068
|
+
content: '""',
|
|
6069
|
+
zIndex: -1,
|
|
6070
|
+
position: 'absolute',
|
|
6071
|
+
inset: `calc(${paddingBlock} - ${offset}) calc(${dialogPaddingInline} - ${offset})`,
|
|
6072
|
+
background: colorFrosted,
|
|
6073
|
+
borderRadius: radius3Xl,
|
|
6074
|
+
WebkitBackdropFilter: blurFrosted,
|
|
6075
|
+
backdropFilter: blurFrosted,
|
|
6076
|
+
},
|
|
6077
|
+
};
|
|
6078
|
+
};
|
|
6079
|
+
const getSlotSubFooterJssStyle = () => {
|
|
6080
|
+
return {
|
|
6081
|
+
gridColumn: '1/-1',
|
|
6082
|
+
zIndex: 3, // controls layering + creates new stacking context (prevents content within to be above other dialog areas)
|
|
6083
|
+
paddingInline: dialogPaddingInline,
|
|
6084
|
+
backgroundColor: `var(${cssVarBackgroundColor})`,
|
|
6085
|
+
};
|
|
6086
|
+
};
|
|
5882
6087
|
|
|
5883
6088
|
/**
|
|
5884
6089
|
* @css-variable {"name": "--ref-p-input-slotted-padding", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `padding` in oder to adjust the alignment correctly."}
|
|
@@ -6898,210 +7103,6 @@ const getComponentCss$W = (size) => {
|
|
|
6898
7103
|
});
|
|
6899
7104
|
};
|
|
6900
7105
|
|
|
6901
|
-
const cssVarBackgroundColor = '--_p-dialog-a';
|
|
6902
|
-
const dialogHostJssStyle = (background) => {
|
|
6903
|
-
return {
|
|
6904
|
-
'--pds-internal-grid-outer-column': `calc(${spacingFluidLg} - ${gridGap})`,
|
|
6905
|
-
'--pds-internal-grid-margin': `calc(${spacingFluidLg} * -1)`,
|
|
6906
|
-
'--pds-internal-grid-width-min': 'auto',
|
|
6907
|
-
'--pds-internal-grid-width-max': 'none',
|
|
6908
|
-
[cssVarBackgroundColor]: background === 'surface' ? colorSurface : colorCanvas,
|
|
6909
|
-
};
|
|
6910
|
-
};
|
|
6911
|
-
const getDialogJssStyle = (isVisible, backdrop = 'blur') => {
|
|
6912
|
-
return {
|
|
6913
|
-
...dialogBackdropResetJssStyle,
|
|
6914
|
-
...getDialogBackdropTransitionJssStyle(isVisible, backdrop),
|
|
6915
|
-
};
|
|
6916
|
-
};
|
|
6917
|
-
const dialogBackdropResetJssStyle = {
|
|
6918
|
-
position: 'fixed', // ua-style
|
|
6919
|
-
inset: 0, // ua-style
|
|
6920
|
-
margin: 0, // ua-style
|
|
6921
|
-
padding: 0, // ua-style
|
|
6922
|
-
border: 0, // ua-style
|
|
6923
|
-
width: '100dvw', // ua-style
|
|
6924
|
-
height: '100dvh', // ua-style
|
|
6925
|
-
maxWidth: '100dvw', // ua-style
|
|
6926
|
-
maxHeight: '100dvh', // ua-style
|
|
6927
|
-
overflow: 'hidden', // ua-style
|
|
6928
|
-
display: 'block', // ua-style
|
|
6929
|
-
outline: 0, // ua-style (we always expect a focusable element to be within the dialog)
|
|
6930
|
-
'&::backdrop': {
|
|
6931
|
-
display: 'none', // ua-style (we can't use it atm because it's not animatable in all browsers)
|
|
6932
|
-
},
|
|
6933
|
-
};
|
|
6934
|
-
const getDialogBackdropTransitionJssStyle = (isVisible, backdrop = 'blur') => {
|
|
6935
|
-
const isBackdropBlur = backdrop === 'blur';
|
|
6936
|
-
const duration = isVisible ? 'long' : 'moderate';
|
|
6937
|
-
const easing = isVisible ? 'in' : 'out';
|
|
6938
|
-
// as soon as all browsers are supporting `allow-discrete`, visibility transition shouldn't be necessary anymore
|
|
6939
|
-
const transition = `visibility 0s linear var(${cssVariableTransitionDuration}, ${isVisible ? '0s' : motionDurationMap[duration]}), ${getTransition('background-color', duration, easing)}, ${getTransition('-webkit-backdrop-filter', duration, easing)}, ${getTransition('backdrop-filter', duration, easing)}`;
|
|
6940
|
-
return {
|
|
6941
|
-
zIndex: 9999999, // fallback for fade out stacking until `overlay` + `allow-discrete` is supported in all browsers. It tries to mimic #top-layer positioning hierarchy.
|
|
6942
|
-
...(isVisible
|
|
6943
|
-
? {
|
|
6944
|
-
visibility: 'inherit',
|
|
6945
|
-
pointerEvents: 'auto',
|
|
6946
|
-
background: colorBackdrop,
|
|
6947
|
-
...(isBackdropBlur && {
|
|
6948
|
-
WebkitBackdropFilter: blurFrosted,
|
|
6949
|
-
backdropFilter: blurFrosted,
|
|
6950
|
-
}),
|
|
6951
|
-
}
|
|
6952
|
-
: {
|
|
6953
|
-
visibility: 'hidden', // element shall not be tabbable with keyboard after fade out transition has finished
|
|
6954
|
-
pointerEvents: 'none', // element can't be interacted with mouse
|
|
6955
|
-
background: 'transparent',
|
|
6956
|
-
}),
|
|
6957
|
-
transition,
|
|
6958
|
-
// `allow-discrete` transition for ua-style `overlay` (supported browsers only) ensures dialog is rendered on
|
|
6959
|
-
// #top-layer as long as fade-in or fade-out transition/animation is running
|
|
6960
|
-
'@supports (transition-behavior: allow-discrete)': {
|
|
6961
|
-
transition: `${transition}, ${getTransition('overlay', duration, easing)} allow-discrete`,
|
|
6962
|
-
},
|
|
6963
|
-
};
|
|
6964
|
-
};
|
|
6965
|
-
const getScrollerJssStyle = (position) => {
|
|
6966
|
-
// ensures scrollbar color is set correctly (e.g. when scrollbar is shown on backdrop, on flyout/modal surface or with Auto Dark Mode)
|
|
6967
|
-
const backgroundLight = 'rgba(255,255,255,.01)';
|
|
6968
|
-
const backgroundDark = 'rgba(0,0,0,.01)';
|
|
6969
|
-
const background = {
|
|
6970
|
-
light: backgroundLight,
|
|
6971
|
-
dark: backgroundDark,
|
|
6972
|
-
auto: backgroundLight,
|
|
6973
|
-
};
|
|
6974
|
-
return {
|
|
6975
|
-
position: 'absolute',
|
|
6976
|
-
isolation: 'isolate', // creates new stacking context to show scrollbars on top of header/footer areas (on iOS/iPadOS)
|
|
6977
|
-
display: 'grid',
|
|
6978
|
-
...(position === 'fullscreen'
|
|
6979
|
-
? {
|
|
6980
|
-
inset: 0,
|
|
6981
|
-
}
|
|
6982
|
-
: {
|
|
6983
|
-
insetBlock: 0,
|
|
6984
|
-
[position === 'start' ? 'insetInlineStart' : 'insetInlineEnd']: 0,
|
|
6985
|
-
}),
|
|
6986
|
-
overflow: 'hidden auto',
|
|
6987
|
-
overscrollBehaviorY: 'none',
|
|
6988
|
-
// TODO: check if smooth scrolling on iOS is given?
|
|
6989
|
-
background: background.light,
|
|
6990
|
-
};
|
|
6991
|
-
};
|
|
6992
|
-
const dialogBorderRadius = `var(${legacyRadiusLarge}, ${radiusXl})`;
|
|
6993
|
-
const dialogPaddingTop = spacingFluidMd$1;
|
|
6994
|
-
const dialogPaddingBottom = `calc(${spacingFluidSm} + ${spacingFluidMd$1})`;
|
|
6995
|
-
const dialogPaddingInline = spacingFluidLg;
|
|
6996
|
-
const dialogGridJssStyle = () => {
|
|
6997
|
-
return {
|
|
6998
|
-
position: 'relative',
|
|
6999
|
-
display: 'grid',
|
|
7000
|
-
gridTemplate: `auto/${spacingFluidSm} minmax(0,1fr) ${spacingFluidSm}`,
|
|
7001
|
-
gap: `${spacingFluidMd$1} calc(${spacingFluidLg} - ${spacingFluidSm})`,
|
|
7002
|
-
paddingTop: dialogPaddingTop,
|
|
7003
|
-
paddingBottom: dialogPaddingBottom,
|
|
7004
|
-
alignContent: 'flex-start',
|
|
7005
|
-
};
|
|
7006
|
-
};
|
|
7007
|
-
const getDialogColorJssStyle = () => {
|
|
7008
|
-
return {
|
|
7009
|
-
color: colorPrimary, // enables color inheritance for slots
|
|
7010
|
-
background: `var(${cssVarBackgroundColor})`,
|
|
7011
|
-
};
|
|
7012
|
-
};
|
|
7013
|
-
const getDialogTransitionJssStyle = (isVisible, slideIn) => {
|
|
7014
|
-
const duration = isVisible ? 'moderate' : 'short';
|
|
7015
|
-
const easing = isVisible ? 'in' : 'out';
|
|
7016
|
-
return {
|
|
7017
|
-
// transition offset relies vertically on viewport (vh) because the dialog height can be infinite, while horizontally
|
|
7018
|
-
// it relies on the dialog width (%) which has a max-width
|
|
7019
|
-
...(isVisible
|
|
7020
|
-
? {
|
|
7021
|
-
opacity: 1,
|
|
7022
|
-
transform: 'initial',
|
|
7023
|
-
}
|
|
7024
|
-
: {
|
|
7025
|
-
opacity: 0,
|
|
7026
|
-
transform: slideIn === '^' ? 'translateY(25vh)' : `translateX(${slideIn === '>' ? '-' : ''}100%)`,
|
|
7027
|
-
'&:dir(rtl)': {
|
|
7028
|
-
transform: slideIn === '^' ? 'translateY(25vh)' : `translateX(${slideIn === '>' ? '' : '-'}100%)`,
|
|
7029
|
-
},
|
|
7030
|
-
}),
|
|
7031
|
-
transition: `${getTransition('opacity', duration, easing)}, ${getTransition('transform', duration, easing)}`,
|
|
7032
|
-
};
|
|
7033
|
-
};
|
|
7034
|
-
const getDialogDismissButtonJssStyle = () => {
|
|
7035
|
-
return {
|
|
7036
|
-
gridArea: '1/3',
|
|
7037
|
-
zIndex: 5, // controls layering + creates new stacking context (prevents content within to be above other dialog areas)
|
|
7038
|
-
position: 'sticky',
|
|
7039
|
-
top: spacingFluidSm,
|
|
7040
|
-
marginTop: `calc(-1 * ${dialogPaddingTop} + ${spacingFluidSm})`,
|
|
7041
|
-
marginInlineEnd: spacingFluidSm,
|
|
7042
|
-
placeSelf: 'flex-start flex-end',
|
|
7043
|
-
boxShadow: `0px 0px 30px hsla(from var(${cssVarBackgroundColor}) h s l / 0.35)`
|
|
7044
|
-
};
|
|
7045
|
-
};
|
|
7046
|
-
const getSlotJssStyle = () => {
|
|
7047
|
-
return {
|
|
7048
|
-
display: 'block',
|
|
7049
|
-
'&:first-of-type': {
|
|
7050
|
-
gridRowStart: 1,
|
|
7051
|
-
},
|
|
7052
|
-
};
|
|
7053
|
-
};
|
|
7054
|
-
const getSlotHeaderJssStyle = () => {
|
|
7055
|
-
const paddingTop = dialogPaddingTop;
|
|
7056
|
-
const paddingBottom = spacingStaticMd;
|
|
7057
|
-
return {
|
|
7058
|
-
gridColumn: '1/-1',
|
|
7059
|
-
zIndex: 1, // controls layering + creates new stacking context (prevents content within to be above other dialog areas)
|
|
7060
|
-
position: 'sticky',
|
|
7061
|
-
top: 0, // necessary for `IntersectionObserver` to detect if sticky element is stuck or not. Float value is used, so that sticky area isn't moved out visually by e.g. 1px when container gets scrolled.
|
|
7062
|
-
marginBlock: `calc(-1 * ${paddingTop}) calc(-1 * ${paddingBottom})`,
|
|
7063
|
-
padding: `${paddingTop} ${dialogPaddingInline} ${paddingBottom}`,
|
|
7064
|
-
background: `linear-gradient(180deg,var(${cssVarBackgroundColor}) 0%,var(${cssVarBackgroundColor}) 80%,transparent 100%)`,
|
|
7065
|
-
};
|
|
7066
|
-
};
|
|
7067
|
-
const getSlotMainJssStyle = () => {
|
|
7068
|
-
return {
|
|
7069
|
-
gridColumn: '2/3',
|
|
7070
|
-
zIndex: 0, // controls layering + creates new stacking context (prevents content within to be above other dialog areas)
|
|
7071
|
-
};
|
|
7072
|
-
};
|
|
7073
|
-
const getSlotFooterJssStyle = () => {
|
|
7074
|
-
const paddingBlock = `calc(${dialogPaddingBottom} - ${dialogBorderRadius})`;
|
|
7075
|
-
const offset = `calc(${paddingBlock} / 2)`;
|
|
7076
|
-
return {
|
|
7077
|
-
gridColumn: '1/-1',
|
|
7078
|
-
zIndex: 2, // controls layering + creates new stacking context (prevents content within to be above other dialog areas)
|
|
7079
|
-
position: 'sticky',
|
|
7080
|
-
bottom: '-.1px', // necessary for `IntersectionObserver` to detect if sticky element is stuck or not. Float value is used, so that sticky area isn't moved out visually by e.g. 1px when container gets scrolled.
|
|
7081
|
-
marginBlock: `calc(-1 * ${paddingBlock})`,
|
|
7082
|
-
padding: `${paddingBlock} ${dialogPaddingInline}`,
|
|
7083
|
-
background: `linear-gradient(0deg,var(${cssVarBackgroundColor}) 0%,var(${cssVarBackgroundColor}) 20%,transparent 80%)`,
|
|
7084
|
-
'&[data-stuck]::after': {
|
|
7085
|
-
content: '""',
|
|
7086
|
-
zIndex: -1,
|
|
7087
|
-
position: 'absolute',
|
|
7088
|
-
inset: `calc(${paddingBlock} - ${offset}) calc(${dialogPaddingInline} - ${offset})`,
|
|
7089
|
-
background: colorFrosted,
|
|
7090
|
-
borderRadius: radius3Xl,
|
|
7091
|
-
WebkitBackdropFilter: blurFrosted,
|
|
7092
|
-
backdropFilter: blurFrosted,
|
|
7093
|
-
},
|
|
7094
|
-
};
|
|
7095
|
-
};
|
|
7096
|
-
const getSlotSubFooterJssStyle = () => {
|
|
7097
|
-
return {
|
|
7098
|
-
gridColumn: '1/-1',
|
|
7099
|
-
zIndex: 3, // controls layering + creates new stacking context (prevents content within to be above other dialog areas)
|
|
7100
|
-
paddingInline: dialogPaddingInline,
|
|
7101
|
-
backgroundColor: `var(${cssVarBackgroundColor})`,
|
|
7102
|
-
};
|
|
7103
|
-
};
|
|
7104
|
-
|
|
7105
7106
|
/**
|
|
7106
7107
|
* @css-variable {"name": "--p-flyout-width", "description": "Width of the flyout.", "defaultValue": "auto"}
|
|
7107
7108
|
*/
|
|
@@ -7156,7 +7157,7 @@ const getComponentCss$V = (isOpen, background, backdrop, position, hasHeader, ha
|
|
|
7156
7157
|
'&[name=sub-footer]': getSlotSubFooterJssStyle(),
|
|
7157
7158
|
}),
|
|
7158
7159
|
},
|
|
7159
|
-
|
|
7160
|
+
...getFunctionalComponentDialogBaseStyles(isOpen, backdrop),
|
|
7160
7161
|
},
|
|
7161
7162
|
scroller: {
|
|
7162
7163
|
...getScrollerJssStyle(isPositionStart ? 'start' : 'end'),
|
|
@@ -7978,7 +7979,7 @@ const getComponentCss$C = (isOpen, background, backdrop, fullscreen, hasDismissB
|
|
|
7978
7979
|
'&[name=footer]': getSlotFooterJssStyle(),
|
|
7979
7980
|
}),
|
|
7980
7981
|
},
|
|
7981
|
-
|
|
7982
|
+
...getFunctionalComponentDialogBaseStyles(isOpen, backdrop),
|
|
7982
7983
|
},
|
|
7983
7984
|
scroller: getScrollerJssStyle('fullscreen'),
|
|
7984
7985
|
modal: {
|
|
@@ -9047,7 +9048,7 @@ const getComponentCss$n = (isOpen, background, hasDismissButton) => {
|
|
|
9047
9048
|
zIndex: 0, // controls layering + creates new stacking context (prevents content within to be above other dialog areas)
|
|
9048
9049
|
},
|
|
9049
9050
|
},
|
|
9050
|
-
|
|
9051
|
+
...getFunctionalComponentDialogBaseStyles(isOpen, 'shading'),
|
|
9051
9052
|
},
|
|
9052
9053
|
scroller: getScrollerJssStyle('fullscreen'),
|
|
9053
9054
|
sheet: {
|
|
@@ -10258,6 +10259,12 @@ const getComponentCss = (size) => {
|
|
|
10258
10259
|
exports.cssVarButtonPureMargin = cssVarButtonPureMargin;
|
|
10259
10260
|
exports.cssVarButtonPurePadding = cssVarButtonPurePadding;
|
|
10260
10261
|
exports.cssVarInternalInputBaseScaling = cssVarInternalInputBaseScaling;
|
|
10262
|
+
exports.dialogBorderRadius = dialogBorderRadius;
|
|
10263
|
+
exports.dialogGridJssStyle = dialogGridJssStyle;
|
|
10264
|
+
exports.dialogHostJssStyle = dialogHostJssStyle;
|
|
10265
|
+
exports.dialogPaddingBottom = dialogPaddingBottom;
|
|
10266
|
+
exports.dialogPaddingInline = dialogPaddingInline;
|
|
10267
|
+
exports.dialogPaddingTop = dialogPaddingTop;
|
|
10261
10268
|
exports.getAccordionCss = getComponentCss$19;
|
|
10262
10269
|
exports.getBannerCss = getComponentCss$18;
|
|
10263
10270
|
exports.getButtonCss = getComponentCss$15;
|
|
@@ -10267,6 +10274,9 @@ exports.getCanvasCss = getComponentCss$14;
|
|
|
10267
10274
|
exports.getCarouselCss = getComponentCss$13;
|
|
10268
10275
|
exports.getCheckboxCss = getComponentCss$12;
|
|
10269
10276
|
exports.getCrestCss = getComponentCss$11;
|
|
10277
|
+
exports.getDialogColorJssStyle = getDialogColorJssStyle;
|
|
10278
|
+
exports.getDialogDismissButtonJssStyle = getDialogDismissButtonJssStyle;
|
|
10279
|
+
exports.getDialogTransitionJssStyle = getDialogTransitionJssStyle;
|
|
10270
10280
|
exports.getDisplayCss = getComponentCss$10;
|
|
10271
10281
|
exports.getDividerCss = getComponentCss$$;
|
|
10272
10282
|
exports.getDrilldownCss = getComponentCss$_;
|
|
@@ -10275,6 +10285,7 @@ exports.getDrilldownLinkCss = getComponentCss$Y;
|
|
|
10275
10285
|
exports.getFieldsetCss = getComponentCss$X;
|
|
10276
10286
|
exports.getFlagCss = getComponentCss$W;
|
|
10277
10287
|
exports.getFlyoutCss = getComponentCss$V;
|
|
10288
|
+
exports.getFunctionalComponentDialogBaseStyles = getFunctionalComponentDialogBaseStyles;
|
|
10278
10289
|
exports.getFunctionalComponentInputBaseStyles = getFunctionalComponentInputBaseStyles;
|
|
10279
10290
|
exports.getFunctionalComponentLabelAfterStyles = getFunctionalComponentLabelAfterStyles;
|
|
10280
10291
|
exports.getFunctionalComponentLabelStyles = getFunctionalComponentLabelStyles;
|
|
@@ -10312,11 +10323,17 @@ exports.getPopoverCss = getComponentCss$v;
|
|
|
10312
10323
|
exports.getRadioGroupCss = getComponentCss$t;
|
|
10313
10324
|
exports.getRadioGroupOptionCss = getComponentCss$u;
|
|
10314
10325
|
exports.getScrollerCss = getComponentCss$s;
|
|
10326
|
+
exports.getScrollerJssStyle = getScrollerJssStyle;
|
|
10315
10327
|
exports.getSegmentedControlCss = getComponentCss$q;
|
|
10316
10328
|
exports.getSegmentedControlItemCss = getComponentCss$r;
|
|
10317
10329
|
exports.getSelectCss = getComponentCss$o;
|
|
10318
10330
|
exports.getSelectOptionCss = getComponentCss$p;
|
|
10319
10331
|
exports.getSheetCss = getComponentCss$n;
|
|
10332
|
+
exports.getSlotFooterJssStyle = getSlotFooterJssStyle;
|
|
10333
|
+
exports.getSlotHeaderJssStyle = getSlotHeaderJssStyle;
|
|
10334
|
+
exports.getSlotJssStyle = getSlotJssStyle;
|
|
10335
|
+
exports.getSlotMainJssStyle = getSlotMainJssStyle;
|
|
10336
|
+
exports.getSlotSubFooterJssStyle = getSlotSubFooterJssStyle;
|
|
10320
10337
|
exports.getSpinnerCss = getComponentCss$m;
|
|
10321
10338
|
exports.getStepperHorizontalCss = getComponentCss$k;
|
|
10322
10339
|
exports.getStepperHorizontalItemCss = getComponentCss$l;
|
|
@@ -3454,7 +3454,7 @@ const hasShowPickerSupport = () => (hasDocument &&
|
|
|
3454
3454
|
'showPicker' in HTMLInputElement.prototype &&
|
|
3455
3455
|
CSS.supports('selector(::-webkit-calendar-picker-indicator)'));
|
|
3456
3456
|
|
|
3457
|
-
const prefix = `[Porsche Design System v${"4.
|
|
3457
|
+
const prefix = `[Porsche Design System v${"4.2.0-rc.1"}]` // this part isn't covered by unit tests
|
|
3458
3458
|
;
|
|
3459
3459
|
const consoleError$1 = (...messages) => {
|
|
3460
3460
|
console.error(prefix, ...messages);
|
|
@@ -3617,7 +3617,7 @@ const descriptionId = 'description';
|
|
|
3617
3617
|
var CRESTS_MANIFEST = { "porscheCrest": { "1x": { "png": "porsche-crest.d76137c@1x.png", "webp": "porsche-crest.0d0cc89@1x.webp" }, "2x": { "png": "porsche-crest.8a292fb@2x.png", "webp": "porsche-crest.2245c45@2x.webp" }, "3x": { "png": "porsche-crest.18d6f02@3x.png", "webp": "porsche-crest.19b4292@3x.webp" } } };
|
|
3618
3618
|
|
|
3619
3619
|
// index.ts
|
|
3620
|
-
var FLAGS_MANIFEST = { "ad": "ad.da62168.svg", "ae": "ae.070e003.svg", "al": "al.6499c8e.svg", "am": "am.b228450.svg", "ar": "ar.d3ecad6.svg", "at": "at.19b8f3c.svg", "au": "au.9ccee18.svg", "az": "az.463b388.svg", "ba": "ba.57e215c.svg", "bd": "bd.647f155.svg", "be": "be.6601715.svg", "bg": "bg.2a1ef06.svg", "bh": "bh.f6ce1b1.svg", "bn": "bn.5bb9faf.svg", "bo": "bo.2a95304.svg", "br": "br.071ef4a.svg", "by": "by.bbe68ec.svg", "ca": "ca.3524ab1.svg", "ch": "ch.1cc9a58.svg", "cl": "cl.7226017.svg", "cn": "cn.3e2e196.svg", "co": "co.40bd283.svg", "cr": "cr.d275fe4.svg", "cw": "cw.2a2e69b.svg", "cy": "cy.eecbae2.svg", "cz": "cz.84fcee1.svg", "de": "de.b575e11.svg", "dk": "dk.8faad28.svg", "do": "do.8cbff53.svg", "dz": "dz.92ac4dd.svg", "ec": "ec.8b790aa.svg", "ee": "ee.0d69319.svg", "eg": "eg.3d6e702.svg", "es": "es.8259527.svg", "fi": "fi.abcdec4.svg", "fr": "fr.e6f575e.svg", "gb": "gb.c8be57d.svg", "ge": "ge.1828ada.svg", "gh": "gh.dcc9966.svg", "gi": "gi.931c4f3.svg", "gr": "gr.8d404a0.svg", "gt": "gt.d28dda2.svg", "hk": "hk.a791020.svg", "hn": "hn.61767b1.svg", "hr": "hr.09fd51c.svg", "ht": "ht.a0f15d3.svg", "hu": "hu.1e61356.svg", "id": "id.01c0ab3.svg", "ie": "ie.cec77fa.svg", "il": "il.add57d7.svg", "in": "in.15aa313.svg", "is": "is.2d193b5.svg", "it": "it.d26868c.svg", "jm": "jm.6266f91.svg", "jo": "jo.6759235.svg", "jp": "jp.32c39a2.svg", "ke": "ke.96a51ec.svg", "kh": "kh.ac03e8a.svg", "kr": "kr.f9b3228.svg", "kw": "kw.ecb70e0.svg", "kz": "kz.5f31a4b.svg", "lb": "lb.eed52fa.svg", "li": "li.30156a7.svg", "lk": "lk.1b44ee9.svg", "lt": "lt.5448f1b.svg", "lu": "lu.11992af.svg", "lv": "lv.c45d630.svg", "ma": "ma.
|
|
3620
|
+
var FLAGS_MANIFEST = { "ad": "ad.da62168.svg", "ae": "ae.070e003.svg", "al": "al.6499c8e.svg", "am": "am.b228450.svg", "ar": "ar.d3ecad6.svg", "at": "at.19b8f3c.svg", "au": "au.9ccee18.svg", "az": "az.463b388.svg", "ba": "ba.57e215c.svg", "bd": "bd.647f155.svg", "be": "be.6601715.svg", "bg": "bg.2a1ef06.svg", "bh": "bh.f6ce1b1.svg", "bn": "bn.5bb9faf.svg", "bo": "bo.2a95304.svg", "br": "br.071ef4a.svg", "by": "by.bbe68ec.svg", "ca": "ca.3524ab1.svg", "ch": "ch.1cc9a58.svg", "cl": "cl.7226017.svg", "cn": "cn.3e2e196.svg", "co": "co.40bd283.svg", "cr": "cr.d275fe4.svg", "cw": "cw.2a2e69b.svg", "cy": "cy.eecbae2.svg", "cz": "cz.84fcee1.svg", "de": "de.b575e11.svg", "dk": "dk.8faad28.svg", "do": "do.8cbff53.svg", "dz": "dz.92ac4dd.svg", "ec": "ec.8b790aa.svg", "ee": "ee.0d69319.svg", "eg": "eg.3d6e702.svg", "es": "es.8259527.svg", "fi": "fi.abcdec4.svg", "fr": "fr.e6f575e.svg", "gb": "gb.c8be57d.svg", "ge": "ge.1828ada.svg", "gh": "gh.dcc9966.svg", "gi": "gi.931c4f3.svg", "gr": "gr.8d404a0.svg", "gt": "gt.d28dda2.svg", "hk": "hk.a791020.svg", "hn": "hn.61767b1.svg", "hr": "hr.09fd51c.svg", "ht": "ht.a0f15d3.svg", "hu": "hu.1e61356.svg", "id": "id.01c0ab3.svg", "ie": "ie.cec77fa.svg", "il": "il.add57d7.svg", "in": "in.15aa313.svg", "is": "is.2d193b5.svg", "it": "it.d26868c.svg", "jm": "jm.6266f91.svg", "jo": "jo.6759235.svg", "jp": "jp.32c39a2.svg", "ke": "ke.96a51ec.svg", "kh": "kh.ac03e8a.svg", "kr": "kr.f9b3228.svg", "kw": "kw.ecb70e0.svg", "kz": "kz.5f31a4b.svg", "lb": "lb.eed52fa.svg", "li": "li.30156a7.svg", "lk": "lk.1b44ee9.svg", "lt": "lt.5448f1b.svg", "lu": "lu.11992af.svg", "lv": "lv.c45d630.svg", "ma": "ma.3dd41af.svg", "mc": "mc.bc42fcb.svg", "md": "md.7ed7b6b.svg", "me": "me.73d5280.svg", "mk": "mk.08eaad6.svg", "mn": "mn.fd0cde6.svg", "mo": "mo.a7e3c7c.svg", "mq": "mq.f55f7ca.svg", "mt": "mt.1ee108a.svg", "mu": "mu.f901db6.svg", "mx": "mx.c39bf62.svg", "my": "my.b7366cd.svg", "ng": "ng.d1ac1ea.svg", "nl": "nl.0569e12.svg", "no": "no.b4f2c38.svg", "nz": "nz.a70a24d.svg", "om": "om.d63d939.svg", "pa": "pa.f33ec1a.svg", "pe": "pe.2cacc5f.svg", "pf": "pf.50807f4.svg", "ph": "ph.1df49d2.svg", "pk": "pk.86b11da.svg", "pl": "pl.e0ef0ec.svg", "pr": "pr.79d60a1.svg", "pt": "pt.c903b10.svg", "py": "py.e39a820.svg", "qa": "qa.47e5e31.svg", "re": "re.e6f575e.svg", "ro": "ro.9d14812.svg", "rs": "rs.7c7c211.svg", "ru": "ru.eb87254.svg", "sa": "sa.7fccafb.svg", "se": "se.f2705e2.svg", "sg": "sg.bca7a48.svg", "si": "si.c018e71.svg", "sk": "sk.d3177a9.svg", "sv": "sv.26aaba9.svg", "th": "th.1c48f08.svg", "tn": "tn.e119e22.svg", "tr": "tr.b4170f9.svg", "tt": "tt.7f3e1df.svg", "tw": "tw.df76c19.svg", "ua": "ua.73e5a3e.svg", "us": "us.10d7b02.svg", "uy": "uy.666b0bc.svg", "uz": "uz.8fa8ad3.svg", "ve": "ve.6cd1ec7.svg", "vn": "vn.3e0128f.svg", "xx": "xx.acc7ae8.svg", "za": "za.1bb0840.svg" };
|
|
3621
3621
|
|
|
3622
3622
|
// index.ts
|
|
3623
3623
|
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" };
|