@porsche-design-system/components-angular 2.14.0-rc.0 → 2.15.0-beta.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 +24 -0
- package/esm2020/components-wrapper.module.mjs +5 -5
- package/esm2020/lib/components/accordion.wrapper.mjs +4 -4
- package/esm2020/lib/components/banner.wrapper.mjs +4 -4
- package/esm2020/lib/components/button-group.wrapper.mjs +4 -4
- package/esm2020/lib/components/button-pure.wrapper.mjs +4 -4
- package/esm2020/lib/components/button.wrapper.mjs +4 -4
- package/esm2020/lib/components/checkbox-wrapper.wrapper.mjs +4 -4
- package/esm2020/lib/components/content-wrapper.wrapper.mjs +4 -4
- package/esm2020/lib/components/divider.wrapper.mjs +4 -4
- package/esm2020/lib/components/fieldset-wrapper.wrapper.mjs +4 -4
- package/esm2020/lib/components/flex-item.wrapper.mjs +4 -4
- package/esm2020/lib/components/flex.wrapper.mjs +4 -4
- package/esm2020/lib/components/grid-item.wrapper.mjs +4 -4
- package/esm2020/lib/components/grid.wrapper.mjs +4 -4
- package/esm2020/lib/components/headline.wrapper.mjs +4 -4
- package/esm2020/lib/components/icon.wrapper.mjs +4 -4
- package/esm2020/lib/components/inline-notification.wrapper.mjs +4 -4
- package/esm2020/lib/components/link-pure.wrapper.mjs +4 -4
- package/esm2020/lib/components/link-social.wrapper.mjs +4 -4
- package/esm2020/lib/components/link.wrapper.mjs +4 -4
- package/esm2020/lib/components/marque.wrapper.mjs +4 -4
- package/esm2020/lib/components/modal.wrapper.mjs +4 -4
- package/esm2020/lib/components/pagination.wrapper.mjs +4 -4
- package/esm2020/lib/components/popover.wrapper.mjs +4 -4
- package/esm2020/lib/components/radio-button-wrapper.wrapper.mjs +4 -4
- package/esm2020/lib/components/segmented-control-item.wrapper.mjs +4 -4
- package/esm2020/lib/components/segmented-control.wrapper.mjs +4 -4
- package/esm2020/lib/components/select-wrapper.wrapper.mjs +4 -4
- package/esm2020/lib/components/spinner.wrapper.mjs +4 -4
- package/esm2020/lib/components/stepper-horizontal-item.wrapper.mjs +4 -4
- package/esm2020/lib/components/stepper-horizontal.wrapper.mjs +4 -4
- package/esm2020/lib/components/switch.wrapper.mjs +4 -4
- package/esm2020/lib/components/table-body.wrapper.mjs +4 -4
- package/esm2020/lib/components/table-cell.wrapper.mjs +4 -4
- package/esm2020/lib/components/table-head-cell.wrapper.mjs +4 -4
- package/esm2020/lib/components/table-head-row.wrapper.mjs +4 -4
- package/esm2020/lib/components/table-head.wrapper.mjs +4 -4
- package/esm2020/lib/components/table-row.wrapper.mjs +4 -4
- package/esm2020/lib/components/table.wrapper.mjs +4 -4
- package/esm2020/lib/components/tabs-bar.wrapper.mjs +4 -4
- package/esm2020/lib/components/tabs-item.wrapper.mjs +4 -4
- package/esm2020/lib/components/tabs.wrapper.mjs +4 -4
- package/esm2020/lib/components/tag-dismissible.wrapper.mjs +4 -4
- package/esm2020/lib/components/tag.wrapper.mjs +4 -4
- package/esm2020/lib/components/text-field-wrapper.wrapper.mjs +10 -7
- package/esm2020/lib/components/text-list-item.wrapper.mjs +4 -4
- package/esm2020/lib/components/text-list.wrapper.mjs +4 -4
- package/esm2020/lib/components/text.wrapper.mjs +4 -4
- package/esm2020/lib/components/textarea-wrapper.wrapper.mjs +4 -4
- package/esm2020/lib/components/toast.wrapper.mjs +4 -4
- package/esm2020/lib/types.mjs +1 -1
- package/esm2020/toast-manager.mjs +4 -4
- package/fesm2015/porsche-design-system-components-angular.mjs +192 -189
- package/fesm2015/porsche-design-system-components-angular.mjs.map +1 -1
- package/fesm2020/porsche-design-system-components-angular.mjs +192 -189
- package/fesm2020/porsche-design-system-components-angular.mjs.map +1 -1
- package/{porsche-design-system-components-angular.d.ts → index.d.ts} +0 -0
- package/lib/components/accordion.wrapper.d.ts +1 -1
- package/lib/components/banner.wrapper.d.ts +3 -3
- package/lib/components/button-group.wrapper.d.ts +1 -1
- package/lib/components/button-pure.wrapper.d.ts +1 -1
- package/lib/components/button.wrapper.d.ts +1 -1
- package/lib/components/checkbox-wrapper.wrapper.d.ts +1 -1
- package/lib/components/content-wrapper.wrapper.d.ts +1 -1
- package/lib/components/divider.wrapper.d.ts +1 -1
- package/lib/components/fieldset-wrapper.wrapper.d.ts +1 -1
- package/lib/components/flex-item.wrapper.d.ts +1 -1
- package/lib/components/flex.wrapper.d.ts +1 -1
- package/lib/components/grid-item.wrapper.d.ts +1 -1
- package/lib/components/grid.wrapper.d.ts +1 -1
- package/lib/components/headline.wrapper.d.ts +1 -1
- package/lib/components/icon.wrapper.d.ts +1 -1
- package/lib/components/inline-notification.wrapper.d.ts +1 -1
- package/lib/components/link-pure.wrapper.d.ts +1 -1
- package/lib/components/link-social.wrapper.d.ts +1 -1
- package/lib/components/link.wrapper.d.ts +1 -1
- package/lib/components/marque.wrapper.d.ts +1 -1
- package/lib/components/modal.wrapper.d.ts +1 -1
- package/lib/components/pagination.wrapper.d.ts +1 -1
- package/lib/components/popover.wrapper.d.ts +1 -1
- package/lib/components/radio-button-wrapper.wrapper.d.ts +1 -1
- package/lib/components/segmented-control-item.wrapper.d.ts +1 -1
- package/lib/components/segmented-control.wrapper.d.ts +1 -1
- package/lib/components/select-wrapper.wrapper.d.ts +1 -1
- package/lib/components/spinner.wrapper.d.ts +1 -1
- package/lib/components/stepper-horizontal-item.wrapper.d.ts +1 -1
- package/lib/components/stepper-horizontal.wrapper.d.ts +1 -1
- package/lib/components/switch.wrapper.d.ts +1 -1
- package/lib/components/table-body.wrapper.d.ts +1 -1
- package/lib/components/table-cell.wrapper.d.ts +1 -1
- package/lib/components/table-head-cell.wrapper.d.ts +1 -1
- package/lib/components/table-head-row.wrapper.d.ts +1 -1
- package/lib/components/table-head.wrapper.d.ts +1 -1
- package/lib/components/table-row.wrapper.d.ts +1 -1
- package/lib/components/table.wrapper.d.ts +1 -1
- package/lib/components/tabs-bar.wrapper.d.ts +1 -1
- package/lib/components/tabs-item.wrapper.d.ts +1 -1
- package/lib/components/tabs.wrapper.d.ts +1 -1
- package/lib/components/tag-dismissible.wrapper.d.ts +1 -1
- package/lib/components/tag.wrapper.d.ts +1 -1
- package/lib/components/text-field-wrapper.wrapper.d.ts +6 -3
- package/lib/components/text-list-item.wrapper.d.ts +1 -1
- package/lib/components/text-list.wrapper.d.ts +1 -1
- package/lib/components/text.wrapper.d.ts +3 -3
- package/lib/components/textarea-wrapper.wrapper.d.ts +1 -1
- package/lib/components/toast.wrapper.d.ts +1 -1
- package/lib/types.d.ts +206 -60
- package/package.json +4 -4
package/lib/types.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
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 FORM_STATES: readonly [
|
|
3
|
+
"none",
|
|
4
|
+
"error",
|
|
5
|
+
"success"
|
|
6
|
+
];
|
|
7
|
+
export declare type FormState = typeof FORM_STATES[number];
|
|
2
8
|
declare const BUTTON_ARIA_ATTRIBUTES: readonly [
|
|
3
9
|
"aria-label",
|
|
4
10
|
"aria-expanded",
|
|
@@ -21,21 +27,46 @@ export declare type BreakpointValues<T> = {
|
|
|
21
27
|
base: T;
|
|
22
28
|
};
|
|
23
29
|
export declare type BreakpointCustomizable<T> = T | BreakpointValues<T>;
|
|
24
|
-
|
|
30
|
+
declare const GRADIENT_COLOR_THEMES: readonly [
|
|
31
|
+
"default",
|
|
32
|
+
"surface"
|
|
33
|
+
];
|
|
34
|
+
export declare type GradientColorTheme = typeof GRADIENT_COLOR_THEMES[number];
|
|
25
35
|
export declare type ScrollToPosition = {
|
|
26
36
|
scrollPosition: number;
|
|
27
37
|
isSmooth?: boolean;
|
|
28
38
|
};
|
|
29
39
|
export declare type PrevNextButtonJssStyle = any;
|
|
30
|
-
declare const
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
40
|
+
declare const THEMES: readonly [
|
|
41
|
+
"light",
|
|
42
|
+
"dark"
|
|
43
|
+
];
|
|
44
|
+
export declare type Theme = typeof THEMES[number];
|
|
45
|
+
declare const THEMES_EXTENDED_ELECTRIC: readonly [
|
|
46
|
+
"light",
|
|
47
|
+
"dark",
|
|
48
|
+
"light-electric"
|
|
49
|
+
];
|
|
50
|
+
export declare type ThemeExtendedElectric = typeof THEMES_EXTENDED_ELECTRIC[number];
|
|
51
|
+
declare const THEMES_EXTENDED_ELECTRIC_DARK: readonly [
|
|
52
|
+
"light",
|
|
53
|
+
"dark",
|
|
54
|
+
"light-electric",
|
|
55
|
+
"dark-electric"
|
|
56
|
+
];
|
|
57
|
+
export declare type ThemeExtendedElectricDark = typeof THEMES_EXTENDED_ELECTRIC_DARK[number];
|
|
58
|
+
declare const ALIGN_LABELS: readonly [
|
|
59
|
+
"left",
|
|
60
|
+
"right"
|
|
61
|
+
];
|
|
62
|
+
export declare type AlignLabelType = typeof ALIGN_LABELS[number];
|
|
63
|
+
export declare type AlignLabel = BreakpointCustomizable<AlignLabelType>;
|
|
64
|
+
declare const BUTTON_TYPES: readonly [
|
|
65
|
+
"button",
|
|
66
|
+
"submit",
|
|
67
|
+
"reset"
|
|
37
68
|
];
|
|
38
|
-
export declare type
|
|
69
|
+
export declare type ButtonType = typeof BUTTON_TYPES[number];
|
|
39
70
|
declare const HEADLINE_VARIANTS: readonly [
|
|
40
71
|
"large-title",
|
|
41
72
|
"headline-1",
|
|
@@ -47,7 +78,70 @@ declare const HEADLINE_VARIANTS: readonly [
|
|
|
47
78
|
export declare type VariantType = typeof HEADLINE_VARIANTS[number];
|
|
48
79
|
export declare type HeadlineVariantCustom = Exclude<BreakpointCustomizable<TextSize>, TextSize>;
|
|
49
80
|
export declare type HeadlineVariant = VariantType | HeadlineVariantCustom | Extract<TextSize, "inherit">;
|
|
50
|
-
|
|
81
|
+
declare const HEADLINE_TAGS: readonly [
|
|
82
|
+
"h1",
|
|
83
|
+
"h2",
|
|
84
|
+
"h3",
|
|
85
|
+
"h4",
|
|
86
|
+
"h5",
|
|
87
|
+
"h6"
|
|
88
|
+
];
|
|
89
|
+
export declare type HeadlineTag = typeof HEADLINE_TAGS[number];
|
|
90
|
+
declare const ICON_SIZES: readonly [
|
|
91
|
+
"small",
|
|
92
|
+
"medium",
|
|
93
|
+
"large",
|
|
94
|
+
"inherit"
|
|
95
|
+
];
|
|
96
|
+
export declare type IconSize = typeof ICON_SIZES[number];
|
|
97
|
+
declare const LINK_BUTTON_VARIANTS: readonly [
|
|
98
|
+
"primary",
|
|
99
|
+
"secondary",
|
|
100
|
+
"tertiary"
|
|
101
|
+
];
|
|
102
|
+
export declare type LinkButtonVariant = typeof LINK_BUTTON_VARIANTS[number];
|
|
103
|
+
declare const TEXT_ALIGNS: readonly [
|
|
104
|
+
"left",
|
|
105
|
+
"center",
|
|
106
|
+
"right"
|
|
107
|
+
];
|
|
108
|
+
export declare type TextAlign = typeof TEXT_ALIGNS[number];
|
|
109
|
+
declare const TEXT_COLORS: readonly [
|
|
110
|
+
"brand",
|
|
111
|
+
"default",
|
|
112
|
+
"neutral-contrast-high",
|
|
113
|
+
"neutral-contrast-medium",
|
|
114
|
+
"neutral-contrast-low",
|
|
115
|
+
"notification-success",
|
|
116
|
+
"notification-warning",
|
|
117
|
+
"notification-error",
|
|
118
|
+
"notification-neutral",
|
|
119
|
+
"inherit"
|
|
120
|
+
];
|
|
121
|
+
export declare type TextColor = typeof TEXT_COLORS[number];
|
|
122
|
+
declare const TEXT_SIZES: readonly [
|
|
123
|
+
"x-small",
|
|
124
|
+
"small",
|
|
125
|
+
"medium",
|
|
126
|
+
"large",
|
|
127
|
+
"x-large",
|
|
128
|
+
"inherit"
|
|
129
|
+
];
|
|
130
|
+
export declare type TextSize = typeof TEXT_SIZES[number];
|
|
131
|
+
declare const TEXT_WEIGHTS: readonly [
|
|
132
|
+
"thin",
|
|
133
|
+
"regular",
|
|
134
|
+
"semibold",
|
|
135
|
+
"bold"
|
|
136
|
+
];
|
|
137
|
+
export declare type TextWeight = typeof TEXT_WEIGHTS[number];
|
|
138
|
+
declare const LINK_TARGETS: readonly [
|
|
139
|
+
"_self",
|
|
140
|
+
"_blank",
|
|
141
|
+
"_parent",
|
|
142
|
+
"_top"
|
|
143
|
+
];
|
|
144
|
+
export declare type LinkTarget = typeof LINK_TARGETS[number] | string;
|
|
51
145
|
export declare type Booleanish = boolean | "true" | "false";
|
|
52
146
|
export declare type AriaAttributes = {
|
|
53
147
|
/** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
|
|
@@ -235,28 +329,15 @@ export declare type AriaAttributes = {
|
|
|
235
329
|
/** Defines the human readable text alternative of aria-valuenow for a range widget. */
|
|
236
330
|
"aria-valuetext"?: string | undefined;
|
|
237
331
|
};
|
|
238
|
-
export declare type TextWeight = "thin" | "regular" | "semibold" | "bold";
|
|
239
|
-
export declare type TextColor = "brand" | "default" | "neutral-contrast-high" | "neutral-contrast-medium" | "neutral-contrast-low" | "notification-success" | "notification-warning" | "notification-error" | "notification-neutral" | "inherit";
|
|
240
|
-
export declare type TextAlign = "left" | "center" | "right";
|
|
241
|
-
export declare type Theme = "light" | "dark";
|
|
242
|
-
export declare type ThemeExtendedElectric = Theme | "light-electric";
|
|
243
|
-
export declare type ThemeExtendedElectricDark = ThemeExtendedElectric | "dark-electric";
|
|
244
|
-
export declare type IconSize = "small" | "medium" | "large" | "inherit";
|
|
245
332
|
export declare type LinkButtonPureIconName = IconName | "none";
|
|
246
|
-
export declare type LinkButtonVariant = "primary" | "secondary" | "tertiary";
|
|
247
333
|
export declare type ButtonVariant = LinkButtonVariant;
|
|
248
|
-
export declare type ButtonType = "button" | "submit" | "reset";
|
|
249
334
|
export declare type LinkVariant = LinkButtonVariant;
|
|
250
|
-
export declare type
|
|
251
|
-
|
|
252
|
-
export declare type AlignLabelType = "left" | "right";
|
|
253
|
-
export declare type AlignLabel = BreakpointCustomizable<AlignLabelType>;
|
|
254
|
-
export declare type SelectedAriaAttributes<T extends keyof AriaAttributes> = Pick<AriaAttributes, T>;
|
|
255
|
-
declare const ACCORDION_SIZE: readonly [
|
|
335
|
+
export declare type SelectedAriaAttributes<T extends keyof AriaAttributes> = Pick<AriaAttributes, T> | string;
|
|
336
|
+
declare const ACCORDION_SIZES: readonly [
|
|
256
337
|
"small",
|
|
257
338
|
"medium"
|
|
258
339
|
];
|
|
259
|
-
export declare type AccordionSize = typeof
|
|
340
|
+
export declare type AccordionSize = typeof ACCORDION_SIZES[number];
|
|
260
341
|
export declare type AccordionChangeEvent = {
|
|
261
342
|
open: boolean;
|
|
262
343
|
};
|
|
@@ -266,15 +347,48 @@ declare const BANNER_STATES: readonly [
|
|
|
266
347
|
"neutral"
|
|
267
348
|
];
|
|
268
349
|
export declare type BannerState = typeof BANNER_STATES[number];
|
|
269
|
-
|
|
350
|
+
declare const BANNER_WIDTHS: readonly [
|
|
351
|
+
"basic",
|
|
352
|
+
"extended",
|
|
353
|
+
"fluid"
|
|
354
|
+
];
|
|
355
|
+
export declare type BannerWidth = typeof BANNER_WIDTHS[number];
|
|
356
|
+
declare const BUTTON_GROUP_DIRECTIONS: readonly [
|
|
357
|
+
"row",
|
|
358
|
+
"column"
|
|
359
|
+
];
|
|
360
|
+
export declare type ButtonGroupDirectionType = typeof BUTTON_GROUP_DIRECTIONS[number];
|
|
270
361
|
export declare type ButtonGroupDirection = BreakpointCustomizable<ButtonGroupDirectionType>;
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
export declare type
|
|
276
|
-
|
|
277
|
-
|
|
362
|
+
declare const CONTENT_WRAPPER_BACKGROUND_COLORS: readonly [
|
|
363
|
+
"transparent",
|
|
364
|
+
"default"
|
|
365
|
+
];
|
|
366
|
+
export declare type ContentWrapperBackgroundColor = typeof CONTENT_WRAPPER_BACKGROUND_COLORS[number];
|
|
367
|
+
declare const CONTENT_WRAPPER_WIDTHS: readonly [
|
|
368
|
+
"basic",
|
|
369
|
+
"extended",
|
|
370
|
+
"fluid"
|
|
371
|
+
];
|
|
372
|
+
export declare type ContentWrapperWidth = typeof CONTENT_WRAPPER_WIDTHS[number];
|
|
373
|
+
declare const DIVIDER_COLORS: readonly [
|
|
374
|
+
"neutral-contrast-high",
|
|
375
|
+
"neutral-contrast-medium",
|
|
376
|
+
"neutral-contrast-low"
|
|
377
|
+
];
|
|
378
|
+
export declare type DividerColor = typeof DIVIDER_COLORS[number];
|
|
379
|
+
declare const DIVIDER_ORIENTATIONS: readonly [
|
|
380
|
+
"vertical",
|
|
381
|
+
"horizontal"
|
|
382
|
+
];
|
|
383
|
+
export declare type DividerOrientationType = typeof DIVIDER_ORIENTATIONS[number];
|
|
384
|
+
export declare type DividerOrientation = BreakpointCustomizable<DividerOrientationType>;
|
|
385
|
+
declare const FIELDSET_WRAPPER_LABEL_SIZES: readonly [
|
|
386
|
+
"small",
|
|
387
|
+
"medium"
|
|
388
|
+
];
|
|
389
|
+
export declare type FieldsetWrapperLabelSize = typeof FIELDSET_WRAPPER_LABEL_SIZES[number];
|
|
390
|
+
export declare type FlexInlineType = boolean;
|
|
391
|
+
export declare type FlexInline = BreakpointCustomizable<FlexInlineType>;
|
|
278
392
|
declare const FLEX_WRAPS: readonly [
|
|
279
393
|
"nowrap",
|
|
280
394
|
"wrap",
|
|
@@ -282,13 +396,13 @@ declare const FLEX_WRAPS: readonly [
|
|
|
282
396
|
];
|
|
283
397
|
export declare type FlexWrapType = typeof FLEX_WRAPS[number];
|
|
284
398
|
export declare type FlexWrap = BreakpointCustomizable<FlexWrapType>;
|
|
285
|
-
declare const
|
|
399
|
+
declare const FLEX_DIRECTIONS: readonly [
|
|
286
400
|
"row",
|
|
287
401
|
"row-reverse",
|
|
288
402
|
"column",
|
|
289
403
|
"column-reverse"
|
|
290
404
|
];
|
|
291
|
-
export declare type FlexDirectionType = typeof
|
|
405
|
+
export declare type FlexDirectionType = typeof FLEX_DIRECTIONS[number];
|
|
292
406
|
export declare type FlexDirection = BreakpointCustomizable<FlexDirectionType>;
|
|
293
407
|
declare const FLEX_JUSTIFY_CONTENTS: readonly [
|
|
294
408
|
"flex-start",
|
|
@@ -363,13 +477,13 @@ declare const FLEX_ITEM_SHRINKS: readonly [
|
|
|
363
477
|
];
|
|
364
478
|
export declare type FlexItemShrinkType = typeof FLEX_ITEM_SHRINKS[number];
|
|
365
479
|
export declare type FlexItemShrink = BreakpointCustomizable<FlexItemShrinkType>;
|
|
366
|
-
declare const
|
|
480
|
+
declare const FLEX_ITEM_FLEXS: readonly [
|
|
367
481
|
"initial",
|
|
368
482
|
"auto",
|
|
369
483
|
"none",
|
|
370
484
|
"equal"
|
|
371
485
|
];
|
|
372
|
-
export declare type FlexItemFlexType = typeof
|
|
486
|
+
export declare type FlexItemFlexType = typeof FLEX_ITEM_FLEXS[number];
|
|
373
487
|
export declare type FlexItemFlex = BreakpointCustomizable<FlexItemFlexType>;
|
|
374
488
|
declare const GRID_DIRECTIONS: readonly [
|
|
375
489
|
"row",
|
|
@@ -440,7 +554,12 @@ declare const LINK_ARIA_ATTRIBUTES: readonly [
|
|
|
440
554
|
];
|
|
441
555
|
export declare type LinkAriaAttributes = typeof LINK_ARIA_ATTRIBUTES[number];
|
|
442
556
|
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">;
|
|
443
|
-
|
|
557
|
+
declare const MARQUE_SIZES: readonly [
|
|
558
|
+
"responsive",
|
|
559
|
+
"small",
|
|
560
|
+
"medium"
|
|
561
|
+
];
|
|
562
|
+
export declare type MarqueSize = typeof MARQUE_SIZES[number];
|
|
444
563
|
declare const MARQUE_ARIA_ATTRIBUTES: readonly [
|
|
445
564
|
"aria-label"
|
|
446
565
|
];
|
|
@@ -449,17 +568,11 @@ declare const MODAL_ARIA_ATTRIBUTES: readonly [
|
|
|
449
568
|
"aria-label"
|
|
450
569
|
];
|
|
451
570
|
export declare type ModalAriaAttributes = typeof MODAL_ARIA_ATTRIBUTES[number];
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
*
|
|
458
|
-
* Adapted from ultimate-pagination
|
|
459
|
-
* https://github.com/ultimate-pagination/ultimate-pagination
|
|
460
|
-
*
|
|
461
|
-
*/
|
|
462
|
-
export declare type NumberOfPageLinks = 5 | 7;
|
|
571
|
+
declare const PAGINATION_NUMBER_OF_PAGE_LINKS: readonly [
|
|
572
|
+
5,
|
|
573
|
+
7
|
|
574
|
+
];
|
|
575
|
+
export declare type NumberOfPageLinks = typeof PAGINATION_NUMBER_OF_PAGE_LINKS[number];
|
|
463
576
|
export declare type PageChangeEvent = {
|
|
464
577
|
page: number;
|
|
465
578
|
previousPage: number;
|
|
@@ -479,8 +592,12 @@ export declare type SegmentedControlBackgroundColor = typeof SEGMENTED_CONTROL_B
|
|
|
479
592
|
export declare type SegmentedControlChangeEvent = {
|
|
480
593
|
value: string | number;
|
|
481
594
|
};
|
|
482
|
-
|
|
483
|
-
|
|
595
|
+
declare const DROPDOWN_DIRECTIONS: readonly [
|
|
596
|
+
"down",
|
|
597
|
+
"up",
|
|
598
|
+
"auto"
|
|
599
|
+
];
|
|
600
|
+
export declare type DropdownDirection = typeof DROPDOWN_DIRECTIONS[number];
|
|
484
601
|
declare const SPINNER_SIZES: readonly [
|
|
485
602
|
"small",
|
|
486
603
|
"medium",
|
|
@@ -496,23 +613,32 @@ export declare type SpinnerAriaAttributes = typeof SPINNER_ARIA_ATTRIBUTES[numbe
|
|
|
496
613
|
export declare type StepChangeEvent = {
|
|
497
614
|
activeStepIndex: number;
|
|
498
615
|
};
|
|
499
|
-
|
|
616
|
+
declare const STEPPER_ITEM_STATES: readonly [
|
|
617
|
+
"current",
|
|
618
|
+
"complete",
|
|
619
|
+
"warning"
|
|
620
|
+
];
|
|
621
|
+
export declare type StepperState = typeof STEPPER_ITEM_STATES[number];
|
|
500
622
|
export declare type SwitchChangeEvent = {
|
|
501
623
|
checked: boolean;
|
|
502
624
|
};
|
|
503
625
|
export declare type Direction = "asc" | "desc";
|
|
504
626
|
export declare type TableHeadCellSort = {
|
|
505
627
|
id: string;
|
|
506
|
-
active
|
|
507
|
-
direction
|
|
628
|
+
active?: boolean;
|
|
629
|
+
direction?: Direction;
|
|
508
630
|
};
|
|
509
631
|
export declare type SortingChangeEvent = TableHeadCellSort;
|
|
510
|
-
declare const
|
|
632
|
+
declare const TAB_SIZES: readonly [
|
|
511
633
|
"small",
|
|
512
634
|
"medium"
|
|
513
635
|
];
|
|
514
|
-
export declare type TabSize = typeof
|
|
515
|
-
|
|
636
|
+
export declare type TabSize = typeof TAB_SIZES[number];
|
|
637
|
+
declare const TAB_WEIGHTS: readonly [
|
|
638
|
+
"regular",
|
|
639
|
+
"semibold"
|
|
640
|
+
];
|
|
641
|
+
export declare type TabWeight = typeof TAB_WEIGHTS[number];
|
|
516
642
|
export declare type TabChangeEvent = {
|
|
517
643
|
activeTabIndex: number;
|
|
518
644
|
};
|
|
@@ -536,13 +662,33 @@ declare const TAG_DISMISSIBLE_ARIA_ATTRIBUTES: readonly [
|
|
|
536
662
|
"aria-label"
|
|
537
663
|
];
|
|
538
664
|
export declare type TagDismissibleAriaAttribute = typeof TAG_DISMISSIBLE_ARIA_ATTRIBUTES[number];
|
|
665
|
+
declare const TEXT_TAGS: readonly [
|
|
666
|
+
"p",
|
|
667
|
+
"span",
|
|
668
|
+
"div",
|
|
669
|
+
"address",
|
|
670
|
+
"blockquote",
|
|
671
|
+
"figcaption",
|
|
672
|
+
"cite",
|
|
673
|
+
"time",
|
|
674
|
+
"legend"
|
|
675
|
+
];
|
|
676
|
+
export declare type TextTag = typeof TEXT_TAGS[number];
|
|
539
677
|
declare const UNIT_POSITIONS: readonly [
|
|
540
678
|
"prefix",
|
|
541
679
|
"suffix"
|
|
542
680
|
];
|
|
543
681
|
export declare type TextFieldWrapperUnitPosition = typeof UNIT_POSITIONS[number];
|
|
544
|
-
|
|
545
|
-
|
|
682
|
+
declare const LIST_TYPES: readonly [
|
|
683
|
+
"unordered",
|
|
684
|
+
"ordered"
|
|
685
|
+
];
|
|
686
|
+
export declare type ListType = typeof LIST_TYPES[number];
|
|
687
|
+
declare const ORDER_TYPES: readonly [
|
|
688
|
+
"numbered",
|
|
689
|
+
"alphabetically"
|
|
690
|
+
];
|
|
691
|
+
export declare type OrderType = typeof ORDER_TYPES[number];
|
|
546
692
|
declare const TOAST_STATES: readonly [
|
|
547
693
|
"neutral",
|
|
548
694
|
"success"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-angular",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.0-beta.0",
|
|
4
4
|
"description": "Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"porsche",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "SEE LICENSE IN LICENSE",
|
|
18
18
|
"homepage": "https://designsystem.porsche.com",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@porsche-design-system/components-js": "2.
|
|
20
|
+
"@porsche-design-system/components-js": "2.15.0-beta.0",
|
|
21
21
|
"tslib": "^2.0.1"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"default": "./package.json"
|
|
40
40
|
},
|
|
41
41
|
".": {
|
|
42
|
-
"types": "./
|
|
42
|
+
"types": "./index.d.ts",
|
|
43
43
|
"esm2020": "./esm2020/porsche-design-system-components-angular.mjs",
|
|
44
44
|
"es2020": "./fesm2020/porsche-design-system-components-angular.mjs",
|
|
45
45
|
"es2015": "./fesm2015/porsche-design-system-components-angular.mjs",
|
|
@@ -52,6 +52,6 @@
|
|
|
52
52
|
"esm2020": "esm2020/porsche-design-system-components-angular.mjs",
|
|
53
53
|
"fesm2020": "fesm2020/porsche-design-system-components-angular.mjs",
|
|
54
54
|
"fesm2015": "fesm2015/porsche-design-system-components-angular.mjs",
|
|
55
|
-
"typings": "
|
|
55
|
+
"typings": "index.d.ts",
|
|
56
56
|
"sideEffects": false
|
|
57
57
|
}
|