@porsche-design-system/components-react 4.0.0-beta.2 → 4.0.0-beta.3
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 +293 -1
- package/cjs/lib/components/button-pure.wrapper.cjs +3 -3
- package/cjs/lib/components/display.wrapper.cjs +1 -0
- package/cjs/lib/components/flag.wrapper.cjs +1 -1
- package/cjs/lib/components/heading.wrapper.cjs +3 -3
- package/cjs/lib/components/icon.wrapper.cjs +1 -1
- package/cjs/lib/components/link-pure.wrapper.cjs +3 -3
- package/cjs/lib/components/spinner.wrapper.cjs +3 -3
- package/cjs/lib/components/text.wrapper.cjs +1 -1
- package/esm/lib/components/accordion.wrapper.d.ts +8 -8
- package/esm/lib/components/button-pure.wrapper.d.ts +15 -7
- package/esm/lib/components/button-pure.wrapper.mjs +3 -3
- package/esm/lib/components/button-tile.wrapper.d.ts +2 -2
- package/esm/lib/components/button.wrapper.d.ts +6 -6
- package/esm/lib/components/carousel.wrapper.d.ts +10 -10
- package/esm/lib/components/checkbox.wrapper.d.ts +6 -6
- package/esm/lib/components/crest.wrapper.d.ts +6 -6
- package/esm/lib/components/display.wrapper.d.ts +1 -0
- package/esm/lib/components/display.wrapper.mjs +1 -0
- package/esm/lib/components/drilldown-link.wrapper.d.ts +8 -8
- package/esm/lib/components/drilldown.wrapper.d.ts +8 -8
- package/esm/lib/components/fieldset.wrapper.d.ts +6 -6
- package/esm/lib/components/flag.wrapper.d.ts +5 -5
- package/esm/lib/components/flag.wrapper.mjs +1 -1
- package/esm/lib/components/flyout.wrapper.d.ts +2 -2
- package/esm/lib/components/heading.wrapper.d.ts +19 -11
- package/esm/lib/components/heading.wrapper.mjs +3 -3
- package/esm/lib/components/icon.wrapper.d.ts +7 -7
- package/esm/lib/components/icon.wrapper.mjs +1 -1
- package/esm/lib/components/input-date.wrapper.d.ts +12 -12
- package/esm/lib/components/input-email.wrapper.d.ts +8 -8
- package/esm/lib/components/input-month.wrapper.d.ts +12 -12
- package/esm/lib/components/input-number.wrapper.d.ts +8 -8
- package/esm/lib/components/input-password.wrapper.d.ts +6 -6
- package/esm/lib/components/input-search.wrapper.d.ts +6 -6
- package/esm/lib/components/input-tel.wrapper.d.ts +6 -6
- package/esm/lib/components/input-text.wrapper.d.ts +6 -6
- package/esm/lib/components/input-time.wrapper.d.ts +14 -14
- package/esm/lib/components/input-url.wrapper.d.ts +16 -16
- package/esm/lib/components/input-week.wrapper.d.ts +14 -14
- package/esm/lib/components/link-pure.wrapper.d.ts +23 -15
- package/esm/lib/components/link-pure.wrapper.mjs +3 -3
- package/esm/lib/components/link-tile-product.wrapper.d.ts +8 -8
- package/esm/lib/components/link-tile.wrapper.d.ts +8 -8
- package/esm/lib/components/link.wrapper.d.ts +14 -14
- package/esm/lib/components/modal.wrapper.d.ts +2 -2
- package/esm/lib/components/model-signature.wrapper.d.ts +2 -2
- package/esm/lib/components/multi-select.wrapper.d.ts +10 -10
- package/esm/lib/components/pin-code.wrapper.d.ts +8 -8
- package/esm/lib/components/popover.wrapper.d.ts +6 -6
- package/esm/lib/components/radio-group-option.wrapper.d.ts +2 -2
- package/esm/lib/components/radio-group.wrapper.d.ts +8 -8
- package/esm/lib/components/segmented-control-item.wrapper.d.ts +4 -4
- package/esm/lib/components/segmented-control.wrapper.d.ts +4 -4
- package/esm/lib/components/select.wrapper.d.ts +10 -10
- package/esm/lib/components/sheet.wrapper.d.ts +2 -2
- package/esm/lib/components/spinner.wrapper.d.ts +13 -5
- package/esm/lib/components/spinner.wrapper.mjs +3 -3
- package/esm/lib/components/switch.wrapper.d.ts +6 -6
- package/esm/lib/components/table-cell.wrapper.d.ts +2 -2
- package/esm/lib/components/table-head-cell.wrapper.d.ts +4 -4
- package/esm/lib/components/tabs-bar.wrapper.d.ts +2 -2
- package/esm/lib/components/tabs.wrapper.d.ts +2 -2
- package/esm/lib/components/tag-dismissible.wrapper.d.ts +6 -6
- package/esm/lib/components/tag.wrapper.d.ts +2 -2
- package/esm/lib/components/text.wrapper.d.ts +12 -12
- package/esm/lib/components/text.wrapper.mjs +1 -1
- package/esm/lib/components/textarea.wrapper.d.ts +6 -6
- package/esm/lib/components/wordmark.wrapper.d.ts +8 -8
- package/esm/lib/types.d.ts +322 -141
- package/global-styles/cn/index.css +3 -7
- package/global-styles/index.css +3 -7
- package/global-styles/variables.css +3 -7
- package/package.json +6 -2
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +341 -319
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +18 -8
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/button-pure.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/display.wrapper.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/flag.wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/heading.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/icon.wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/link-pure.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/spinner.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/text.wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.cjs +3 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.cjs +2 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/spinner.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.cjs +1 -1
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +341 -319
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +18 -8
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/button-pure.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/display.wrapper.mjs +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/flag.wrapper.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/heading.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/icon.wrapper.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/link-pure.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/spinner.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/text.wrapper.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.mjs +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.mjs +2 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/spinner.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.mjs +1 -1
- package/ssr/esm/lib/components/accordion.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/button-pure.wrapper.d.ts +15 -7
- package/ssr/esm/lib/components/button-tile.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/button.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/carousel.wrapper.d.ts +10 -10
- package/ssr/esm/lib/components/checkbox.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/crest.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/display.wrapper.d.ts +1 -0
- package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/drilldown.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/fieldset.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/flag.wrapper.d.ts +5 -5
- package/ssr/esm/lib/components/flyout.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/heading.wrapper.d.ts +19 -11
- package/ssr/esm/lib/components/icon.wrapper.d.ts +7 -7
- package/ssr/esm/lib/components/input-date.wrapper.d.ts +12 -12
- package/ssr/esm/lib/components/input-email.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/input-month.wrapper.d.ts +12 -12
- package/ssr/esm/lib/components/input-number.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/input-password.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/input-search.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/input-tel.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/input-text.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/input-time.wrapper.d.ts +14 -14
- package/ssr/esm/lib/components/input-url.wrapper.d.ts +16 -16
- package/ssr/esm/lib/components/input-week.wrapper.d.ts +14 -14
- package/ssr/esm/lib/components/link-pure.wrapper.d.ts +23 -15
- package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/link-tile.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/link.wrapper.d.ts +14 -14
- package/ssr/esm/lib/components/modal.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/model-signature.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/multi-select.wrapper.d.ts +10 -10
- package/ssr/esm/lib/components/pin-code.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/popover.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/radio-group.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +4 -4
- package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +4 -4
- package/ssr/esm/lib/components/select.wrapper.d.ts +10 -10
- package/ssr/esm/lib/components/sheet.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/spinner.wrapper.d.ts +13 -5
- package/ssr/esm/lib/components/switch.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/table-cell.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +4 -4
- package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/tabs.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/tag.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/text.wrapper.d.ts +12 -12
- package/ssr/esm/lib/components/textarea.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/wordmark.wrapper.d.ts +8 -8
- package/ssr/esm/lib/dsr-components/carousel.d.ts +2 -2
- package/ssr/esm/lib/dsr-components/display.d.ts +2 -0
- package/ssr/esm/lib/dsr-components/drilldown-item.d.ts +2 -2
- package/ssr/esm/lib/dsr-components/flyout.d.ts +1 -1
- package/ssr/esm/lib/types.d.ts +322 -141
- package/tailwindcss/index.css +19 -4
package/esm/lib/types.d.ts
CHANGED
|
@@ -1,3 +1,34 @@
|
|
|
1
|
+
declare const ACCORDIONS_BACKGROUNDS: readonly [
|
|
2
|
+
"canvas",
|
|
3
|
+
"surface",
|
|
4
|
+
"frosted",
|
|
5
|
+
"none"
|
|
6
|
+
];
|
|
7
|
+
export type AccordionBackground = (typeof ACCORDIONS_BACKGROUNDS)[number];
|
|
8
|
+
declare const ACCORDION_ALIGN_MARKERS: readonly [
|
|
9
|
+
"start",
|
|
10
|
+
"end"
|
|
11
|
+
];
|
|
12
|
+
export type AccordionAlignMarker = (typeof ACCORDION_ALIGN_MARKERS)[number];
|
|
13
|
+
export type AccordionUpdateEventDetail = {
|
|
14
|
+
open: boolean;
|
|
15
|
+
};
|
|
16
|
+
declare const ACCORDION_HEADINGS_DEPRECATED: readonly [
|
|
17
|
+
"h1",
|
|
18
|
+
"h2",
|
|
19
|
+
"h3",
|
|
20
|
+
"h4",
|
|
21
|
+
"h5",
|
|
22
|
+
"h6"
|
|
23
|
+
];
|
|
24
|
+
/** @deprecated */
|
|
25
|
+
export type AccordionHeadingTag = (typeof ACCORDION_HEADINGS_DEPRECATED)[number];
|
|
26
|
+
declare const ACCORDION_SIZES: readonly [
|
|
27
|
+
"small",
|
|
28
|
+
"medium"
|
|
29
|
+
];
|
|
30
|
+
/** @deprecated */
|
|
31
|
+
export type AccordionSize = (typeof ACCORDION_SIZES)[number];
|
|
1
32
|
export type Booleanish = boolean | "true" | "false";
|
|
2
33
|
export type AriaAttributes = {
|
|
3
34
|
/** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
|
|
@@ -621,6 +652,27 @@ declare const FLAG_NAMES: readonly [
|
|
|
621
652
|
"za"
|
|
622
653
|
];
|
|
623
654
|
export type FlagName = typeof FLAG_NAMES[number];
|
|
655
|
+
declare const FORM_STATES: readonly [
|
|
656
|
+
"none",
|
|
657
|
+
"error",
|
|
658
|
+
"success"
|
|
659
|
+
];
|
|
660
|
+
export type FormState = (typeof FORM_STATES)[number];
|
|
661
|
+
declare const BUTTON_ARIA_ATTRIBUTES: readonly [
|
|
662
|
+
"aria-label",
|
|
663
|
+
"aria-description",
|
|
664
|
+
"aria-expanded",
|
|
665
|
+
"aria-pressed",
|
|
666
|
+
"aria-haspopup"
|
|
667
|
+
];
|
|
668
|
+
export type ButtonAriaAttribute = (typeof BUTTON_ARIA_ATTRIBUTES)[number];
|
|
669
|
+
declare const LINK_ARIA_ATTRIBUTES: readonly [
|
|
670
|
+
"aria-label",
|
|
671
|
+
"aria-description",
|
|
672
|
+
"aria-current",
|
|
673
|
+
"aria-haspopup"
|
|
674
|
+
];
|
|
675
|
+
export type LinkAriaAttribute = (typeof LINK_ARIA_ATTRIBUTES)[number];
|
|
624
676
|
declare const breakpoints: readonly [
|
|
625
677
|
"base",
|
|
626
678
|
"xs",
|
|
@@ -637,75 +689,6 @@ export type BreakpointValues<T> = {
|
|
|
637
689
|
base: T;
|
|
638
690
|
};
|
|
639
691
|
export type BreakpointCustomizable<T> = T | BreakpointValues<T>;
|
|
640
|
-
declare const HEADING_SIZES: readonly [
|
|
641
|
-
"small",
|
|
642
|
-
"medium",
|
|
643
|
-
"large",
|
|
644
|
-
"x-large",
|
|
645
|
-
"xx-large",
|
|
646
|
-
"inherit"
|
|
647
|
-
];
|
|
648
|
-
export type HeadingSize = (typeof HEADING_SIZES)[number];
|
|
649
|
-
declare const HEADING_TAGS: readonly [
|
|
650
|
-
"h1",
|
|
651
|
-
"h2",
|
|
652
|
-
"h3",
|
|
653
|
-
"h4",
|
|
654
|
-
"h5",
|
|
655
|
-
"h6"
|
|
656
|
-
];
|
|
657
|
-
export type HeadingTag = (typeof HEADING_TAGS)[number];
|
|
658
|
-
declare const TEXT_SIZES: readonly [
|
|
659
|
-
"xx-small",
|
|
660
|
-
"x-small",
|
|
661
|
-
"small",
|
|
662
|
-
"medium",
|
|
663
|
-
"large",
|
|
664
|
-
"x-large",
|
|
665
|
-
"inherit"
|
|
666
|
-
];
|
|
667
|
-
export type TextSize = (typeof TEXT_SIZES)[number];
|
|
668
|
-
declare const TYPOGRAPHY_ALIGNS: readonly [
|
|
669
|
-
"start",
|
|
670
|
-
"center",
|
|
671
|
-
"end",
|
|
672
|
-
"inherit"
|
|
673
|
-
];
|
|
674
|
-
export type TypographyAlign = (typeof TYPOGRAPHY_ALIGNS)[number];
|
|
675
|
-
declare const TYPOGRAPHY_TEXT_COLORS: readonly [
|
|
676
|
-
"primary",
|
|
677
|
-
"contrast-high",
|
|
678
|
-
"contrast-medium",
|
|
679
|
-
"contrast-low",
|
|
680
|
-
"success",
|
|
681
|
-
"warning",
|
|
682
|
-
"error",
|
|
683
|
-
"info",
|
|
684
|
-
"inherit"
|
|
685
|
-
];
|
|
686
|
-
export type TypographyTextColor = (typeof TYPOGRAPHY_TEXT_COLORS)[number];
|
|
687
|
-
declare const TYPOGRAPHY_TEXT_WEIGHTS: readonly [
|
|
688
|
-
"regular",
|
|
689
|
-
"semi-bold",
|
|
690
|
-
"bold"
|
|
691
|
-
];
|
|
692
|
-
export type TypographyTextWeight = (typeof TYPOGRAPHY_TEXT_WEIGHTS)[number];
|
|
693
|
-
declare const LINK_BUTTON_VARIANTS: readonly [
|
|
694
|
-
"primary",
|
|
695
|
-
"secondary"
|
|
696
|
-
];
|
|
697
|
-
export type LinkButtonVariant = (typeof LINK_BUTTON_VARIANTS)[number];
|
|
698
|
-
declare const BUTTON_TYPES: readonly [
|
|
699
|
-
"button",
|
|
700
|
-
"submit",
|
|
701
|
-
"reset"
|
|
702
|
-
];
|
|
703
|
-
export type ButtonType = (typeof BUTTON_TYPES)[number];
|
|
704
|
-
declare const ALIGN_LABELS: readonly [
|
|
705
|
-
"start",
|
|
706
|
-
"end"
|
|
707
|
-
];
|
|
708
|
-
export type AlignLabel = (typeof ALIGN_LABELS)[number];
|
|
709
692
|
declare const LINK_TARGETS: readonly [
|
|
710
693
|
"_self",
|
|
711
694
|
"_blank",
|
|
@@ -713,45 +696,6 @@ declare const LINK_TARGETS: readonly [
|
|
|
713
696
|
"_top"
|
|
714
697
|
];
|
|
715
698
|
export type LinkTarget = (typeof LINK_TARGETS)[number] | string;
|
|
716
|
-
export type LinkButtonIconName = IconName | "none";
|
|
717
|
-
export type ButtonVariant = LinkButtonVariant;
|
|
718
|
-
export type LinkVariant = LinkButtonVariant;
|
|
719
|
-
export type PorscheDesignSystem = {
|
|
720
|
-
[key: `${number}.${number}.${number}${`-rc.${number}` | ""}`]: {
|
|
721
|
-
prefixes: string[];
|
|
722
|
-
isReady: () => Promise<void>;
|
|
723
|
-
readyResolve: () => void;
|
|
724
|
-
};
|
|
725
|
-
cdn: {
|
|
726
|
-
url: string;
|
|
727
|
-
prefixes: string[];
|
|
728
|
-
};
|
|
729
|
-
};
|
|
730
|
-
export type SelectedAriaAttributes<T extends keyof AriaAttributes> = Pick<AriaAttributes, T>;
|
|
731
|
-
export type SelectedAriaRole<T> = {
|
|
732
|
-
role: Extract<AriaRole, T>;
|
|
733
|
-
};
|
|
734
|
-
declare const FORM_STATES: readonly [
|
|
735
|
-
"none",
|
|
736
|
-
"error",
|
|
737
|
-
"success"
|
|
738
|
-
];
|
|
739
|
-
export type FormState = (typeof FORM_STATES)[number];
|
|
740
|
-
declare const BUTTON_ARIA_ATTRIBUTES: readonly [
|
|
741
|
-
"aria-label",
|
|
742
|
-
"aria-description",
|
|
743
|
-
"aria-expanded",
|
|
744
|
-
"aria-pressed",
|
|
745
|
-
"aria-haspopup"
|
|
746
|
-
];
|
|
747
|
-
export type ButtonAriaAttribute = (typeof BUTTON_ARIA_ATTRIBUTES)[number];
|
|
748
|
-
declare const LINK_ARIA_ATTRIBUTES: readonly [
|
|
749
|
-
"aria-label",
|
|
750
|
-
"aria-description",
|
|
751
|
-
"aria-current",
|
|
752
|
-
"aria-haspopup"
|
|
753
|
-
];
|
|
754
|
-
export type LinkAriaAttribute = (typeof LINK_ARIA_ATTRIBUTES)[number];
|
|
755
699
|
export type MultiSelectState = FormState;
|
|
756
700
|
export type MultiSelectDropdownDirection = SelectComponentsDropdownDirection;
|
|
757
701
|
export type MultiSelectChangeEventDetail = {
|
|
@@ -801,29 +745,40 @@ declare const TILE_ALIGNS: readonly [
|
|
|
801
745
|
"bottom"
|
|
802
746
|
];
|
|
803
747
|
export type TileAlign = (typeof TILE_ALIGNS)[number];
|
|
804
|
-
declare const
|
|
805
|
-
"canvas",
|
|
806
|
-
"surface",
|
|
807
|
-
"frosted",
|
|
808
|
-
"none"
|
|
809
|
-
];
|
|
810
|
-
export type AccordionBackground = (typeof ACCORDIONS_BACKGROUNDS)[number];
|
|
811
|
-
declare const ACCORDION_ALIGN_MARKERS: readonly [
|
|
748
|
+
declare const ALIGN_LABELS: readonly [
|
|
812
749
|
"start",
|
|
813
750
|
"end"
|
|
814
751
|
];
|
|
815
|
-
export type
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
export type AccordionHeadingTag = HeadingTag;
|
|
821
|
-
declare const ACCORDION_SIZES: readonly [
|
|
822
|
-
"small",
|
|
823
|
-
"medium"
|
|
752
|
+
export type AlignLabel = (typeof ALIGN_LABELS)[number];
|
|
753
|
+
declare const BUTTON_TYPES: readonly [
|
|
754
|
+
"button",
|
|
755
|
+
"submit",
|
|
756
|
+
"reset"
|
|
824
757
|
];
|
|
825
|
-
|
|
826
|
-
|
|
758
|
+
export type ButtonType = (typeof BUTTON_TYPES)[number];
|
|
759
|
+
declare const LINK_BUTTON_VARIANTS: readonly [
|
|
760
|
+
"primary",
|
|
761
|
+
"secondary"
|
|
762
|
+
];
|
|
763
|
+
export type LinkButtonVariant = (typeof LINK_BUTTON_VARIANTS)[number];
|
|
764
|
+
export type LinkButtonIconName = IconName | "none";
|
|
765
|
+
export type ButtonVariant = LinkButtonVariant;
|
|
766
|
+
export type LinkVariant = LinkButtonVariant;
|
|
767
|
+
export type PorscheDesignSystem = {
|
|
768
|
+
[key: `${number}.${number}.${number}${`-rc.${number}` | ""}`]: {
|
|
769
|
+
prefixes: string[];
|
|
770
|
+
isReady: () => Promise<void>;
|
|
771
|
+
readyResolve: () => void;
|
|
772
|
+
};
|
|
773
|
+
cdn: {
|
|
774
|
+
url: string;
|
|
775
|
+
prefixes: string[];
|
|
776
|
+
};
|
|
777
|
+
};
|
|
778
|
+
export type SelectedAriaAttributes<T extends keyof AriaAttributes> = Pick<AriaAttributes, T>;
|
|
779
|
+
export type SelectedAriaRole<T> = {
|
|
780
|
+
role: Extract<AriaRole, T>;
|
|
781
|
+
};
|
|
827
782
|
declare const BANNER_STATES: readonly [
|
|
828
783
|
"info",
|
|
829
784
|
"success",
|
|
@@ -831,13 +786,48 @@ declare const BANNER_STATES: readonly [
|
|
|
831
786
|
"error"
|
|
832
787
|
];
|
|
833
788
|
export type BannerState = (typeof BANNER_STATES)[number];
|
|
834
|
-
|
|
789
|
+
declare const BANNER_HEADING_TAGS: readonly [
|
|
790
|
+
"h1",
|
|
791
|
+
"h2",
|
|
792
|
+
"h3",
|
|
793
|
+
"h4",
|
|
794
|
+
"h5",
|
|
795
|
+
"h6"
|
|
796
|
+
];
|
|
797
|
+
export type BannerHeadingTag = (typeof BANNER_HEADING_TAGS)[number];
|
|
835
798
|
export type ButtonIcon = LinkButtonIconName;
|
|
836
799
|
export type ButtonPureType = ButtonType;
|
|
837
800
|
export type ButtonPureIcon = LinkButtonIconName;
|
|
838
801
|
export type ButtonPureAriaAttribute = ButtonAriaAttribute;
|
|
839
802
|
export type ButtonPureAlignLabel = AlignLabel;
|
|
840
|
-
|
|
803
|
+
declare const BUTTON_PURE_SIZES: readonly [
|
|
804
|
+
"2xs",
|
|
805
|
+
"xs",
|
|
806
|
+
"sm",
|
|
807
|
+
"md",
|
|
808
|
+
"lg",
|
|
809
|
+
"xl",
|
|
810
|
+
"2xl",
|
|
811
|
+
"3xl",
|
|
812
|
+
"4xl",
|
|
813
|
+
"5xl",
|
|
814
|
+
"inherit",
|
|
815
|
+
"xx-small",
|
|
816
|
+
"x-small",
|
|
817
|
+
"small",
|
|
818
|
+
"medium",
|
|
819
|
+
"large",
|
|
820
|
+
"x-large"
|
|
821
|
+
];
|
|
822
|
+
export type ButtonPureSize = (typeof BUTTON_PURE_SIZES)[number];
|
|
823
|
+
declare const BUTTON_PURE_COLORS: readonly [
|
|
824
|
+
"primary",
|
|
825
|
+
"contrast-higher",
|
|
826
|
+
"contrast-high",
|
|
827
|
+
"contrast-medium",
|
|
828
|
+
"inherit"
|
|
829
|
+
];
|
|
830
|
+
export type ButtonPureColor = (typeof BUTTON_PURE_COLORS)[number];
|
|
841
831
|
export type ButtonTileAriaAttribute = ButtonAriaAttribute;
|
|
842
832
|
export type ButtonTileIcon = LinkButtonIconName;
|
|
843
833
|
export type ButtonTileType = ButtonType;
|
|
@@ -867,7 +857,11 @@ declare const CAROUSEL_ALIGN_HEADERS: readonly [
|
|
|
867
857
|
"center"
|
|
868
858
|
];
|
|
869
859
|
export type CarouselAlignHeader = (typeof CAROUSEL_ALIGN_HEADERS)[number];
|
|
870
|
-
|
|
860
|
+
declare const CAROUSEL_HEADING_SIZES: readonly [
|
|
861
|
+
"x-large",
|
|
862
|
+
"xx-large"
|
|
863
|
+
];
|
|
864
|
+
export type CarouselHeadingSize = (typeof CAROUSEL_HEADING_SIZES)[number];
|
|
871
865
|
declare const CAROUSEL_ARIA_ATTRIBUTES: readonly [
|
|
872
866
|
"aria-label"
|
|
873
867
|
];
|
|
@@ -909,7 +903,13 @@ declare const DISPLAY_COLORS: readonly [
|
|
|
909
903
|
"inherit"
|
|
910
904
|
];
|
|
911
905
|
export type DisplayColor = (typeof DISPLAY_COLORS)[number];
|
|
912
|
-
|
|
906
|
+
declare const DISPLAY_ALIGNS: readonly [
|
|
907
|
+
"start",
|
|
908
|
+
"center",
|
|
909
|
+
"end",
|
|
910
|
+
"inherit"
|
|
911
|
+
];
|
|
912
|
+
export type DisplayAlign = (typeof DISPLAY_ALIGNS)[number];
|
|
913
913
|
declare const DIVIDER_COLORS: readonly [
|
|
914
914
|
"contrast-lower",
|
|
915
915
|
"contrast-low",
|
|
@@ -941,7 +941,27 @@ declare const FLAG_ARIA_ATTRIBUTES: readonly [
|
|
|
941
941
|
"aria-label"
|
|
942
942
|
];
|
|
943
943
|
export type FlagAriaAttribute = (typeof FLAG_ARIA_ATTRIBUTES)[number];
|
|
944
|
-
|
|
944
|
+
declare const FLAG_SIZES: readonly [
|
|
945
|
+
"2xs",
|
|
946
|
+
"xs",
|
|
947
|
+
"sm",
|
|
948
|
+
"md",
|
|
949
|
+
"lg",
|
|
950
|
+
"xl",
|
|
951
|
+
"2xl",
|
|
952
|
+
"3xl",
|
|
953
|
+
"4xl",
|
|
954
|
+
"5xl",
|
|
955
|
+
"inherit",
|
|
956
|
+
"xx-small",
|
|
957
|
+
"x-small",
|
|
958
|
+
"small",
|
|
959
|
+
"medium",
|
|
960
|
+
"large",
|
|
961
|
+
"x-large",
|
|
962
|
+
"xx-large"
|
|
963
|
+
];
|
|
964
|
+
export type FlagSize = (typeof FLAG_SIZES)[number];
|
|
945
965
|
declare const BACKDROPS: readonly [
|
|
946
966
|
"blur",
|
|
947
967
|
"shading"
|
|
@@ -969,22 +989,89 @@ export type FlyoutAriaAttribute = (typeof FLYOUT_ARIA_ATTRIBUTES)[number];
|
|
|
969
989
|
export type FlyoutMotionVisibleEndEventDetail = TransitionEvent;
|
|
970
990
|
export type FlyoutMotionHiddenEndEventDetail = TransitionEvent;
|
|
971
991
|
export type FlyoutBackdrop = Backdrop;
|
|
992
|
+
declare const HEADING_TAGS: readonly [
|
|
993
|
+
"h1",
|
|
994
|
+
"h2",
|
|
995
|
+
"h3",
|
|
996
|
+
"h4",
|
|
997
|
+
"h5",
|
|
998
|
+
"h6"
|
|
999
|
+
];
|
|
1000
|
+
export type HeadingTag = (typeof HEADING_TAGS)[number];
|
|
972
1001
|
declare const HEADING_COLORS: readonly [
|
|
973
1002
|
"primary",
|
|
1003
|
+
"contrast-higher",
|
|
1004
|
+
"contrast-high",
|
|
1005
|
+
"contrast-medium",
|
|
974
1006
|
"inherit"
|
|
975
1007
|
];
|
|
976
1008
|
export type HeadingColor = (typeof HEADING_COLORS)[number];
|
|
977
|
-
|
|
1009
|
+
declare const HEADING_WEIGHTS: readonly [
|
|
1010
|
+
"normal",
|
|
1011
|
+
"semibold",
|
|
1012
|
+
"bold",
|
|
1013
|
+
"regular",
|
|
1014
|
+
"semi-bold"
|
|
1015
|
+
];
|
|
1016
|
+
export type HeadingWeight = (typeof HEADING_WEIGHTS)[number];
|
|
1017
|
+
declare const HEADING_ALIGNS: readonly [
|
|
1018
|
+
"start",
|
|
1019
|
+
"center",
|
|
1020
|
+
"end",
|
|
1021
|
+
"inherit"
|
|
1022
|
+
];
|
|
1023
|
+
export type HeadingAlign = (typeof HEADING_ALIGNS)[number];
|
|
1024
|
+
declare const HEADING_SIZES: readonly [
|
|
1025
|
+
"2xs",
|
|
1026
|
+
"xs",
|
|
1027
|
+
"sm",
|
|
1028
|
+
"md",
|
|
1029
|
+
"lg",
|
|
1030
|
+
"xl",
|
|
1031
|
+
"2xl",
|
|
1032
|
+
"3xl",
|
|
1033
|
+
"4xl",
|
|
1034
|
+
"5xl",
|
|
1035
|
+
"inherit",
|
|
1036
|
+
"small",
|
|
1037
|
+
"medium",
|
|
1038
|
+
"large",
|
|
1039
|
+
"x-large",
|
|
1040
|
+
"xx-large"
|
|
1041
|
+
];
|
|
1042
|
+
export type HeadingSize = (typeof HEADING_SIZES)[number];
|
|
978
1043
|
declare const ICON_ARIA_ATTRIBUTES: readonly [
|
|
979
1044
|
"aria-label"
|
|
980
1045
|
];
|
|
981
1046
|
export type IconAriaAttribute = (typeof ICON_ARIA_ATTRIBUTES)[number];
|
|
982
|
-
|
|
1047
|
+
declare const ICON_SIZES: readonly [
|
|
1048
|
+
"2xs",
|
|
1049
|
+
"xs",
|
|
1050
|
+
"sm",
|
|
1051
|
+
"md",
|
|
1052
|
+
"lg",
|
|
1053
|
+
"xl",
|
|
1054
|
+
"2xl",
|
|
1055
|
+
"3xl",
|
|
1056
|
+
"4xl",
|
|
1057
|
+
"5xl",
|
|
1058
|
+
"inherit",
|
|
1059
|
+
"xx-small",
|
|
1060
|
+
"x-small",
|
|
1061
|
+
"small",
|
|
1062
|
+
"medium",
|
|
1063
|
+
"large",
|
|
1064
|
+
"x-large",
|
|
1065
|
+
"xx-large"
|
|
1066
|
+
];
|
|
1067
|
+
export type IconSize = (typeof ICON_SIZES)[number];
|
|
983
1068
|
declare const ICON_COLORS: readonly [
|
|
984
1069
|
"primary",
|
|
1070
|
+
"contrast-higher",
|
|
985
1071
|
"contrast-high",
|
|
986
1072
|
"contrast-medium",
|
|
987
1073
|
"contrast-low",
|
|
1074
|
+
"contrast-lower",
|
|
988
1075
|
"success",
|
|
989
1076
|
"warning",
|
|
990
1077
|
"error",
|
|
@@ -1000,7 +1087,15 @@ declare const INLINE_NOTIFICATION_STATES: readonly [
|
|
|
1000
1087
|
];
|
|
1001
1088
|
export type InlineNotificationState = (typeof INLINE_NOTIFICATION_STATES)[number];
|
|
1002
1089
|
export type InlineNotificationActionIcon = IconName;
|
|
1003
|
-
|
|
1090
|
+
declare const INLINE_NOTIFICATION_HEADING_TAGS: readonly [
|
|
1091
|
+
"h1",
|
|
1092
|
+
"h2",
|
|
1093
|
+
"h3",
|
|
1094
|
+
"h4",
|
|
1095
|
+
"h5",
|
|
1096
|
+
"h6"
|
|
1097
|
+
];
|
|
1098
|
+
export type InlineNotificationHeadingTag = (typeof INLINE_NOTIFICATION_HEADING_TAGS)[number];
|
|
1004
1099
|
export type InputDateState = FormState;
|
|
1005
1100
|
export type InputDateChangeEventDetail = Event;
|
|
1006
1101
|
export type InputDateBlurEventDetail = Event;
|
|
@@ -1049,8 +1144,35 @@ export type LinkIcon = LinkButtonIconName;
|
|
|
1049
1144
|
export type LinkPureIcon = LinkButtonIconName;
|
|
1050
1145
|
export type LinkPureAriaAttribute = LinkAriaAttribute;
|
|
1051
1146
|
export type LinkPureAlignLabel = AlignLabel;
|
|
1052
|
-
export type LinkPureSize = TextSize;
|
|
1053
1147
|
export type LinkPureTarget = LinkTarget;
|
|
1148
|
+
declare const LINK_PURE_SIZES: readonly [
|
|
1149
|
+
"2xs",
|
|
1150
|
+
"xs",
|
|
1151
|
+
"sm",
|
|
1152
|
+
"md",
|
|
1153
|
+
"lg",
|
|
1154
|
+
"xl",
|
|
1155
|
+
"2xl",
|
|
1156
|
+
"3xl",
|
|
1157
|
+
"4xl",
|
|
1158
|
+
"5xl",
|
|
1159
|
+
"inherit",
|
|
1160
|
+
"xx-small",
|
|
1161
|
+
"x-small",
|
|
1162
|
+
"small",
|
|
1163
|
+
"medium",
|
|
1164
|
+
"large",
|
|
1165
|
+
"x-large"
|
|
1166
|
+
];
|
|
1167
|
+
export type LinkPureSize = (typeof LINK_PURE_SIZES)[number];
|
|
1168
|
+
declare const LINK_PURE_COLORS: readonly [
|
|
1169
|
+
"primary",
|
|
1170
|
+
"contrast-higher",
|
|
1171
|
+
"contrast-high",
|
|
1172
|
+
"contrast-medium",
|
|
1173
|
+
"inherit"
|
|
1174
|
+
];
|
|
1175
|
+
export type LinkPureColor = (typeof LINK_PURE_COLORS)[number];
|
|
1054
1176
|
export type LinkTileTarget = LinkTarget;
|
|
1055
1177
|
export type LinkTileAriaAttribute = LinkAriaAttribute;
|
|
1056
1178
|
export type LinkTileAspectRatio = TileAspectRatio;
|
|
@@ -1247,11 +1369,26 @@ declare const SHEET_BACKGROUNDS: readonly [
|
|
|
1247
1369
|
export type SheetBackground = (typeof SHEET_BACKGROUNDS)[number];
|
|
1248
1370
|
export type SheetMotionVisibleEndEventDetail = TransitionEvent;
|
|
1249
1371
|
export type SheetMotionHiddenEndEventDetail = TransitionEvent;
|
|
1372
|
+
declare const SPINNER_COLORS: readonly [
|
|
1373
|
+
"primary",
|
|
1374
|
+
"inherit"
|
|
1375
|
+
];
|
|
1376
|
+
export type SpinnerColor = (typeof SPINNER_COLORS)[number];
|
|
1250
1377
|
declare const SPINNER_SIZES: readonly [
|
|
1378
|
+
"2xs",
|
|
1379
|
+
"xs",
|
|
1380
|
+
"sm",
|
|
1381
|
+
"md",
|
|
1382
|
+
"lg",
|
|
1383
|
+
"xl",
|
|
1384
|
+
"2xl",
|
|
1385
|
+
"3xl",
|
|
1386
|
+
"4xl",
|
|
1387
|
+
"5xl",
|
|
1388
|
+
"inherit",
|
|
1251
1389
|
"small",
|
|
1252
1390
|
"medium",
|
|
1253
|
-
"large"
|
|
1254
|
-
"inherit"
|
|
1391
|
+
"large"
|
|
1255
1392
|
];
|
|
1256
1393
|
export type SpinnerSize = (typeof SPINNER_SIZES)[number];
|
|
1257
1394
|
declare const SPINNER_ARIA_ATTRIBUTES: readonly [
|
|
@@ -1356,9 +1493,53 @@ declare const TEXT_TAGS: readonly [
|
|
|
1356
1493
|
"legend"
|
|
1357
1494
|
];
|
|
1358
1495
|
export type TextTag = (typeof TEXT_TAGS)[number];
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1496
|
+
declare const TEXT_COLORS: readonly [
|
|
1497
|
+
"primary",
|
|
1498
|
+
"contrast-higher",
|
|
1499
|
+
"contrast-high",
|
|
1500
|
+
"contrast-medium",
|
|
1501
|
+
"success",
|
|
1502
|
+
"warning",
|
|
1503
|
+
"error",
|
|
1504
|
+
"info",
|
|
1505
|
+
"inherit"
|
|
1506
|
+
];
|
|
1507
|
+
export type TextColor = (typeof TEXT_COLORS)[number];
|
|
1508
|
+
declare const TEXT_WEIGHTS: readonly [
|
|
1509
|
+
"normal",
|
|
1510
|
+
"semibold",
|
|
1511
|
+
"bold",
|
|
1512
|
+
"regular",
|
|
1513
|
+
"semi-bold"
|
|
1514
|
+
];
|
|
1515
|
+
export type TextWeight = (typeof TEXT_WEIGHTS)[number];
|
|
1516
|
+
declare const TEXT_ALIGNS: readonly [
|
|
1517
|
+
"start",
|
|
1518
|
+
"center",
|
|
1519
|
+
"end",
|
|
1520
|
+
"inherit"
|
|
1521
|
+
];
|
|
1522
|
+
export type TextAlign = (typeof TEXT_ALIGNS)[number];
|
|
1523
|
+
declare const TEXT_SIZES: readonly [
|
|
1524
|
+
"2xs",
|
|
1525
|
+
"xs",
|
|
1526
|
+
"sm",
|
|
1527
|
+
"md",
|
|
1528
|
+
"lg",
|
|
1529
|
+
"xl",
|
|
1530
|
+
"2xl",
|
|
1531
|
+
"3xl",
|
|
1532
|
+
"4xl",
|
|
1533
|
+
"5xl",
|
|
1534
|
+
"inherit",
|
|
1535
|
+
"xx-small",
|
|
1536
|
+
"x-small",
|
|
1537
|
+
"small",
|
|
1538
|
+
"medium",
|
|
1539
|
+
"large",
|
|
1540
|
+
"x-large"
|
|
1541
|
+
];
|
|
1542
|
+
export type TextSize = (typeof TEXT_SIZES)[number];
|
|
1362
1543
|
declare const TEXT_LIST_TYPES: readonly [
|
|
1363
1544
|
"unordered",
|
|
1364
1545
|
"numbered",
|
|
@@ -132,13 +132,9 @@ body {
|
|
|
132
132
|
--p-typescale-lg: clamp(1.27rem, 0.51vw + 1.16rem, 1.78rem);
|
|
133
133
|
--p-typescale-xl: clamp(1.42rem, 0.94vw + 1.23rem, 2.37rem);
|
|
134
134
|
--p-typescale-2xl: clamp(1.6rem, 1.56vw + 1.29rem, 3.16rem);
|
|
135
|
-
|
|
136
|
-
--p-
|
|
137
|
-
--p-
|
|
138
|
-
--p-breakpoint-md: 1000px;
|
|
139
|
-
--p-breakpoint-lg: 1300px;
|
|
140
|
-
--p-breakpoint-xl: 1760px;
|
|
141
|
-
--p-breakpoint-2xl: 1920px;
|
|
135
|
+
--p-typescale-3xl: clamp(1.8rem, 2.41vw + 1.32rem, 4.21rem);
|
|
136
|
+
--p-typescale-4xl: clamp(2.03rem, 3.58vw + 1.31rem, 5.61rem);
|
|
137
|
+
--p-typescale-5xl: clamp(2.28rem, 5.2vw + 1.24rem, 7.48rem);
|
|
142
138
|
|
|
143
139
|
--p-spacing-fluid-xs: clamp(4px, 0.25vw + 3px, 8px);
|
|
144
140
|
--p-spacing-fluid-sm: clamp(8px, 0.5vw + 6px, 16px);
|
package/global-styles/index.css
CHANGED
|
@@ -132,13 +132,9 @@ body {
|
|
|
132
132
|
--p-typescale-lg: clamp(1.27rem, 0.51vw + 1.16rem, 1.78rem);
|
|
133
133
|
--p-typescale-xl: clamp(1.42rem, 0.94vw + 1.23rem, 2.37rem);
|
|
134
134
|
--p-typescale-2xl: clamp(1.6rem, 1.56vw + 1.29rem, 3.16rem);
|
|
135
|
-
|
|
136
|
-
--p-
|
|
137
|
-
--p-
|
|
138
|
-
--p-breakpoint-md: 1000px;
|
|
139
|
-
--p-breakpoint-lg: 1300px;
|
|
140
|
-
--p-breakpoint-xl: 1760px;
|
|
141
|
-
--p-breakpoint-2xl: 1920px;
|
|
135
|
+
--p-typescale-3xl: clamp(1.8rem, 2.41vw + 1.32rem, 4.21rem);
|
|
136
|
+
--p-typescale-4xl: clamp(2.03rem, 3.58vw + 1.31rem, 5.61rem);
|
|
137
|
+
--p-typescale-5xl: clamp(2.28rem, 5.2vw + 1.24rem, 7.48rem);
|
|
142
138
|
|
|
143
139
|
--p-spacing-fluid-xs: clamp(4px, 0.25vw + 3px, 8px);
|
|
144
140
|
--p-spacing-fluid-sm: clamp(8px, 0.5vw + 6px, 16px);
|
|
@@ -121,13 +121,9 @@
|
|
|
121
121
|
--p-typescale-lg: clamp(1.27rem, 0.51vw + 1.16rem, 1.78rem);
|
|
122
122
|
--p-typescale-xl: clamp(1.42rem, 0.94vw + 1.23rem, 2.37rem);
|
|
123
123
|
--p-typescale-2xl: clamp(1.6rem, 1.56vw + 1.29rem, 3.16rem);
|
|
124
|
-
|
|
125
|
-
--p-
|
|
126
|
-
--p-
|
|
127
|
-
--p-breakpoint-md: 1000px;
|
|
128
|
-
--p-breakpoint-lg: 1300px;
|
|
129
|
-
--p-breakpoint-xl: 1760px;
|
|
130
|
-
--p-breakpoint-2xl: 1920px;
|
|
124
|
+
--p-typescale-3xl: clamp(1.8rem, 2.41vw + 1.32rem, 4.21rem);
|
|
125
|
+
--p-typescale-4xl: clamp(2.03rem, 3.58vw + 1.31rem, 5.61rem);
|
|
126
|
+
--p-typescale-5xl: clamp(2.28rem, 5.2vw + 1.24rem, 7.48rem);
|
|
131
127
|
|
|
132
128
|
--p-spacing-fluid-xs: clamp(4px, 0.25vw + 3px, 8px);
|
|
133
129
|
--p-spacing-fluid-sm: clamp(8px, 0.5vw + 6px, 16px);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-react",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.3",
|
|
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",
|
|
@@ -16,8 +16,12 @@
|
|
|
16
16
|
"author": "Dr. Ing. h.c. F. Porsche AG",
|
|
17
17
|
"license": "SEE LICENSE IN LICENSE",
|
|
18
18
|
"homepage": "https://designsystem.porsche.com",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/porsche-design-system/porsche-design-system"
|
|
22
|
+
},
|
|
19
23
|
"dependencies": {
|
|
20
|
-
"@porsche-design-system/components-js": "4.0.0-beta.
|
|
24
|
+
"@porsche-design-system/components-js": "4.0.0-beta.3"
|
|
21
25
|
},
|
|
22
26
|
"peerDependencies": {
|
|
23
27
|
"ag-grid-community": ">= 35.0.0 <36.0.0",
|