@porsche-design-system/components-vue 3.1.0 → 3.2.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 +40 -9
- package/lib/components/ButtonPureWrapper.vue.d.ts +1 -1
- package/lib/components/ButtonTileWrapper.vue.d.ts +1 -1
- package/lib/components/ButtonWrapper.vue.d.ts +1 -1
- package/lib/components/CarouselWrapper.vue.d.ts +4 -0
- package/lib/components/CarouselWrapper.vue.js +7 -6
- package/lib/components/CheckboxWrapperWrapper.vue.d.ts +1 -1
- package/lib/components/FieldsetWrapper.vue.d.ts +1 -1
- package/lib/components/FieldsetWrapperWrapper.vue.d.ts +1 -1
- package/lib/components/IconWrapper.vue.d.ts +1 -1
- package/lib/components/InlineNotificationWrapper.vue.d.ts +1 -1
- package/lib/components/PaginationWrapper.vue.d.ts +8 -1
- package/lib/components/PaginationWrapper.vue.js +5 -4
- package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +1 -1
- package/lib/components/SelectWrapperWrapper.vue.d.ts +1 -1
- package/lib/components/TextFieldWrapperWrapper.vue.d.ts +1 -1
- package/lib/components/TextareaWrapperWrapper.vue.d.ts +1 -1
- package/lib/types.d.ts +199 -199
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,26 +2,57 @@
|
|
|
2
2
|
|
|
3
3
|
## Porsche Design System
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
All notable changes to this project will be documented in this file and published as following npm packages:
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
- `@porsche-design-system/components-js`
|
|
8
|
+
- `@porsche-design-system/components-angular`
|
|
9
|
+
- `@porsche-design-system/components-react`
|
|
10
|
+
- `@porsche-design-system/components-vue`
|
|
12
11
|
|
|
13
12
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
|
|
14
13
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
15
14
|
|
|
16
15
|
### [Unreleased]
|
|
17
16
|
|
|
17
|
+
### [3.2.0-rc.0] - 2023-06-19
|
|
18
|
+
|
|
19
|
+
#### Added
|
|
20
|
+
|
|
21
|
+
- `skipLinkTarget` property to `Carousel` component to enhance keyboard functionality
|
|
22
|
+
([#2557](https://github.com/porsche-design-system/porsche-design-system/pull/2557))
|
|
23
|
+
- `showLastPage` property to `Pagination` component
|
|
24
|
+
([#2606](https://github.com/porsche-design-system/porsche-design-system/pull/2606))
|
|
25
|
+
|
|
26
|
+
#### Fixed
|
|
27
|
+
|
|
28
|
+
- Partials: `getInitialStyles` supports `Flyout` component
|
|
29
|
+
([#2598](https://github.com/porsche-design-system/porsche-design-system/pull/2598))
|
|
30
|
+
- `Popover` content can be selected/highlighted
|
|
31
|
+
([#2599](https://github.com/porsche-design-system/porsche-design-system/pull/2599))
|
|
32
|
+
|
|
33
|
+
#### Changed
|
|
34
|
+
|
|
35
|
+
- `Carousel` pagination now shows 5 "infinite bullets" when using more than 5 slides
|
|
36
|
+
([#2600](https://github.com/porsche-design-system/porsche-design-system/pull/2600))
|
|
37
|
+
- `Carousel` supports click events on non-active slides and changed keyboard navigation
|
|
38
|
+
([#2557](https://github.com/porsche-design-system/porsche-design-system/pull/2557))
|
|
39
|
+
- Unified wordings of all console warnings, errors and exceptions
|
|
40
|
+
([#2602](https://github.com/porsche-design-system/porsche-design-system/pull/2602))
|
|
41
|
+
- Angular: increased peer dependency to `>=15.0.0 <17.0.0`
|
|
42
|
+
([#2602](https://github.com/porsche-design-system/porsche-design-system/pull/2602))
|
|
43
|
+
- `Toast` allows line break markups within toast message
|
|
44
|
+
([#2584](https://github.com/porsche-design-system/porsche-design-system/pull/2584))
|
|
45
|
+
- `Toast` shows always the latest toast message and clears its queue immediately if a new message is added
|
|
46
|
+
([#2584](https://github.com/porsche-design-system/porsche-design-system/pull/2584))
|
|
47
|
+
|
|
18
48
|
### [3.1.0] - 2023-06-09
|
|
19
49
|
|
|
20
50
|
### [3.1.0-rc.2] - 2023-06-09
|
|
21
51
|
|
|
22
52
|
#### Changed
|
|
23
53
|
|
|
24
|
-
- `Crest`
|
|
54
|
+
- `Crest` updated assets ([#2595](https://github.com/porsche-design-system/porsche-design-system/pull/2595))
|
|
55
|
+
- Partials: `getMetaTagsAndIconLinks` updated assets
|
|
25
56
|
([#2595](https://github.com/porsche-design-system/porsche-design-system/pull/2595))
|
|
26
57
|
|
|
27
58
|
#### Added
|
|
@@ -1650,7 +1681,7 @@ accessible regarding its color contrast and might even be removed in an upcoming
|
|
|
1650
1681
|
|
|
1651
1682
|
#### Changed
|
|
1652
1683
|
|
|
1653
|
-
- Angular:
|
|
1684
|
+
- Angular: increased peer dependency to `>=12.0.0 <14.0.0`
|
|
1654
1685
|
|
|
1655
1686
|
### [2.7.0] - 2021-12-14
|
|
1656
1687
|
|
|
@@ -1944,7 +1975,7 @@ color contrast and might even be removed in an upcoming major release again.
|
|
|
1944
1975
|
|
|
1945
1976
|
#### Fixed
|
|
1946
1977
|
|
|
1947
|
-
- Angular:
|
|
1978
|
+
- Angular: events firing twice in `Pagination`, `Modal`, `Tabs`, `Tabs Bar` and `Banner` component
|
|
1948
1979
|
|
|
1949
1980
|
### [2.0.2] - 2021-04-21
|
|
1950
1981
|
|
|
@@ -1961,7 +1992,7 @@ color contrast and might even be removed in an upcoming major release again.
|
|
|
1961
1992
|
- Visual appearance of `Checkbox Wrapper` in iOS Safari
|
|
1962
1993
|
- A bug where `Text Field Wrapper` would throw an error when reattaching to DOM too quickly
|
|
1963
1994
|
- Visual bug in Firefox when zooming out `Text Field Wrapper`, `Checkbox Wrapper` and `Textarea Wrapper`
|
|
1964
|
-
- Angular:
|
|
1995
|
+
- Angular: streamline component styles in dark theme
|
|
1965
1996
|
|
|
1966
1997
|
#### Changed
|
|
1967
1998
|
|
|
@@ -81,7 +81,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
81
81
|
}>>>, {
|
|
82
82
|
weight: "regular" | "semi-bold" | "bold" | "thin" | "semibold";
|
|
83
83
|
stretch: BreakpointCustomizable<boolean>;
|
|
84
|
-
type: "
|
|
84
|
+
type: "button" | "reset" | "submit";
|
|
85
85
|
size: BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large">;
|
|
86
86
|
theme: "light" | "dark";
|
|
87
87
|
active: boolean;
|
|
@@ -81,7 +81,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
81
81
|
weight: string;
|
|
82
82
|
}>>>, {
|
|
83
83
|
weight: BreakpointCustomizable<"regular" | "semi-bold">;
|
|
84
|
-
type: "
|
|
84
|
+
type: "button" | "reset" | "submit";
|
|
85
85
|
compact: BreakpointCustomizable<boolean>;
|
|
86
86
|
size: BreakpointCustomizable<"default" | "inherit">;
|
|
87
87
|
disabled: boolean;
|
|
@@ -54,7 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
54
54
|
type: string;
|
|
55
55
|
variant: string;
|
|
56
56
|
}>>>, {
|
|
57
|
-
type: "
|
|
57
|
+
type: "button" | "reset" | "submit";
|
|
58
58
|
theme: "light" | "dark";
|
|
59
59
|
disabled: boolean;
|
|
60
60
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
@@ -32,6 +32,10 @@ type PCarouselProps = {
|
|
|
32
32
|
* Whether the slides should rewind from last to first slide and vice versa.
|
|
33
33
|
*/
|
|
34
34
|
rewind?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Defines target of skip link (to skip carousel entries).
|
|
37
|
+
*/
|
|
38
|
+
skipLinkTarget?: string;
|
|
35
39
|
/**
|
|
36
40
|
* Sets the amount of slides visible at the same time. Can be set to `auto` if you want to define different widths per slide via CSS.
|
|
37
41
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as p, ref as
|
|
1
|
+
import { defineComponent as p, ref as i, onMounted as s, onUpdated as u, openBlock as f, createBlock as c, resolveDynamicComponent as m, unref as g, withCtx as C, renderSlot as h } from "vue";
|
|
2
2
|
import { getPrefixedTagName as v, syncProperties as n, addEventListenerToElementRef as o } from "../../utils.js";
|
|
3
|
-
const
|
|
3
|
+
const y = /* @__PURE__ */ p({
|
|
4
4
|
__name: "CarouselWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
activeSlideIndex: { default: 0 },
|
|
@@ -11,6 +11,7 @@ const P = /* @__PURE__ */ p({
|
|
|
11
11
|
intl: {},
|
|
12
12
|
pagination: { default: !0 },
|
|
13
13
|
rewind: { type: Boolean, default: !0 },
|
|
14
|
+
skipLinkTarget: {},
|
|
14
15
|
slidesPerPage: { default: 1 },
|
|
15
16
|
theme: { default: "light" },
|
|
16
17
|
width: { default: "basic" },
|
|
@@ -18,10 +19,10 @@ const P = /* @__PURE__ */ p({
|
|
|
18
19
|
},
|
|
19
20
|
emits: ["carouselChange", "update"],
|
|
20
21
|
setup(r, { emit: t }) {
|
|
21
|
-
const a = r, l = v("p-carousel"), e =
|
|
22
|
-
return
|
|
22
|
+
const a = r, l = v("p-carousel"), e = i();
|
|
23
|
+
return s(() => {
|
|
23
24
|
n(e.value, a), o(e.value, "carouselChange", t), o(e.value, "update", t);
|
|
24
|
-
}),
|
|
25
|
+
}), u(() => {
|
|
25
26
|
n(e.value, a);
|
|
26
27
|
}), (d, _) => (f(), c(m(g(l)), {
|
|
27
28
|
ref_key: "pdsComponentRef",
|
|
@@ -35,5 +36,5 @@ const P = /* @__PURE__ */ p({
|
|
|
35
36
|
}
|
|
36
37
|
});
|
|
37
38
|
export {
|
|
38
|
-
|
|
39
|
+
y as default
|
|
39
40
|
};
|
|
@@ -42,7 +42,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
42
42
|
}>>>, {
|
|
43
43
|
label: string;
|
|
44
44
|
theme: "light" | "dark";
|
|
45
|
-
state: "
|
|
45
|
+
state: "none" | "success" | "error";
|
|
46
46
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
47
47
|
loading: boolean;
|
|
48
48
|
message: string;
|
|
@@ -42,7 +42,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
42
42
|
}>>>, {
|
|
43
43
|
label: string;
|
|
44
44
|
theme: "light" | "dark";
|
|
45
|
-
state: "
|
|
45
|
+
state: "none" | "success" | "error";
|
|
46
46
|
required: boolean;
|
|
47
47
|
message: string;
|
|
48
48
|
labelSize: "small" | "medium";
|
|
@@ -43,7 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
43
|
}>>>, {
|
|
44
44
|
label: string;
|
|
45
45
|
theme: "light" | "dark";
|
|
46
|
-
state: "
|
|
46
|
+
state: "none" | "success" | "error";
|
|
47
47
|
required: boolean;
|
|
48
48
|
message: string;
|
|
49
49
|
labelSize: "small" | "medium";
|
|
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
44
44
|
size: "inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large";
|
|
45
45
|
theme: "light" | "dark";
|
|
46
46
|
color: "default" | "inherit" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "brand" | "neutral-contrast-low" | "neutral-contrast-medium" | "neutral-contrast-high" | "notification-neutral" | "state-disabled";
|
|
47
|
-
name: "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" | "
|
|
47
|
+
name: "list" | "copy" | "grid" | "document" | "search" | "switch" | "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" | "download" | "duration" | "edit" | "email" | "error-filled" | "exclamation" | "external" | "filter" | "fingerprint" | "flash" | "fuel-station" | "garage" | "gift" | "globe" | "heart" | "heart-filled" | "highway" | "home" | "horn" | "image" | "increase" | "information" | "information-filled" | "key" | "leaf" | "leather" | "light" | "locate" | "lock" | "lock-open" | "logo-apple-podcast" | "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-spotify" | "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" | "pin-filled" | "play" | "plug" | "plus" | "preheating" | "printer" | "purchase" | "push-pin" | "push-pin-off" | "qr" | "question" | "racing-flag" | "refresh" | "replay" | "reset" | "roof-closed" | "roof-open" | "route" | "rss" | "save" | "screen" | "send" | "share" | "shopping-bag" | "shopping-bag-filled" | "shopping-cart" | "shopping-cart-filled" | "sidelights" | "snowflake" | "sort" | "stack" | "star" | "steering-wheel" | "stopwatch" | "subtract" | "success" | "success-filled" | "sun" | "tablet" | "tachometer" | "tire" | "truck" | "upload" | "user" | "user-filled" | "user-group" | "user-manual" | "video" | "view" | "view-off" | "volume-off" | "volume-up" | "warning" | "warning-filled" | "weight" | "wifi" | "work" | "wrench" | "wrenches" | "zoom-in" | "zoom-out";
|
|
48
48
|
}, {}>;
|
|
49
49
|
export default _default;
|
|
50
50
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -65,7 +65,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
65
65
|
description: string;
|
|
66
66
|
dismissButton: boolean;
|
|
67
67
|
state: "success" | "warning" | "error" | "info" | "neutral";
|
|
68
|
-
actionIcon: "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" | "
|
|
68
|
+
actionIcon: "list" | "copy" | "grid" | "document" | "search" | "switch" | "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" | "download" | "duration" | "edit" | "email" | "error-filled" | "exclamation" | "external" | "filter" | "fingerprint" | "flash" | "fuel-station" | "garage" | "gift" | "globe" | "heart" | "heart-filled" | "highway" | "home" | "horn" | "image" | "increase" | "information" | "information-filled" | "key" | "leaf" | "leather" | "light" | "locate" | "lock" | "lock-open" | "logo-apple-podcast" | "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-spotify" | "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" | "pin-filled" | "play" | "plug" | "plus" | "preheating" | "printer" | "purchase" | "push-pin" | "push-pin-off" | "qr" | "question" | "racing-flag" | "refresh" | "replay" | "reset" | "roof-closed" | "roof-open" | "route" | "rss" | "save" | "screen" | "send" | "share" | "shopping-bag" | "shopping-bag-filled" | "shopping-cart" | "shopping-cart-filled" | "sidelights" | "snowflake" | "sort" | "stack" | "star" | "steering-wheel" | "stopwatch" | "subtract" | "success" | "success-filled" | "sun" | "tablet" | "tachometer" | "tire" | "truck" | "upload" | "user" | "user-filled" | "user-group" | "user-manual" | "video" | "view" | "view-off" | "volume-off" | "volume-up" | "warning" | "warning-filled" | "weight" | "wifi" | "work" | "wrench" | "wrenches" | "zoom-in" | "zoom-out";
|
|
69
69
|
actionLoading: boolean;
|
|
70
70
|
}, {}>, {
|
|
71
71
|
default?(_: {}): any;
|
|
@@ -29,9 +29,13 @@ type PPaginationProps = {
|
|
|
29
29
|
*/
|
|
30
30
|
itemsPerPage?: number;
|
|
31
31
|
/**
|
|
32
|
-
* The maximum number of page links rendered
|
|
32
|
+
* The maximum number of page links rendered.
|
|
33
33
|
*/
|
|
34
34
|
maxNumberOfPageLinks?: BreakpointCustomizable<PaginationMaxNumberOfPageLinks>;
|
|
35
|
+
/**
|
|
36
|
+
* Show or hide the button to jump to the last page.
|
|
37
|
+
*/
|
|
38
|
+
showLastPage?: boolean;
|
|
35
39
|
/**
|
|
36
40
|
* Adapts the color when used on dark background.
|
|
37
41
|
*/
|
|
@@ -54,6 +58,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
54
58
|
base: number;
|
|
55
59
|
xs: number;
|
|
56
60
|
};
|
|
61
|
+
showLastPage: boolean;
|
|
57
62
|
theme: string;
|
|
58
63
|
totalItemsCount: number;
|
|
59
64
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -72,6 +77,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
72
77
|
base: number;
|
|
73
78
|
xs: number;
|
|
74
79
|
};
|
|
80
|
+
showLastPage: boolean;
|
|
75
81
|
theme: string;
|
|
76
82
|
totalItemsCount: number;
|
|
77
83
|
}>>> & {
|
|
@@ -83,6 +89,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
83
89
|
activePage: number;
|
|
84
90
|
itemsPerPage: number;
|
|
85
91
|
maxNumberOfPageLinks: BreakpointCustomizable<7 | 5>;
|
|
92
|
+
showLastPage: boolean;
|
|
86
93
|
totalItemsCount: number;
|
|
87
94
|
}, {}>;
|
|
88
95
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as r, ref as s, onMounted as u, onUpdated as f, openBlock as
|
|
1
|
+
import { defineComponent as r, ref as s, onMounted as u, onUpdated as f, openBlock as g, createBlock as i, resolveDynamicComponent as d, unref as m } from "vue";
|
|
2
2
|
import { getPrefixedTagName as c, syncProperties as n, addEventListenerToElementRef as o } from "../../utils.js";
|
|
3
|
-
const
|
|
3
|
+
const C = /* @__PURE__ */ r({
|
|
4
4
|
__name: "PaginationWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
activePage: { default: 1 },
|
|
@@ -11,6 +11,7 @@ const b = /* @__PURE__ */ r({
|
|
|
11
11
|
intl: { default: () => ({ root: "Pagination", prev: "Previous page", next: "Next page", page: "Page" }) },
|
|
12
12
|
itemsPerPage: { default: 1 },
|
|
13
13
|
maxNumberOfPageLinks: { default: () => ({ base: 5, xs: 7 }) },
|
|
14
|
+
showLastPage: { type: Boolean, default: !0 },
|
|
14
15
|
theme: { default: "light" },
|
|
15
16
|
totalItemsCount: { default: 1 }
|
|
16
17
|
},
|
|
@@ -21,12 +22,12 @@ const b = /* @__PURE__ */ r({
|
|
|
21
22
|
n(e.value, t), o(e.value, "pageChange", a), o(e.value, "update", a);
|
|
22
23
|
}), f(() => {
|
|
23
24
|
n(e.value, t);
|
|
24
|
-
}), (P, v) => (
|
|
25
|
+
}), (P, v) => (g(), i(d(m(p)), {
|
|
25
26
|
ref_key: "pdsComponentRef",
|
|
26
27
|
ref: e
|
|
27
28
|
}, null, 512));
|
|
28
29
|
}
|
|
29
30
|
});
|
|
30
31
|
export {
|
|
31
|
-
|
|
32
|
+
C as default
|
|
32
33
|
};
|
|
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
36
|
}>>>, {
|
|
37
37
|
label: string;
|
|
38
38
|
theme: "light" | "dark";
|
|
39
|
-
state: "
|
|
39
|
+
state: "none" | "success" | "error";
|
|
40
40
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
41
41
|
message: string;
|
|
42
42
|
}, {}>, {
|
|
@@ -62,7 +62,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
62
62
|
label: string;
|
|
63
63
|
theme: "light" | "dark";
|
|
64
64
|
description: string;
|
|
65
|
-
state: "
|
|
65
|
+
state: "none" | "success" | "error";
|
|
66
66
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
67
67
|
message: string;
|
|
68
68
|
dropdownDirection: "auto" | "down" | "up";
|
|
@@ -85,7 +85,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
85
85
|
label: string;
|
|
86
86
|
theme: "light" | "dark";
|
|
87
87
|
description: string;
|
|
88
|
-
state: "
|
|
88
|
+
state: "none" | "success" | "error";
|
|
89
89
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
90
90
|
message: string;
|
|
91
91
|
actionLoading: boolean;
|
|
@@ -53,7 +53,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
53
53
|
label: string;
|
|
54
54
|
theme: "light" | "dark";
|
|
55
55
|
description: string;
|
|
56
|
-
state: "
|
|
56
|
+
state: "none" | "success" | "error";
|
|
57
57
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
58
58
|
message: string;
|
|
59
59
|
showCounter: boolean;
|
package/lib/types.d.ts
CHANGED
|
@@ -1,3 +1,193 @@
|
|
|
1
|
+
export type Booleanish = boolean | "true" | "false";
|
|
2
|
+
export type AriaAttributes = {
|
|
3
|
+
/** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
|
|
4
|
+
"aria-activedescendant"?: string | undefined;
|
|
5
|
+
/** 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. */
|
|
6
|
+
"aria-atomic"?: Booleanish | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* 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
|
|
9
|
+
* presented if they are made.
|
|
10
|
+
*/
|
|
11
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
12
|
+
/** 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. */
|
|
13
|
+
"aria-busy"?: Booleanish | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
|
|
16
|
+
* @see aria-pressed @see aria-selected.
|
|
17
|
+
*/
|
|
18
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Defines the total number of columns in a table, grid, or treegrid.
|
|
21
|
+
* @see aria-colindex.
|
|
22
|
+
*/
|
|
23
|
+
"aria-colcount"?: number | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
|
|
26
|
+
* @see aria-colcount @see aria-colspan.
|
|
27
|
+
*/
|
|
28
|
+
"aria-colindex"?: number | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
31
|
+
* @see aria-colindex @see aria-rowspan.
|
|
32
|
+
*/
|
|
33
|
+
"aria-colspan"?: number | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
|
36
|
+
* @see aria-owns.
|
|
37
|
+
*/
|
|
38
|
+
"aria-controls"?: string | undefined;
|
|
39
|
+
/** Indicates the element that represents the current item within a container or set of related elements. */
|
|
40
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Identifies the element (or elements) that describes the object.
|
|
43
|
+
* @see aria-labelledby
|
|
44
|
+
*/
|
|
45
|
+
"aria-describedby"?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* Identifies the element that provides a detailed, extended description for the object.
|
|
48
|
+
* @see aria-describedby.
|
|
49
|
+
*/
|
|
50
|
+
"aria-details"?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
53
|
+
* @see aria-hidden @see aria-readonly.
|
|
54
|
+
*/
|
|
55
|
+
"aria-disabled"?: Booleanish | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Indicates what functions can be performed when a dragged object is released on the drop target.
|
|
58
|
+
* @deprecated in ARIA 1.1
|
|
59
|
+
*/
|
|
60
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Identifies the element that provides an error message for the object.
|
|
63
|
+
* @see aria-invalid @see aria-describedby.
|
|
64
|
+
*/
|
|
65
|
+
"aria-errormessage"?: string | undefined;
|
|
66
|
+
/** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
|
|
67
|
+
"aria-expanded"?: Booleanish | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
|
|
70
|
+
* allows assistive technology to override the general default of reading in document source order.
|
|
71
|
+
*/
|
|
72
|
+
"aria-flowto"?: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Indicates an element's "grabbed" state in a drag-and-drop operation.
|
|
75
|
+
* @deprecated in ARIA 1.1
|
|
76
|
+
*/
|
|
77
|
+
"aria-grabbed"?: Booleanish | undefined;
|
|
78
|
+
/** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
|
|
79
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* Indicates whether the element is exposed to an accessibility API.
|
|
82
|
+
* @see aria-disabled.
|
|
83
|
+
*/
|
|
84
|
+
"aria-hidden"?: Booleanish | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
87
|
+
* @see aria-errormessage.
|
|
88
|
+
*/
|
|
89
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
90
|
+
/** Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. */
|
|
91
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* Defines a string value that labels the current element.
|
|
94
|
+
* @see aria-labelledby.
|
|
95
|
+
*/
|
|
96
|
+
"aria-label"?: string | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* Identifies the element (or elements) that labels the current element.
|
|
99
|
+
* @see aria-describedby.
|
|
100
|
+
*/
|
|
101
|
+
"aria-labelledby"?: string | undefined;
|
|
102
|
+
/** Defines the hierarchical level of an element within a structure. */
|
|
103
|
+
"aria-level"?: number | undefined;
|
|
104
|
+
/** 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. */
|
|
105
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
106
|
+
/** Indicates whether an element is modal when displayed. */
|
|
107
|
+
"aria-modal"?: Booleanish | undefined;
|
|
108
|
+
/** Indicates whether a text box accepts multiple lines of input or only a single line. */
|
|
109
|
+
"aria-multiline"?: Booleanish | undefined;
|
|
110
|
+
/** Indicates that the user may select more than one item from the current selectable descendants. */
|
|
111
|
+
"aria-multiselectable"?: Booleanish | undefined;
|
|
112
|
+
/** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
|
|
113
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
|
|
116
|
+
* between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
|
|
117
|
+
* @see aria-controls.
|
|
118
|
+
*/
|
|
119
|
+
"aria-owns"?: string | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
|
|
122
|
+
* A hint could be a sample value or a brief description of the expected format.
|
|
123
|
+
*/
|
|
124
|
+
"aria-placeholder"?: string | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* 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.
|
|
127
|
+
* @see aria-setsize.
|
|
128
|
+
*/
|
|
129
|
+
"aria-posinset"?: number | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* Indicates the current "pressed" state of toggle buttons.
|
|
132
|
+
* @see aria-checked @see aria-selected.
|
|
133
|
+
*/
|
|
134
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* Indicates that the element is not editable, but is otherwise operable.
|
|
137
|
+
* @see aria-disabled.
|
|
138
|
+
*/
|
|
139
|
+
"aria-readonly"?: Booleanish | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
|
|
142
|
+
* @see aria-atomic.
|
|
143
|
+
*/
|
|
144
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
145
|
+
/** Indicates that user input is required on the element before a form may be submitted. */
|
|
146
|
+
"aria-required"?: Booleanish | undefined;
|
|
147
|
+
/** Defines a human-readable, author-localized description for the role of an element. */
|
|
148
|
+
"aria-roledescription"?: string | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* Defines the total number of rows in a table, grid, or treegrid.
|
|
151
|
+
* @see aria-rowindex.
|
|
152
|
+
*/
|
|
153
|
+
"aria-rowcount"?: number | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
|
|
156
|
+
* @see aria-rowcount @see aria-rowspan.
|
|
157
|
+
*/
|
|
158
|
+
"aria-rowindex"?: number | undefined;
|
|
159
|
+
/**
|
|
160
|
+
* Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
161
|
+
* @see aria-rowindex @see aria-colspan.
|
|
162
|
+
*/
|
|
163
|
+
"aria-rowspan"?: number | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* Indicates the current "selected" state of various widgets.
|
|
166
|
+
* @see aria-checked @see aria-pressed.
|
|
167
|
+
*/
|
|
168
|
+
"aria-selected"?: Booleanish | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* 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.
|
|
171
|
+
* @see aria-posinset.
|
|
172
|
+
*/
|
|
173
|
+
"aria-setsize"?: number | undefined;
|
|
174
|
+
/** Indicates if items in a table or grid are sorted in ascending or descending order. */
|
|
175
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
176
|
+
/** Defines the maximum allowed value for a range widget. */
|
|
177
|
+
"aria-valuemax"?: number | undefined;
|
|
178
|
+
/** Defines the minimum allowed value for a range widget. */
|
|
179
|
+
"aria-valuemin"?: number | undefined;
|
|
180
|
+
/**
|
|
181
|
+
* Defines the current value for a range widget.
|
|
182
|
+
* @see aria-valuetext.
|
|
183
|
+
*/
|
|
184
|
+
"aria-valuenow"?: number | undefined;
|
|
185
|
+
/** Defines the human readable text alternative of aria-valuenow for a range widget. */
|
|
186
|
+
"aria-valuetext"?: string | undefined;
|
|
187
|
+
/** All the WAI-ARIA 1.1 role attribute values from https://www.w3.org/TR/wai-aria-1.1/#role_definitions */
|
|
188
|
+
role?: AriaRole;
|
|
189
|
+
};
|
|
190
|
+
export type AriaRole = "alert" | "alertdialog" | "application" | "article" | "banner" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "dialog" | "directory" | "document" | "feed" | "figure" | "form" | "grid" | "gridcell" | "group" | "heading" | "img" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "none" | "note" | "option" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem";
|
|
1
191
|
declare const ICON_NAMES: readonly [
|
|
2
192
|
"360",
|
|
3
193
|
"accessibility",
|
|
@@ -355,196 +545,6 @@ declare const LINK_TARGETS: readonly [
|
|
|
355
545
|
"_top"
|
|
356
546
|
];
|
|
357
547
|
export type LinkTarget = typeof LINK_TARGETS[number] | string;
|
|
358
|
-
export type Booleanish = boolean | "true" | "false";
|
|
359
|
-
export type AriaAttributes = {
|
|
360
|
-
/** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
|
|
361
|
-
"aria-activedescendant"?: string | undefined;
|
|
362
|
-
/** 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. */
|
|
363
|
-
"aria-atomic"?: Booleanish | undefined;
|
|
364
|
-
/**
|
|
365
|
-
* 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
|
|
366
|
-
* presented if they are made.
|
|
367
|
-
*/
|
|
368
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
369
|
-
/** 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. */
|
|
370
|
-
"aria-busy"?: Booleanish | undefined;
|
|
371
|
-
/**
|
|
372
|
-
* Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
|
|
373
|
-
* @see aria-pressed @see aria-selected.
|
|
374
|
-
*/
|
|
375
|
-
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
376
|
-
/**
|
|
377
|
-
* Defines the total number of columns in a table, grid, or treegrid.
|
|
378
|
-
* @see aria-colindex.
|
|
379
|
-
*/
|
|
380
|
-
"aria-colcount"?: number | undefined;
|
|
381
|
-
/**
|
|
382
|
-
* Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
|
|
383
|
-
* @see aria-colcount @see aria-colspan.
|
|
384
|
-
*/
|
|
385
|
-
"aria-colindex"?: number | undefined;
|
|
386
|
-
/**
|
|
387
|
-
* Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
388
|
-
* @see aria-colindex @see aria-rowspan.
|
|
389
|
-
*/
|
|
390
|
-
"aria-colspan"?: number | undefined;
|
|
391
|
-
/**
|
|
392
|
-
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
|
393
|
-
* @see aria-owns.
|
|
394
|
-
*/
|
|
395
|
-
"aria-controls"?: string | undefined;
|
|
396
|
-
/** Indicates the element that represents the current item within a container or set of related elements. */
|
|
397
|
-
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
398
|
-
/**
|
|
399
|
-
* Identifies the element (or elements) that describes the object.
|
|
400
|
-
* @see aria-labelledby
|
|
401
|
-
*/
|
|
402
|
-
"aria-describedby"?: string | undefined;
|
|
403
|
-
/**
|
|
404
|
-
* Identifies the element that provides a detailed, extended description for the object.
|
|
405
|
-
* @see aria-describedby.
|
|
406
|
-
*/
|
|
407
|
-
"aria-details"?: string | undefined;
|
|
408
|
-
/**
|
|
409
|
-
* Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
410
|
-
* @see aria-hidden @see aria-readonly.
|
|
411
|
-
*/
|
|
412
|
-
"aria-disabled"?: Booleanish | undefined;
|
|
413
|
-
/**
|
|
414
|
-
* Indicates what functions can be performed when a dragged object is released on the drop target.
|
|
415
|
-
* @deprecated in ARIA 1.1
|
|
416
|
-
*/
|
|
417
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
418
|
-
/**
|
|
419
|
-
* Identifies the element that provides an error message for the object.
|
|
420
|
-
* @see aria-invalid @see aria-describedby.
|
|
421
|
-
*/
|
|
422
|
-
"aria-errormessage"?: string | undefined;
|
|
423
|
-
/** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
|
|
424
|
-
"aria-expanded"?: Booleanish | undefined;
|
|
425
|
-
/**
|
|
426
|
-
* Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
|
|
427
|
-
* allows assistive technology to override the general default of reading in document source order.
|
|
428
|
-
*/
|
|
429
|
-
"aria-flowto"?: string | undefined;
|
|
430
|
-
/**
|
|
431
|
-
* Indicates an element's "grabbed" state in a drag-and-drop operation.
|
|
432
|
-
* @deprecated in ARIA 1.1
|
|
433
|
-
*/
|
|
434
|
-
"aria-grabbed"?: Booleanish | undefined;
|
|
435
|
-
/** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
|
|
436
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
437
|
-
/**
|
|
438
|
-
* Indicates whether the element is exposed to an accessibility API.
|
|
439
|
-
* @see aria-disabled.
|
|
440
|
-
*/
|
|
441
|
-
"aria-hidden"?: Booleanish | undefined;
|
|
442
|
-
/**
|
|
443
|
-
* Indicates the entered value does not conform to the format expected by the application.
|
|
444
|
-
* @see aria-errormessage.
|
|
445
|
-
*/
|
|
446
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
447
|
-
/** Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. */
|
|
448
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
449
|
-
/**
|
|
450
|
-
* Defines a string value that labels the current element.
|
|
451
|
-
* @see aria-labelledby.
|
|
452
|
-
*/
|
|
453
|
-
"aria-label"?: string | undefined;
|
|
454
|
-
/**
|
|
455
|
-
* Identifies the element (or elements) that labels the current element.
|
|
456
|
-
* @see aria-describedby.
|
|
457
|
-
*/
|
|
458
|
-
"aria-labelledby"?: string | undefined;
|
|
459
|
-
/** Defines the hierarchical level of an element within a structure. */
|
|
460
|
-
"aria-level"?: number | undefined;
|
|
461
|
-
/** 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. */
|
|
462
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
463
|
-
/** Indicates whether an element is modal when displayed. */
|
|
464
|
-
"aria-modal"?: Booleanish | undefined;
|
|
465
|
-
/** Indicates whether a text box accepts multiple lines of input or only a single line. */
|
|
466
|
-
"aria-multiline"?: Booleanish | undefined;
|
|
467
|
-
/** Indicates that the user may select more than one item from the current selectable descendants. */
|
|
468
|
-
"aria-multiselectable"?: Booleanish | undefined;
|
|
469
|
-
/** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
|
|
470
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
471
|
-
/**
|
|
472
|
-
* Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
|
|
473
|
-
* between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
|
|
474
|
-
* @see aria-controls.
|
|
475
|
-
*/
|
|
476
|
-
"aria-owns"?: string | undefined;
|
|
477
|
-
/**
|
|
478
|
-
* Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
|
|
479
|
-
* A hint could be a sample value or a brief description of the expected format.
|
|
480
|
-
*/
|
|
481
|
-
"aria-placeholder"?: string | undefined;
|
|
482
|
-
/**
|
|
483
|
-
* 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.
|
|
484
|
-
* @see aria-setsize.
|
|
485
|
-
*/
|
|
486
|
-
"aria-posinset"?: number | undefined;
|
|
487
|
-
/**
|
|
488
|
-
* Indicates the current "pressed" state of toggle buttons.
|
|
489
|
-
* @see aria-checked @see aria-selected.
|
|
490
|
-
*/
|
|
491
|
-
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
492
|
-
/**
|
|
493
|
-
* Indicates that the element is not editable, but is otherwise operable.
|
|
494
|
-
* @see aria-disabled.
|
|
495
|
-
*/
|
|
496
|
-
"aria-readonly"?: Booleanish | undefined;
|
|
497
|
-
/**
|
|
498
|
-
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
|
|
499
|
-
* @see aria-atomic.
|
|
500
|
-
*/
|
|
501
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
502
|
-
/** Indicates that user input is required on the element before a form may be submitted. */
|
|
503
|
-
"aria-required"?: Booleanish | undefined;
|
|
504
|
-
/** Defines a human-readable, author-localized description for the role of an element. */
|
|
505
|
-
"aria-roledescription"?: string | undefined;
|
|
506
|
-
/**
|
|
507
|
-
* Defines the total number of rows in a table, grid, or treegrid.
|
|
508
|
-
* @see aria-rowindex.
|
|
509
|
-
*/
|
|
510
|
-
"aria-rowcount"?: number | undefined;
|
|
511
|
-
/**
|
|
512
|
-
* Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
|
|
513
|
-
* @see aria-rowcount @see aria-rowspan.
|
|
514
|
-
*/
|
|
515
|
-
"aria-rowindex"?: number | undefined;
|
|
516
|
-
/**
|
|
517
|
-
* Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
518
|
-
* @see aria-rowindex @see aria-colspan.
|
|
519
|
-
*/
|
|
520
|
-
"aria-rowspan"?: number | undefined;
|
|
521
|
-
/**
|
|
522
|
-
* Indicates the current "selected" state of various widgets.
|
|
523
|
-
* @see aria-checked @see aria-pressed.
|
|
524
|
-
*/
|
|
525
|
-
"aria-selected"?: Booleanish | undefined;
|
|
526
|
-
/**
|
|
527
|
-
* 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.
|
|
528
|
-
* @see aria-posinset.
|
|
529
|
-
*/
|
|
530
|
-
"aria-setsize"?: number | undefined;
|
|
531
|
-
/** Indicates if items in a table or grid are sorted in ascending or descending order. */
|
|
532
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
533
|
-
/** Defines the maximum allowed value for a range widget. */
|
|
534
|
-
"aria-valuemax"?: number | undefined;
|
|
535
|
-
/** Defines the minimum allowed value for a range widget. */
|
|
536
|
-
"aria-valuemin"?: number | undefined;
|
|
537
|
-
/**
|
|
538
|
-
* Defines the current value for a range widget.
|
|
539
|
-
* @see aria-valuetext.
|
|
540
|
-
*/
|
|
541
|
-
"aria-valuenow"?: number | undefined;
|
|
542
|
-
/** Defines the human readable text alternative of aria-valuenow for a range widget. */
|
|
543
|
-
"aria-valuetext"?: string | undefined;
|
|
544
|
-
/** All the WAI-ARIA 1.1 role attribute values from https://www.w3.org/TR/wai-aria-1.1/#role_definitions */
|
|
545
|
-
role?: AriaRole;
|
|
546
|
-
};
|
|
547
|
-
export type AriaRole = "alert" | "alertdialog" | "application" | "article" | "banner" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "dialog" | "directory" | "document" | "feed" | "figure" | "form" | "grid" | "gridcell" | "group" | "heading" | "img" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "none" | "note" | "option" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem";
|
|
548
548
|
export type LinkButtonIconName = IconName | "none";
|
|
549
549
|
export type ButtonVariant = LinkButtonVariant;
|
|
550
550
|
export type LinkVariant = LinkButtonVariant;
|
|
@@ -634,19 +634,19 @@ declare const DISPLAY_TAGS: readonly [
|
|
|
634
634
|
"h5",
|
|
635
635
|
"h6"
|
|
636
636
|
];
|
|
637
|
-
export type DisplayTag = typeof DISPLAY_TAGS[number];
|
|
637
|
+
export type DisplayTag = (typeof DISPLAY_TAGS)[number];
|
|
638
638
|
declare const DISPLAY_SIZES: readonly [
|
|
639
639
|
"small",
|
|
640
640
|
"medium",
|
|
641
641
|
"large",
|
|
642
642
|
"inherit"
|
|
643
643
|
];
|
|
644
|
-
export type DisplaySize = typeof DISPLAY_SIZES[number];
|
|
644
|
+
export type DisplaySize = (typeof DISPLAY_SIZES)[number];
|
|
645
645
|
declare const DISPLAY_COLORS: readonly [
|
|
646
646
|
"primary",
|
|
647
647
|
"inherit"
|
|
648
648
|
];
|
|
649
|
-
export type DisplayColor = typeof DISPLAY_COLORS[number];
|
|
649
|
+
export type DisplayColor = (typeof DISPLAY_COLORS)[number];
|
|
650
650
|
export type DisplayAlign = TextAlign;
|
|
651
651
|
declare const DIVIDER_COLORS: readonly [
|
|
652
652
|
"contrast-low",
|
|
@@ -822,12 +822,12 @@ declare const HEADING_SIZES: readonly [
|
|
|
822
822
|
"xx-large",
|
|
823
823
|
"inherit"
|
|
824
824
|
];
|
|
825
|
-
export type HeadingSize = typeof HEADING_SIZES[number];
|
|
825
|
+
export type HeadingSize = (typeof HEADING_SIZES)[number];
|
|
826
826
|
declare const HEADING_COLORS: readonly [
|
|
827
827
|
"primary",
|
|
828
828
|
"inherit"
|
|
829
829
|
];
|
|
830
|
-
export type HeadingColor = typeof HEADING_COLORS[number];
|
|
830
|
+
export type HeadingColor = (typeof HEADING_COLORS)[number];
|
|
831
831
|
export type HeadingAlign = TextAlign;
|
|
832
832
|
declare const HEADLINE_VARIANTS: readonly [
|
|
833
833
|
"large-title",
|
|
@@ -999,11 +999,11 @@ declare const POPOVER_DIRECTIONS: readonly [
|
|
|
999
999
|
"bottom",
|
|
1000
1000
|
"left"
|
|
1001
1001
|
];
|
|
1002
|
-
export type PopoverDirection = typeof POPOVER_DIRECTIONS[number];
|
|
1002
|
+
export type PopoverDirection = (typeof POPOVER_DIRECTIONS)[number];
|
|
1003
1003
|
declare const POPOVER_ARIA_ATTRIBUTES: readonly [
|
|
1004
1004
|
"aria-label"
|
|
1005
1005
|
];
|
|
1006
|
-
export type PopoverAriaAttribute = typeof POPOVER_ARIA_ATTRIBUTES[number];
|
|
1006
|
+
export type PopoverAriaAttribute = (typeof POPOVER_ARIA_ATTRIBUTES)[number];
|
|
1007
1007
|
export type RadioButtonWrapperState = FormState;
|
|
1008
1008
|
declare const SEGMENTED_CONTROL_BACKGROUND_COLORS: readonly [
|
|
1009
1009
|
"background-surface",
|
|
@@ -1045,7 +1045,7 @@ declare const STEPPER_ITEM_STATES: readonly [
|
|
|
1045
1045
|
"complete",
|
|
1046
1046
|
"warning"
|
|
1047
1047
|
];
|
|
1048
|
-
export type StepperHorizontalItemState = typeof STEPPER_ITEM_STATES[number];
|
|
1048
|
+
export type StepperHorizontalItemState = (typeof STEPPER_ITEM_STATES)[number];
|
|
1049
1049
|
export type SwitchAlignLabel = AlignLabel;
|
|
1050
1050
|
export type SwitchUpdateEvent = {
|
|
1051
1051
|
checked: boolean;
|
|
@@ -1123,7 +1123,7 @@ declare const UNIT_POSITIONS: readonly [
|
|
|
1123
1123
|
"prefix",
|
|
1124
1124
|
"suffix"
|
|
1125
1125
|
];
|
|
1126
|
-
export type TextFieldWrapperUnitPosition = typeof UNIT_POSITIONS[number];
|
|
1126
|
+
export type TextFieldWrapperUnitPosition = (typeof UNIT_POSITIONS)[number];
|
|
1127
1127
|
export type TextFieldWrapperActionIcon = Extract<IconName, "locate">;
|
|
1128
1128
|
export type TextFieldWrapperState = FormState;
|
|
1129
1129
|
declare const LIST_TYPES: readonly [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0-rc.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": "3.
|
|
20
|
+
"@porsche-design-system/components-js": "3.2.0-rc.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"vue": ">=3.0.0 <4.0.0"
|