@porsche-design-system/components-react 3.0.0-alpha.1 → 3.0.0-alpha.2
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 +49 -3
- package/OSS_NOTICE +65234 -2280
- package/esm/lib/components/carousel.wrapper.js +3 -3
- package/esm/lib/components/content-wrapper.wrapper.js +1 -1
- package/esm/lib/components/divider.wrapper.js +1 -1
- package/esm/lib/components/model-signature.wrapper.js +22 -0
- package/esm/public-api.js +1 -0
- package/lib/components/carousel.wrapper.d.ts +21 -3
- package/lib/components/carousel.wrapper.js +3 -3
- package/lib/components/content-wrapper.wrapper.js +1 -1
- package/lib/components/divider.wrapper.js +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/model-signature.wrapper.d.ts +38 -0
- package/lib/components/model-signature.wrapper.js +24 -0
- package/lib/components/text-list.wrapper.d.ts +6 -6
- package/lib/types.d.ts +76 -37
- package/package.json +2 -2
- package/public-api.js +2 -0
- package/ssr/components/dist/styles/esm/styles-entry.js +263 -188
- package/ssr/components/dist/utils/esm/utils-entry.js +23 -6
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/carousel.wrapper.js +4 -4
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/content-wrapper.wrapper.js +1 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/divider.wrapper.js +1 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/model-signature.wrapper.js +37 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/text-list-item.wrapper.js +2 -4
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +3 -2
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/model-signature.js +17 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +2 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +1 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list-item.js +1 -3
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list.js +5 -7
- package/ssr/components-react/projects/react-ssr-wrapper/src/public-api.js +2 -0
- package/ssr/esm/components/dist/styles/esm/styles-entry.js +236 -162
- package/ssr/esm/components/dist/utils/esm/utils-entry.js +21 -7
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/carousel.wrapper.js +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/content-wrapper.wrapper.js +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/divider.wrapper.js +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/model-signature.wrapper.js +35 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/text-list-item.wrapper.js +2 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +4 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.js +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/model-signature.js +15 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list-item.js +2 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list.js +6 -8
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.js +1 -0
- package/ssr/lib/components/carousel.wrapper.d.ts +21 -3
- package/ssr/lib/components/index.d.ts +1 -0
- package/ssr/lib/components/model-signature.wrapper.d.ts +38 -0
- package/ssr/lib/components/text-list.wrapper.d.ts +6 -6
- package/ssr/lib/dsr-components/model-signature.d.ts +5 -0
- package/ssr/lib/dsr-components/text-list-item.d.ts +1 -2
- package/ssr/lib/types.d.ts +76 -37
|
@@ -2,14 +2,14 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import { Component } from 'react';
|
|
3
3
|
import { minifyCss } from '../../minifyCss.js';
|
|
4
4
|
import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
|
|
5
|
-
import { getIconCss as getComponentCss$
|
|
5
|
+
import { getIconCss as getComponentCss$C } from '../../../../../../components/dist/styles/esm/styles-entry.js';
|
|
6
6
|
import { buildIconUrl, parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
|
|
7
7
|
|
|
8
8
|
class DSRIcon extends Component {
|
|
9
9
|
render() {
|
|
10
10
|
// TODO: add validation, which warns if a deprecated color is used
|
|
11
11
|
// TODO: wouldn't it be better to set alt attribute instead of aria-label?
|
|
12
|
-
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$
|
|
12
|
+
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$C(this.props.color, this.props.size, this.props.theme)));
|
|
13
13
|
return (jsx(Fragment, { children: jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("img", { src: buildIconUrl(this.props.source || this.props.name), ...parseAndGetAriaAttributes(this.props.aria), alt: "" })] }) }));
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
|
@@ -57,7 +58,7 @@ import { splitChildren } from '../../splitChildren.js';
|
|
|
57
58
|
import { Component } from 'react';
|
|
58
59
|
import { minifyCss } from '../../minifyCss.js';
|
|
59
60
|
import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
|
|
60
|
-
import { getInlineNotificationCss as getComponentCss$
|
|
61
|
+
import { getInlineNotificationCss as getComponentCss$B } from '../../../../../../components/dist/styles/esm/styles-entry.js';
|
|
61
62
|
import { getInlineNotificationIconName, getContentAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
|
|
62
63
|
|
|
63
64
|
class DSRInlineNotification extends Component {
|
|
@@ -66,7 +67,7 @@ class DSRInlineNotification extends Component {
|
|
|
66
67
|
const bannerId = 'banner';
|
|
67
68
|
const labelId = 'label';
|
|
68
69
|
const descriptionId = 'description';
|
|
69
|
-
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$
|
|
70
|
+
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$B(this.props.state, !!this.props.actionLabel, !this.props.persistent, this.props.theme)));
|
|
70
71
|
return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { children: [jsx(PIcon, { className: "icon", name: getInlineNotificationIconName(this.props.state), color: `notification-${this.props.state}`, theme: this.props.theme, "aria-hidden": "true" }), jsxs("div", { id: bannerId, className: "content", ...getContentAriaAttributes(this.props.state, labelId, descriptionId), children: [(this.props.heading || namedSlotChildren.filter(({ props: { slot } }) => slot === 'heading').length > 0) && jsx("h5", { id: labelId, children: this.props.heading || jsx("slot", { name: "heading" }) }), jsx("p", { id: descriptionId, children: this.props.description || jsx("slot", {}) })] }), this.props.actionLabel && (jsx(PButtonPure, { className: "action", theme: this.props.theme, icon: this.props.actionIcon, loading: this.props.actionLoading, children: this.props.actionLabel })), !this.props.persistent && (jsx(PButtonPure, { className: "close", type: "button", icon: "close", theme: this.props.theme, hideLabel: true, "aria-controls": bannerId, children: "Close notification" }))] })] }), this.props.children] }));
|
|
71
72
|
}
|
|
72
73
|
}
|
package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js
CHANGED
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
|
@@ -57,7 +58,7 @@ import { splitChildren } from '../../splitChildren.js';
|
|
|
57
58
|
import { Component } from 'react';
|
|
58
59
|
import { minifyCss } from '../../minifyCss.js';
|
|
59
60
|
import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
|
|
60
|
-
import { getLinkPureCss as getComponentCss$
|
|
61
|
+
import { getLinkPureCss as getComponentCss$A } from '../../../../../../components/dist/styles/esm/styles-entry.js';
|
|
61
62
|
import { hasVisibleIcon, parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
|
|
62
63
|
|
|
63
64
|
class DSRLinkPure extends Component {
|
|
@@ -65,7 +66,7 @@ class DSRLinkPure extends Component {
|
|
|
65
66
|
splitChildren(this.props.children);
|
|
66
67
|
const TagType = this.props.href === undefined ? 'span' : 'a';
|
|
67
68
|
const hasIcon = hasVisibleIcon(this.props.icon, this.props.iconSource);
|
|
68
|
-
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$
|
|
69
|
+
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$A(this.props.icon, this.props.iconSource, this.props.active, this.props.stretch, this.props.size, this.props.hideLabel, this.props.alignLabel, this.props.underline, !this.props.href, this.props.theme)));
|
|
69
70
|
return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(TagType, { className: "root", ...(TagType === 'a' && {
|
|
70
71
|
href: this.props.href,
|
|
71
72
|
target: this.props.target,
|
package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js
CHANGED
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
|
@@ -57,7 +58,7 @@ import { splitChildren } from '../../splitChildren.js';
|
|
|
57
58
|
import { Component } from 'react';
|
|
58
59
|
import { minifyCss } from '../../minifyCss.js';
|
|
59
60
|
import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
|
|
60
|
-
import { getLinkCss as getComponentCss$
|
|
61
|
+
import { getLinkCss as getComponentCss$z } from '../../../../../../components/dist/styles/esm/styles-entry.js';
|
|
61
62
|
import { getLinkButtonThemeForIcon } from '../../../../../../components/dist/utils/esm/utils-entry.js';
|
|
62
63
|
|
|
63
64
|
/** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social instead. */
|
|
@@ -65,7 +66,7 @@ class DSRLinkSocial extends Component {
|
|
|
65
66
|
render() {
|
|
66
67
|
splitChildren(this.props.children);
|
|
67
68
|
const TagType = this.props.href === undefined ? 'span' : 'a';
|
|
68
|
-
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$
|
|
69
|
+
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$z(this.props.icon, this.props.iconSource, 'primary', this.props.hideLabel, !this.props.href, this.props.theme)));
|
|
69
70
|
return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(TagType, { className: "root", ...(TagType === 'a' && {
|
|
70
71
|
href: this.props.href,
|
|
71
72
|
target: this.props.target,
|
package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js
CHANGED
|
@@ -25,6 +25,7 @@ import '../components/link-social.wrapper.js';
|
|
|
25
25
|
import '../components/link-tile.wrapper.js';
|
|
26
26
|
import '../components/marque.wrapper.js';
|
|
27
27
|
import '../components/modal.wrapper.js';
|
|
28
|
+
import '../components/model-signature.wrapper.js';
|
|
28
29
|
import '../components/pagination.wrapper.js';
|
|
29
30
|
import '../components/popover.wrapper.js';
|
|
30
31
|
import '../components/radio-button-wrapper.wrapper.js';
|
|
@@ -57,7 +58,7 @@ import '../components/toast.wrapper.js';
|
|
|
57
58
|
import { splitChildren } from '../../splitChildren.js';
|
|
58
59
|
import { minifyCss } from '../../minifyCss.js';
|
|
59
60
|
import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
|
|
60
|
-
import { getLinkTileCss as getComponentCss$
|
|
61
|
+
import { getLinkTileCss as getComponentCss$y } from '../../../../../../components/dist/styles/esm/styles-entry.js';
|
|
61
62
|
import { parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
|
|
62
63
|
|
|
63
64
|
class DSRLinkTile extends Component {
|
|
@@ -80,7 +81,7 @@ class DSRLinkTile extends Component {
|
|
|
80
81
|
jsx("a", { ...anchorProps, children: this.props.label })));
|
|
81
82
|
const linkPure = (createElement(PLinkPure, { ...linkProps, key: "link-pure", className: "link-pure", hideLabel: true, icon: "arrow-right" },
|
|
82
83
|
jsx("a", { ...anchorProps, children: this.props.label })));
|
|
83
|
-
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$
|
|
84
|
+
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$y(this.props.aspectRatio, this.props.size, this.props.weight, this.props.align, this.props.compact, this.props.gradient)));
|
|
84
85
|
return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("div", { className: "root", children: [jsx("div", { className: "image-container", children: jsx("slot", {}) }), jsxs("div", { className: "content", children: [jsx("p", { id: descriptionId, children: this.props.description }), typeof this.props.compact === 'boolean' ? (this.props.compact ? linkPure : link) : [linkPure, link]] })] })] }), this.props.children] }));
|
|
85
86
|
}
|
|
86
87
|
}
|
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
|
@@ -57,14 +58,14 @@ import { splitChildren } from '../../splitChildren.js';
|
|
|
57
58
|
import { Component } from 'react';
|
|
58
59
|
import { minifyCss } from '../../minifyCss.js';
|
|
59
60
|
import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
|
|
60
|
-
import { getLinkCss as getComponentCss$
|
|
61
|
+
import { getLinkCss as getComponentCss$z } from '../../../../../../components/dist/styles/esm/styles-entry.js';
|
|
61
62
|
import { parseAndGetAriaAttributes, hasVisibleIcon, getLinkButtonThemeForIcon } from '../../../../../../components/dist/utils/esm/utils-entry.js';
|
|
62
63
|
|
|
63
64
|
class DSRLink extends Component {
|
|
64
65
|
render() {
|
|
65
66
|
splitChildren(this.props.children);
|
|
66
67
|
const TagType = this.props.href === undefined ? 'span' : 'a';
|
|
67
|
-
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$
|
|
68
|
+
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$z(this.props.icon, this.props.iconSource, this.props.variant, this.props.hideLabel, !this.props.href, this.props.theme)));
|
|
68
69
|
return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(TagType, { className: "root", ...(TagType === 'a' && {
|
|
69
70
|
href: this.props.href,
|
|
70
71
|
target: this.props.target,
|
package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
|
2
2
|
import { Component } from 'react';
|
|
3
3
|
import { minifyCss } from '../../minifyCss.js';
|
|
4
4
|
import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
|
|
5
|
-
import { getMarqueCss as getComponentCss$
|
|
5
|
+
import { getMarqueCss as getComponentCss$x } from '../../../../../../components/dist/styles/esm/styles-entry.js';
|
|
6
6
|
import { getInnerManifest, buildSrcSet, cdnBaseUrl, parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
|
|
7
7
|
|
|
8
8
|
class DSRMarque extends Component {
|
|
@@ -20,7 +20,7 @@ class DSRMarque extends Component {
|
|
|
20
20
|
jsx("source", { srcSet: buildSrcSet(innerManifest, this.props.size, 'webp'), type: "image/webp" }, "webp"),
|
|
21
21
|
jsx("source", { srcSet: buildSrcSet(innerManifest, this.props.size, 'png'), type: "image/png" }, "png"),
|
|
22
22
|
], jsx("img", { src: `${cdnBaseUrl}/${innerManifest.medium['2x'].png}`, alt: "Porsche" })] }));
|
|
23
|
-
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$
|
|
23
|
+
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$x(this.props.size)));
|
|
24
24
|
return (jsx(Fragment, { children: jsxs("template", { shadowroot: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: this.props.href === undefined ? (picture) : (jsx("a", { href: this.props.href, target: this.props.target, ...parseAndGetAriaAttributes(this.props.aria), children: picture })) })] }) }));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
|
@@ -57,7 +58,7 @@ import { splitChildren } from '../../splitChildren.js';
|
|
|
57
58
|
import { Component } from 'react';
|
|
58
59
|
import { minifyCss } from '../../minifyCss.js';
|
|
59
60
|
import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
|
|
60
|
-
import { getModalCss as getComponentCss$
|
|
61
|
+
import { getModalCss as getComponentCss$w } from '../../../../../../components/dist/styles/esm/styles-entry.js';
|
|
61
62
|
import { parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
|
|
62
63
|
|
|
63
64
|
class DSRModal extends Component {
|
|
@@ -65,7 +66,7 @@ class DSRModal extends Component {
|
|
|
65
66
|
const { children, namedSlotChildren, otherChildren } = splitChildren(this.props.children);
|
|
66
67
|
if (this.props.open) ;
|
|
67
68
|
const hasHeader = !!this.props.heading || namedSlotChildren.filter(({ props: { slot } }) => slot === 'heading').length > 0;
|
|
68
|
-
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$
|
|
69
|
+
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$w(this.props.open, this.props.fullscreen, this.props.disableCloseButton, hasHeader)));
|
|
69
70
|
return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsxs("div", { className: "root", role: "dialog", ...parseAndGetAriaAttributes({
|
|
70
71
|
'aria-modal': true,
|
|
71
72
|
'aria-label': this.props.heading,
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import { Component } from 'react';
|
|
3
|
+
import { minifyCss } from '../../minifyCss.js';
|
|
4
|
+
import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
|
|
5
|
+
import { getModelSignatureCss as getComponentCss$v } from '../../../../../../components/dist/styles/esm/styles-entry.js';
|
|
6
|
+
import { getSvgUrl } from '../../../../../../components/dist/utils/esm/utils-entry.js';
|
|
7
|
+
|
|
8
|
+
class DSRModelSignature extends Component {
|
|
9
|
+
render() {
|
|
10
|
+
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$v(this.props.size, this.props.color, this.props.theme)));
|
|
11
|
+
return (jsx(Fragment, { children: jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("img", { src: getSvgUrl(this.props.model), height: 36, alt: this.props.model })] }) }));
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { DSRModelSignature };
|
package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js
CHANGED
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js
CHANGED
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js
CHANGED
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
|
@@ -71,7 +72,7 @@ class DSRScroller extends Component {
|
|
|
71
72
|
render() {
|
|
72
73
|
splitChildren(this.props.children);
|
|
73
74
|
const renderPrevNextButton = (direction) => {
|
|
74
|
-
return (jsx("div", { className: direction === 'next' ? 'action-next' : 'action-prev', children: jsx("button", { type: "button", tabIndex: -1, "aria-hidden": "true", "aria-label": direction, children: jsx(PIcon, { className: "icon", name: direction === 'next' ? 'arrow-head-right' : 'arrow-head-left' }) }) }, direction));
|
|
75
|
+
return (jsx("div", { className: direction === 'next' ? 'action-next' : 'action-prev', children: jsx("button", { type: "button", tabIndex: -1, "aria-hidden": "true", "aria-label": direction, children: jsx(PIcon, { className: "icon", name: direction === 'next' ? 'arrow-head-right' : 'arrow-head-left', theme: this.props.theme }) }) }, direction));
|
|
75
76
|
};
|
|
76
77
|
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$r(this.props.gradientColorScheme, this.isNextHidden, this.isPrevHidden, this.props.scrollIndicatorPosition, this.props.theme)));
|
|
77
78
|
return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("div", { className: "root", children: [jsx("div", { className: "scroll-area", children: jsxs("div", { className: "scroll-wrapper", tabIndex: isScrollable(this.isPrevHidden, this.isNextHidden) ? 0 : null, children: [jsx("slot", {}), jsx("div", { className: "trigger" }), jsx("div", { className: "trigger" })] }) }), ['prev', 'next'].map(renderPrevNextButton)] })] }), this.props.children] }));
|
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js
CHANGED
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js
CHANGED
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js
CHANGED
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js
CHANGED
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
|
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
|
|
|
24
24
|
import '../components/link-tile.wrapper.js';
|
|
25
25
|
import '../components/marque.wrapper.js';
|
|
26
26
|
import '../components/modal.wrapper.js';
|
|
27
|
+
import '../components/model-signature.wrapper.js';
|
|
27
28
|
import '../components/pagination.wrapper.js';
|
|
28
29
|
import '../components/popover.wrapper.js';
|
|
29
30
|
import '../components/radio-button-wrapper.wrapper.js';
|
package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list-item.js
CHANGED
|
@@ -3,14 +3,12 @@ import { splitChildren } from '../../splitChildren.js';
|
|
|
3
3
|
import { Component } from 'react';
|
|
4
4
|
import { minifyCss } from '../../minifyCss.js';
|
|
5
5
|
import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
|
|
6
|
-
import { getTextListItemCss as getComponentCss$
|
|
6
|
+
import { getTextListItemCss as getComponentCss$4 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
|
|
7
7
|
|
|
8
8
|
class DSRTextListItem extends Component {
|
|
9
9
|
render() {
|
|
10
10
|
splitChildren(this.props.children);
|
|
11
|
-
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$
|
|
12
|
-
this.props.orderType || 'numbered' // default as fallback
|
|
13
|
-
)));
|
|
11
|
+
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$4()));
|
|
14
12
|
return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsx("slot", {}) })] }), this.props.children] }));
|
|
15
13
|
}
|
|
16
14
|
}
|
package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list.js
CHANGED
|
@@ -3,17 +3,15 @@ import { splitChildren } from '../../splitChildren.js';
|
|
|
3
3
|
import { Component } from 'react';
|
|
4
4
|
import { minifyCss } from '../../minifyCss.js';
|
|
5
5
|
import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
|
|
6
|
-
import { getTextListCss as getComponentCss$
|
|
6
|
+
import { getTextListCss as getComponentCss$5 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
|
|
7
|
+
import { isListTypeOrdered } from '../../../../../../components/dist/utils/esm/utils-entry.js';
|
|
7
8
|
|
|
8
9
|
class DSRTextList extends Component {
|
|
9
10
|
render() {
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const TagType = this.props.listType === 'unordered' ? 'ul' : 'ol';
|
|
15
|
-
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$4(this.props.theme)));
|
|
16
|
-
return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsx(TagType, { role: "list", children: jsx("slot", {}) }) })] }), manipulatedChildren] }));
|
|
11
|
+
splitChildren(this.props.children);
|
|
12
|
+
const TagType = isListTypeOrdered(this.props.listType) ? 'ol' : 'ul';
|
|
13
|
+
const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$5(this.props.listType, this.props.orderType, this.props.theme)));
|
|
14
|
+
return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsx(TagType, { children: jsx("slot", {}) }) })] }), this.props.children] }));
|
|
17
15
|
}
|
|
18
16
|
}
|
|
19
17
|
|
|
@@ -24,6 +24,7 @@ export { PLinkSocial } from './lib/components/link-social.wrapper.js';
|
|
|
24
24
|
export { PLinkTile } from './lib/components/link-tile.wrapper.js';
|
|
25
25
|
export { PMarque } from './lib/components/marque.wrapper.js';
|
|
26
26
|
export { PModal } from './lib/components/modal.wrapper.js';
|
|
27
|
+
export { PModelSignature } from './lib/components/model-signature.wrapper.js';
|
|
27
28
|
export { PPagination } from './lib/components/pagination.wrapper.js';
|
|
28
29
|
export { PPopover } from './lib/components/popover.wrapper.js';
|
|
29
30
|
export { PRadioButtonWrapper } from './lib/components/radio-button-wrapper.wrapper.js';
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
import type { BreakpointCustomizable, CarouselInternationalization, CarouselChangeEvent, Theme } from '../types';
|
|
2
|
+
import type { CarouselAlignHeader, BreakpointCustomizable, CarouselInternationalization, CarouselChangeEvent, Theme, CarouselWidth } from '../types';
|
|
3
3
|
export type PCarouselProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
|
+
/**
|
|
5
|
+
* Alignment of heading and description
|
|
6
|
+
*/
|
|
7
|
+
alignHeader?: CarouselAlignHeader;
|
|
4
8
|
/**
|
|
5
9
|
* Defines the description used in the carousel.
|
|
6
10
|
*/
|
|
@@ -34,11 +38,20 @@ export type PCarouselProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
34
38
|
*/
|
|
35
39
|
theme?: Theme;
|
|
36
40
|
/**
|
|
37
|
-
*
|
|
41
|
+
* Defines the outer spacings between the carousel and the left and right screen sides.
|
|
42
|
+
*/
|
|
43
|
+
width?: CarouselWidth;
|
|
44
|
+
/**
|
|
45
|
+
* Has no effect anymore
|
|
46
|
+
* @deprecated since v3.0.0, will be removed with next major release
|
|
38
47
|
*/
|
|
39
48
|
wrapContent?: boolean;
|
|
40
49
|
};
|
|
41
50
|
export declare const PCarousel: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
51
|
+
/**
|
|
52
|
+
* Alignment of heading and description
|
|
53
|
+
*/
|
|
54
|
+
alignHeader?: CarouselAlignHeader;
|
|
42
55
|
/**
|
|
43
56
|
* Defines the description used in the carousel.
|
|
44
57
|
*/
|
|
@@ -72,7 +85,12 @@ export declare const PCarousel: import("react").ForwardRefExoticComponent<Omit<H
|
|
|
72
85
|
*/
|
|
73
86
|
theme?: Theme;
|
|
74
87
|
/**
|
|
75
|
-
*
|
|
88
|
+
* Defines the outer spacings between the carousel and the left and right screen sides.
|
|
89
|
+
*/
|
|
90
|
+
width?: CarouselWidth;
|
|
91
|
+
/**
|
|
92
|
+
* Has no effect anymore
|
|
93
|
+
* @deprecated since v3.0.0, will be removed with next major release
|
|
76
94
|
*/
|
|
77
95
|
wrapContent?: boolean;
|
|
78
96
|
} & {
|
|
@@ -23,6 +23,7 @@ export * from './link-social.wrapper';
|
|
|
23
23
|
export * from './link-tile.wrapper';
|
|
24
24
|
export * from './marque.wrapper';
|
|
25
25
|
export * from './modal.wrapper';
|
|
26
|
+
export * from './model-signature.wrapper';
|
|
26
27
|
export * from './pagination.wrapper';
|
|
27
28
|
export * from './popover.wrapper';
|
|
28
29
|
export * from './radio-button-wrapper.wrapper';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import type { ModelSignatureColor, ModelSignatureModel, ModelSignatureSize, Theme } from '../types';
|
|
3
|
+
export type PModelSignatureProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
|
+
/**
|
|
5
|
+
* Adapts the color of the component.
|
|
6
|
+
*/
|
|
7
|
+
color?: ModelSignatureColor;
|
|
8
|
+
/**
|
|
9
|
+
* Adapts the model of the component.
|
|
10
|
+
*/
|
|
11
|
+
model?: ModelSignatureModel;
|
|
12
|
+
/**
|
|
13
|
+
* Adapts the size of the component.
|
|
14
|
+
*/
|
|
15
|
+
size?: ModelSignatureSize;
|
|
16
|
+
/**
|
|
17
|
+
* Adapts color depending on theme.
|
|
18
|
+
*/
|
|
19
|
+
theme?: Theme;
|
|
20
|
+
};
|
|
21
|
+
export declare const PModelSignature: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
22
|
+
/**
|
|
23
|
+
* Adapts the color of the component.
|
|
24
|
+
*/
|
|
25
|
+
color?: ModelSignatureColor;
|
|
26
|
+
/**
|
|
27
|
+
* Adapts the model of the component.
|
|
28
|
+
*/
|
|
29
|
+
model?: ModelSignatureModel;
|
|
30
|
+
/**
|
|
31
|
+
* Adapts the size of the component.
|
|
32
|
+
*/
|
|
33
|
+
size?: ModelSignatureSize;
|
|
34
|
+
/**
|
|
35
|
+
* Adapts color depending on theme.
|
|
36
|
+
*/
|
|
37
|
+
theme?: Theme;
|
|
38
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -2,29 +2,29 @@ import { HTMLAttributes } from 'react';
|
|
|
2
2
|
import type { ListType, OrderType, Theme } from '../types';
|
|
3
3
|
export type PTextListProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
|
-
* The type of the
|
|
5
|
+
* The type of the list.
|
|
6
6
|
*/
|
|
7
7
|
listType?: ListType;
|
|
8
8
|
/**
|
|
9
|
-
* The list style type of
|
|
9
|
+
* The list style type of ordered list. Only has effect when list type is set to 'ordered'.
|
|
10
10
|
*/
|
|
11
11
|
orderType?: OrderType;
|
|
12
12
|
/**
|
|
13
|
-
* Adapts the text color depending on the theme.
|
|
13
|
+
* Adapts the text color depending on the theme.
|
|
14
14
|
*/
|
|
15
15
|
theme?: Theme;
|
|
16
16
|
};
|
|
17
17
|
export declare const PTextList: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
18
18
|
/**
|
|
19
|
-
* The type of the
|
|
19
|
+
* The type of the list.
|
|
20
20
|
*/
|
|
21
21
|
listType?: ListType;
|
|
22
22
|
/**
|
|
23
|
-
* The list style type of
|
|
23
|
+
* The list style type of ordered list. Only has effect when list type is set to 'ordered'.
|
|
24
24
|
*/
|
|
25
25
|
orderType?: OrderType;
|
|
26
26
|
/**
|
|
27
|
-
* Adapts the text color depending on the theme.
|
|
27
|
+
* Adapts the text color depending on the theme.
|
|
28
28
|
*/
|
|
29
29
|
theme?: Theme;
|
|
30
30
|
} & {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
|
-
import type { TextListItemInternalHTMLProps } from '@porsche-design-system/components/dist/utils';
|
|
3
2
|
export declare class DSRTextListItem extends Component<any> {
|
|
4
|
-
host: HTMLElement
|
|
3
|
+
host: HTMLElement;
|
|
5
4
|
render(): JSX.Element;
|
|
6
5
|
}
|