@porsche-design-system/components-angular 2.13.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1428 -0
- package/LICENSE +59 -0
- package/OSS_NOTICE +20981 -0
- package/README.md +74 -0
- package/components-wrapper.module.d.ts +60 -0
- package/esm2020/components-wrapper.module.mjs +87 -0
- package/esm2020/lib/components/accordion.wrapper.mjs +33 -0
- package/esm2020/lib/components/banner.wrapper.mjs +33 -0
- package/esm2020/lib/components/barrel.mjs +138 -0
- package/esm2020/lib/components/button-group.wrapper.mjs +30 -0
- package/esm2020/lib/components/button-pure.wrapper.mjs +30 -0
- package/esm2020/lib/components/button.wrapper.mjs +30 -0
- package/esm2020/lib/components/checkbox-wrapper.wrapper.mjs +30 -0
- package/esm2020/lib/components/content-wrapper.wrapper.mjs +30 -0
- package/esm2020/lib/components/divider.wrapper.mjs +30 -0
- package/esm2020/lib/components/fieldset-wrapper.wrapper.mjs +30 -0
- package/esm2020/lib/components/flex-item.wrapper.mjs +30 -0
- package/esm2020/lib/components/flex.wrapper.mjs +30 -0
- package/esm2020/lib/components/grid-item.wrapper.mjs +30 -0
- package/esm2020/lib/components/grid.wrapper.mjs +30 -0
- package/esm2020/lib/components/headline.wrapper.mjs +30 -0
- package/esm2020/lib/components/icon.wrapper.mjs +30 -0
- package/esm2020/lib/components/inline-notification.wrapper.mjs +33 -0
- package/esm2020/lib/components/link-pure.wrapper.mjs +30 -0
- package/esm2020/lib/components/link-social.wrapper.mjs +30 -0
- package/esm2020/lib/components/link.wrapper.mjs +30 -0
- package/esm2020/lib/components/marque.wrapper.mjs +30 -0
- package/esm2020/lib/components/modal.wrapper.mjs +33 -0
- package/esm2020/lib/components/pagination.wrapper.mjs +33 -0
- package/esm2020/lib/components/popover.wrapper.mjs +30 -0
- package/esm2020/lib/components/radio-button-wrapper.wrapper.mjs +30 -0
- package/esm2020/lib/components/select-wrapper.wrapper.mjs +30 -0
- package/esm2020/lib/components/spinner.wrapper.mjs +30 -0
- package/esm2020/lib/components/switch.wrapper.mjs +33 -0
- package/esm2020/lib/components/table-body.wrapper.mjs +26 -0
- package/esm2020/lib/components/table-cell.wrapper.mjs +30 -0
- package/esm2020/lib/components/table-head-cell.wrapper.mjs +30 -0
- package/esm2020/lib/components/table-head-row.wrapper.mjs +26 -0
- package/esm2020/lib/components/table-head.wrapper.mjs +26 -0
- package/esm2020/lib/components/table-row.wrapper.mjs +26 -0
- package/esm2020/lib/components/table.wrapper.mjs +33 -0
- package/esm2020/lib/components/tabs-bar.wrapper.mjs +33 -0
- package/esm2020/lib/components/tabs-item.wrapper.mjs +30 -0
- package/esm2020/lib/components/tabs.wrapper.mjs +33 -0
- package/esm2020/lib/components/tag-dismissible.wrapper.mjs +30 -0
- package/esm2020/lib/components/tag.wrapper.mjs +30 -0
- package/esm2020/lib/components/text-field-wrapper.wrapper.mjs +30 -0
- package/esm2020/lib/components/text-list-item.wrapper.mjs +26 -0
- package/esm2020/lib/components/text-list.wrapper.mjs +30 -0
- package/esm2020/lib/components/text.wrapper.mjs +30 -0
- package/esm2020/lib/components/textarea-wrapper.wrapper.mjs +30 -0
- package/esm2020/lib/components/toast.wrapper.mjs +30 -0
- package/esm2020/lib/types.mjs +2 -0
- package/esm2020/porsche-design-system-components-angular.mjs +5 -0
- package/esm2020/public-api.mjs +6 -0
- package/esm2020/skeleton-helper.mjs +4 -0
- package/esm2020/toast-manager.mjs +17 -0
- package/esm2020/utils.mjs +41 -0
- package/fesm2015/porsche-design-system-components-angular.mjs +1289 -0
- package/fesm2015/porsche-design-system-components-angular.mjs.map +1 -0
- package/fesm2020/porsche-design-system-components-angular.mjs +1287 -0
- package/fesm2020/porsche-design-system-components-angular.mjs.map +1 -0
- package/lib/components/accordion.wrapper.d.ts +17 -0
- package/lib/components/banner.wrapper.d.ts +15 -0
- package/lib/components/barrel.d.ts +91 -0
- package/lib/components/button-group.wrapper.d.ts +11 -0
- package/lib/components/button-pure.wrapper.d.ts +24 -0
- package/lib/components/button.wrapper.d.ts +20 -0
- package/lib/components/checkbox-wrapper.wrapper.d.ts +14 -0
- package/lib/components/content-wrapper.wrapper.d.ts +13 -0
- package/lib/components/divider.wrapper.d.ts +13 -0
- package/lib/components/fieldset-wrapper.wrapper.d.ts +15 -0
- package/lib/components/flex-item.wrapper.d.ts +16 -0
- package/lib/components/flex.wrapper.d.ts +16 -0
- package/lib/components/grid-item.wrapper.d.ts +12 -0
- package/lib/components/grid.wrapper.d.ts +13 -0
- package/lib/components/headline.wrapper.d.ts +16 -0
- package/lib/components/icon.wrapper.d.ts +17 -0
- package/lib/components/inline-notification.wrapper.d.ts +20 -0
- package/lib/components/link-pure.wrapper.d.ts +24 -0
- package/lib/components/link-social.wrapper.d.ts +17 -0
- package/lib/components/link.wrapper.d.ts +20 -0
- package/lib/components/marque.wrapper.d.ts +15 -0
- package/lib/components/modal.wrapper.d.ts +17 -0
- package/lib/components/pagination.wrapper.d.ts +20 -0
- package/lib/components/popover.wrapper.d.ts +13 -0
- package/lib/components/radio-button-wrapper.wrapper.d.ts +14 -0
- package/lib/components/select-wrapper.wrapper.d.ts +19 -0
- package/lib/components/spinner.wrapper.d.ts +13 -0
- package/lib/components/switch.wrapper.d.ts +19 -0
- package/lib/components/table-body.wrapper.d.ts +9 -0
- package/lib/components/table-cell.wrapper.d.ts +10 -0
- package/lib/components/table-head-cell.wrapper.d.ts +13 -0
- package/lib/components/table-head-row.wrapper.d.ts +9 -0
- package/lib/components/table-head.wrapper.d.ts +9 -0
- package/lib/components/table-row.wrapper.d.ts +9 -0
- package/lib/components/table.wrapper.d.ts +12 -0
- package/lib/components/tabs-bar.wrapper.d.ts +16 -0
- package/lib/components/tabs-item.wrapper.d.ts +10 -0
- package/lib/components/tabs.wrapper.d.ts +16 -0
- package/lib/components/tag-dismissible.wrapper.d.ts +13 -0
- package/lib/components/tag.wrapper.d.ts +14 -0
- package/lib/components/text-field-wrapper.wrapper.d.ts +18 -0
- package/lib/components/text-list-item.wrapper.d.ts +9 -0
- package/lib/components/text-list.wrapper.d.ts +13 -0
- package/lib/components/text.wrapper.d.ts +17 -0
- package/lib/components/textarea-wrapper.wrapper.d.ts +16 -0
- package/lib/components/toast.wrapper.d.ts +11 -0
- package/lib/types.d.ts +543 -0
- package/package.json +57 -0
- package/partials/esm/partials.js +1 -0
- package/partials/package.json +6 -0
- package/partials/partials.d.ts +1 -0
- package/partials/partials.js +14 -0
- package/porsche-design-system-components-angular.d.ts +5 -0
- package/public-api.d.ts +5 -0
- package/skeleton-helper.d.ts +3 -0
- package/toast-manager.d.ts +7 -0
- package/utilities/js/esm/js.js +1 -0
- package/utilities/js/js.d.ts +1 -0
- package/utilities/js/js.js +14 -0
- package/utilities/js/package.json +6 -0
- package/utilities/scss.scss +1 -0
- package/utils.d.ts +7 -0
package/lib/types.d.ts
ADDED
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
export declare type IconName = "360" | "accessibility" | "active-cabin-ventilation" | "add" | "adjust" | "arrow-double-down" | "arrow-double-left" | "arrow-double-right" | "arrow-double-up" | "arrow-down" | "arrow-first" | "arrow-head-down" | "arrow-head-left" | "arrow-head-right" | "arrow-head-up" | "arrow-last" | "arrow-left" | "arrow-right" | "arrow-up" | "augmented-reality" | "battery-empty" | "battery-full" | "bell" | "bookmark" | "broadcast" | "calculator" | "calendar" | "camera" | "car" | "car-battery" | "card" | "charging-active" | "charging-state" | "charging-station" | "chart" | "chat" | "check" | "city" | "climate" | "climate-control" | "clock" | "close" | "closed-caption" | "co2-emission" | "compare" | "configurate" | "country-road" | "cubic-capacity" | "delete" | "disable" | "document" | "download" | "duration" | "edit" | "email" | "exclamation" | "external" | "filter" | "flash" | "fuel-station" | "garage" | "gift" | "globe" | "grid" | "highway" | "home" | "horn" | "image" | "increase" | "information" | "key" | "leaf" | "leather" | "light" | "list" | "locate" | "lock" | "lock-open" | "logo-baidu" | "logo-delicious" | "logo-digg" | "logo-facebook" | "logo-foursquare" | "logo-gmail" | "logo-google" | "logo-hatena" | "logo-instagram" | "logo-kaixin" | "logo-kakaotalk" | "logo-linkedin" | "logo-naver" | "logo-pinterest" | "logo-qq" | "logo-qq-share" | "logo-reddit" | "logo-skyrock" | "logo-sohu" | "logo-tecent" | "logo-telegram" | "logo-tiktok" | "logo-tumblr" | "logo-twitter" | "logo-viber" | "logo-vk" | "logo-wechat" | "logo-weibo" | "logo-whatsapp" | "logo-xing" | "logo-yahoo" | "logo-youku" | "logo-youtube" | "logout" | "map" | "menu-dots-horizontal" | "menu-dots-vertical" | "menu-lines" | "minus" | "mobile" | "moon" | "oil-can" | "parking-brake" | "parking-light" | "pause" | "phone" | "pin" | "play" | "plug" | "plus" | "preheating" | "printer" | "purchase" | "question" | "racing-flag" | "refresh" | "replay" | "reset" | "route" | "rss" | "save" | "screen" | "search" | "send" | "share" | "shopping-bag" | "shopping-cart" | "sidelights" | "snowflake" | "sort" | "stack" | "star" | "steering-wheel" | "stopwatch" | "subtract" | "success" | "sun" | "switch" | "tablet" | "tachometer" | "truck" | "upload" | "user" | "user-group" | "user-manual" | "video" | "view" | "view-off" | "volume-off" | "volume-up" | "warning" | "weight" | "wifi" | "work" | "wrench" | "wrenches" | "zoom-in" | "zoom-out";
|
|
2
|
+
declare const BUTTON_ARIA_ATTRIBUTES: readonly [
|
|
3
|
+
"aria-label",
|
|
4
|
+
"aria-expanded",
|
|
5
|
+
"aria-pressed",
|
|
6
|
+
"aria-haspopup"
|
|
7
|
+
];
|
|
8
|
+
export declare type ButtonAriaAttributes = typeof BUTTON_ARIA_ATTRIBUTES[number];
|
|
9
|
+
declare const BREAKPOINTS: readonly [
|
|
10
|
+
"base",
|
|
11
|
+
"xs",
|
|
12
|
+
"s",
|
|
13
|
+
"m",
|
|
14
|
+
"l",
|
|
15
|
+
"xl"
|
|
16
|
+
];
|
|
17
|
+
export declare type BreakpointKey = typeof BREAKPOINTS[number];
|
|
18
|
+
export declare type BreakpointValues<T> = {
|
|
19
|
+
[key in BreakpointKey]?: T;
|
|
20
|
+
} & {
|
|
21
|
+
base: T;
|
|
22
|
+
};
|
|
23
|
+
export declare type BreakpointCustomizable<T> = T | BreakpointValues<T>;
|
|
24
|
+
declare const TEXT_SIZES: readonly [
|
|
25
|
+
"x-small",
|
|
26
|
+
"small",
|
|
27
|
+
"medium",
|
|
28
|
+
"large",
|
|
29
|
+
"x-large",
|
|
30
|
+
"inherit"
|
|
31
|
+
];
|
|
32
|
+
export declare type TextSize = typeof TEXT_SIZES[number];
|
|
33
|
+
declare const HEADLINE_VARIANTS: readonly [
|
|
34
|
+
"large-title",
|
|
35
|
+
"headline-1",
|
|
36
|
+
"headline-2",
|
|
37
|
+
"headline-3",
|
|
38
|
+
"headline-4",
|
|
39
|
+
"headline-5"
|
|
40
|
+
];
|
|
41
|
+
export declare type VariantType = typeof HEADLINE_VARIANTS[number];
|
|
42
|
+
export declare type HeadlineVariantCustom = Exclude<BreakpointCustomizable<TextSize>, TextSize>;
|
|
43
|
+
export declare type HeadlineVariant = VariantType | HeadlineVariantCustom | Extract<TextSize, "inherit">;
|
|
44
|
+
export declare type HeadlineTag = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
45
|
+
export declare type Booleanish = boolean | "true" | "false";
|
|
46
|
+
export declare type AriaAttributes = {
|
|
47
|
+
/** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
|
|
48
|
+
"aria-activedescendant"?: string | undefined;
|
|
49
|
+
/** Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. */
|
|
50
|
+
"aria-atomic"?: Booleanish | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
|
|
53
|
+
* presented if they are made.
|
|
54
|
+
*/
|
|
55
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
56
|
+
/** Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user. */
|
|
57
|
+
"aria-busy"?: Booleanish | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
|
|
60
|
+
* @see aria-pressed @see aria-selected.
|
|
61
|
+
*/
|
|
62
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Defines the total number of columns in a table, grid, or treegrid.
|
|
65
|
+
* @see aria-colindex.
|
|
66
|
+
*/
|
|
67
|
+
"aria-colcount"?: number | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
|
|
70
|
+
* @see aria-colcount @see aria-colspan.
|
|
71
|
+
*/
|
|
72
|
+
"aria-colindex"?: number | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
75
|
+
* @see aria-colindex @see aria-rowspan.
|
|
76
|
+
*/
|
|
77
|
+
"aria-colspan"?: number | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
|
80
|
+
* @see aria-owns.
|
|
81
|
+
*/
|
|
82
|
+
"aria-controls"?: string | undefined;
|
|
83
|
+
/** Indicates the element that represents the current item within a container or set of related elements. */
|
|
84
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* Identifies the element (or elements) that describes the object.
|
|
87
|
+
* @see aria-labelledby
|
|
88
|
+
*/
|
|
89
|
+
"aria-describedby"?: string | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* Identifies the element that provides a detailed, extended description for the object.
|
|
92
|
+
* @see aria-describedby.
|
|
93
|
+
*/
|
|
94
|
+
"aria-details"?: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
97
|
+
* @see aria-hidden @see aria-readonly.
|
|
98
|
+
*/
|
|
99
|
+
"aria-disabled"?: Booleanish | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* Indicates what functions can be performed when a dragged object is released on the drop target.
|
|
102
|
+
* @deprecated in ARIA 1.1
|
|
103
|
+
*/
|
|
104
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* Identifies the element that provides an error message for the object.
|
|
107
|
+
* @see aria-invalid @see aria-describedby.
|
|
108
|
+
*/
|
|
109
|
+
"aria-errormessage"?: string | undefined;
|
|
110
|
+
/** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
|
|
111
|
+
"aria-expanded"?: Booleanish | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
|
|
114
|
+
* allows assistive technology to override the general default of reading in document source order.
|
|
115
|
+
*/
|
|
116
|
+
"aria-flowto"?: string | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* Indicates an element's "grabbed" state in a drag-and-drop operation.
|
|
119
|
+
* @deprecated in ARIA 1.1
|
|
120
|
+
*/
|
|
121
|
+
"aria-grabbed"?: Booleanish | undefined;
|
|
122
|
+
/** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
|
|
123
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* Indicates whether the element is exposed to an accessibility API.
|
|
126
|
+
* @see aria-disabled.
|
|
127
|
+
*/
|
|
128
|
+
"aria-hidden"?: Booleanish | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
131
|
+
* @see aria-errormessage.
|
|
132
|
+
*/
|
|
133
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
134
|
+
/** Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. */
|
|
135
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
136
|
+
/**
|
|
137
|
+
* Defines a string value that labels the current element.
|
|
138
|
+
* @see aria-labelledby.
|
|
139
|
+
*/
|
|
140
|
+
"aria-label"?: string | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* Identifies the element (or elements) that labels the current element.
|
|
143
|
+
* @see aria-describedby.
|
|
144
|
+
*/
|
|
145
|
+
"aria-labelledby"?: string | undefined;
|
|
146
|
+
/** Defines the hierarchical level of an element within a structure. */
|
|
147
|
+
"aria-level"?: number | undefined;
|
|
148
|
+
/** Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. */
|
|
149
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
150
|
+
/** Indicates whether an element is modal when displayed. */
|
|
151
|
+
"aria-modal"?: Booleanish | undefined;
|
|
152
|
+
/** Indicates whether a text box accepts multiple lines of input or only a single line. */
|
|
153
|
+
"aria-multiline"?: Booleanish | undefined;
|
|
154
|
+
/** Indicates that the user may select more than one item from the current selectable descendants. */
|
|
155
|
+
"aria-multiselectable"?: Booleanish | undefined;
|
|
156
|
+
/** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
|
|
157
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
|
|
160
|
+
* between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
|
|
161
|
+
* @see aria-controls.
|
|
162
|
+
*/
|
|
163
|
+
"aria-owns"?: string | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
|
|
166
|
+
* A hint could be a sample value or a brief description of the expected format.
|
|
167
|
+
*/
|
|
168
|
+
"aria-placeholder"?: string | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
|
|
171
|
+
* @see aria-setsize.
|
|
172
|
+
*/
|
|
173
|
+
"aria-posinset"?: number | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* Indicates the current "pressed" state of toggle buttons.
|
|
176
|
+
* @see aria-checked @see aria-selected.
|
|
177
|
+
*/
|
|
178
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
179
|
+
/**
|
|
180
|
+
* Indicates that the element is not editable, but is otherwise operable.
|
|
181
|
+
* @see aria-disabled.
|
|
182
|
+
*/
|
|
183
|
+
"aria-readonly"?: Booleanish | undefined;
|
|
184
|
+
/**
|
|
185
|
+
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
|
|
186
|
+
* @see aria-atomic.
|
|
187
|
+
*/
|
|
188
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
189
|
+
/** Indicates that user input is required on the element before a form may be submitted. */
|
|
190
|
+
"aria-required"?: Booleanish | undefined;
|
|
191
|
+
/** Defines a human-readable, author-localized description for the role of an element. */
|
|
192
|
+
"aria-roledescription"?: string | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* Defines the total number of rows in a table, grid, or treegrid.
|
|
195
|
+
* @see aria-rowindex.
|
|
196
|
+
*/
|
|
197
|
+
"aria-rowcount"?: number | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
|
|
200
|
+
* @see aria-rowcount @see aria-rowspan.
|
|
201
|
+
*/
|
|
202
|
+
"aria-rowindex"?: number | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
205
|
+
* @see aria-rowindex @see aria-colspan.
|
|
206
|
+
*/
|
|
207
|
+
"aria-rowspan"?: number | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* Indicates the current "selected" state of various widgets.
|
|
210
|
+
* @see aria-checked @see aria-pressed.
|
|
211
|
+
*/
|
|
212
|
+
"aria-selected"?: Booleanish | undefined;
|
|
213
|
+
/**
|
|
214
|
+
* Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
|
|
215
|
+
* @see aria-posinset.
|
|
216
|
+
*/
|
|
217
|
+
"aria-setsize"?: number | undefined;
|
|
218
|
+
/** Indicates if items in a table or grid are sorted in ascending or descending order. */
|
|
219
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
220
|
+
/** Defines the maximum allowed value for a range widget. */
|
|
221
|
+
"aria-valuemax"?: number | undefined;
|
|
222
|
+
/** Defines the minimum allowed value for a range widget. */
|
|
223
|
+
"aria-valuemin"?: number | undefined;
|
|
224
|
+
/**
|
|
225
|
+
* Defines the current value for a range widget.
|
|
226
|
+
* @see aria-valuetext.
|
|
227
|
+
*/
|
|
228
|
+
"aria-valuenow"?: number | undefined;
|
|
229
|
+
/** Defines the human readable text alternative of aria-valuenow for a range widget. */
|
|
230
|
+
"aria-valuetext"?: string | undefined;
|
|
231
|
+
};
|
|
232
|
+
export declare type TextWeight = "thin" | "regular" | "semibold" | "bold";
|
|
233
|
+
export declare type TextColor = "brand" | "default" | "neutral-contrast-high" | "neutral-contrast-medium" | "neutral-contrast-low" | "notification-success" | "notification-warning" | "notification-error" | "notification-neutral" | "inherit";
|
|
234
|
+
export declare type TextAlign = "left" | "center" | "right";
|
|
235
|
+
export declare type Theme = "light" | "dark";
|
|
236
|
+
export declare type ThemeExtendedElectric = Theme | "light-electric";
|
|
237
|
+
export declare type ThemeExtendedElectricDark = ThemeExtendedElectric | "dark-electric";
|
|
238
|
+
export declare type IconSize = "small" | "medium" | "large" | "inherit";
|
|
239
|
+
export declare type LinkButtonPureIconName = IconName | "none";
|
|
240
|
+
export declare type LinkButtonVariant = "primary" | "secondary" | "tertiary";
|
|
241
|
+
export declare type ButtonVariant = LinkButtonVariant;
|
|
242
|
+
export declare type ButtonType = "button" | "submit" | "reset";
|
|
243
|
+
export declare type LinkVariant = LinkButtonVariant;
|
|
244
|
+
export declare type LinkTarget = "_self" | "_blank" | "_parent" | "_top" | string;
|
|
245
|
+
export declare type FormState = "none" | "error" | "success";
|
|
246
|
+
export declare type AlignLabelType = "left" | "right";
|
|
247
|
+
export declare type AlignLabel = BreakpointCustomizable<AlignLabelType>;
|
|
248
|
+
export declare type SelectedAriaAttributes<T extends keyof AriaAttributes> = Pick<AriaAttributes, T>;
|
|
249
|
+
declare const ACCORDION_SIZE: readonly [
|
|
250
|
+
"small",
|
|
251
|
+
"medium"
|
|
252
|
+
];
|
|
253
|
+
export declare type AccordionSize = typeof ACCORDION_SIZE[number];
|
|
254
|
+
export declare type AccordionChangeEvent = {
|
|
255
|
+
open: boolean;
|
|
256
|
+
};
|
|
257
|
+
declare const BANNER_STATES: readonly [
|
|
258
|
+
"error",
|
|
259
|
+
"warning",
|
|
260
|
+
"neutral"
|
|
261
|
+
];
|
|
262
|
+
export declare type BannerState = typeof BANNER_STATES[number];
|
|
263
|
+
export declare type ButtonGroupDirectionType = "row" | "column";
|
|
264
|
+
export declare type ButtonGroupDirection = BreakpointCustomizable<ButtonGroupDirectionType>;
|
|
265
|
+
export declare type ContentWrapperBackgroundColor = "transparent" | "default";
|
|
266
|
+
export declare type ContentWrapperWidth = "basic" | "extended" | "fluid";
|
|
267
|
+
export declare type DividerColor = "neutral-contrast-high" | "neutral-contrast-medium" | "neutral-contrast-low";
|
|
268
|
+
export declare type DividerOrientation = BreakpointCustomizable<"vertical" | "horizontal">;
|
|
269
|
+
export declare type FieldsetWrapperLabelSize = Extract<TextSize, "small" | "medium">;
|
|
270
|
+
export declare type FlexInlineType = BreakpointCustomizable<boolean>;
|
|
271
|
+
export declare type FlexInline = FlexInlineType;
|
|
272
|
+
declare const FLEX_WRAPS: readonly [
|
|
273
|
+
"nowrap",
|
|
274
|
+
"wrap",
|
|
275
|
+
"wrap-reverse"
|
|
276
|
+
];
|
|
277
|
+
export declare type FlexWrapType = typeof FLEX_WRAPS[number];
|
|
278
|
+
export declare type FlexWrap = BreakpointCustomizable<FlexWrapType>;
|
|
279
|
+
declare const FLEX_DIRECTION: readonly [
|
|
280
|
+
"row",
|
|
281
|
+
"row-reverse",
|
|
282
|
+
"column",
|
|
283
|
+
"column-reverse"
|
|
284
|
+
];
|
|
285
|
+
export declare type FlexDirectionType = typeof FLEX_DIRECTION[number];
|
|
286
|
+
export declare type FlexDirection = BreakpointCustomizable<FlexDirectionType>;
|
|
287
|
+
declare const FLEX_JUSTIFY_CONTENTS: readonly [
|
|
288
|
+
"flex-start",
|
|
289
|
+
"flex-end",
|
|
290
|
+
"center",
|
|
291
|
+
"space-between",
|
|
292
|
+
"space-around",
|
|
293
|
+
"space-evenly"
|
|
294
|
+
];
|
|
295
|
+
export declare type FlexJustifyContentType = typeof FLEX_JUSTIFY_CONTENTS[number];
|
|
296
|
+
export declare type FlexJustifyContent = BreakpointCustomizable<FlexJustifyContentType>;
|
|
297
|
+
declare const FLEX_ALIGN_ITEMS: readonly [
|
|
298
|
+
"stretch",
|
|
299
|
+
"flex-start",
|
|
300
|
+
"flex-end",
|
|
301
|
+
"center",
|
|
302
|
+
"baseline"
|
|
303
|
+
];
|
|
304
|
+
export declare type FlexAlignItemsType = typeof FLEX_ALIGN_ITEMS[number];
|
|
305
|
+
export declare type FlexAlignItems = BreakpointCustomizable<FlexAlignItemsType>;
|
|
306
|
+
declare const FLEX_ALIGN_CONTENTS: readonly [
|
|
307
|
+
"stretch",
|
|
308
|
+
"flex-start",
|
|
309
|
+
"flex-end",
|
|
310
|
+
"center",
|
|
311
|
+
"space-between",
|
|
312
|
+
"space-around",
|
|
313
|
+
"space-evenly"
|
|
314
|
+
];
|
|
315
|
+
export declare type FlexAlignContentType = typeof FLEX_ALIGN_CONTENTS[number];
|
|
316
|
+
export declare type FlexAlignContent = BreakpointCustomizable<FlexAlignContentType>;
|
|
317
|
+
declare const FLEX_ITEM_WIDTHS: readonly [
|
|
318
|
+
"auto",
|
|
319
|
+
"one-quarter",
|
|
320
|
+
"one-third",
|
|
321
|
+
"half",
|
|
322
|
+
"two-thirds",
|
|
323
|
+
"three-quarters",
|
|
324
|
+
"full"
|
|
325
|
+
];
|
|
326
|
+
export declare type FlexItemWidthType = typeof FLEX_ITEM_WIDTHS[number];
|
|
327
|
+
export declare type FlexItemWidth = BreakpointCustomizable<FlexItemWidthType>;
|
|
328
|
+
declare const FLEX_ITEM_OFFSETS: readonly [
|
|
329
|
+
"none",
|
|
330
|
+
"one-quarter",
|
|
331
|
+
"one-third",
|
|
332
|
+
"half",
|
|
333
|
+
"two-thirds",
|
|
334
|
+
"three-quarters"
|
|
335
|
+
];
|
|
336
|
+
export declare type FlexItemOffsetType = typeof FLEX_ITEM_OFFSETS[number];
|
|
337
|
+
export declare type FlexItemOffset = BreakpointCustomizable<FlexItemOffsetType>;
|
|
338
|
+
declare const FLEX_ITEM_ALIGN_SELFS: readonly [
|
|
339
|
+
"auto",
|
|
340
|
+
"flex-start",
|
|
341
|
+
"flex-end",
|
|
342
|
+
"center",
|
|
343
|
+
"baseline",
|
|
344
|
+
"stretch"
|
|
345
|
+
];
|
|
346
|
+
export declare type FlexItemAlignSelfType = typeof FLEX_ITEM_ALIGN_SELFS[number];
|
|
347
|
+
export declare type FlexItemAlignSelf = BreakpointCustomizable<FlexItemAlignSelfType>;
|
|
348
|
+
declare const FLEX_ITEM_GROWS: readonly [
|
|
349
|
+
0,
|
|
350
|
+
1
|
|
351
|
+
];
|
|
352
|
+
export declare type FlexItemGrowType = typeof FLEX_ITEM_GROWS[number];
|
|
353
|
+
export declare type FlexItemGrow = BreakpointCustomizable<FlexItemGrowType>;
|
|
354
|
+
declare const FLEX_ITEM_SHRINKS: readonly [
|
|
355
|
+
0,
|
|
356
|
+
1
|
|
357
|
+
];
|
|
358
|
+
export declare type FlexItemShrinkType = typeof FLEX_ITEM_SHRINKS[number];
|
|
359
|
+
export declare type FlexItemShrink = BreakpointCustomizable<FlexItemShrinkType>;
|
|
360
|
+
declare const FLEX_ITEM_FLEXES: readonly [
|
|
361
|
+
"initial",
|
|
362
|
+
"auto",
|
|
363
|
+
"none",
|
|
364
|
+
"equal"
|
|
365
|
+
];
|
|
366
|
+
export declare type FlexItemFlexType = typeof FLEX_ITEM_FLEXES[number];
|
|
367
|
+
export declare type FlexItemFlex = BreakpointCustomizable<FlexItemFlexType>;
|
|
368
|
+
declare const GRID_DIRECTIONS: readonly [
|
|
369
|
+
"row",
|
|
370
|
+
"row-reverse",
|
|
371
|
+
"column",
|
|
372
|
+
"column-reverse"
|
|
373
|
+
];
|
|
374
|
+
export declare type GridDirectionType = typeof GRID_DIRECTIONS[number];
|
|
375
|
+
export declare type GridDirection = BreakpointCustomizable<GridDirectionType>;
|
|
376
|
+
declare const GRID_WRAPS: readonly [
|
|
377
|
+
"nowrap",
|
|
378
|
+
"wrap"
|
|
379
|
+
];
|
|
380
|
+
export declare type GridWrapType = typeof GRID_WRAPS[number];
|
|
381
|
+
export declare type GridWrap = BreakpointCustomizable<GridWrapType>;
|
|
382
|
+
declare const GRID_GUTTERS: readonly [
|
|
383
|
+
16,
|
|
384
|
+
24,
|
|
385
|
+
36
|
|
386
|
+
];
|
|
387
|
+
export declare type GridGutterType = typeof GRID_GUTTERS[number];
|
|
388
|
+
export declare type GridGutter = BreakpointCustomizable<GridGutterType>;
|
|
389
|
+
declare const GRID_ITEM_SIZES: readonly [
|
|
390
|
+
1,
|
|
391
|
+
2,
|
|
392
|
+
3,
|
|
393
|
+
4,
|
|
394
|
+
5,
|
|
395
|
+
6,
|
|
396
|
+
7,
|
|
397
|
+
8,
|
|
398
|
+
9,
|
|
399
|
+
10,
|
|
400
|
+
11,
|
|
401
|
+
12
|
|
402
|
+
];
|
|
403
|
+
export declare type GridItemSizeType = typeof GRID_ITEM_SIZES[number];
|
|
404
|
+
export declare type GridItemSize = BreakpointCustomizable<GridItemSizeType>;
|
|
405
|
+
declare const GRID_ITEM_OFFSETS: readonly [
|
|
406
|
+
0,
|
|
407
|
+
1,
|
|
408
|
+
2,
|
|
409
|
+
3,
|
|
410
|
+
4,
|
|
411
|
+
5,
|
|
412
|
+
6,
|
|
413
|
+
7,
|
|
414
|
+
8,
|
|
415
|
+
9,
|
|
416
|
+
10,
|
|
417
|
+
11
|
|
418
|
+
];
|
|
419
|
+
export declare type GridItemOffsetType = typeof GRID_ITEM_OFFSETS[number];
|
|
420
|
+
export declare type GridItemOffset = BreakpointCustomizable<GridItemOffsetType>;
|
|
421
|
+
declare const ICON_ARIA_ATTRIBUTES: readonly [
|
|
422
|
+
"aria-label"
|
|
423
|
+
];
|
|
424
|
+
export declare type IconAriaAttributes = typeof ICON_ARIA_ATTRIBUTES[number];
|
|
425
|
+
declare const INLINE_NOTIFICATION_STATES: readonly [
|
|
426
|
+
"error",
|
|
427
|
+
"warning",
|
|
428
|
+
"neutral",
|
|
429
|
+
"success"
|
|
430
|
+
];
|
|
431
|
+
export declare type InlineNotificationState = typeof INLINE_NOTIFICATION_STATES[number];
|
|
432
|
+
declare const LINK_ARIA_ATTRIBUTES: readonly [
|
|
433
|
+
"aria-label"
|
|
434
|
+
];
|
|
435
|
+
export declare type LinkAriaAttributes = typeof LINK_ARIA_ATTRIBUTES[number];
|
|
436
|
+
export declare type SocialIconName = Extract<IconName, "logo-facebook" | "logo-google" | "logo-instagram" | "logo-linkedin" | "logo-pinterest" | "logo-twitter" | "logo-wechat" | "logo-whatsapp" | "logo-xing" | "logo-youtube" | "logo-baidu" | "logo-delicious" | "logo-digg" | "logo-foursquare" | "logo-gmail" | "logo-hatena" | "logo-kaixin" | "logo-kakaotalk" | "logo-naver" | "logo-qq-share" | "logo-qq" | "logo-reddit" | "logo-skyrock" | "logo-sohu" | "logo-tecent" | "logo-telegram" | "logo-tiktok" | "logo-tumblr" | "logo-viber" | "logo-vk" | "logo-weibo" | "logo-yahoo" | "logo-youku">;
|
|
437
|
+
export declare type MarqueSize = "responsive" | "small" | "medium";
|
|
438
|
+
declare const MARQUE_ARIA_ATTRIBUTES: readonly [
|
|
439
|
+
"aria-label"
|
|
440
|
+
];
|
|
441
|
+
export declare type MarqueAriaAttributes = typeof MARQUE_ARIA_ATTRIBUTES[number];
|
|
442
|
+
declare const MODAL_ARIA_ATTRIBUTES: readonly [
|
|
443
|
+
"aria-label"
|
|
444
|
+
];
|
|
445
|
+
export declare type ModalAriaAttributes = typeof MODAL_ARIA_ATTRIBUTES[number];
|
|
446
|
+
/**
|
|
447
|
+
* Universal pagination model generation algorithm
|
|
448
|
+
*
|
|
449
|
+
* The idea behind this module is to move the logic of creating pagination out of the component
|
|
450
|
+
* and place it in a separate module.
|
|
451
|
+
*
|
|
452
|
+
* Adapted from ultimate-pagination
|
|
453
|
+
* https://github.com/ultimate-pagination/ultimate-pagination
|
|
454
|
+
*
|
|
455
|
+
*/
|
|
456
|
+
export declare type NumberOfPageLinks = 5 | 7;
|
|
457
|
+
export declare type PageChangeEvent = {
|
|
458
|
+
page: number;
|
|
459
|
+
previousPage: number;
|
|
460
|
+
};
|
|
461
|
+
declare const POPOVER_DIRECTIONS: readonly [
|
|
462
|
+
"top",
|
|
463
|
+
"right",
|
|
464
|
+
"bottom",
|
|
465
|
+
"left"
|
|
466
|
+
];
|
|
467
|
+
export declare type PopoverDirection = typeof POPOVER_DIRECTIONS[number];
|
|
468
|
+
export declare type GradientColorTheme = "default" | "surface";
|
|
469
|
+
export declare type ScrollToPosition = {
|
|
470
|
+
scrollPosition: number;
|
|
471
|
+
isSmooth?: boolean;
|
|
472
|
+
};
|
|
473
|
+
export declare type PrevNextButtonJssStyle = any;
|
|
474
|
+
export declare type DropdownDirectionInternal = "down" | "up";
|
|
475
|
+
export declare type DropdownDirection = DropdownDirectionInternal | "auto";
|
|
476
|
+
declare const SPINNER_SIZES: readonly [
|
|
477
|
+
"small",
|
|
478
|
+
"medium",
|
|
479
|
+
"large",
|
|
480
|
+
"inherit"
|
|
481
|
+
];
|
|
482
|
+
export declare type SpinnerSizeType = typeof SPINNER_SIZES[number];
|
|
483
|
+
export declare type SpinnerSize = BreakpointCustomizable<SpinnerSizeType>;
|
|
484
|
+
declare const SPINNER_ARIA_ATTRIBUTES: readonly [
|
|
485
|
+
"aria-label"
|
|
486
|
+
];
|
|
487
|
+
export declare type SpinnerAriaAttributes = typeof SPINNER_ARIA_ATTRIBUTES[number];
|
|
488
|
+
export declare type SwitchChangeEvent = {
|
|
489
|
+
checked: boolean;
|
|
490
|
+
};
|
|
491
|
+
export declare type Direction = "asc" | "desc";
|
|
492
|
+
export declare type TableHeadCellSort = {
|
|
493
|
+
id: string;
|
|
494
|
+
active: boolean;
|
|
495
|
+
direction: Direction;
|
|
496
|
+
};
|
|
497
|
+
export declare type SortingChangeEvent = TableHeadCellSort;
|
|
498
|
+
declare const TAB_SIZE: readonly [
|
|
499
|
+
"small",
|
|
500
|
+
"medium"
|
|
501
|
+
];
|
|
502
|
+
export declare type TabSize = typeof TAB_SIZE[number];
|
|
503
|
+
export declare type TabWeight = Extract<TextWeight, "regular" | "semibold">;
|
|
504
|
+
export declare type TabChangeEvent = {
|
|
505
|
+
activeTabIndex: number;
|
|
506
|
+
};
|
|
507
|
+
export declare type TabGradientColorTheme = GradientColorTheme;
|
|
508
|
+
declare const TAG_COLORS: readonly [
|
|
509
|
+
"background-surface",
|
|
510
|
+
"background-default",
|
|
511
|
+
"neutral-contrast-high",
|
|
512
|
+
"notification-neutral",
|
|
513
|
+
"notification-warning",
|
|
514
|
+
"notification-success",
|
|
515
|
+
"notification-error"
|
|
516
|
+
];
|
|
517
|
+
export declare type TagColor = typeof TAG_COLORS[number];
|
|
518
|
+
declare const TAG_DISMISSIBLE_COLORS: readonly [
|
|
519
|
+
"background-surface",
|
|
520
|
+
"background-default"
|
|
521
|
+
];
|
|
522
|
+
export declare type TagDismissibleColor = typeof TAG_DISMISSIBLE_COLORS[number];
|
|
523
|
+
declare const TAG_DISMISSIBLE_ARIA_ATTRIBUTES: readonly [
|
|
524
|
+
"aria-label"
|
|
525
|
+
];
|
|
526
|
+
export declare type TagDismissibleAriaAttribute = typeof TAG_DISMISSIBLE_ARIA_ATTRIBUTES[number];
|
|
527
|
+
declare const UNIT_POSITIONS: readonly [
|
|
528
|
+
"prefix",
|
|
529
|
+
"suffix"
|
|
530
|
+
];
|
|
531
|
+
export declare type TextFieldWrapperUnitPosition = typeof UNIT_POSITIONS[number];
|
|
532
|
+
export declare type ListType = "unordered" | "ordered";
|
|
533
|
+
export declare type OrderType = "numbered" | "alphabetically";
|
|
534
|
+
declare const TOAST_STATES: readonly [
|
|
535
|
+
"neutral",
|
|
536
|
+
"success"
|
|
537
|
+
];
|
|
538
|
+
export declare type ToastState = typeof TOAST_STATES[number];
|
|
539
|
+
export declare type ToastMessage = {
|
|
540
|
+
text: string;
|
|
541
|
+
state?: ToastState;
|
|
542
|
+
};
|
|
543
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@porsche-design-system/components-angular",
|
|
3
|
+
"version": "2.13.0-rc.0",
|
|
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
|
+
"keywords": [
|
|
6
|
+
"porsche",
|
|
7
|
+
"design",
|
|
8
|
+
"system",
|
|
9
|
+
"web",
|
|
10
|
+
"component",
|
|
11
|
+
"library",
|
|
12
|
+
"angular",
|
|
13
|
+
"js"
|
|
14
|
+
],
|
|
15
|
+
"scope": "@porsche-design-system",
|
|
16
|
+
"author": "Dr. Ing. h.c. F. Porsche AG",
|
|
17
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
18
|
+
"homepage": "https://designsystem.porsche.com",
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@porsche-design-system/components-js": "2.13.0-rc.0",
|
|
21
|
+
"tslib": "^2.0.1"
|
|
22
|
+
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"@angular/common": ">=12.0.0 <14.0.0",
|
|
25
|
+
"@angular/core": ">=12.0.0 <14.0.0"
|
|
26
|
+
},
|
|
27
|
+
"exports": {
|
|
28
|
+
"./partials": {
|
|
29
|
+
"types": "./partials/partials.d.ts",
|
|
30
|
+
"import": "./partials/esm/partials.js",
|
|
31
|
+
"require": "./partials/partials.js"
|
|
32
|
+
},
|
|
33
|
+
"./utilities/js": {
|
|
34
|
+
"types": "./utilities/js/js.d.ts",
|
|
35
|
+
"import": "./utilities/js/esm/js.js",
|
|
36
|
+
"require": "./utilities/js/js.js"
|
|
37
|
+
},
|
|
38
|
+
"./package.json": {
|
|
39
|
+
"default": "./package.json"
|
|
40
|
+
},
|
|
41
|
+
".": {
|
|
42
|
+
"types": "./porsche-design-system-components-angular.d.ts",
|
|
43
|
+
"esm2020": "./esm2020/porsche-design-system-components-angular.mjs",
|
|
44
|
+
"es2020": "./fesm2020/porsche-design-system-components-angular.mjs",
|
|
45
|
+
"es2015": "./fesm2015/porsche-design-system-components-angular.mjs",
|
|
46
|
+
"node": "./fesm2015/porsche-design-system-components-angular.mjs",
|
|
47
|
+
"default": "./fesm2020/porsche-design-system-components-angular.mjs"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"module": "fesm2015/porsche-design-system-components-angular.mjs",
|
|
51
|
+
"es2020": "fesm2020/porsche-design-system-components-angular.mjs",
|
|
52
|
+
"esm2020": "esm2020/porsche-design-system-components-angular.mjs",
|
|
53
|
+
"fesm2020": "fesm2020/porsche-design-system-components-angular.mjs",
|
|
54
|
+
"fesm2015": "fesm2015/porsche-design-system-components-angular.mjs",
|
|
55
|
+
"typings": "porsche-design-system-components-angular.d.ts",
|
|
56
|
+
"sideEffects": false
|
|
57
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@porsche-design-system/components-js/partials';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@porsche-design-system/components-js/partials';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var partials = require('@porsche-design-system/components-js/partials');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.keys(partials).forEach(function (k) {
|
|
10
|
+
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return partials[k]; }
|
|
13
|
+
});
|
|
14
|
+
});
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { componentsReady } from '@porsche-design-system/components-js';
|
|
2
|
+
export * from './lib/components/barrel';
|
|
3
|
+
export * from './lib/types';
|
|
4
|
+
export { PorscheDesignSystemModule, PorscheDesignSystemModuleConfig } from './components-wrapper.module';
|
|
5
|
+
export { ToastManager } from './toast-manager';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ToastMessage } from './public-api';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ToastManager {
|
|
4
|
+
addMessage(message: ToastMessage): void;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastManager, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToastManager>;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@porsche-design-system/components-js/utilities/js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@porsche-design-system/components-js/utilities/js';
|