@porsche-design-system/components-react 4.0.0-beta.1 → 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 +377 -7
- 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/scroller.wrapper.cjs +3 -3
- package/cjs/lib/components/spinner.wrapper.cjs +3 -3
- package/cjs/lib/components/table.wrapper.cjs +3 -3
- package/cjs/lib/components/tabs-bar.wrapper.cjs +3 -3
- package/cjs/lib/components/tabs.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/scroller.wrapper.d.ts +20 -4
- package/esm/lib/components/scroller.wrapper.mjs +3 -3
- 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/table.wrapper.d.ts +10 -2
- package/esm/lib/components/table.wrapper.mjs +3 -3
- package/esm/lib/components/tabs-bar.wrapper.d.ts +21 -5
- package/esm/lib/components/tabs-bar.wrapper.mjs +3 -3
- package/esm/lib/components/tabs.wrapper.d.ts +21 -5
- package/esm/lib/components/tabs.wrapper.mjs +3 -3
- 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 +356 -157
- 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 +641 -533
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +20 -19
- 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/scroller.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/table.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/tabs-bar.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/tabs.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/scroller.cjs +8 -12
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-option.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/stepper-horizontal.cjs +3 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.cjs +8 -8
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.cjs +3 -2
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +641 -533
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +21 -18
- 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/scroller.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/table.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/tabs-bar.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/tabs.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/scroller.mjs +9 -13
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-option.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/stepper-horizontal.mjs +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.mjs +8 -8
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.mjs +3 -2
- 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/scroller.wrapper.d.ts +20 -4
- 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/table.wrapper.d.ts +10 -2
- package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +21 -5
- package/ssr/esm/lib/components/tabs.wrapper.d.ts +21 -5
- 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/dsr-components/scroller.d.ts +5 -3
- package/ssr/esm/lib/dsr-components/stepper-horizontal.d.ts +3 -2
- package/ssr/esm/lib/dsr-components/tabs-bar.d.ts +6 -6
- package/ssr/esm/lib/dsr-components/tabs.d.ts +2 -1
- package/ssr/esm/lib/types.d.ts +356 -157
- package/tailwindcss/index.css +19 -4
package/ssr/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,116 +652,6 @@ declare const FLAG_NAMES: readonly [
|
|
|
621
652
|
"za"
|
|
622
653
|
];
|
|
623
654
|
export type FlagName = typeof FLAG_NAMES[number];
|
|
624
|
-
declare const breakpoints: readonly [
|
|
625
|
-
"base",
|
|
626
|
-
"xs",
|
|
627
|
-
"s",
|
|
628
|
-
"m",
|
|
629
|
-
"l",
|
|
630
|
-
"xl",
|
|
631
|
-
"xxl"
|
|
632
|
-
];
|
|
633
|
-
export type Breakpoint = (typeof breakpoints)[number];
|
|
634
|
-
export type BreakpointValues<T> = {
|
|
635
|
-
[key in Breakpoint]?: T;
|
|
636
|
-
} & {
|
|
637
|
-
base: T;
|
|
638
|
-
};
|
|
639
|
-
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
|
-
declare const LINK_TARGETS: readonly [
|
|
710
|
-
"_self",
|
|
711
|
-
"_blank",
|
|
712
|
-
"_parent",
|
|
713
|
-
"_top"
|
|
714
|
-
];
|
|
715
|
-
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
655
|
declare const FORM_STATES: readonly [
|
|
735
656
|
"none",
|
|
736
657
|
"error",
|
|
@@ -752,19 +673,29 @@ declare const LINK_ARIA_ATTRIBUTES: readonly [
|
|
|
752
673
|
"aria-haspopup"
|
|
753
674
|
];
|
|
754
675
|
export type LinkAriaAttribute = (typeof LINK_ARIA_ATTRIBUTES)[number];
|
|
755
|
-
declare const
|
|
756
|
-
"
|
|
676
|
+
declare const breakpoints: readonly [
|
|
677
|
+
"base",
|
|
678
|
+
"xs",
|
|
679
|
+
"s",
|
|
680
|
+
"m",
|
|
681
|
+
"l",
|
|
682
|
+
"xl",
|
|
683
|
+
"xxl"
|
|
757
684
|
];
|
|
758
|
-
export type
|
|
759
|
-
export type
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
685
|
+
export type Breakpoint = (typeof breakpoints)[number];
|
|
686
|
+
export type BreakpointValues<T> = {
|
|
687
|
+
[key in Breakpoint]?: T;
|
|
688
|
+
} & {
|
|
689
|
+
base: T;
|
|
690
|
+
};
|
|
691
|
+
export type BreakpointCustomizable<T> = T | BreakpointValues<T>;
|
|
692
|
+
declare const LINK_TARGETS: readonly [
|
|
693
|
+
"_self",
|
|
694
|
+
"_blank",
|
|
695
|
+
"_parent",
|
|
696
|
+
"_top"
|
|
766
697
|
];
|
|
767
|
-
export type
|
|
698
|
+
export type LinkTarget = (typeof LINK_TARGETS)[number] | string;
|
|
768
699
|
export type MultiSelectState = FormState;
|
|
769
700
|
export type MultiSelectDropdownDirection = SelectComponentsDropdownDirection;
|
|
770
701
|
export type MultiSelectChangeEventDetail = {
|
|
@@ -814,29 +745,40 @@ declare const TILE_ALIGNS: readonly [
|
|
|
814
745
|
"bottom"
|
|
815
746
|
];
|
|
816
747
|
export type TileAlign = (typeof TILE_ALIGNS)[number];
|
|
817
|
-
declare const
|
|
818
|
-
"canvas",
|
|
819
|
-
"surface",
|
|
820
|
-
"frosted",
|
|
821
|
-
"none"
|
|
822
|
-
];
|
|
823
|
-
export type AccordionBackground = (typeof ACCORDIONS_BACKGROUNDS)[number];
|
|
824
|
-
declare const ACCORDION_ALIGN_MARKERS: readonly [
|
|
748
|
+
declare const ALIGN_LABELS: readonly [
|
|
825
749
|
"start",
|
|
826
750
|
"end"
|
|
827
751
|
];
|
|
828
|
-
export type
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
export type AccordionHeadingTag = HeadingTag;
|
|
834
|
-
declare const ACCORDION_SIZES: readonly [
|
|
835
|
-
"small",
|
|
836
|
-
"medium"
|
|
752
|
+
export type AlignLabel = (typeof ALIGN_LABELS)[number];
|
|
753
|
+
declare const BUTTON_TYPES: readonly [
|
|
754
|
+
"button",
|
|
755
|
+
"submit",
|
|
756
|
+
"reset"
|
|
837
757
|
];
|
|
838
|
-
|
|
839
|
-
|
|
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
|
+
};
|
|
840
782
|
declare const BANNER_STATES: readonly [
|
|
841
783
|
"info",
|
|
842
784
|
"success",
|
|
@@ -844,13 +786,48 @@ declare const BANNER_STATES: readonly [
|
|
|
844
786
|
"error"
|
|
845
787
|
];
|
|
846
788
|
export type BannerState = (typeof BANNER_STATES)[number];
|
|
847
|
-
|
|
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];
|
|
848
798
|
export type ButtonIcon = LinkButtonIconName;
|
|
849
799
|
export type ButtonPureType = ButtonType;
|
|
850
800
|
export type ButtonPureIcon = LinkButtonIconName;
|
|
851
801
|
export type ButtonPureAriaAttribute = ButtonAriaAttribute;
|
|
852
802
|
export type ButtonPureAlignLabel = AlignLabel;
|
|
853
|
-
|
|
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];
|
|
854
831
|
export type ButtonTileAriaAttribute = ButtonAriaAttribute;
|
|
855
832
|
export type ButtonTileIcon = LinkButtonIconName;
|
|
856
833
|
export type ButtonTileType = ButtonType;
|
|
@@ -880,7 +857,11 @@ declare const CAROUSEL_ALIGN_HEADERS: readonly [
|
|
|
880
857
|
"center"
|
|
881
858
|
];
|
|
882
859
|
export type CarouselAlignHeader = (typeof CAROUSEL_ALIGN_HEADERS)[number];
|
|
883
|
-
|
|
860
|
+
declare const CAROUSEL_HEADING_SIZES: readonly [
|
|
861
|
+
"x-large",
|
|
862
|
+
"xx-large"
|
|
863
|
+
];
|
|
864
|
+
export type CarouselHeadingSize = (typeof CAROUSEL_HEADING_SIZES)[number];
|
|
884
865
|
declare const CAROUSEL_ARIA_ATTRIBUTES: readonly [
|
|
885
866
|
"aria-label"
|
|
886
867
|
];
|
|
@@ -922,7 +903,13 @@ declare const DISPLAY_COLORS: readonly [
|
|
|
922
903
|
"inherit"
|
|
923
904
|
];
|
|
924
905
|
export type DisplayColor = (typeof DISPLAY_COLORS)[number];
|
|
925
|
-
|
|
906
|
+
declare const DISPLAY_ALIGNS: readonly [
|
|
907
|
+
"start",
|
|
908
|
+
"center",
|
|
909
|
+
"end",
|
|
910
|
+
"inherit"
|
|
911
|
+
];
|
|
912
|
+
export type DisplayAlign = (typeof DISPLAY_ALIGNS)[number];
|
|
926
913
|
declare const DIVIDER_COLORS: readonly [
|
|
927
914
|
"contrast-lower",
|
|
928
915
|
"contrast-low",
|
|
@@ -954,7 +941,27 @@ declare const FLAG_ARIA_ATTRIBUTES: readonly [
|
|
|
954
941
|
"aria-label"
|
|
955
942
|
];
|
|
956
943
|
export type FlagAriaAttribute = (typeof FLAG_ARIA_ATTRIBUTES)[number];
|
|
957
|
-
|
|
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];
|
|
958
965
|
declare const BACKDROPS: readonly [
|
|
959
966
|
"blur",
|
|
960
967
|
"shading"
|
|
@@ -982,22 +989,89 @@ export type FlyoutAriaAttribute = (typeof FLYOUT_ARIA_ATTRIBUTES)[number];
|
|
|
982
989
|
export type FlyoutMotionVisibleEndEventDetail = TransitionEvent;
|
|
983
990
|
export type FlyoutMotionHiddenEndEventDetail = TransitionEvent;
|
|
984
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];
|
|
985
1001
|
declare const HEADING_COLORS: readonly [
|
|
986
1002
|
"primary",
|
|
1003
|
+
"contrast-higher",
|
|
1004
|
+
"contrast-high",
|
|
1005
|
+
"contrast-medium",
|
|
987
1006
|
"inherit"
|
|
988
1007
|
];
|
|
989
1008
|
export type HeadingColor = (typeof HEADING_COLORS)[number];
|
|
990
|
-
|
|
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];
|
|
991
1043
|
declare const ICON_ARIA_ATTRIBUTES: readonly [
|
|
992
1044
|
"aria-label"
|
|
993
1045
|
];
|
|
994
1046
|
export type IconAriaAttribute = (typeof ICON_ARIA_ATTRIBUTES)[number];
|
|
995
|
-
|
|
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];
|
|
996
1068
|
declare const ICON_COLORS: readonly [
|
|
997
1069
|
"primary",
|
|
1070
|
+
"contrast-higher",
|
|
998
1071
|
"contrast-high",
|
|
999
1072
|
"contrast-medium",
|
|
1000
1073
|
"contrast-low",
|
|
1074
|
+
"contrast-lower",
|
|
1001
1075
|
"success",
|
|
1002
1076
|
"warning",
|
|
1003
1077
|
"error",
|
|
@@ -1013,7 +1087,15 @@ declare const INLINE_NOTIFICATION_STATES: readonly [
|
|
|
1013
1087
|
];
|
|
1014
1088
|
export type InlineNotificationState = (typeof INLINE_NOTIFICATION_STATES)[number];
|
|
1015
1089
|
export type InlineNotificationActionIcon = IconName;
|
|
1016
|
-
|
|
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];
|
|
1017
1099
|
export type InputDateState = FormState;
|
|
1018
1100
|
export type InputDateChangeEventDetail = Event;
|
|
1019
1101
|
export type InputDateBlurEventDetail = Event;
|
|
@@ -1062,8 +1144,35 @@ export type LinkIcon = LinkButtonIconName;
|
|
|
1062
1144
|
export type LinkPureIcon = LinkButtonIconName;
|
|
1063
1145
|
export type LinkPureAriaAttribute = LinkAriaAttribute;
|
|
1064
1146
|
export type LinkPureAlignLabel = AlignLabel;
|
|
1065
|
-
export type LinkPureSize = TextSize;
|
|
1066
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];
|
|
1067
1176
|
export type LinkTileTarget = LinkTarget;
|
|
1068
1177
|
export type LinkTileAriaAttribute = LinkAriaAttribute;
|
|
1069
1178
|
export type LinkTileAspectRatio = TileAspectRatio;
|
|
@@ -1222,6 +1331,21 @@ export type GroupDirection = (typeof GROUP_DIRECTIONS)[number];
|
|
|
1222
1331
|
export type RadioGroupState = FormState;
|
|
1223
1332
|
export type RadioGroupDirection = GroupDirection;
|
|
1224
1333
|
export type RadioGroupChangeEventDetail = Event;
|
|
1334
|
+
declare const SCROLLER_ALIGN_SCROLL_INDICATORS: readonly [
|
|
1335
|
+
"top",
|
|
1336
|
+
"center"
|
|
1337
|
+
];
|
|
1338
|
+
/** @deprecated */
|
|
1339
|
+
export type ScrollerAlignScrollIndicator = (typeof SCROLLER_ALIGN_SCROLL_INDICATORS)[number];
|
|
1340
|
+
declare const SCROLLER_ARIA_ATTRIBUTES: readonly [
|
|
1341
|
+
"role"
|
|
1342
|
+
];
|
|
1343
|
+
export type ScrollerAriaAttribute = (typeof SCROLLER_ARIA_ATTRIBUTES)[number];
|
|
1344
|
+
/** @deprecated */
|
|
1345
|
+
export type ScrollerScrollToPosition = {
|
|
1346
|
+
scrollPosition: number;
|
|
1347
|
+
isSmooth?: boolean;
|
|
1348
|
+
} | string;
|
|
1225
1349
|
export type SegmentedControlChangeEventDetail = {
|
|
1226
1350
|
value: string | number;
|
|
1227
1351
|
};
|
|
@@ -1245,11 +1369,26 @@ declare const SHEET_BACKGROUNDS: readonly [
|
|
|
1245
1369
|
export type SheetBackground = (typeof SHEET_BACKGROUNDS)[number];
|
|
1246
1370
|
export type SheetMotionVisibleEndEventDetail = TransitionEvent;
|
|
1247
1371
|
export type SheetMotionHiddenEndEventDetail = TransitionEvent;
|
|
1372
|
+
declare const SPINNER_COLORS: readonly [
|
|
1373
|
+
"primary",
|
|
1374
|
+
"inherit"
|
|
1375
|
+
];
|
|
1376
|
+
export type SpinnerColor = (typeof SPINNER_COLORS)[number];
|
|
1248
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",
|
|
1249
1389
|
"small",
|
|
1250
1390
|
"medium",
|
|
1251
|
-
"large"
|
|
1252
|
-
"inherit"
|
|
1391
|
+
"large"
|
|
1253
1392
|
];
|
|
1254
1393
|
export type SpinnerSize = (typeof SPINNER_SIZES)[number];
|
|
1255
1394
|
declare const SPINNER_ARIA_ATTRIBUTES: readonly [
|
|
@@ -1291,27 +1430,43 @@ declare const TABS_SIZES: readonly [
|
|
|
1291
1430
|
"medium"
|
|
1292
1431
|
];
|
|
1293
1432
|
export type TabsSize = (typeof TABS_SIZES)[number];
|
|
1433
|
+
declare const TABS_BACKGROUNDS: readonly [
|
|
1434
|
+
"canvas",
|
|
1435
|
+
"surface",
|
|
1436
|
+
"frosted",
|
|
1437
|
+
"none"
|
|
1438
|
+
];
|
|
1439
|
+
export type TabsBackground = (typeof TABS_BACKGROUNDS)[number];
|
|
1294
1440
|
declare const TABS_WEIGHTS: readonly [
|
|
1295
1441
|
"regular",
|
|
1296
1442
|
"semi-bold"
|
|
1297
1443
|
];
|
|
1444
|
+
/** @deprecated */
|
|
1298
1445
|
export type TabsWeight = (typeof TABS_WEIGHTS)[number];
|
|
1299
1446
|
export type TabsUpdateEventDetail = {
|
|
1300
1447
|
activeTabIndex: number;
|
|
1301
1448
|
};
|
|
1449
|
+
declare const TABS_BAR_BACKGROUNDS: readonly [
|
|
1450
|
+
"canvas",
|
|
1451
|
+
"surface",
|
|
1452
|
+
"frosted",
|
|
1453
|
+
"none"
|
|
1454
|
+
];
|
|
1455
|
+
export type TabsBarBackground = (typeof TABS_BAR_BACKGROUNDS)[number];
|
|
1302
1456
|
declare const TABS_BAR_SIZES: readonly [
|
|
1303
1457
|
"small",
|
|
1304
1458
|
"medium"
|
|
1305
1459
|
];
|
|
1306
1460
|
export type TabsBarSize = (typeof TABS_BAR_SIZES)[number];
|
|
1461
|
+
export type TabsBarUpdateEventDetail = {
|
|
1462
|
+
activeTabIndex: number;
|
|
1463
|
+
};
|
|
1307
1464
|
declare const TABS_BAR_WEIGHTS: readonly [
|
|
1308
1465
|
"regular",
|
|
1309
1466
|
"semi-bold"
|
|
1310
1467
|
];
|
|
1468
|
+
/** @deprecated */
|
|
1311
1469
|
export type TabsBarWeight = (typeof TABS_BAR_WEIGHTS)[number];
|
|
1312
|
-
export type TabsBarUpdateEventDetail = {
|
|
1313
|
-
activeTabIndex: number;
|
|
1314
|
-
};
|
|
1315
1470
|
export type TagIcon = IconName | "none";
|
|
1316
1471
|
declare const TAG_VARIANTS: readonly [
|
|
1317
1472
|
"primary",
|
|
@@ -1338,9 +1493,53 @@ declare const TEXT_TAGS: readonly [
|
|
|
1338
1493
|
"legend"
|
|
1339
1494
|
];
|
|
1340
1495
|
export type TextTag = (typeof TEXT_TAGS)[number];
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
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];
|
|
1344
1543
|
declare const TEXT_LIST_TYPES: readonly [
|
|
1345
1544
|
"unordered",
|
|
1346
1545
|
"numbered",
|
package/tailwindcss/index.css
CHANGED
|
@@ -143,6 +143,12 @@
|
|
|
143
143
|
--text-xl--line-height: calc(6px + 2.125ex);
|
|
144
144
|
--text-2xl: clamp(1.6rem, 1.56vw + 1.29rem, 3.16rem);
|
|
145
145
|
--text-2xl--line-height: calc(6px + 2.125ex);
|
|
146
|
+
--text-3xl: clamp(1.8rem, 2.41vw + 1.32rem, 4.21rem);
|
|
147
|
+
--text-3xl--line-height: calc(6px + 2.125ex);
|
|
148
|
+
--text-4xl: clamp(2.03rem, 3.58vw + 1.31rem, 5.61rem);
|
|
149
|
+
--text-4xl--line-height: calc(6px + 2.125ex);
|
|
150
|
+
--text-5xl: clamp(2.28rem, 5.2vw + 1.24rem, 7.48rem);
|
|
151
|
+
--text-5xl--line-height: calc(6px + 2.125ex);
|
|
146
152
|
|
|
147
153
|
/* Breakpoint */
|
|
148
154
|
--breakpoint-xs: 480px;
|
|
@@ -492,7 +498,7 @@
|
|
|
492
498
|
|
|
493
499
|
/* Typography: Heading */
|
|
494
500
|
@utility prose-heading-sm {
|
|
495
|
-
@apply font-porsche-next not-italic font-
|
|
501
|
+
@apply font-porsche-next not-italic font-semibold text-sm text-primary;
|
|
496
502
|
}
|
|
497
503
|
@utility prose-heading-md {
|
|
498
504
|
@apply font-porsche-next not-italic font-normal text-md text-primary;
|
|
@@ -506,14 +512,23 @@
|
|
|
506
512
|
@utility prose-heading-2xl {
|
|
507
513
|
@apply font-porsche-next not-italic font-normal text-2xl text-primary;
|
|
508
514
|
}
|
|
515
|
+
@utility prose-heading-3xl {
|
|
516
|
+
@apply font-porsche-next not-italic font-normal text-3xl text-primary;
|
|
517
|
+
}
|
|
518
|
+
@utility prose-heading-4xl {
|
|
519
|
+
@apply font-porsche-next not-italic font-normal text-4xl text-primary;
|
|
520
|
+
}
|
|
521
|
+
@utility prose-heading-5xl {
|
|
522
|
+
@apply font-porsche-next not-italic font-normal text-5xl text-primary;
|
|
523
|
+
}
|
|
509
524
|
|
|
510
525
|
/* Typography: Display */
|
|
511
526
|
@utility prose-display-sm {
|
|
512
|
-
@apply font-porsche-next not-italic font-normal leading-normal text-primary text-
|
|
527
|
+
@apply font-porsche-next not-italic font-normal leading-normal text-primary text-3xl;
|
|
513
528
|
}
|
|
514
529
|
@utility prose-display-md {
|
|
515
|
-
@apply font-porsche-next not-italic font-normal leading-normal text-primary text-
|
|
530
|
+
@apply font-porsche-next not-italic font-normal leading-normal text-primary text-4xl;
|
|
516
531
|
}
|
|
517
532
|
@utility prose-display-lg {
|
|
518
|
-
@apply font-porsche-next not-italic font-normal leading-normal text-primary text-
|
|
533
|
+
@apply font-porsche-next not-italic font-normal leading-normal text-primary text-5xl;
|
|
519
534
|
}
|