@porsche-design-system/components-vue 3.28.0-rc.3 → 3.28.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 +14 -0
- package/cjs/lib/components/InputNumberWrapper.vue.cjs +1 -0
- package/cjs/lib/components/InputNumberWrapper.vue2.cjs +1 -0
- package/cjs/public-api.cjs +1 -1
- package/esm/lib/components/InputNumberWrapper.vue.d.ts +113 -0
- package/esm/lib/components/InputNumberWrapper.vue.mjs +46 -0
- package/esm/lib/components/InputNumberWrapper.vue2.mjs +4 -0
- package/esm/lib/components/index.d.ts +1 -0
- package/esm/lib/types.d.ts +12 -2
- package/esm/public-api.mjs +118 -116
- package/package.json +3 -3
- package/{tailwind → tailwindcss}/index.css +194 -133
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
14
14
|
|
|
15
15
|
## [Unreleased]
|
|
16
16
|
|
|
17
|
+
## [3.28.0] - 2025-06-02
|
|
18
|
+
|
|
19
|
+
#### Added
|
|
20
|
+
|
|
21
|
+
- `Input Number`: ([#3855](https://github.com/porsche-design-system/porsche-design-system/pull/3855))
|
|
22
|
+
|
|
23
|
+
#### Fixed
|
|
24
|
+
|
|
25
|
+
- `Select Wrapper`: update of scroll position if dropdown is navigated with keyboard
|
|
26
|
+
([#3858](https://github.com/porsche-design-system/porsche-design-system/pull/3858))
|
|
27
|
+
- `Select`, `Multi Select`: replacement of static (english) a11y announcement of active `option` with dynamic
|
|
28
|
+
announcement through `ariaActiveDescendantElement`
|
|
29
|
+
([#3826](https://github.com/porsche-design-system/porsche-design-system/pull/3826))
|
|
30
|
+
|
|
17
31
|
## [3.28.0-rc.3] - 2025-05-19
|
|
18
32
|
|
|
19
33
|
### Added
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),t=require("../../utils.cjs"),p=e.defineComponent({__name:"InputNumberWrapper",props:{autoComplete:{default:""},compact:{type:Boolean,default:!1},controls:{type:Boolean,default:!1},description:{default:""},disabled:{type:Boolean,default:!1},form:{},hideLabel:{default:!1},label:{default:""},max:{},message:{default:""},min:{},name:{},placeholder:{default:""},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},state:{default:"none"},step:{default:1},theme:{},value:{default:""}},emits:["blur","change","input"],setup(u,{emit:d}){const f=t.usePrefix("p-input-number"),o=u,n=e.ref(),a=d,s=e.inject(t.themeInjectionKey),r=()=>t.syncProperties(n,{...o,theme:o.theme||s.value});return e.onMounted(()=>{r(),t.addEventListenerToElementRef(n,"blur",a),t.addEventListenerToElementRef(n,"change",a),t.addEventListenerToElementRef(n,"input",a)}),e.onUpdated(r),e.watch(s,l=>{t.syncProperties(n,{theme:o.theme||l})}),(l,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(f)),{ref_key:"pdsComponentRef",ref:n},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},512))}});module.exports=p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./InputNumberWrapper.vue.cjs");module.exports=e;
|
package/cjs/public-api.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("@porsche-design-system/components-js"),t=require("./lib/components/AccordionWrapper.vue.cjs"),p=require("./lib/components/BannerWrapper.vue.cjs"),u=require("./lib/components/ButtonWrapper.vue.cjs"),s=require("./lib/components/ButtonGroupWrapper.vue.cjs"),i=require("./lib/components/ButtonPureWrapper.vue.cjs"),n=require("./lib/components/ButtonTileWrapper.vue.cjs"),a=require("./lib/components/CanvasWrapper.vue.cjs"),c=require("./lib/components/CarouselWrapper.vue.cjs"),o=require("./lib/components/CheckboxWrapper.vue.cjs"),l=require("./lib/components/CheckboxWrapperWrapper.vue.cjs"),v=require("./lib/components/ContentWrapperWrapper.vue.cjs"),g=require("./lib/components/CrestWrapper.vue.cjs"),P=require("./lib/components/DisplayWrapper.vue.cjs"),y=require("./lib/components/DividerWrapper.vue.cjs"),W=require("./lib/components/DrilldownWrapper.vue.cjs"),q=require("./lib/components/DrilldownItemWrapper.vue.cjs"),d=require("./lib/components/DrilldownLinkWrapper.vue.cjs"),T=require("./lib/components/FieldsetWrapper.vue.cjs"),S=require("./lib/components/FieldsetWrapperWrapper.vue.cjs"),m=require("./lib/components/FlexWrapper.vue.cjs"),b=require("./lib/components/FlexItemWrapper.vue.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("@porsche-design-system/components-js"),t=require("./lib/components/AccordionWrapper.vue.cjs"),p=require("./lib/components/BannerWrapper.vue.cjs"),u=require("./lib/components/ButtonWrapper.vue.cjs"),s=require("./lib/components/ButtonGroupWrapper.vue.cjs"),i=require("./lib/components/ButtonPureWrapper.vue.cjs"),n=require("./lib/components/ButtonTileWrapper.vue.cjs"),a=require("./lib/components/CanvasWrapper.vue.cjs"),c=require("./lib/components/CarouselWrapper.vue.cjs"),o=require("./lib/components/CheckboxWrapper.vue.cjs"),l=require("./lib/components/CheckboxWrapperWrapper.vue.cjs"),v=require("./lib/components/ContentWrapperWrapper.vue.cjs"),g=require("./lib/components/CrestWrapper.vue.cjs"),P=require("./lib/components/DisplayWrapper.vue.cjs"),y=require("./lib/components/DividerWrapper.vue.cjs"),W=require("./lib/components/DrilldownWrapper.vue.cjs"),q=require("./lib/components/DrilldownItemWrapper.vue.cjs"),d=require("./lib/components/DrilldownLinkWrapper.vue.cjs"),T=require("./lib/components/FieldsetWrapper.vue.cjs"),S=require("./lib/components/FieldsetWrapperWrapper.vue.cjs"),m=require("./lib/components/FlexWrapper.vue.cjs"),b=require("./lib/components/FlexItemWrapper.vue.cjs"),I=require("./lib/components/FlyoutWrapper.vue.cjs"),C=require("./lib/components/GridWrapper.vue.cjs"),k=require("./lib/components/GridItemWrapper.vue.cjs"),x=require("./lib/components/HeadingWrapper.vue.cjs"),D=require("./lib/components/HeadlineWrapper.vue.cjs"),L=require("./lib/components/IconWrapper.vue.cjs"),h=require("./lib/components/InlineNotificationWrapper.vue.cjs"),B=require("./lib/components/InputNumberWrapper.vue.cjs"),M=require("./lib/components/InputPasswordWrapper.vue.cjs"),w=require("./lib/components/LinkWrapper.vue.cjs"),H=require("./lib/components/LinkPureWrapper.vue.cjs"),F=require("./lib/components/LinkSocialWrapper.vue.cjs"),O=require("./lib/components/LinkTileWrapper.vue.cjs"),R=require("./lib/components/LinkTileModelSignatureWrapper.vue.cjs"),G=require("./lib/components/LinkTileProductWrapper.vue.cjs"),f=require("./lib/components/MarqueWrapper.vue.cjs"),j=require("./lib/components/ModalWrapper.vue.cjs"),z=require("./lib/components/ModelSignatureWrapper.vue.cjs"),N=require("./lib/components/MultiSelectWrapper.vue.cjs"),A=require("./lib/components/MultiSelectOptionWrapper.vue.cjs"),K=require("./lib/components/OptgroupWrapper.vue.cjs"),J=require("./lib/components/PaginationWrapper.vue.cjs"),E=require("./lib/components/PinCodeWrapper.vue.cjs"),Q=require("./lib/components/PopoverWrapper.vue.cjs"),U=require("./lib/components/RadioButtonWrapperWrapper.vue.cjs"),V=require("./lib/components/ScrollerWrapper.vue.cjs"),X=require("./lib/components/SegmentedControlWrapper.vue.cjs"),Y=require("./lib/components/SegmentedControlItemWrapper.vue.cjs"),Z=require("./lib/components/SelectWrapper.vue.cjs"),$=require("./lib/components/SelectOptionWrapper.vue.cjs"),ee=require("./lib/components/SelectWrapperWrapper.vue.cjs"),re=require("./lib/components/SheetWrapper.vue.cjs"),_e=require("./lib/components/SpinnerWrapper.vue.cjs"),te=require("./lib/components/StepperHorizontalWrapper.vue.cjs"),pe=require("./lib/components/StepperHorizontalItemWrapper.vue.cjs"),ue=require("./lib/components/SwitchWrapper.vue.cjs"),se=require("./lib/components/TableWrapper.vue.cjs"),ie=require("./lib/components/TableBodyWrapper.vue.cjs"),ne=require("./lib/components/TableCellWrapper.vue.cjs"),ae=require("./lib/components/TableHeadWrapper.vue.cjs"),ce=require("./lib/components/TableHeadCellWrapper.vue.cjs"),oe=require("./lib/components/TableHeadRowWrapper.vue.cjs"),le=require("./lib/components/TableRowWrapper.vue.cjs"),ve=require("./lib/components/TabsWrapper.vue.cjs"),ge=require("./lib/components/TabsBarWrapper.vue.cjs"),Pe=require("./lib/components/TabsItemWrapper.vue.cjs"),ye=require("./lib/components/TagWrapper.vue.cjs"),We=require("./lib/components/TagDismissibleWrapper.vue.cjs"),qe=require("./lib/components/TextWrapper.vue.cjs"),de=require("./lib/components/TextFieldWrapperWrapper.vue.cjs"),Te=require("./lib/components/TextListWrapper.vue.cjs"),Se=require("./lib/components/TextListItemWrapper.vue.cjs"),me=require("./lib/components/TextareaWrapper.vue.cjs"),be=require("./lib/components/TextareaWrapperWrapper.vue.cjs"),Ie=require("./lib/components/ToastWrapper.vue.cjs"),Ce=require("./lib/components/WordmarkWrapper.vue.cjs"),e=require("./utils.cjs"),ke=require("./PorscheDesignSystemProvider.vue.cjs"),r=require("./plugin.cjs");Object.defineProperty(exports,"componentsReady",{enumerable:!0,get:()=>_.componentsReady});exports.PAccordion=t;exports.PBanner=p;exports.PButton=u;exports.PButtonGroup=s;exports.PButtonPure=i;exports.PButtonTile=n;exports.PCanvas=a;exports.PCarousel=c;exports.PCheckbox=o;exports.PCheckboxWrapper=l;exports.PContentWrapper=v;exports.PCrest=g;exports.PDisplay=P;exports.PDivider=y;exports.PDrilldown=W;exports.PDrilldownItem=q;exports.PDrilldownLink=d;exports.PFieldset=T;exports.PFieldsetWrapper=S;exports.PFlex=m;exports.PFlexItem=b;exports.PFlyout=I;exports.PGrid=C;exports.PGridItem=k;exports.PHeading=x;exports.PHeadline=D;exports.PIcon=L;exports.PInlineNotification=h;exports.PInputNumber=B;exports.PInputPassword=M;exports.PLink=w;exports.PLinkPure=H;exports.PLinkSocial=F;exports.PLinkTile=O;exports.PLinkTileModelSignature=R;exports.PLinkTileProduct=G;exports.PMarque=f;exports.PModal=j;exports.PModelSignature=z;exports.PMultiSelect=N;exports.PMultiSelectOption=A;exports.POptgroup=K;exports.PPagination=J;exports.PPinCode=E;exports.PPopover=Q;exports.PRadioButtonWrapper=U;exports.PScroller=V;exports.PSegmentedControl=X;exports.PSegmentedControlItem=Y;exports.PSelect=Z;exports.PSelectOption=$;exports.PSelectWrapper=ee;exports.PSheet=re;exports.PSpinner=_e;exports.PStepperHorizontal=te;exports.PStepperHorizontalItem=pe;exports.PSwitch=ue;exports.PTable=se;exports.PTableBody=ie;exports.PTableCell=ne;exports.PTableHead=ae;exports.PTableHeadCell=ce;exports.PTableHeadRow=oe;exports.PTableRow=le;exports.PTabs=ve;exports.PTabsBar=ge;exports.PTabsItem=Pe;exports.PTag=ye;exports.PTagDismissible=We;exports.PText=qe;exports.PTextFieldWrapper=de;exports.PTextList=Te;exports.PTextListItem=Se;exports.PTextarea=me;exports.PTextareaWrapper=be;exports.PToast=Ie;exports.PWordmark=Ce;exports.themeInjectionKey=e.themeInjectionKey;exports.useToastManager=e.useToastManager;exports.PorscheDesignSystemProvider=ke;exports.createPorscheDesignSystem=r.createPorscheDesignSystem;exports.usePorscheDesignSystemPlugin=r.usePorscheDesignSystemPlugin;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import type { InputNumberAutoComplete, BreakpointCustomizable, InputNumberState, Theme } from '../types';
|
|
2
|
+
type PInputNumberProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Specifies whether the input can be autofilled by the browser
|
|
5
|
+
*/
|
|
6
|
+
autoComplete?: InputNumberAutoComplete;
|
|
7
|
+
/**
|
|
8
|
+
* Displays as compact version.
|
|
9
|
+
*/
|
|
10
|
+
compact?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Show or hide the increment/decrement stepper controls.
|
|
13
|
+
*/
|
|
14
|
+
controls?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The description text.
|
|
17
|
+
*/
|
|
18
|
+
description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Marks the number input as disabled.
|
|
21
|
+
*/
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The id of a form element the number input should be associated with.
|
|
25
|
+
*/
|
|
26
|
+
form?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Show or hide label and description text. For better accessibility it is recommended to show the label.
|
|
29
|
+
*/
|
|
30
|
+
hideLabel?: BreakpointCustomizable<boolean>;
|
|
31
|
+
/**
|
|
32
|
+
* The label text.
|
|
33
|
+
*/
|
|
34
|
+
label?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The max value of the number input.
|
|
37
|
+
*/
|
|
38
|
+
max?: number;
|
|
39
|
+
/**
|
|
40
|
+
* The message styled depending on validation state.
|
|
41
|
+
*/
|
|
42
|
+
message?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The min value of the number input.
|
|
45
|
+
*/
|
|
46
|
+
min?: number;
|
|
47
|
+
/**
|
|
48
|
+
* The name of the number input.
|
|
49
|
+
*/
|
|
50
|
+
name: string;
|
|
51
|
+
/**
|
|
52
|
+
* The placeholder text.
|
|
53
|
+
*/
|
|
54
|
+
placeholder?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Specifies whether the number input should be read-only.
|
|
57
|
+
*/
|
|
58
|
+
readOnly?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Marks the number input as required.
|
|
61
|
+
*/
|
|
62
|
+
required?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* The validation state.
|
|
65
|
+
*/
|
|
66
|
+
state?: InputNumberState;
|
|
67
|
+
/**
|
|
68
|
+
* The granularity that the value must adhere to.
|
|
69
|
+
*/
|
|
70
|
+
step?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Adapts the color depending on the theme.
|
|
73
|
+
*/
|
|
74
|
+
theme?: Theme;
|
|
75
|
+
/**
|
|
76
|
+
* The number input value.
|
|
77
|
+
*/
|
|
78
|
+
value?: string;
|
|
79
|
+
};
|
|
80
|
+
declare function __VLS_template(): {
|
|
81
|
+
default?(_: {}): any;
|
|
82
|
+
};
|
|
83
|
+
declare const __VLS_component: import("vue").DefineComponent<PInputNumberProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
84
|
+
blur: (value: Event) => void;
|
|
85
|
+
change: (value: Event) => void;
|
|
86
|
+
input: (value: InputEvent) => void;
|
|
87
|
+
}, string, import("vue").PublicProps, Readonly<PInputNumberProps> & Readonly<{
|
|
88
|
+
onBlur?: ((value: Event) => any) | undefined;
|
|
89
|
+
onChange?: ((value: Event) => any) | undefined;
|
|
90
|
+
onInput?: ((value: InputEvent) => any) | undefined;
|
|
91
|
+
}>, {
|
|
92
|
+
step: number;
|
|
93
|
+
label: string;
|
|
94
|
+
description: string;
|
|
95
|
+
disabled: boolean;
|
|
96
|
+
compact: boolean;
|
|
97
|
+
state: InputNumberState;
|
|
98
|
+
required: boolean;
|
|
99
|
+
hideLabel: BreakpointCustomizable<boolean>;
|
|
100
|
+
value: string;
|
|
101
|
+
message: string;
|
|
102
|
+
autoComplete: InputNumberAutoComplete;
|
|
103
|
+
controls: boolean;
|
|
104
|
+
placeholder: string;
|
|
105
|
+
readOnly: boolean;
|
|
106
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
107
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
108
|
+
export default _default;
|
|
109
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
110
|
+
new (): {
|
|
111
|
+
$slots: S;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { defineComponent as d, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, openBlock as b, createBlock as B, resolveDynamicComponent as C, unref as _, withCtx as g, renderSlot as v } from "vue";
|
|
2
|
+
import { usePrefix as x, themeInjectionKey as R, addEventListenerToElementRef as a, syncProperties as r } from "../../utils.mjs";
|
|
3
|
+
const j = /* @__PURE__ */ d({
|
|
4
|
+
__name: "InputNumberWrapper",
|
|
5
|
+
props: {
|
|
6
|
+
autoComplete: { default: "" },
|
|
7
|
+
compact: { type: Boolean, default: !1 },
|
|
8
|
+
controls: { type: Boolean, default: !1 },
|
|
9
|
+
description: { default: "" },
|
|
10
|
+
disabled: { type: Boolean, default: !1 },
|
|
11
|
+
form: {},
|
|
12
|
+
hideLabel: { default: !1 },
|
|
13
|
+
label: { default: "" },
|
|
14
|
+
max: {},
|
|
15
|
+
message: { default: "" },
|
|
16
|
+
min: {},
|
|
17
|
+
name: {},
|
|
18
|
+
placeholder: { default: "" },
|
|
19
|
+
readOnly: { type: Boolean, default: !1 },
|
|
20
|
+
required: { type: Boolean, default: !1 },
|
|
21
|
+
state: { default: "none" },
|
|
22
|
+
step: { default: 1 },
|
|
23
|
+
theme: {},
|
|
24
|
+
value: { default: "" }
|
|
25
|
+
},
|
|
26
|
+
emits: ["blur", "change", "input"],
|
|
27
|
+
setup(s, { emit: p }) {
|
|
28
|
+
const u = x("p-input-number"), t = s, e = m(), n = p, l = c(R), f = () => r(e, { ...t, theme: t.theme || l.value });
|
|
29
|
+
return i(() => {
|
|
30
|
+
f(), a(e, "blur", n), a(e, "change", n), a(e, "input", n);
|
|
31
|
+
}), h(f), y(l, (o) => {
|
|
32
|
+
r(e, { theme: t.theme || o });
|
|
33
|
+
}), (o, k) => (b(), B(C(_(u)), {
|
|
34
|
+
ref_key: "pdsComponentRef",
|
|
35
|
+
ref: e
|
|
36
|
+
}, {
|
|
37
|
+
default: g(() => [
|
|
38
|
+
v(o.$slots, "default")
|
|
39
|
+
]),
|
|
40
|
+
_: 3
|
|
41
|
+
}, 512));
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
j as default
|
|
46
|
+
};
|
|
@@ -26,6 +26,7 @@ export { default as PHeading } from './HeadingWrapper.vue';
|
|
|
26
26
|
export { default as PHeadline } from './HeadlineWrapper.vue';
|
|
27
27
|
export { default as PIcon } from './IconWrapper.vue';
|
|
28
28
|
export { default as PInlineNotification } from './InlineNotificationWrapper.vue';
|
|
29
|
+
export { default as PInputNumber } from './InputNumberWrapper.vue';
|
|
29
30
|
export { default as PInputPassword } from './InputPasswordWrapper.vue';
|
|
30
31
|
export { default as PLink } from './LinkWrapper.vue';
|
|
31
32
|
export { default as PLinkPure } from './LinkPureWrapper.vue';
|
package/esm/lib/types.d.ts
CHANGED
|
@@ -1088,13 +1088,23 @@ declare const ICON_COLORS: readonly [
|
|
|
1088
1088
|
"state-disabled"
|
|
1089
1089
|
];
|
|
1090
1090
|
export type IconColor = (typeof ICON_COLORS)[number];
|
|
1091
|
+
export type InputNumberState = FormState;
|
|
1092
|
+
declare const INPUT_NUMBER_AUTO_COMPLETE: readonly [
|
|
1093
|
+
"off",
|
|
1094
|
+
"on",
|
|
1095
|
+
""
|
|
1096
|
+
];
|
|
1097
|
+
export type InputNumberAutoComplete = (typeof INPUT_NUMBER_AUTO_COMPLETE)[number];
|
|
1098
|
+
export type InputNumberChangeEventDetail = Event;
|
|
1099
|
+
export type InputNumberBlurEventDetail = Event;
|
|
1100
|
+
export type InputNumberInputEventDetail = InputEvent;
|
|
1091
1101
|
export type InputPasswordState = FormState;
|
|
1092
1102
|
declare const INPUT_PASSWORD_AUTO_COMPLETE: readonly [
|
|
1093
1103
|
"off",
|
|
1094
1104
|
"on",
|
|
1105
|
+
"",
|
|
1095
1106
|
"current-password",
|
|
1096
|
-
"new-password"
|
|
1097
|
-
""
|
|
1107
|
+
"new-password"
|
|
1098
1108
|
];
|
|
1099
1109
|
export type InputPasswordAutoComplete = (typeof INPUT_PASSWORD_AUTO_COMPLETE)[number];
|
|
1100
1110
|
export type InputPasswordChangeEventDetail = Event;
|
package/esm/public-api.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentsReady as
|
|
1
|
+
import { componentsReady as r } from "@porsche-design-system/components-js";
|
|
2
2
|
import { default as a } from "./lib/components/AccordionWrapper.vue.mjs";
|
|
3
3
|
import { default as l } from "./lib/components/BannerWrapper.vue.mjs";
|
|
4
4
|
import { default as s } from "./lib/components/ButtonWrapper.vue.mjs";
|
|
@@ -7,8 +7,8 @@ import { default as x } from "./lib/components/ButtonPureWrapper.vue.mjs";
|
|
|
7
7
|
import { default as i } from "./lib/components/ButtonTileWrapper.vue.mjs";
|
|
8
8
|
import { default as T } from "./lib/components/CanvasWrapper.vue.mjs";
|
|
9
9
|
import { default as S } from "./lib/components/CarouselWrapper.vue.mjs";
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
10
|
+
import { default as g } from "./lib/components/CheckboxWrapper.vue.mjs";
|
|
11
|
+
import { default as C } from "./lib/components/CheckboxWrapperWrapper.vue.mjs";
|
|
12
12
|
import { default as D } from "./lib/components/ContentWrapperWrapper.vue.mjs";
|
|
13
13
|
import { default as h } from "./lib/components/CrestWrapper.vue.mjs";
|
|
14
14
|
import { default as B } from "./lib/components/DisplayWrapper.vue.mjs";
|
|
@@ -17,67 +17,68 @@ import { default as M } from "./lib/components/DrilldownWrapper.vue.mjs";
|
|
|
17
17
|
import { default as v } from "./lib/components/DrilldownItemWrapper.vue.mjs";
|
|
18
18
|
import { default as G } from "./lib/components/DrilldownLinkWrapper.vue.mjs";
|
|
19
19
|
import { default as z } from "./lib/components/FieldsetWrapper.vue.mjs";
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
20
|
+
import { default as j } from "./lib/components/FieldsetWrapperWrapper.vue.mjs";
|
|
21
|
+
import { default as A } from "./lib/components/FlexWrapper.vue.mjs";
|
|
22
22
|
import { default as E } from "./lib/components/FlexItemWrapper.vue.mjs";
|
|
23
23
|
import { default as Q } from "./lib/components/FlyoutWrapper.vue.mjs";
|
|
24
24
|
import { default as V } from "./lib/components/GridWrapper.vue.mjs";
|
|
25
25
|
import { default as Y } from "./lib/components/GridItemWrapper.vue.mjs";
|
|
26
26
|
import { default as _ } from "./lib/components/HeadingWrapper.vue.mjs";
|
|
27
27
|
import { default as ee } from "./lib/components/HeadlineWrapper.vue.mjs";
|
|
28
|
-
import { default as
|
|
28
|
+
import { default as re } from "./lib/components/IconWrapper.vue.mjs";
|
|
29
29
|
import { default as ae } from "./lib/components/InlineNotificationWrapper.vue.mjs";
|
|
30
|
-
import { default as le } from "./lib/components/
|
|
31
|
-
import { default as se } from "./lib/components/
|
|
32
|
-
import { default as ue } from "./lib/components/
|
|
33
|
-
import { default as xe } from "./lib/components/
|
|
34
|
-
import { default as ie } from "./lib/components/
|
|
35
|
-
import { default as Te } from "./lib/components/
|
|
36
|
-
import { default as Se } from "./lib/components/
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as De } from "./lib/components/
|
|
40
|
-
import { default as he } from "./lib/components/
|
|
41
|
-
import { default as Be } from "./lib/components/
|
|
42
|
-
import { default as we } from "./lib/components/
|
|
43
|
-
import { default as Me } from "./lib/components/
|
|
44
|
-
import { default as ve } from "./lib/components/
|
|
45
|
-
import { default as Ge } from "./lib/components/
|
|
46
|
-
import { default as ze } from "./lib/components/
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as Ee } from "./lib/components/
|
|
50
|
-
import { default as Qe } from "./lib/components/
|
|
51
|
-
import { default as Ve } from "./lib/components/
|
|
52
|
-
import { default as Ye } from "./lib/components/
|
|
53
|
-
import { default as _e } from "./lib/components/
|
|
54
|
-
import { default as et } from "./lib/components/
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as at } from "./lib/components/
|
|
57
|
-
import { default as lt } from "./lib/components/
|
|
58
|
-
import { default as st } from "./lib/components/
|
|
59
|
-
import { default as ut } from "./lib/components/
|
|
60
|
-
import { default as xt } from "./lib/components/
|
|
61
|
-
import { default as it } from "./lib/components/
|
|
62
|
-
import { default as Tt } from "./lib/components/
|
|
63
|
-
import { default as St } from "./lib/components/
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as Dt } from "./lib/components/
|
|
67
|
-
import { default as ht } from "./lib/components/
|
|
68
|
-
import { default as Bt } from "./lib/components/
|
|
69
|
-
import { default as wt } from "./lib/components/
|
|
70
|
-
import { default as Mt } from "./lib/components/
|
|
71
|
-
import { default as vt } from "./lib/components/
|
|
72
|
-
import { default as Gt } from "./lib/components/
|
|
73
|
-
import { default as zt } from "./lib/components/
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as Et } from "./lib/components/
|
|
77
|
-
import { default as Qt } from "./lib/components/
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
30
|
+
import { default as le } from "./lib/components/InputNumberWrapper.vue.mjs";
|
|
31
|
+
import { default as se } from "./lib/components/InputPasswordWrapper.vue.mjs";
|
|
32
|
+
import { default as ue } from "./lib/components/LinkWrapper.vue.mjs";
|
|
33
|
+
import { default as xe } from "./lib/components/LinkPureWrapper.vue.mjs";
|
|
34
|
+
import { default as ie } from "./lib/components/LinkSocialWrapper.vue.mjs";
|
|
35
|
+
import { default as Te } from "./lib/components/LinkTileWrapper.vue.mjs";
|
|
36
|
+
import { default as Se } from "./lib/components/LinkTileModelSignatureWrapper.vue.mjs";
|
|
37
|
+
import { default as ge } from "./lib/components/LinkTileProductWrapper.vue.mjs";
|
|
38
|
+
import { default as Ce } from "./lib/components/MarqueWrapper.vue.mjs";
|
|
39
|
+
import { default as De } from "./lib/components/ModalWrapper.vue.mjs";
|
|
40
|
+
import { default as he } from "./lib/components/ModelSignatureWrapper.vue.mjs";
|
|
41
|
+
import { default as Be } from "./lib/components/MultiSelectWrapper.vue.mjs";
|
|
42
|
+
import { default as we } from "./lib/components/MultiSelectOptionWrapper.vue.mjs";
|
|
43
|
+
import { default as Me } from "./lib/components/OptgroupWrapper.vue.mjs";
|
|
44
|
+
import { default as ve } from "./lib/components/PaginationWrapper.vue.mjs";
|
|
45
|
+
import { default as Ge } from "./lib/components/PinCodeWrapper.vue.mjs";
|
|
46
|
+
import { default as ze } from "./lib/components/PopoverWrapper.vue.mjs";
|
|
47
|
+
import { default as je } from "./lib/components/RadioButtonWrapperWrapper.vue.mjs";
|
|
48
|
+
import { default as Ae } from "./lib/components/ScrollerWrapper.vue.mjs";
|
|
49
|
+
import { default as Ee } from "./lib/components/SegmentedControlWrapper.vue.mjs";
|
|
50
|
+
import { default as Qe } from "./lib/components/SegmentedControlItemWrapper.vue.mjs";
|
|
51
|
+
import { default as Ve } from "./lib/components/SelectWrapper.vue.mjs";
|
|
52
|
+
import { default as Ye } from "./lib/components/SelectOptionWrapper.vue.mjs";
|
|
53
|
+
import { default as _e } from "./lib/components/SelectWrapperWrapper.vue.mjs";
|
|
54
|
+
import { default as et } from "./lib/components/SheetWrapper.vue.mjs";
|
|
55
|
+
import { default as rt } from "./lib/components/SpinnerWrapper.vue.mjs";
|
|
56
|
+
import { default as at } from "./lib/components/StepperHorizontalWrapper.vue.mjs";
|
|
57
|
+
import { default as lt } from "./lib/components/StepperHorizontalItemWrapper.vue.mjs";
|
|
58
|
+
import { default as st } from "./lib/components/SwitchWrapper.vue.mjs";
|
|
59
|
+
import { default as ut } from "./lib/components/TableWrapper.vue.mjs";
|
|
60
|
+
import { default as xt } from "./lib/components/TableBodyWrapper.vue.mjs";
|
|
61
|
+
import { default as it } from "./lib/components/TableCellWrapper.vue.mjs";
|
|
62
|
+
import { default as Tt } from "./lib/components/TableHeadWrapper.vue.mjs";
|
|
63
|
+
import { default as St } from "./lib/components/TableHeadCellWrapper.vue.mjs";
|
|
64
|
+
import { default as gt } from "./lib/components/TableHeadRowWrapper.vue.mjs";
|
|
65
|
+
import { default as Ct } from "./lib/components/TableRowWrapper.vue.mjs";
|
|
66
|
+
import { default as Dt } from "./lib/components/TabsWrapper.vue.mjs";
|
|
67
|
+
import { default as ht } from "./lib/components/TabsBarWrapper.vue.mjs";
|
|
68
|
+
import { default as Bt } from "./lib/components/TabsItemWrapper.vue.mjs";
|
|
69
|
+
import { default as wt } from "./lib/components/TagWrapper.vue.mjs";
|
|
70
|
+
import { default as Mt } from "./lib/components/TagDismissibleWrapper.vue.mjs";
|
|
71
|
+
import { default as vt } from "./lib/components/TextWrapper.vue.mjs";
|
|
72
|
+
import { default as Gt } from "./lib/components/TextFieldWrapperWrapper.vue.mjs";
|
|
73
|
+
import { default as zt } from "./lib/components/TextListWrapper.vue.mjs";
|
|
74
|
+
import { default as jt } from "./lib/components/TextListItemWrapper.vue.mjs";
|
|
75
|
+
import { default as At } from "./lib/components/TextareaWrapper.vue.mjs";
|
|
76
|
+
import { default as Et } from "./lib/components/TextareaWrapperWrapper.vue.mjs";
|
|
77
|
+
import { default as Qt } from "./lib/components/ToastWrapper.vue.mjs";
|
|
78
|
+
import { default as Vt } from "./lib/components/WordmarkWrapper.vue.mjs";
|
|
79
|
+
import { themeInjectionKey as Yt, useToastManager as Zt } from "./utils.mjs";
|
|
80
|
+
import { default as $t } from "./PorscheDesignSystemProvider.vue.mjs";
|
|
81
|
+
import { createPorscheDesignSystem as tr, usePorscheDesignSystemPlugin as rr } from "./plugin.mjs";
|
|
81
82
|
export {
|
|
82
83
|
a as PAccordion,
|
|
83
84
|
l as PBanner,
|
|
@@ -87,8 +88,8 @@ export {
|
|
|
87
88
|
i as PButtonTile,
|
|
88
89
|
T as PCanvas,
|
|
89
90
|
S as PCarousel,
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
g as PCheckbox,
|
|
92
|
+
C as PCheckboxWrapper,
|
|
92
93
|
D as PContentWrapper,
|
|
93
94
|
h as PCrest,
|
|
94
95
|
B as PDisplay,
|
|
@@ -97,68 +98,69 @@ export {
|
|
|
97
98
|
v as PDrilldownItem,
|
|
98
99
|
G as PDrilldownLink,
|
|
99
100
|
z as PFieldset,
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
j as PFieldsetWrapper,
|
|
102
|
+
A as PFlex,
|
|
102
103
|
E as PFlexItem,
|
|
103
104
|
Q as PFlyout,
|
|
104
105
|
V as PGrid,
|
|
105
106
|
Y as PGridItem,
|
|
106
107
|
_ as PHeading,
|
|
107
108
|
ee as PHeadline,
|
|
108
|
-
|
|
109
|
+
re as PIcon,
|
|
109
110
|
ae as PInlineNotification,
|
|
110
|
-
le as
|
|
111
|
-
se as
|
|
112
|
-
ue as
|
|
113
|
-
xe as
|
|
114
|
-
ie as
|
|
115
|
-
Te as
|
|
116
|
-
Se as
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
De as
|
|
120
|
-
he as
|
|
121
|
-
Be as
|
|
122
|
-
we as
|
|
123
|
-
Me as
|
|
124
|
-
ve as
|
|
125
|
-
Ge as
|
|
126
|
-
ze as
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
Ee as
|
|
130
|
-
Qe as
|
|
131
|
-
Ve as
|
|
132
|
-
Ye as
|
|
133
|
-
_e as
|
|
134
|
-
et as
|
|
135
|
-
|
|
136
|
-
at as
|
|
137
|
-
lt as
|
|
138
|
-
st as
|
|
139
|
-
ut as
|
|
140
|
-
xt as
|
|
141
|
-
it as
|
|
142
|
-
Tt as
|
|
143
|
-
St as
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
Dt as
|
|
147
|
-
ht as
|
|
148
|
-
Bt as
|
|
149
|
-
wt as
|
|
150
|
-
Mt as
|
|
151
|
-
vt as
|
|
152
|
-
Gt as
|
|
153
|
-
zt as
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
Et as
|
|
157
|
-
Qt as
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
111
|
+
le as PInputNumber,
|
|
112
|
+
se as PInputPassword,
|
|
113
|
+
ue as PLink,
|
|
114
|
+
xe as PLinkPure,
|
|
115
|
+
ie as PLinkSocial,
|
|
116
|
+
Te as PLinkTile,
|
|
117
|
+
Se as PLinkTileModelSignature,
|
|
118
|
+
ge as PLinkTileProduct,
|
|
119
|
+
Ce as PMarque,
|
|
120
|
+
De as PModal,
|
|
121
|
+
he as PModelSignature,
|
|
122
|
+
Be as PMultiSelect,
|
|
123
|
+
we as PMultiSelectOption,
|
|
124
|
+
Me as POptgroup,
|
|
125
|
+
ve as PPagination,
|
|
126
|
+
Ge as PPinCode,
|
|
127
|
+
ze as PPopover,
|
|
128
|
+
je as PRadioButtonWrapper,
|
|
129
|
+
Ae as PScroller,
|
|
130
|
+
Ee as PSegmentedControl,
|
|
131
|
+
Qe as PSegmentedControlItem,
|
|
132
|
+
Ve as PSelect,
|
|
133
|
+
Ye as PSelectOption,
|
|
134
|
+
_e as PSelectWrapper,
|
|
135
|
+
et as PSheet,
|
|
136
|
+
rt as PSpinner,
|
|
137
|
+
at as PStepperHorizontal,
|
|
138
|
+
lt as PStepperHorizontalItem,
|
|
139
|
+
st as PSwitch,
|
|
140
|
+
ut as PTable,
|
|
141
|
+
xt as PTableBody,
|
|
142
|
+
it as PTableCell,
|
|
143
|
+
Tt as PTableHead,
|
|
144
|
+
St as PTableHeadCell,
|
|
145
|
+
gt as PTableHeadRow,
|
|
146
|
+
Ct as PTableRow,
|
|
147
|
+
Dt as PTabs,
|
|
148
|
+
ht as PTabsBar,
|
|
149
|
+
Bt as PTabsItem,
|
|
150
|
+
wt as PTag,
|
|
151
|
+
Mt as PTagDismissible,
|
|
152
|
+
vt as PText,
|
|
153
|
+
Gt as PTextFieldWrapper,
|
|
154
|
+
zt as PTextList,
|
|
155
|
+
jt as PTextListItem,
|
|
156
|
+
At as PTextarea,
|
|
157
|
+
Et as PTextareaWrapper,
|
|
158
|
+
Qt as PToast,
|
|
159
|
+
Vt as PWordmark,
|
|
160
|
+
$t as PorscheDesignSystemProvider,
|
|
161
|
+
r as componentsReady,
|
|
162
|
+
tr as createPorscheDesignSystem,
|
|
163
|
+
Yt as themeInjectionKey,
|
|
164
|
+
rr as usePorscheDesignSystemPlugin,
|
|
165
|
+
Zt as useToastManager
|
|
164
166
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-vue",
|
|
3
|
-
"version": "3.28.0
|
|
3
|
+
"version": "3.28.0",
|
|
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",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "SEE LICENSE IN LICENSE",
|
|
18
18
|
"homepage": "https://designsystem.porsche.com",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@porsche-design-system/components-js": "3.28.0
|
|
20
|
+
"@porsche-design-system/components-js": "3.28.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"ag-grid-enterprise": ">= 33.0.0 <34.0.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"default": "./styles/vanilla-extract/cjs/vanilla-extract/index.cjs"
|
|
64
64
|
},
|
|
65
65
|
"./tailwindcss": {
|
|
66
|
-
"style": "./
|
|
66
|
+
"style": "./tailwindcss/index.css"
|
|
67
67
|
},
|
|
68
68
|
"./ag-grid": {
|
|
69
69
|
"types": "./ag-grid/esm/index.d.ts",
|
|
@@ -1,74 +1,83 @@
|
|
|
1
1
|
@custom-variant dark (&:where(.dark, .dark *));
|
|
2
|
+
|
|
2
3
|
@theme {
|
|
4
|
+
/* Color */
|
|
3
5
|
--color-primary: #010205;
|
|
4
|
-
--color-base: #
|
|
5
|
-
--color-surface: #
|
|
6
|
-
--color-shading: rgba(1,
|
|
7
|
-
--color-frosted:
|
|
8
|
-
--color-contrast-low: #
|
|
9
|
-
--color-contrast-medium: #
|
|
6
|
+
--color-base: #FFF;
|
|
7
|
+
--color-surface: #EEEFF2;
|
|
8
|
+
--color-shading: rgba(1,2,5,.67);
|
|
9
|
+
--color-frosted: hsl(240 4% 85%/35%);
|
|
10
|
+
--color-contrast-low: #D8D8DB;
|
|
11
|
+
--color-contrast-medium: #6B6D70;
|
|
10
12
|
--color-contrast-high: #535457;
|
|
11
|
-
--color-success: #
|
|
12
|
-
--color-success-soft: #
|
|
13
|
-
--color-warning: #
|
|
14
|
-
--color-warning-soft: #
|
|
15
|
-
--color-error: #
|
|
16
|
-
--color-error-soft: #
|
|
17
|
-
--color-info: #
|
|
18
|
-
--color-info-soft: #
|
|
19
|
-
--color-hover: rgba(148,
|
|
20
|
-
--color-active: rgba(148,
|
|
21
|
-
--color-focus: #
|
|
13
|
+
--color-success: #197E10;
|
|
14
|
+
--color-success-soft: #E4FFEC;
|
|
15
|
+
--color-warning: #F3BE00;
|
|
16
|
+
--color-warning-soft: #FFF4D2;
|
|
17
|
+
--color-error: #CC1922;
|
|
18
|
+
--color-error-soft: #FFE2E4;
|
|
19
|
+
--color-info: #2762EC;
|
|
20
|
+
--color-info-soft: #D3E1FF;
|
|
21
|
+
--color-hover: rgba(148,149,152,.18);
|
|
22
|
+
--color-active: rgba(148,149,152,.2);
|
|
23
|
+
--color-focus: #1A44EA;
|
|
22
24
|
--color-disabled: #949598;
|
|
23
25
|
--color-skeleton: #f7f7f7;
|
|
26
|
+
|
|
24
27
|
--color-primary-light: #010205;
|
|
25
|
-
--color-base-light: #
|
|
26
|
-
--color-surface-light: #
|
|
27
|
-
--color-shading-light: rgba(1,
|
|
28
|
-
--color-frosted-light:
|
|
29
|
-
--color-contrast-low-light: #
|
|
30
|
-
--color-contrast-medium-light: #
|
|
28
|
+
--color-base-light: #FFF;
|
|
29
|
+
--color-surface-light: #EEEFF2;
|
|
30
|
+
--color-shading-light: rgba(1,2,5,.67);
|
|
31
|
+
--color-frosted-light: hsl(240 4% 85%/35%);
|
|
32
|
+
--color-contrast-low-light: #D8D8DB;
|
|
33
|
+
--color-contrast-medium-light: #6B6D70;
|
|
31
34
|
--color-contrast-high-light: #535457;
|
|
32
|
-
--color-success-light: #
|
|
33
|
-
--color-success-soft-light: #
|
|
34
|
-
--color-warning-light: #
|
|
35
|
-
--color-warning-soft-light: #
|
|
36
|
-
--color-error-light: #
|
|
37
|
-
--color-error-soft-light: #
|
|
38
|
-
--color-info-light: #
|
|
39
|
-
--color-info-soft-light: #
|
|
40
|
-
--color-hover-light: rgba(148,
|
|
41
|
-
--color-active-light: rgba(148,
|
|
42
|
-
--color-focus-light: #
|
|
35
|
+
--color-success-light: #197E10;
|
|
36
|
+
--color-success-soft-light: #E4FFEC;
|
|
37
|
+
--color-warning-light: #F3BE00;
|
|
38
|
+
--color-warning-soft-light: #FFF4D2;
|
|
39
|
+
--color-error-light: #CC1922;
|
|
40
|
+
--color-error-soft-light: #FFE2E4;
|
|
41
|
+
--color-info-light: #2762EC;
|
|
42
|
+
--color-info-soft-light: #D3E1FF;
|
|
43
|
+
--color-hover-light: rgba(148,149,152,.18);
|
|
44
|
+
--color-active-light: rgba(148,149,152,.2);
|
|
45
|
+
--color-focus-light: #1A44EA;
|
|
43
46
|
--color-disabled-light: #949598;
|
|
44
47
|
--color-skeleton-light: #f7f7f7;
|
|
45
|
-
|
|
46
|
-
--color-
|
|
48
|
+
|
|
49
|
+
--color-primary-dark: #FBFCFF;
|
|
50
|
+
--color-base-dark: #0E0E12;
|
|
47
51
|
--color-surface-dark: #212225;
|
|
48
|
-
--color-shading-dark: rgba(38,
|
|
49
|
-
--color-frosted-dark:
|
|
52
|
+
--color-shading-dark: rgba(38,38,41,.67);
|
|
53
|
+
--color-frosted-dark: hsl(240 3% 26%/35%);
|
|
50
54
|
--color-contrast-low-dark: #404044;
|
|
51
|
-
--color-contrast-medium-dark: #
|
|
52
|
-
--color-contrast-high-dark: #
|
|
53
|
-
--color-success-dark: #
|
|
55
|
+
--color-contrast-medium-dark: #88898C;
|
|
56
|
+
--color-contrast-high-dark: #AFB0B3;
|
|
57
|
+
--color-success-dark: #09D087;
|
|
54
58
|
--color-success-soft-dark: #003320;
|
|
55
|
-
--color-warning-dark: #
|
|
56
|
-
--color-warning-soft-dark: #
|
|
57
|
-
--color-error-dark: #
|
|
58
|
-
--color-error-soft-dark: #
|
|
59
|
-
--color-info-dark: #
|
|
60
|
-
--color-info-soft-dark: #
|
|
61
|
-
--color-hover-dark: rgba(148,
|
|
62
|
-
--color-active-dark: rgba(126,
|
|
63
|
-
--color-focus-dark: #
|
|
64
|
-
--color-disabled-dark: #
|
|
59
|
+
--color-warning-dark: #F7CB47;
|
|
60
|
+
--color-warning-soft-dark: #362B0A;
|
|
61
|
+
--color-error-dark: #FC4040;
|
|
62
|
+
--color-error-soft-dark: #3A0F0F;
|
|
63
|
+
--color-info-dark: #178BFF;
|
|
64
|
+
--color-info-soft-dark: #04294E;
|
|
65
|
+
--color-hover-dark: rgba(148,149,152,.18);
|
|
66
|
+
--color-active-dark: rgba(126,127,130,.2);
|
|
67
|
+
--color-focus-dark: #1A44EA;
|
|
68
|
+
--color-disabled-dark: #7E7F82;
|
|
65
69
|
--color-skeleton-dark: #1a1b1e;
|
|
66
|
-
|
|
70
|
+
|
|
71
|
+
/* Typography */
|
|
72
|
+
--font-porsche-next: 'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif;
|
|
73
|
+
|
|
67
74
|
--font-weight-normal: 400;
|
|
68
75
|
--font-weight-semibold: 600;
|
|
69
76
|
--font-weight-bold: 700;
|
|
77
|
+
|
|
70
78
|
--leading-normal: calc(6px + 2.125ex);
|
|
71
|
-
|
|
79
|
+
|
|
80
|
+
--text-2xs: .75rem;
|
|
72
81
|
--text-2xs--line-height: calc(6px + 2.125ex);
|
|
73
82
|
--text-xs: clamp(0.81rem, 0.23vw + 0.77rem, 0.88rem);
|
|
74
83
|
--text-xs--line-height: calc(6px + 2.125ex);
|
|
@@ -84,45 +93,67 @@
|
|
|
84
93
|
--text-xl--line-height: calc(6px + 2.125ex);
|
|
85
94
|
--text-2xl: clamp(1.6rem, 1.56vw + 1.29rem, 3.16rem);
|
|
86
95
|
--text-2xl--line-height: calc(6px + 2.125ex);
|
|
96
|
+
|
|
97
|
+
/* Breakpoint */
|
|
87
98
|
--breakpoint-xs: 480px;
|
|
88
99
|
--breakpoint-sm: 760px;
|
|
89
100
|
--breakpoint-md: 1000px;
|
|
90
101
|
--breakpoint-lg: 1300px;
|
|
91
102
|
--breakpoint-xl: 1760px;
|
|
92
103
|
--breakpoint-2xl: 1920px;
|
|
93
|
-
|
|
104
|
+
|
|
105
|
+
/* Spacing */
|
|
106
|
+
--spacing: .25rem;
|
|
107
|
+
|
|
94
108
|
--spacing-fluid-xs: clamp(4px, 0.25vw + 3px, 8px);
|
|
95
109
|
--spacing-fluid-sm: clamp(8px, 0.5vw + 6px, 16px);
|
|
96
110
|
--spacing-fluid-md: clamp(16px, 1.25vw + 12px, 36px);
|
|
97
111
|
--spacing-fluid-lg: clamp(32px, 2.75vw + 23px, 76px);
|
|
98
112
|
--spacing-fluid-xl: clamp(48px, 3vw + 38px, 96px);
|
|
99
113
|
--spacing-fluid-2xl: clamp(80px, 7.5vw + 56px, 200px);
|
|
114
|
+
|
|
100
115
|
--spacing-static-xs: 4px;
|
|
101
116
|
--spacing-static-sm: 8px;
|
|
102
117
|
--spacing-static-md: 16px;
|
|
103
118
|
--spacing-static-lg: 32px;
|
|
104
119
|
--spacing-static-xl: 48px;
|
|
105
120
|
--spacing-static-2xl: 80px;
|
|
121
|
+
|
|
122
|
+
/* Border */
|
|
106
123
|
--radius-sm: 4px;
|
|
107
124
|
--radius-md: 8px;
|
|
108
125
|
--radius-lg: 12px;
|
|
126
|
+
|
|
109
127
|
--default-border-width: 2px;
|
|
128
|
+
--border-width-regular: 2px;
|
|
110
129
|
--border-width-thin: 1px;
|
|
130
|
+
|
|
131
|
+
/* Blur */
|
|
111
132
|
--blur-frosted: 32px;
|
|
133
|
+
|
|
134
|
+
/* Shadow */
|
|
112
135
|
--shadow-low: 0px 3px 8px rgba(0,0,0,.16);
|
|
113
136
|
--shadow-medium: 0px 4px 16px rgba(0,0,0,.16);
|
|
114
137
|
--shadow-high: 0px 8px 40px rgba(0,0,0,.16);
|
|
138
|
+
|
|
139
|
+
/* Outline */
|
|
115
140
|
--default-outline-width: 2px;
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
--
|
|
119
|
-
--ease-out: cubic-bezier(
|
|
120
|
-
--
|
|
121
|
-
--
|
|
122
|
-
|
|
123
|
-
--transition-duration
|
|
141
|
+
|
|
142
|
+
/* Motion */
|
|
143
|
+
--default-transition-timing-function: cubic-bezier(.25,.1,.25,1);
|
|
144
|
+
--ease-in-out: cubic-bezier(.25,.1,.25,1);
|
|
145
|
+
--ease-in: cubic-bezier(0,0,.2,1);
|
|
146
|
+
--ease-out: cubic-bezier(.4,0,.5,1);
|
|
147
|
+
|
|
148
|
+
--default-transition-duration: .25s;
|
|
149
|
+
--transition-duration-short: .25s;
|
|
150
|
+
--transition-duration-moderate: .4s;
|
|
151
|
+
--transition-duration-long: .6s;
|
|
124
152
|
--transition-duration-very-long: 1.2s;
|
|
153
|
+
|
|
154
|
+
/* Animation */
|
|
125
155
|
--animate-skeleton: skeleton var(--transition-duration-long) var(--ease-in-out) infinite;
|
|
156
|
+
|
|
126
157
|
@keyframes skeleton {
|
|
127
158
|
from {
|
|
128
159
|
background-position-x: 100%;
|
|
@@ -132,93 +163,104 @@
|
|
|
132
163
|
}
|
|
133
164
|
}
|
|
134
165
|
}
|
|
166
|
+
|
|
135
167
|
@layer theme {
|
|
136
168
|
.light {
|
|
137
169
|
--color-primary: #010205;
|
|
138
|
-
--color-base: #
|
|
139
|
-
--color-surface: #
|
|
140
|
-
--color-shading: rgba(1,
|
|
141
|
-
--color-frosted:
|
|
142
|
-
--color-contrast-low: #
|
|
143
|
-
--color-contrast-medium: #
|
|
170
|
+
--color-base: #FFF;
|
|
171
|
+
--color-surface: #EEEFF2;
|
|
172
|
+
--color-shading: rgba(1,2,5,.67);
|
|
173
|
+
--color-frosted: hsl(240 4% 85%/35%);
|
|
174
|
+
--color-contrast-low: #D8D8DB;
|
|
175
|
+
--color-contrast-medium: #6B6D70;
|
|
144
176
|
--color-contrast-high: #535457;
|
|
145
|
-
--color-success: #
|
|
146
|
-
--color-success-soft: #
|
|
147
|
-
--color-warning: #
|
|
148
|
-
--color-warning-soft: #
|
|
149
|
-
--color-error: #
|
|
150
|
-
--color-error-soft: #
|
|
151
|
-
--color-info: #
|
|
152
|
-
--color-info-soft: #
|
|
153
|
-
--color-hover: rgba(148,
|
|
154
|
-
--color-active: rgba(148,
|
|
155
|
-
--color-focus: #
|
|
177
|
+
--color-success: #197E10;
|
|
178
|
+
--color-success-soft: #E4FFEC;
|
|
179
|
+
--color-warning: #F3BE00;
|
|
180
|
+
--color-warning-soft: #FFF4D2;
|
|
181
|
+
--color-error: #CC1922;
|
|
182
|
+
--color-error-soft: #FFE2E4;
|
|
183
|
+
--color-info: #2762EC;
|
|
184
|
+
--color-info-soft: #D3E1FF;
|
|
185
|
+
--color-hover: rgba(148,149,152,.18);
|
|
186
|
+
--color-active: rgba(148,149,152,.2);
|
|
187
|
+
--color-focus: #1A44EA;
|
|
156
188
|
--color-disabled: #949598;
|
|
157
189
|
--color-skeleton: #f7f7f7;
|
|
158
190
|
}
|
|
191
|
+
|
|
159
192
|
.dark {
|
|
160
|
-
--color-primary: #
|
|
161
|
-
--color-base: #
|
|
193
|
+
--color-primary: #FBFCFF;
|
|
194
|
+
--color-base: #0E0E12;
|
|
162
195
|
--color-surface: #212225;
|
|
163
|
-
--color-shading: rgba(38,
|
|
164
|
-
--color-frosted:
|
|
196
|
+
--color-shading: rgba(38,38,41,.67);
|
|
197
|
+
--color-frosted: hsl(240 3% 26%/35%);
|
|
165
198
|
--color-contrast-low: #404044;
|
|
166
|
-
--color-contrast-medium: #
|
|
167
|
-
--color-contrast-high: #
|
|
168
|
-
--color-success: #
|
|
199
|
+
--color-contrast-medium: #88898C;
|
|
200
|
+
--color-contrast-high: #AFB0B3;
|
|
201
|
+
--color-success: #09D087;
|
|
169
202
|
--color-success-soft: #003320;
|
|
170
|
-
--color-warning: #
|
|
171
|
-
--color-warning-soft: #
|
|
172
|
-
--color-error: #
|
|
173
|
-
--color-error-soft: #
|
|
174
|
-
--color-info: #
|
|
175
|
-
--color-info-soft: #
|
|
176
|
-
--color-hover: rgba(148,
|
|
177
|
-
--color-active: rgba(126,
|
|
178
|
-
--color-focus: #
|
|
179
|
-
--color-disabled: #
|
|
203
|
+
--color-warning: #F7CB47;
|
|
204
|
+
--color-warning-soft: #362B0A;
|
|
205
|
+
--color-error: #FC4040;
|
|
206
|
+
--color-error-soft: #3A0F0F;
|
|
207
|
+
--color-info: #178BFF;
|
|
208
|
+
--color-info-soft: #04294E;
|
|
209
|
+
--color-hover: rgba(148,149,152,.18);
|
|
210
|
+
--color-active: rgba(126,127,130,.2);
|
|
211
|
+
--color-focus: #1A44EA;
|
|
212
|
+
--color-disabled: #7E7F82;
|
|
180
213
|
--color-skeleton: #1a1b1e;
|
|
181
214
|
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
--color-
|
|
215
|
+
|
|
216
|
+
.auto {
|
|
217
|
+
@media (prefers-color-scheme: dark) {
|
|
218
|
+
--color-primary: #FBFCFF;
|
|
219
|
+
--color-base: #0E0E12;
|
|
186
220
|
--color-surface: #212225;
|
|
187
|
-
--color-shading: rgba(38,
|
|
188
|
-
--color-frosted:
|
|
221
|
+
--color-shading: rgba(38,38,41,.67);
|
|
222
|
+
--color-frosted: hsl(240 3% 26%/35%);
|
|
189
223
|
--color-contrast-low: #404044;
|
|
190
|
-
--color-contrast-medium: #
|
|
191
|
-
--color-contrast-high: #
|
|
192
|
-
--color-success: #
|
|
224
|
+
--color-contrast-medium: #88898C;
|
|
225
|
+
--color-contrast-high: #AFB0B3;
|
|
226
|
+
--color-success: #09D087;
|
|
193
227
|
--color-success-soft: #003320;
|
|
194
|
-
--color-warning: #
|
|
195
|
-
--color-warning-soft: #
|
|
196
|
-
--color-error: #
|
|
197
|
-
--color-error-soft: #
|
|
198
|
-
--color-info: #
|
|
199
|
-
--color-info-soft: #
|
|
200
|
-
--color-hover: rgba(148,
|
|
201
|
-
--color-active: rgba(126,
|
|
202
|
-
--color-focus: #
|
|
203
|
-
--color-disabled: #
|
|
228
|
+
--color-warning: #F7CB47;
|
|
229
|
+
--color-warning-soft: #362B0A;
|
|
230
|
+
--color-error: #FC4040;
|
|
231
|
+
--color-error-soft: #3A0F0F;
|
|
232
|
+
--color-info: #178BFF;
|
|
233
|
+
--color-info-soft: #04294E;
|
|
234
|
+
--color-hover: rgba(148,149,152,.18);
|
|
235
|
+
--color-active: rgba(126,127,130,.2);
|
|
236
|
+
--color-focus: #1A44EA;
|
|
237
|
+
--color-disabled: #7E7F82;
|
|
204
238
|
--color-skeleton: #1a1b1e;
|
|
205
239
|
}
|
|
206
240
|
}
|
|
207
241
|
}
|
|
242
|
+
|
|
243
|
+
/* Gradient */
|
|
208
244
|
@utility bg-fade-to-t {
|
|
209
245
|
@apply bg-linear-[to_top,hsla(0,0%,0%,.8)_0%,hsla(0,0%,0%,.8)_8.1%,hsla(0,0%,0%,.8)_15.5%,hsla(0,0%,0%,.8)_22.5%,hsla(0,0%,0%,.78)_29%,hsla(0,0%,0%,.73)_35.3%,hsla(0,0%,0%,.67)_41.2%,hsla(0,0%,0%,.6)_47.1%,hsla(0,0%,0%,.52)_52.9%,hsla(0,0%,0%,.44)_58.8%,hsla(0,0%,0%,.33)_64.7%,hsla(0,0%,0%,.22)_71%,hsla(0,0%,0%,.12)_77.5%,hsla(0,0%,0%,.05)_84.5%,hsla(0,0%,0%,.011)_91.9%,hsla(0,0%,0%,0)_100%];
|
|
210
246
|
}
|
|
247
|
+
|
|
211
248
|
@utility bg-fade-to-r {
|
|
212
249
|
@apply bg-linear-[to_right,hsla(0,0%,0%,.8)_0%,hsla(0,0%,0%,.8)_8.1%,hsla(0,0%,0%,.8)_15.5%,hsla(0,0%,0%,.8)_22.5%,hsla(0,0%,0%,.78)_29%,hsla(0,0%,0%,.73)_35.3%,hsla(0,0%,0%,.67)_41.2%,hsla(0,0%,0%,.6)_47.1%,hsla(0,0%,0%,.52)_52.9%,hsla(0,0%,0%,.44)_58.8%,hsla(0,0%,0%,.33)_64.7%,hsla(0,0%,0%,.22)_71%,hsla(0,0%,0%,.12)_77.5%,hsla(0,0%,0%,.05)_84.5%,hsla(0,0%,0%,.011)_91.9%,hsla(0,0%,0%,0)_100%];
|
|
213
250
|
}
|
|
251
|
+
|
|
214
252
|
@utility bg-fade-to-b {
|
|
215
253
|
@apply bg-linear-[to_bottom,hsla(0,0%,0%,.8)_0%,hsla(0,0%,0%,.8)_8.1%,hsla(0,0%,0%,.8)_15.5%,hsla(0,0%,0%,.8)_22.5%,hsla(0,0%,0%,.78)_29%,hsla(0,0%,0%,.73)_35.3%,hsla(0,0%,0%,.67)_41.2%,hsla(0,0%,0%,.6)_47.1%,hsla(0,0%,0%,.52)_52.9%,hsla(0,0%,0%,.44)_58.8%,hsla(0,0%,0%,.33)_64.7%,hsla(0,0%,0%,.22)_71%,hsla(0,0%,0%,.12)_77.5%,hsla(0,0%,0%,.05)_84.5%,hsla(0,0%,0%,.011)_91.9%,hsla(0,0%,0%,0)_100%];
|
|
216
254
|
}
|
|
255
|
+
|
|
217
256
|
@utility bg-fade-to-l {
|
|
218
257
|
@apply bg-linear-[to_left,hsla(0,0%,0%,.8)_0%,hsla(0,0%,0%,.8)_8.1%,hsla(0,0%,0%,.8)_15.5%,hsla(0,0%,0%,.8)_22.5%,hsla(0,0%,0%,.78)_29%,hsla(0,0%,0%,.73)_35.3%,hsla(0,0%,0%,.67)_41.2%,hsla(0,0%,0%,.6)_47.1%,hsla(0,0%,0%,.52)_52.9%,hsla(0,0%,0%,.44)_58.8%,hsla(0,0%,0%,.33)_64.7%,hsla(0,0%,0%,.22)_71%,hsla(0,0%,0%,.12)_77.5%,hsla(0,0%,0%,.05)_84.5%,hsla(0,0%,0%,.011)_91.9%,hsla(0,0%,0%,0)_100%];
|
|
219
258
|
}
|
|
259
|
+
|
|
260
|
+
/* Grid */
|
|
220
261
|
@utility grid-template {
|
|
221
|
-
@apply
|
|
262
|
+
@apply
|
|
263
|
+
[--pds-internal-grid-safe-zone:max(22px,10.625vw-12px)]
|
|
222
264
|
[--_pds-grid-col:minmax(0,var(--pds-internal-grid-outer-column,calc(var(--pds-internal-grid-safe-zone)-var(--spacing-fluid-md))))]
|
|
223
265
|
grid
|
|
224
266
|
grid-cols-[[full-start]_var(--_pds-grid-col)_[wide-start_extended-start_basic-start_narrow-start]_repeat(6,minmax(0,1fr))_[narrow-end_basic-end_extended-end_wide-end]_var(--_pds-grid-col)_[full-end]]
|
|
@@ -232,75 +274,93 @@
|
|
|
232
274
|
sm:grid-cols-[[full-start]_var(--_pds-grid-col)_[wide-start]_minmax(0,1fr)_[extended-start]_minmax(0,1fr)_[basic-start]_repeat(2,minmax(0,1fr))_[narrow-start]_repeat(8,minmax(0,1fr))_[narrow-end]_repeat(2,minmax(0,1fr))_[basic-end]_minmax(0,1fr)_[extended-end]_minmax(0,1fr)_[wide-end]_var(--_pds-grid-col)[full-end]]
|
|
233
275
|
2xl:[--pds-internal-grid-safe-zone:min(50vw-880px,400px)];
|
|
234
276
|
}
|
|
277
|
+
|
|
278
|
+
/* Grid: Area Narrow */
|
|
235
279
|
@utility col-narrow {
|
|
236
280
|
@apply [--_pds-grid-one-half:3] sm:[--_pds-grid-one-half:4] col-[narrow];
|
|
237
281
|
}
|
|
282
|
+
|
|
238
283
|
@utility col-start-narrow {
|
|
239
284
|
@apply [--_pds-grid-one-half:3] sm:[--_pds-grid-one-half:4] col-start-[narrow-start];
|
|
240
285
|
}
|
|
286
|
+
|
|
241
287
|
@utility col-end-narrow {
|
|
242
288
|
@apply [--_pds-grid-one-half:3] sm:[--_pds-grid-one-half:4] col-end-[narrow-end];
|
|
243
289
|
}
|
|
290
|
+
|
|
291
|
+
/* Grid: Area Basic */
|
|
244
292
|
@utility col-basic {
|
|
245
293
|
@apply [--_pds-grid-one-half:3] [--_pds-grid-one-third:2] [--_pds-grid-two-thirds:4] sm:[--_pds-grid-one-half:6] sm:[--_pds-grid-one-third:4] sm:[--_pds-grid-two-thirds:8] col-[basic];
|
|
246
294
|
}
|
|
295
|
+
|
|
247
296
|
@utility col-start-basic {
|
|
248
297
|
@apply [--_pds-grid-one-half:3] [--_pds-grid-one-third:2] [--_pds-grid-two-thirds:4] sm:[--_pds-grid-one-half:6] sm:[--_pds-grid-one-third:4] sm:[--_pds-grid-two-thirds:8] col-start-[basic-start];
|
|
249
298
|
}
|
|
299
|
+
|
|
250
300
|
@utility col-end-basic {
|
|
251
301
|
@apply [--_pds-grid-one-half:3] [--_pds-grid-one-third:2] [--_pds-grid-two-thirds:4] sm:[--_pds-grid-one-half:6] sm:[--_pds-grid-one-third:4] sm:[--_pds-grid-two-thirds:8] col-end-[basic-end];
|
|
252
302
|
}
|
|
303
|
+
|
|
304
|
+
/* Grid: Area Extended */
|
|
253
305
|
@utility col-extended {
|
|
254
306
|
@apply [--_pds-grid-one-half:3] sm:[--_pds-grid-one-half:7] col-[extended];
|
|
255
307
|
}
|
|
308
|
+
|
|
256
309
|
@utility col-start-extended {
|
|
257
310
|
@apply [--_pds-grid-one-half:3] sm:[--_pds-grid-one-half:7] col-start-[extended-start];
|
|
258
311
|
}
|
|
312
|
+
|
|
259
313
|
@utility col-end-extended {
|
|
260
314
|
@apply [--_pds-grid-one-half:3] sm:[--_pds-grid-one-half:7] col-end-[extended-end];
|
|
261
315
|
}
|
|
316
|
+
|
|
317
|
+
/* Grid: Area Wide */
|
|
262
318
|
@utility col-wide {
|
|
263
319
|
@apply [--_pds-grid-one-half:3] sm:[--_pds-grid-one-half:8] col-[wide];
|
|
264
320
|
}
|
|
321
|
+
|
|
265
322
|
@utility col-start-wide {
|
|
266
323
|
@apply [--_pds-grid-one-half:3] sm:[--_pds-grid-one-half:8] col-start-[wide-start];
|
|
267
324
|
}
|
|
325
|
+
|
|
268
326
|
@utility col-end-wide {
|
|
269
327
|
@apply [--_pds-grid-one-half:3] sm:[--_pds-grid-one-half:8] col-end-[wide-end];
|
|
270
328
|
}
|
|
329
|
+
|
|
330
|
+
/* Grid: Area Full */
|
|
271
331
|
@utility col-full {
|
|
272
332
|
@apply col-[full];
|
|
273
333
|
}
|
|
334
|
+
|
|
274
335
|
@utility col-start-full {
|
|
275
336
|
@apply col-start-[full-start];
|
|
276
337
|
}
|
|
338
|
+
|
|
277
339
|
@utility col-end-full {
|
|
278
340
|
@apply col-end-[full-end];
|
|
279
341
|
}
|
|
342
|
+
|
|
343
|
+
/* Grid: Division */
|
|
280
344
|
@utility col-span-one-half {
|
|
281
345
|
@apply col-span-(--_pds-grid-one-half,1);
|
|
282
346
|
}
|
|
347
|
+
|
|
283
348
|
@utility col-span-one-third {
|
|
284
349
|
@apply col-span-(--_pds-grid-one-third,1);
|
|
285
350
|
}
|
|
351
|
+
|
|
286
352
|
@utility col-span-two-thirds {
|
|
287
353
|
@apply col-span-(--_pds-grid-two-thirds,1);
|
|
288
354
|
}
|
|
355
|
+
|
|
356
|
+
/* Skeleton */
|
|
289
357
|
@utility skeleton {
|
|
290
358
|
@apply animate-skeleton;
|
|
291
359
|
@apply block rounded-sm;
|
|
292
360
|
@apply bg-surface bg-[linear-gradient(to_right,transparent_0%,var(--color-skeleton)_20%,transparent_50%)] bg-position-[0_0] bg-size-[200%_100%];
|
|
293
361
|
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
@apply block rounded-sm;
|
|
297
|
-
@apply bg-surface-light bg-[linear-gradient(to_right,transparent_0%,var(--color-skeleton-light)_20%,transparent_50%)] bg-position-[0_0] bg-size-[200%_100%];
|
|
298
|
-
}
|
|
299
|
-
@utility skeleton-dark {
|
|
300
|
-
@apply animate-skeleton;
|
|
301
|
-
@apply block rounded-sm;
|
|
302
|
-
@apply bg-surface-dark bg-[linear-gradient(to_right,transparent_0%,var(--color-skeleton-dark)_20%,transparent_50%)] bg-position-[0_0] bg-size-[200%_100%];
|
|
303
|
-
}
|
|
362
|
+
|
|
363
|
+
/* Typography: Text */
|
|
304
364
|
@utility prose-text-2xs {
|
|
305
365
|
@apply font-porsche-next not-italic font-normal text-2xs text-primary;
|
|
306
366
|
}
|
|
@@ -319,6 +379,8 @@
|
|
|
319
379
|
@utility prose-text-xl {
|
|
320
380
|
@apply font-porsche-next not-italic font-normal text-xl text-primary;
|
|
321
381
|
}
|
|
382
|
+
|
|
383
|
+
/* Typography: Heading */
|
|
322
384
|
@utility prose-heading-sm {
|
|
323
385
|
@apply font-porsche-next not-italic font-semibold text-sm text-primary;
|
|
324
386
|
}
|
|
@@ -334,15 +396,14 @@
|
|
|
334
396
|
@utility prose-heading-2xl {
|
|
335
397
|
@apply font-porsche-next not-italic font-semibold text-2xl text-primary;
|
|
336
398
|
}
|
|
399
|
+
|
|
400
|
+
/* Typography: Display */
|
|
337
401
|
@utility prose-display-sm {
|
|
338
|
-
@apply font-porsche-next not-italic font-normal leading-normal text-primary;
|
|
339
|
-
font-size: clamp(1.8rem, 2.41vw + 1.32rem, 4.21rem);
|
|
402
|
+
@apply font-porsche-next not-italic font-normal leading-normal text-primary text-[clamp(1.8rem,2.41vw+1.32rem,4.21rem)];
|
|
340
403
|
}
|
|
341
404
|
@utility prose-display-md {
|
|
342
|
-
@apply font-porsche-next not-italic font-normal leading-normal text-primary;
|
|
343
|
-
font-size: clamp(2.03rem, 3.58vw + 1.31rem, 5.61rem);
|
|
405
|
+
@apply font-porsche-next not-italic font-normal leading-normal text-primary text-[clamp(2.03rem,3.58vw+1.31rem,5.61rem)];
|
|
344
406
|
}
|
|
345
407
|
@utility prose-display-lg {
|
|
346
|
-
@apply font-porsche-next not-italic font-normal leading-normal text-primary;
|
|
347
|
-
|
|
348
|
-
}
|
|
408
|
+
@apply font-porsche-next not-italic font-normal leading-normal text-primary text-[clamp(2.28rem,5.2vw+1.24rem,7.48rem)];
|
|
409
|
+
}
|