@porsche-design-system/components-vue 3.0.0-alpha.5 → 3.0.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 +156 -20
- package/lib/components/AccordionWrapper.vue.d.ts +5 -5
- package/lib/components/AccordionWrapper.vue.js +6 -6
- package/lib/components/BannerWrapper.vue.d.ts +25 -9
- package/lib/components/BannerWrapper.vue.js +15 -13
- package/lib/components/CarouselWrapper.vue.d.ts +5 -5
- package/lib/components/CarouselWrapper.vue.js +10 -10
- package/lib/components/GridItemWrapper.vue.d.ts +4 -4
- package/lib/components/InlineNotificationWrapper.vue.d.ts +13 -5
- package/lib/components/InlineNotificationWrapper.vue.js +7 -6
- package/lib/components/ModalWrapper.vue.d.ts +1 -1
- package/lib/components/PaginationWrapper.vue.d.ts +7 -7
- package/lib/components/PaginationWrapper.vue.js +9 -9
- package/lib/components/SegmentedControlWrapper.vue.d.ts +5 -5
- package/lib/components/SegmentedControlWrapper.vue.js +8 -8
- package/lib/components/StepperHorizontalWrapper.vue.d.ts +5 -5
- package/lib/components/StepperHorizontalWrapper.vue.js +12 -12
- package/lib/components/SwitchWrapper.vue.d.ts +5 -5
- package/lib/components/SwitchWrapper.vue.js +10 -10
- package/lib/components/TableWrapper.vue.d.ts +3 -3
- package/lib/components/TableWrapper.vue.js +12 -12
- package/lib/components/TabsBarWrapper.vue.d.ts +5 -5
- package/lib/components/TabsBarWrapper.vue.js +9 -9
- package/lib/components/TabsWrapper.vue.d.ts +4 -4
- package/lib/components/TabsWrapper.vue.js +11 -11
- package/lib/types.d.ts +20 -19
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -9,24 +9,159 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
9
9
|
|
|
10
10
|
### [Unreleased]
|
|
11
11
|
|
|
12
|
+
### [3.0.0-rc.0] - 2023-04-11
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- Styles: `borderRadiusLarge` and `pds-border-radius-large` are exposing correct value
|
|
17
|
+
([#2463](https://github.com/porsche-design-system/porsche-design-system/pull/2461))
|
|
18
|
+
|
|
19
|
+
### [3.0.0-alpha.6] - 2023-04-06
|
|
20
|
+
|
|
21
|
+
#### Added
|
|
22
|
+
|
|
23
|
+
- `xxl` breakpoint for all breakpoint customizable component values
|
|
24
|
+
([#2454](https://github.com/porsche-design-system/porsche-design-system/pull/2454))
|
|
25
|
+
|
|
26
|
+
#### Fixed
|
|
27
|
+
|
|
28
|
+
- Disabled color of `Icon` component ([#2446](https://github.com/porsche-design-system/porsche-design-system/pull/2446))
|
|
29
|
+
- Support of `Radio Button Wrapper` for name value with non-alphanumeric characters
|
|
30
|
+
([#2443](https://github.com/porsche-design-system/porsche-design-system/pull/2443))
|
|
31
|
+
|
|
32
|
+
#### Changed
|
|
33
|
+
|
|
34
|
+
- `Banner` is a controlled component now and its visibility has to be controlled via the `open` prop
|
|
35
|
+
([#2447](https://github.com/porsche-design-system/porsche-design-system/pull/2447))
|
|
36
|
+
|
|
37
|
+
```diff
|
|
38
|
+
- <p-banner></p-banner>
|
|
39
|
+
+ <p-banner open="true"></p-banner>
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
- Renamed all custom `change` events to `update` because of bad event emissions with native `change` events, e.g. with
|
|
43
|
+
nested `select` or `input` elements
|
|
44
|
+
|
|
45
|
+
#### 🤖 Property deprecations 🤖
|
|
46
|
+
|
|
47
|
+
##### Accordion:
|
|
48
|
+
|
|
49
|
+
- Event `accordionChange` is deprecated, use `update` event instead.
|
|
50
|
+
|
|
51
|
+
```diff
|
|
52
|
+
- <PAccordion onAccordionChange={(e: CustomEvent<AccordionChangeEvent>) => {}} />
|
|
53
|
+
+ <PAccordion onUpdate={(e: CustomEvent<AccordionUPdateEvent>) => {}} />
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
##### Banner:
|
|
57
|
+
|
|
58
|
+
- Prop `persistent` is deprecated, use `dismissButton` instead.
|
|
59
|
+
|
|
60
|
+
```diff
|
|
61
|
+
- <p-banner persistent="true"></p-banner>
|
|
62
|
+
+ <p-banner dismiss-button="false"></p-banner>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
##### Carousel:
|
|
66
|
+
|
|
67
|
+
- Event `carouselChange` is deprecated, use `update` event instead.
|
|
68
|
+
|
|
69
|
+
```diff
|
|
70
|
+
- <PCarousel onCarouselChange={(e: CustomEvent<CarouselChangeEvent>) => {}} />
|
|
71
|
+
+ <PCarousel onUpdate={(e: CustomEvent<CarouselUpdateEvent>) => {}} />
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
##### Inline Notification:
|
|
75
|
+
|
|
76
|
+
- Prop `persistent` is deprecated, use `dismissButton` instead.
|
|
77
|
+
|
|
78
|
+
```diff
|
|
79
|
+
- <p-inline-notification persistent="true"></p-inline-notification>
|
|
80
|
+
+ <p-inline-notification dismiss-button="false"></p-inline-notification>
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
##### Pagination:
|
|
84
|
+
|
|
85
|
+
- Event `pageChange` is deprecated, use `update` event instead.
|
|
86
|
+
|
|
87
|
+
```diff
|
|
88
|
+
- <PPagination onPageChange={(e: CustomEvent<PageChangeEvent>) => {}} />
|
|
89
|
+
+ <PPagination onUpdate={(e: CustomEvent<PaginationUpdateEvent>) => {}} />
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
#### Segmented Control:
|
|
93
|
+
|
|
94
|
+
- Event `segmentedControlChange` is deprecated, use `update` event instead.
|
|
95
|
+
|
|
96
|
+
```diff
|
|
97
|
+
- <PSegmentedControl onSegmentedControlChange={(e: CustomEvent<SegmentedControlChangeEvent>) => {}} />
|
|
98
|
+
+ <PSegmentedControl onUpdate={(e: CustomEvent<SegmentedControlUpdateEvent>) => {}} />
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
#### Stepper Horizontal:
|
|
102
|
+
|
|
103
|
+
- Event `stepChange` is deprecated, use `update` event instead.
|
|
104
|
+
|
|
105
|
+
```diff
|
|
106
|
+
- <PStepperHorizontal onStepChange={(e: CustomEvent<StepChangeEvent>) => {}} />
|
|
107
|
+
+ <PStepperHorizontal onUpdate={(e: CustomEvent<StepperHorizontalUpdateEvent>) => {}} />
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
#### Switch:
|
|
111
|
+
|
|
112
|
+
- Event `switchChange` is deprecated, use `update` event instead.
|
|
113
|
+
|
|
114
|
+
```diff
|
|
115
|
+
- <PSwitch onSwitchChange={(e: CustomEvent<SwitchChangeEvent>) => {}} />
|
|
116
|
+
+ <PSwitch onUpdate={(e: CustomEvent<SwitchUpdateEvent>) => {}} />
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
#### Table:
|
|
120
|
+
|
|
121
|
+
- Event `sortingChange` is deprecated, use `update` event instead.
|
|
122
|
+
|
|
123
|
+
```diff
|
|
124
|
+
- <PTable onSortingChange={(e: CustomEvent<SortingChangeEvent>) => {}} />
|
|
125
|
+
+ <PTable onUpdate={(e: CustomEvent<TableUpdateEvent>) => {}} />
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
##### Tabs:
|
|
129
|
+
|
|
130
|
+
- Event `tabChange` is deprecated, use `update` event instead.
|
|
131
|
+
|
|
132
|
+
```diff
|
|
133
|
+
- <PTabs onTabChange={(e: CustomEvent<TabChangeEvent>) => {}} />
|
|
134
|
+
+ <PTabs onUpdate={(e: CustomEvent<TabsUpdateEvent>) => {}} />
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
##### Tabs Bar:
|
|
138
|
+
|
|
139
|
+
- Event `tabChange` is deprecated, use `update` event instead.
|
|
140
|
+
|
|
141
|
+
```diff
|
|
142
|
+
- <PTabsBar onTabChange={(e: CustomEvent<TabChangeEvent>) => {}} />
|
|
143
|
+
+ <PTabsBar onUpdate={(e: CustomEvent<TabsUpdateEvent>) => {}} />
|
|
144
|
+
```
|
|
145
|
+
|
|
12
146
|
### [3.0.0-alpha.5] - 2023-03-30
|
|
13
147
|
|
|
14
148
|
#### Added
|
|
15
149
|
|
|
16
|
-
- `Wordmark` [
|
|
17
|
-
- `Crest` [
|
|
150
|
+
- `Wordmark` ([#2418](https://github.com/porsche-design-system/porsche-design-system/pull/2418))
|
|
151
|
+
- `Crest` ([#2437](https://github.com/porsche-design-system/porsche-design-system/pull/2437))
|
|
18
152
|
- Styles: changed color values of `theme[Light|Dark]ContrastMedium` and `theme[Light|Dark]Notification[*]` color tokens
|
|
19
|
-
of `Styles` subpackage [
|
|
153
|
+
of `Styles` subpackage ([#2436](https://github.com/porsche-design-system/porsche-design-system/pull/2436))
|
|
20
154
|
|
|
21
155
|
### [3.0.0-alpha.4] - 2023-03-28
|
|
22
156
|
|
|
23
157
|
#### Changed
|
|
24
158
|
|
|
25
|
-
- `Table` matches new design language
|
|
159
|
+
- `Table` matches new design language
|
|
160
|
+
([#2364](https://github.com/porsche-design-system/porsche-design-system/pull/2364/))
|
|
26
161
|
|
|
27
162
|
#### Added
|
|
28
163
|
|
|
29
|
-
- Styles: [
|
|
164
|
+
- Styles: ([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
|
|
30
165
|
- `gridWide`
|
|
31
166
|
- `gridWideColumnStart` and `pds-grid-wide-column-start`
|
|
32
167
|
- `gridWideColumnEnd` and `pds-grid-wide-column-end`
|
|
@@ -39,14 +174,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
39
174
|
- `gridWideOffset`, `gridWideOffsetBase`, `gridWideOffsetS`, `gridWideOffsetXXL` and `$pds-grid-wide-offset-base`,
|
|
40
175
|
`$pds-grid-wide-offset-s`, `$pds-grid-wide-offset-xxl`
|
|
41
176
|
- `gridFullOffset` and `$pds-grid-full-offset`
|
|
42
|
-
- `Button Tile` [
|
|
43
|
-
- `Fieldset` [
|
|
44
|
-
- `Link Tile Model Signature` [
|
|
45
|
-
- Prop `activeSlideIndex` to `Carousel`
|
|
177
|
+
- `Button Tile` ([#2381](https://github.com/porsche-design-system/porsche-design-system/pull/2381))
|
|
178
|
+
- `Fieldset` ([#2404](https://github.com/porsche-design-system/porsche-design-system/pull/2404))
|
|
179
|
+
- `Link Tile Model Signature` ([#2388](https://github.com/porsche-design-system/porsche-design-system/pull/2388))
|
|
180
|
+
- Prop `activeSlideIndex` to `Carousel`
|
|
181
|
+
([#2421](https://github.com/porsche-design-system/porsche-design-system/pull/2421))
|
|
46
182
|
- Prop `slidesPerPage` supports value `auto` of `Carousel`
|
|
47
|
-
[
|
|
48
|
-
- Prop `scrollbar` for `Scroller` [
|
|
49
|
-
- Prop `theme` for `Table` [
|
|
183
|
+
([#2421](https://github.com/porsche-design-system/porsche-design-system/pull/2421))
|
|
184
|
+
- Prop `scrollbar` for `Scroller` ([#2364](https://github.com/porsche-design-system/porsche-design-system/pull/2364/))
|
|
185
|
+
- Prop `theme` for `Table` ([#2364](https://github.com/porsche-design-system/porsche-design-system/pull/2364/))
|
|
50
186
|
|
|
51
187
|
#### Fixed
|
|
52
188
|
|
|
@@ -55,37 +191,37 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
55
191
|
#### Changed
|
|
56
192
|
|
|
57
193
|
- Styles: `gridStyles` and `pds-grid` are supporting an additional column range called `wide`
|
|
58
|
-
[
|
|
194
|
+
([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
|
|
59
195
|
- Styles: SCSS version needs to be imported by `@porsche-design-system/components-js/styles` instead of
|
|
60
196
|
`@porsche-design-system/components-js/styles/scss`
|
|
61
|
-
[
|
|
197
|
+
([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
|
|
62
198
|
|
|
63
199
|
#### Removed
|
|
64
200
|
|
|
65
201
|
- `Banner`: CSS variable `--p-banner-position-type`
|
|
66
|
-
[
|
|
202
|
+
([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
|
|
67
203
|
- `gridSafeZone`, `gridSafeZoneBase`, `gridSafeZoneXXL` and `pds-grid-safe-zone-base`, `pds-grid-safe-zone-xxl`
|
|
68
|
-
[
|
|
204
|
+
([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
|
|
69
205
|
- `gridWidth`, `gridWidthMin`, `gridWidthMax` and `pds-grid-width-min`, `pds-grid-width-max`
|
|
70
|
-
[
|
|
206
|
+
([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
|
|
71
207
|
|
|
72
208
|
#### 🤖 Property deprecations 🤖
|
|
73
209
|
|
|
74
210
|
##### Banner:
|
|
75
211
|
|
|
76
212
|
- Prop `width` has no effect anymore, instead the component is aligned with Porsche Grid "extended" by default.
|
|
77
|
-
[
|
|
213
|
+
([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
|
|
78
214
|
|
|
79
215
|
#### 🤡 Component deprecations 🤡
|
|
80
216
|
|
|
81
|
-
##### Marque [
|
|
217
|
+
##### Marque: ([#2418](https://github.com/porsche-design-system/porsche-design-system/pull/2418))
|
|
82
218
|
|
|
83
219
|
```diff
|
|
84
220
|
- <p-marque></p-marque>
|
|
85
221
|
+ <p-wordmark></p-wordmark>
|
|
86
222
|
```
|
|
87
223
|
|
|
88
|
-
##### Fieldset Wrapper: [
|
|
224
|
+
##### Fieldset Wrapper: ([#2404](https://github.com/porsche-design-system/porsche-design-system/pull/2404))
|
|
89
225
|
|
|
90
226
|
```diff
|
|
91
227
|
- <p-fieldset-wrapper label="Some legend label">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AccordionUpdateEvent, BreakpointCustomizable, AccordionSize, AccordionTag, Theme } from '../types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
/**
|
|
4
4
|
* Displays the Accordion as compact version with thinner border and smaller paddings.
|
|
@@ -29,9 +29,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
29
|
tag: string;
|
|
30
30
|
theme: string;
|
|
31
31
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
|
-
accordionChange: (value:
|
|
32
|
+
accordionChange: (value: AccordionUpdateEvent) => void;
|
|
33
33
|
} & {
|
|
34
|
-
|
|
34
|
+
update: (value: AccordionUpdateEvent) => void;
|
|
35
35
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
36
36
|
/**
|
|
37
37
|
* Displays the Accordion as compact version with thinner border and smaller paddings.
|
|
@@ -62,8 +62,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
62
62
|
tag: string;
|
|
63
63
|
theme: string;
|
|
64
64
|
}>>> & {
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
onAccordionChange?: ((value: AccordionUpdateEvent) => any) | undefined;
|
|
66
|
+
onUpdate?: ((value: AccordionUpdateEvent) => any) | undefined;
|
|
67
67
|
}, {
|
|
68
68
|
size: BreakpointCustomizable<AccordionSize>;
|
|
69
69
|
tag: AccordionTag;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, ref as
|
|
1
|
+
import { defineComponent as l, ref as c, onMounted as s, onUpdated as f, openBlock as u, createBlock as m, resolveDynamicComponent as i, unref as g, withCtx as h, renderSlot as C } from "vue";
|
|
2
2
|
import { getPrefixedTagName as _, syncProperties as t, addEventListenerToElementRef as a } from "../../utils.js";
|
|
3
3
|
const k = /* @__PURE__ */ l({
|
|
4
4
|
__name: "AccordionWrapper",
|
|
@@ -10,19 +10,19 @@ const k = /* @__PURE__ */ l({
|
|
|
10
10
|
tag: { default: "h2" },
|
|
11
11
|
theme: { default: "light" }
|
|
12
12
|
},
|
|
13
|
-
emits: ["accordionChange", "
|
|
13
|
+
emits: ["accordionChange", "update"],
|
|
14
14
|
setup(r, { emit: o }) {
|
|
15
|
-
const n = r, p = _("p-accordion"), e =
|
|
15
|
+
const n = r, p = _("p-accordion"), e = c();
|
|
16
16
|
return s(() => {
|
|
17
|
-
t(e.value, n), a(e.value, "accordionChange", o), a(e.value, "
|
|
17
|
+
t(e.value, n), a(e.value, "accordionChange", o), a(e.value, "update", o);
|
|
18
18
|
}), f(() => {
|
|
19
19
|
t(e.value, n);
|
|
20
|
-
}), (
|
|
20
|
+
}), (d, v) => (u(), m(i(g(p)), {
|
|
21
21
|
ref_key: "pdsComponentRef",
|
|
22
22
|
ref: e
|
|
23
23
|
}, {
|
|
24
24
|
default: h(() => [
|
|
25
|
-
C(
|
|
25
|
+
C(d.$slots, "default")
|
|
26
26
|
]),
|
|
27
27
|
_: 3
|
|
28
28
|
}, 512));
|
|
@@ -1,15 +1,23 @@
|
|
|
1
|
-
import type { BannerState, Theme
|
|
1
|
+
import type { BannerState, Theme } from '../types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
/**
|
|
4
4
|
* Description of the banner.
|
|
5
5
|
*/
|
|
6
6
|
description?: string | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* If false, the banner will not have a dismiss button.
|
|
9
|
+
*/
|
|
10
|
+
dismissButton?: boolean | undefined;
|
|
7
11
|
/**
|
|
8
12
|
* Heading of the banner.
|
|
9
13
|
*/
|
|
10
14
|
heading?: string | undefined;
|
|
11
15
|
/**
|
|
12
|
-
*
|
|
16
|
+
* If true, the banner is open.
|
|
17
|
+
*/
|
|
18
|
+
open: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated since v3.0.0, will be removed with next major release, use `dismissButton` instead. Defines if the banner can be closed/removed by the user.
|
|
13
21
|
*/
|
|
14
22
|
persistent?: boolean | undefined;
|
|
15
23
|
/**
|
|
@@ -27,11 +35,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
27
35
|
width?: "extended" | "basic" | "fluid" | undefined;
|
|
28
36
|
}>, {
|
|
29
37
|
description: string;
|
|
38
|
+
dismissButton: boolean;
|
|
30
39
|
heading: string;
|
|
31
|
-
|
|
40
|
+
open: boolean;
|
|
32
41
|
state: string;
|
|
33
42
|
theme: string;
|
|
34
|
-
width: string;
|
|
35
43
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
44
|
dismiss: (value?: void | undefined) => void;
|
|
37
45
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -39,12 +47,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
39
47
|
* Description of the banner.
|
|
40
48
|
*/
|
|
41
49
|
description?: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* If false, the banner will not have a dismiss button.
|
|
52
|
+
*/
|
|
53
|
+
dismissButton?: boolean | undefined;
|
|
42
54
|
/**
|
|
43
55
|
* Heading of the banner.
|
|
44
56
|
*/
|
|
45
57
|
heading?: string | undefined;
|
|
46
58
|
/**
|
|
47
|
-
*
|
|
59
|
+
* If true, the banner is open.
|
|
60
|
+
*/
|
|
61
|
+
open: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* @deprecated since v3.0.0, will be removed with next major release, use `dismissButton` instead. Defines if the banner can be closed/removed by the user.
|
|
48
64
|
*/
|
|
49
65
|
persistent?: boolean | undefined;
|
|
50
66
|
/**
|
|
@@ -62,20 +78,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
62
78
|
width?: "extended" | "basic" | "fluid" | undefined;
|
|
63
79
|
}>, {
|
|
64
80
|
description: string;
|
|
81
|
+
dismissButton: boolean;
|
|
65
82
|
heading: string;
|
|
66
|
-
|
|
83
|
+
open: boolean;
|
|
67
84
|
state: string;
|
|
68
85
|
theme: string;
|
|
69
|
-
width: string;
|
|
70
86
|
}>>> & {
|
|
71
87
|
onDismiss?: ((value?: void | undefined) => any) | undefined;
|
|
72
88
|
}, {
|
|
73
89
|
heading: string;
|
|
90
|
+
open: boolean;
|
|
74
91
|
theme: Theme;
|
|
75
92
|
description: string;
|
|
76
|
-
|
|
93
|
+
dismissButton: boolean;
|
|
77
94
|
state: BannerState;
|
|
78
|
-
width: BannerWidth;
|
|
79
95
|
}>, {
|
|
80
96
|
default: (_: {}) => any;
|
|
81
97
|
}>;
|
|
@@ -1,33 +1,35 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getPrefixedTagName as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as d, onMounted as l, onUpdated as f, openBlock as i, createBlock as u, resolveDynamicComponent as m, unref as c, withCtx as B, renderSlot as _ } from "vue";
|
|
2
|
+
import { getPrefixedTagName as h, syncProperties as n, addEventListenerToElementRef as y } from "../../utils.js";
|
|
3
|
+
const k = /* @__PURE__ */ p({
|
|
4
4
|
__name: "BannerWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
description: { default: "" },
|
|
7
|
+
dismissButton: { type: Boolean, default: !0 },
|
|
7
8
|
heading: { default: "" },
|
|
8
|
-
|
|
9
|
+
open: { type: Boolean, default: !1 },
|
|
10
|
+
persistent: { type: Boolean },
|
|
9
11
|
state: { default: "info" },
|
|
10
12
|
theme: { default: "light" },
|
|
11
|
-
width:
|
|
13
|
+
width: null
|
|
12
14
|
},
|
|
13
15
|
emits: ["dismiss"],
|
|
14
16
|
setup(o, { emit: a }) {
|
|
15
|
-
const t = o,
|
|
16
|
-
return
|
|
17
|
-
n(e.value, t),
|
|
18
|
-
}),
|
|
17
|
+
const t = o, s = h("p-banner"), e = d();
|
|
18
|
+
return l(() => {
|
|
19
|
+
n(e.value, t), y(e.value, "dismiss", a);
|
|
20
|
+
}), f(() => {
|
|
19
21
|
n(e.value, t);
|
|
20
|
-
}), (
|
|
22
|
+
}), (r, C) => (i(), u(m(c(s)), {
|
|
21
23
|
ref_key: "pdsComponentRef",
|
|
22
24
|
ref: e
|
|
23
25
|
}, {
|
|
24
|
-
default:
|
|
25
|
-
|
|
26
|
+
default: B(() => [
|
|
27
|
+
_(r.$slots, "default")
|
|
26
28
|
]),
|
|
27
29
|
_: 3
|
|
28
30
|
}, 512));
|
|
29
31
|
}
|
|
30
32
|
});
|
|
31
33
|
export {
|
|
32
|
-
|
|
34
|
+
k as default
|
|
33
35
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CarouselAlignHeader, BreakpointCustomizable,
|
|
1
|
+
import type { CarouselAlignHeader, BreakpointCustomizable, CarouselUpdateEvent, Theme, CarouselWidth } from '../types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
/**
|
|
4
4
|
* Defines which slide to be active (zero-based numbering).
|
|
@@ -58,9 +58,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
58
58
|
theme: string;
|
|
59
59
|
width: string;
|
|
60
60
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
61
|
-
carouselChange: (value:
|
|
61
|
+
carouselChange: (value: CarouselUpdateEvent) => void;
|
|
62
62
|
} & {
|
|
63
|
-
|
|
63
|
+
update: (value: CarouselUpdateEvent) => void;
|
|
64
64
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
65
65
|
/**
|
|
66
66
|
* Defines which slide to be active (zero-based numbering).
|
|
@@ -120,8 +120,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
120
120
|
theme: string;
|
|
121
121
|
width: string;
|
|
122
122
|
}>>> & {
|
|
123
|
-
|
|
124
|
-
onCarouselChange?: ((value:
|
|
123
|
+
onUpdate?: ((value: CarouselUpdateEvent) => any) | undefined;
|
|
124
|
+
onCarouselChange?: ((value: CarouselUpdateEvent) => any) | undefined;
|
|
125
125
|
}, {
|
|
126
126
|
theme: Theme;
|
|
127
127
|
width: CarouselWidth;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u, ref as
|
|
1
|
+
import { defineComponent as u, ref as p, onMounted as s, onUpdated as i, 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 a, addEventListenerToElementRef as o } from "../../utils.js";
|
|
3
3
|
const P = /* @__PURE__ */ u({
|
|
4
4
|
__name: "CarouselWrapper",
|
|
@@ -16,19 +16,19 @@ const P = /* @__PURE__ */ u({
|
|
|
16
16
|
width: { default: "basic" },
|
|
17
17
|
wrapContent: { type: Boolean }
|
|
18
18
|
},
|
|
19
|
-
emits: ["carouselChange", "
|
|
20
|
-
setup(l, { emit:
|
|
21
|
-
const
|
|
22
|
-
return
|
|
23
|
-
a(e.value,
|
|
24
|
-
}),
|
|
25
|
-
a(e.value,
|
|
19
|
+
emits: ["carouselChange", "update"],
|
|
20
|
+
setup(l, { emit: t }) {
|
|
21
|
+
const n = l, r = v("p-carousel"), e = p();
|
|
22
|
+
return s(() => {
|
|
23
|
+
a(e.value, n), o(e.value, "carouselChange", t), o(e.value, "update", t);
|
|
24
|
+
}), i(() => {
|
|
25
|
+
a(e.value, n);
|
|
26
26
|
}), (d, _) => (f(), c(m(g(r)), {
|
|
27
27
|
ref_key: "pdsComponentRef",
|
|
28
28
|
ref: e
|
|
29
29
|
}, {
|
|
30
|
-
default:
|
|
31
|
-
|
|
30
|
+
default: C(() => [
|
|
31
|
+
h(d.$slots, "default")
|
|
32
32
|
]),
|
|
33
33
|
_: 3
|
|
34
34
|
}, 512));
|
|
@@ -4,11 +4,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
4
4
|
/**
|
|
5
5
|
* The offset of the column. Can be between 0 and 11. Also defines the offset of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
|
|
6
6
|
*/
|
|
7
|
-
offset?: BreakpointCustomizable<0 | 3 | 4 |
|
|
7
|
+
offset?: BreakpointCustomizable<0 | 3 | 4 | 7 | 5 | 2 | 6 | 1 | 8 | 9 | 10 | 11> | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* The size of the column. Can be between 1 and 12. Also defines the size of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
|
|
10
10
|
*/
|
|
11
|
-
size?: BreakpointCustomizable<3 | 4 |
|
|
11
|
+
size?: BreakpointCustomizable<3 | 4 | 7 | 5 | 2 | 6 | 1 | 12 | 8 | 9 | 10 | 11> | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
offset: number;
|
|
14
14
|
size: number;
|
|
@@ -16,11 +16,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
16
16
|
/**
|
|
17
17
|
* The offset of the column. Can be between 0 and 11. Also defines the offset of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
|
|
18
18
|
*/
|
|
19
|
-
offset?: BreakpointCustomizable<0 | 3 | 4 |
|
|
19
|
+
offset?: BreakpointCustomizable<0 | 3 | 4 | 7 | 5 | 2 | 6 | 1 | 8 | 9 | 10 | 11> | undefined;
|
|
20
20
|
/**
|
|
21
21
|
* The size of the column. Can be between 1 and 12. Also defines the size of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
|
|
22
22
|
*/
|
|
23
|
-
size?: BreakpointCustomizable<3 | 4 |
|
|
23
|
+
size?: BreakpointCustomizable<3 | 4 | 7 | 5 | 2 | 6 | 1 | 12 | 8 | 9 | 10 | 11> | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
offset: number;
|
|
26
26
|
size: number;
|
|
@@ -16,12 +16,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
16
16
|
* Description of the inline-notification.
|
|
17
17
|
*/
|
|
18
18
|
description?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* If false, the inline-notification will not have a dismiss button.
|
|
21
|
+
*/
|
|
22
|
+
dismissButton?: boolean | undefined;
|
|
19
23
|
/**
|
|
20
24
|
* Heading of the inline-notification.
|
|
21
25
|
*/
|
|
22
26
|
heading?: string | undefined;
|
|
23
27
|
/**
|
|
24
|
-
* Defines if the inline-notification can be closed/removed by the user.
|
|
28
|
+
* @deprecated since v3.0.0, will be removed with next major release, use `dismissButton` instead. Defines if the inline-notification can be closed/removed by the user.
|
|
25
29
|
*/
|
|
26
30
|
persistent?: boolean | undefined;
|
|
27
31
|
/**
|
|
@@ -36,8 +40,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
40
|
actionIcon: string;
|
|
37
41
|
actionLoading: boolean;
|
|
38
42
|
description: string;
|
|
43
|
+
dismissButton: boolean;
|
|
39
44
|
heading: string;
|
|
40
|
-
persistent: boolean;
|
|
41
45
|
state: string;
|
|
42
46
|
theme: string;
|
|
43
47
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -61,12 +65,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
61
65
|
* Description of the inline-notification.
|
|
62
66
|
*/
|
|
63
67
|
description?: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* If false, the inline-notification will not have a dismiss button.
|
|
70
|
+
*/
|
|
71
|
+
dismissButton?: boolean | undefined;
|
|
64
72
|
/**
|
|
65
73
|
* Heading of the inline-notification.
|
|
66
74
|
*/
|
|
67
75
|
heading?: string | undefined;
|
|
68
76
|
/**
|
|
69
|
-
* Defines if the inline-notification can be closed/removed by the user.
|
|
77
|
+
* @deprecated since v3.0.0, will be removed with next major release, use `dismissButton` instead. Defines if the inline-notification can be closed/removed by the user.
|
|
70
78
|
*/
|
|
71
79
|
persistent?: boolean | undefined;
|
|
72
80
|
/**
|
|
@@ -81,8 +89,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
81
89
|
actionIcon: string;
|
|
82
90
|
actionLoading: boolean;
|
|
83
91
|
description: string;
|
|
92
|
+
dismissButton: boolean;
|
|
84
93
|
heading: string;
|
|
85
|
-
persistent: boolean;
|
|
86
94
|
state: string;
|
|
87
95
|
theme: string;
|
|
88
96
|
}>>> & {
|
|
@@ -92,7 +100,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
92
100
|
heading: string;
|
|
93
101
|
theme: Theme;
|
|
94
102
|
description: string;
|
|
95
|
-
|
|
103
|
+
dismissButton: boolean;
|
|
96
104
|
state: InlineNotificationState;
|
|
97
105
|
actionIcon: InlineNotificationActionIcon;
|
|
98
106
|
actionLoading: boolean;
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as l, ref as d, onMounted as f, onUpdated as p, openBlock as u, createBlock as c, resolveDynamicComponent as m, unref as g, withCtx as _, renderSlot as h } from "vue";
|
|
2
2
|
import { getPrefixedTagName as v, syncProperties as o, addEventListenerToElementRef as a } from "../../utils.js";
|
|
3
|
-
const k = /* @__PURE__ */
|
|
3
|
+
const k = /* @__PURE__ */ l({
|
|
4
4
|
__name: "InlineNotificationWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
actionIcon: { default: "arrow-right" },
|
|
7
7
|
actionLabel: null,
|
|
8
8
|
actionLoading: { type: Boolean, default: !1 },
|
|
9
9
|
description: { default: "" },
|
|
10
|
+
dismissButton: { type: Boolean, default: !0 },
|
|
10
11
|
heading: { default: "" },
|
|
11
|
-
persistent: { type: Boolean
|
|
12
|
+
persistent: { type: Boolean },
|
|
12
13
|
state: { default: "info" },
|
|
13
14
|
theme: { default: "light" }
|
|
14
15
|
},
|
|
15
16
|
emits: ["action", "dismiss"],
|
|
16
17
|
setup(i, { emit: t }) {
|
|
17
|
-
const n = i,
|
|
18
|
-
return
|
|
18
|
+
const n = i, s = v("p-inline-notification"), e = d();
|
|
19
|
+
return f(() => {
|
|
19
20
|
o(e.value, n), a(e.value, "action", t), a(e.value, "dismiss", t);
|
|
20
21
|
}), p(() => {
|
|
21
22
|
o(e.value, n);
|
|
22
|
-
}), (r,
|
|
23
|
+
}), (r, y) => (u(), c(m(g(s)), {
|
|
23
24
|
ref_key: "pdsComponentRef",
|
|
24
25
|
ref: e
|
|
25
26
|
}, {
|
|
@@ -76,8 +76,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
76
76
|
onClose?: ((value?: void | undefined) => any) | undefined;
|
|
77
77
|
}, {
|
|
78
78
|
open: boolean;
|
|
79
|
-
disableBackdropClick: boolean;
|
|
80
79
|
dismissButton: boolean;
|
|
80
|
+
disableBackdropClick: boolean;
|
|
81
81
|
fullscreen: BreakpointCustomizable<boolean>;
|
|
82
82
|
}>, {
|
|
83
83
|
default: (_: {}) => any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, PaginationMaxNumberOfPageLinks,
|
|
1
|
+
import type { BreakpointCustomizable, PaginationMaxNumberOfPageLinks, PaginationUpdateEvent, Theme } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
/**
|
|
4
4
|
* Index of the currently active page.
|
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
31
31
|
/**
|
|
32
32
|
* The maximum number of page links rendered
|
|
33
33
|
*/
|
|
34
|
-
maxNumberOfPageLinks?: BreakpointCustomizable<
|
|
34
|
+
maxNumberOfPageLinks?: BreakpointCustomizable<7 | 5> | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* Adapts the color when used on dark background.
|
|
37
37
|
*/
|
|
@@ -56,9 +56,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
56
56
|
theme: string;
|
|
57
57
|
totalItemsCount: number;
|
|
58
58
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
59
|
-
|
|
59
|
+
pageChange: (value: PaginationUpdateEvent) => void;
|
|
60
60
|
} & {
|
|
61
|
-
|
|
61
|
+
update: (value: PaginationUpdateEvent) => void;
|
|
62
62
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
63
63
|
/**
|
|
64
64
|
* Index of the currently active page.
|
|
@@ -91,7 +91,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
91
91
|
/**
|
|
92
92
|
* The maximum number of page links rendered
|
|
93
93
|
*/
|
|
94
|
-
maxNumberOfPageLinks?: BreakpointCustomizable<
|
|
94
|
+
maxNumberOfPageLinks?: BreakpointCustomizable<7 | 5> | undefined;
|
|
95
95
|
/**
|
|
96
96
|
* Adapts the color when used on dark background.
|
|
97
97
|
*/
|
|
@@ -116,8 +116,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
116
116
|
theme: string;
|
|
117
117
|
totalItemsCount: number;
|
|
118
118
|
}>>> & {
|
|
119
|
-
|
|
120
|
-
onPageChange?: ((value:
|
|
119
|
+
onUpdate?: ((value: PaginationUpdateEvent) => any) | undefined;
|
|
120
|
+
onPageChange?: ((value: PaginationUpdateEvent) => any) | undefined;
|
|
121
121
|
}, {
|
|
122
122
|
theme: Theme;
|
|
123
123
|
intl: Partial<Record<"page" | "prev" | "next" | "root", string>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getPrefixedTagName as
|
|
3
|
-
const b = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as r, ref as u, onMounted as s, onUpdated as f, openBlock as i, createBlock as g, resolveDynamicComponent as m, unref as d } from "vue";
|
|
2
|
+
import { getPrefixedTagName as c, syncProperties as n, addEventListenerToElementRef as l } from "../../utils.js";
|
|
3
|
+
const b = /* @__PURE__ */ r({
|
|
4
4
|
__name: "PaginationWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
activePage: { default: 1 },
|
|
@@ -14,14 +14,14 @@ const b = /* @__PURE__ */ p({
|
|
|
14
14
|
theme: { default: "light" },
|
|
15
15
|
totalItemsCount: { default: 1 }
|
|
16
16
|
},
|
|
17
|
-
emits: ["
|
|
17
|
+
emits: ["pageChange", "update"],
|
|
18
18
|
setup(o, { emit: a }) {
|
|
19
|
-
const
|
|
19
|
+
const t = o, p = c("p-pagination"), e = u();
|
|
20
20
|
return s(() => {
|
|
21
|
-
|
|
22
|
-
}),
|
|
23
|
-
|
|
24
|
-
}), (P, v) => (
|
|
21
|
+
n(e.value, t), l(e.value, "pageChange", a), l(e.value, "update", a);
|
|
22
|
+
}), f(() => {
|
|
23
|
+
n(e.value, t);
|
|
24
|
+
}), (P, v) => (i(), g(m(d(p)), {
|
|
25
25
|
ref_key: "pdsComponentRef",
|
|
26
26
|
ref: e
|
|
27
27
|
}, null, 512));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SegmentedControlUpdateEvent, Theme } from '../types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
/**
|
|
4
4
|
* @deprecated since v3.0.0, will be removed with next major release. Background color variations
|
|
@@ -15,9 +15,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
}>, {
|
|
16
16
|
theme: string;
|
|
17
17
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
-
|
|
18
|
+
segmentedControlChange: (value: SegmentedControlUpdateEvent) => void;
|
|
19
19
|
} & {
|
|
20
|
-
|
|
20
|
+
update: (value: SegmentedControlUpdateEvent) => void;
|
|
21
21
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
22
22
|
/**
|
|
23
23
|
* @deprecated since v3.0.0, will be removed with next major release. Background color variations
|
|
@@ -34,8 +34,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
34
34
|
}>, {
|
|
35
35
|
theme: string;
|
|
36
36
|
}>>> & {
|
|
37
|
-
|
|
38
|
-
onSegmentedControlChange?: ((value:
|
|
37
|
+
onUpdate?: ((value: SegmentedControlUpdateEvent) => any) | undefined;
|
|
38
|
+
onSegmentedControlChange?: ((value: SegmentedControlUpdateEvent) => any) | undefined;
|
|
39
39
|
}, {
|
|
40
40
|
theme: Theme;
|
|
41
41
|
}>, {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getPrefixedTagName as
|
|
3
|
-
const y = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as d, ref as s, onMounted as m, onUpdated as u, openBlock as f, createBlock as c, resolveDynamicComponent as C, unref as g, withCtx as i, renderSlot as v } from "vue";
|
|
2
|
+
import { getPrefixedTagName as _, syncProperties as t, addEventListenerToElementRef as r } from "../../utils.js";
|
|
3
|
+
const y = /* @__PURE__ */ d({
|
|
4
4
|
__name: "SegmentedControlWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
backgroundColor: null,
|
|
7
7
|
theme: { default: "light" },
|
|
8
8
|
value: null
|
|
9
9
|
},
|
|
10
|
-
emits: ["
|
|
10
|
+
emits: ["segmentedControlChange", "update"],
|
|
11
11
|
setup(a, { emit: n }) {
|
|
12
|
-
const o = a, l =
|
|
12
|
+
const o = a, l = _("p-segmented-control"), e = s();
|
|
13
13
|
return m(() => {
|
|
14
|
-
t(e.value, o), r(e.value, "
|
|
14
|
+
t(e.value, o), r(e.value, "segmentedControlChange", n), r(e.value, "update", n);
|
|
15
15
|
}), u(() => {
|
|
16
16
|
t(e.value, o);
|
|
17
|
-
}), (p,
|
|
17
|
+
}), (p, h) => (f(), c(C(g(l)), {
|
|
18
18
|
ref_key: "pdsComponentRef",
|
|
19
19
|
ref: e
|
|
20
20
|
}, {
|
|
21
21
|
default: i(() => [
|
|
22
|
-
|
|
22
|
+
v(p.$slots, "default")
|
|
23
23
|
]),
|
|
24
24
|
_: 3
|
|
25
25
|
}, 512));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { StepperHorizontalUpdateEvent, BreakpointCustomizable, StepperHorizontalSize, Theme } from '../types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
size?: BreakpointCustomizable<"small" | "medium"> | undefined;
|
|
4
4
|
/**
|
|
@@ -9,9 +9,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
9
|
size: string;
|
|
10
10
|
theme: string;
|
|
11
11
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
-
|
|
12
|
+
stepChange: (value: StepperHorizontalUpdateEvent) => void;
|
|
13
13
|
} & {
|
|
14
|
-
|
|
14
|
+
update: (value: StepperHorizontalUpdateEvent) => void;
|
|
15
15
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
16
|
size?: BreakpointCustomizable<"small" | "medium"> | undefined;
|
|
17
17
|
/**
|
|
@@ -22,8 +22,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
22
22
|
size: string;
|
|
23
23
|
theme: string;
|
|
24
24
|
}>>> & {
|
|
25
|
-
|
|
26
|
-
onStepChange?: ((value:
|
|
25
|
+
onUpdate?: ((value: StepperHorizontalUpdateEvent) => any) | undefined;
|
|
26
|
+
onStepChange?: ((value: StepperHorizontalUpdateEvent) => any) | undefined;
|
|
27
27
|
}, {
|
|
28
28
|
size: BreakpointCustomizable<StepperHorizontalSize>;
|
|
29
29
|
theme: Theme;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { defineComponent as l, ref as
|
|
2
|
-
import { getPrefixedTagName as
|
|
1
|
+
import { defineComponent as l, ref as d, onMounted as f, onUpdated as m, openBlock as u, createBlock as i, resolveDynamicComponent as c, unref as C, withCtx as h, renderSlot as _ } from "vue";
|
|
2
|
+
import { getPrefixedTagName as g, syncProperties as n, addEventListenerToElementRef as p } from "../../utils.js";
|
|
3
3
|
const y = /* @__PURE__ */ l({
|
|
4
4
|
__name: "StepperHorizontalWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
size: { default: "small" },
|
|
7
7
|
theme: { default: "light" }
|
|
8
8
|
},
|
|
9
|
-
emits: ["
|
|
10
|
-
setup(
|
|
11
|
-
const
|
|
12
|
-
return
|
|
13
|
-
|
|
14
|
-
}),
|
|
15
|
-
|
|
16
|
-
}), (s, v) => (
|
|
9
|
+
emits: ["stepChange", "update"],
|
|
10
|
+
setup(r, { emit: t }) {
|
|
11
|
+
const o = r, a = g("p-stepper-horizontal"), e = d();
|
|
12
|
+
return f(() => {
|
|
13
|
+
n(e.value, o), p(e.value, "stepChange", t), p(e.value, "update", t);
|
|
14
|
+
}), m(() => {
|
|
15
|
+
n(e.value, o);
|
|
16
|
+
}), (s, v) => (u(), i(c(C(a)), {
|
|
17
17
|
ref_key: "pdsComponentRef",
|
|
18
18
|
ref: e
|
|
19
19
|
}, {
|
|
20
|
-
default:
|
|
21
|
-
|
|
20
|
+
default: h(() => [
|
|
21
|
+
_(s.$slots, "default")
|
|
22
22
|
]),
|
|
23
23
|
_: 3
|
|
24
24
|
}, 512));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, SwitchAlignLabel,
|
|
1
|
+
import type { BreakpointCustomizable, SwitchAlignLabel, SwitchUpdateEvent, Theme } from '../types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
/**
|
|
4
4
|
* Aligns the label.
|
|
@@ -37,9 +37,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
37
37
|
stretch: boolean;
|
|
38
38
|
theme: string;
|
|
39
39
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
|
-
|
|
40
|
+
switchChange: (value: SwitchUpdateEvent) => void;
|
|
41
41
|
} & {
|
|
42
|
-
|
|
42
|
+
update: (value: SwitchUpdateEvent) => void;
|
|
43
43
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
44
44
|
/**
|
|
45
45
|
* Aligns the label.
|
|
@@ -78,8 +78,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
78
78
|
stretch: boolean;
|
|
79
79
|
theme: string;
|
|
80
80
|
}>>> & {
|
|
81
|
-
|
|
82
|
-
onSwitchChange?: ((value:
|
|
81
|
+
onUpdate?: ((value: SwitchUpdateEvent) => any) | undefined;
|
|
82
|
+
onSwitchChange?: ((value: SwitchUpdateEvent) => any) | undefined;
|
|
83
83
|
}, {
|
|
84
84
|
stretch: BreakpointCustomizable<boolean>;
|
|
85
85
|
theme: Theme;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getPrefixedTagName as _, syncProperties as
|
|
3
|
-
const B = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as f, ref as r, onMounted as p, onUpdated as u, openBlock as c, createBlock as i, resolveDynamicComponent as m, unref as h, withCtx as g, renderSlot as C } from "vue";
|
|
2
|
+
import { getPrefixedTagName as _, syncProperties as o, addEventListenerToElementRef as n } from "../../utils.js";
|
|
3
|
+
const B = /* @__PURE__ */ f({
|
|
4
4
|
__name: "SwitchWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
alignLabel: { default: "right" },
|
|
@@ -11,19 +11,19 @@ const B = /* @__PURE__ */ r({
|
|
|
11
11
|
stretch: { default: !1 },
|
|
12
12
|
theme: { default: "light" }
|
|
13
13
|
},
|
|
14
|
-
emits: ["
|
|
14
|
+
emits: ["switchChange", "update"],
|
|
15
15
|
setup(l, { emit: t }) {
|
|
16
|
-
const a = l, s = _("p-switch"), e =
|
|
16
|
+
const a = l, s = _("p-switch"), e = r();
|
|
17
17
|
return p(() => {
|
|
18
|
-
|
|
19
|
-
}),
|
|
20
|
-
|
|
21
|
-
}), (
|
|
18
|
+
o(e.value, a), n(e.value, "switchChange", t), n(e.value, "update", t);
|
|
19
|
+
}), u(() => {
|
|
20
|
+
o(e.value, a);
|
|
21
|
+
}), (d, v) => (c(), i(m(h(s)), {
|
|
22
22
|
ref_key: "pdsComponentRef",
|
|
23
23
|
ref: e
|
|
24
24
|
}, {
|
|
25
25
|
default: g(() => [
|
|
26
|
-
C(
|
|
26
|
+
C(d.$slots, "default")
|
|
27
27
|
]),
|
|
28
28
|
_: 3
|
|
29
29
|
}, 512));
|
|
@@ -11,9 +11,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
11
11
|
}>, {
|
|
12
12
|
theme: string;
|
|
13
13
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
-
change: (value: import("../types").TableHeadCellSort) => void;
|
|
15
|
-
} & {
|
|
16
14
|
sortingChange: (value: import("../types").TableHeadCellSort) => void;
|
|
15
|
+
} & {
|
|
16
|
+
update: (value: import("../types").TableHeadCellSort) => void;
|
|
17
17
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
18
18
|
/**
|
|
19
19
|
* A caption describing the contents of the table for accessibility only. This won't be visible in the browser. Use an element with an attribute of `slot="caption"` for a visible caption.
|
|
@@ -26,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
26
26
|
}>, {
|
|
27
27
|
theme: string;
|
|
28
28
|
}>>> & {
|
|
29
|
-
|
|
29
|
+
onUpdate?: ((value: import("../types").TableHeadCellSort) => any) | undefined;
|
|
30
30
|
onSortingChange?: ((value: import("../types").TableHeadCellSort) => any) | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
theme: Theme;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { defineComponent as l, ref as
|
|
2
|
-
import { getPrefixedTagName as
|
|
1
|
+
import { defineComponent as l, ref as d, onMounted as f, onUpdated as u, openBlock as m, createBlock as c, resolveDynamicComponent as i, unref as g, withCtx as C, renderSlot as _ } from "vue";
|
|
2
|
+
import { getPrefixedTagName as h, syncProperties as o, addEventListenerToElementRef as a } from "../../utils.js";
|
|
3
3
|
const k = /* @__PURE__ */ l({
|
|
4
4
|
__name: "TableWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
caption: null,
|
|
7
7
|
theme: { default: "light" }
|
|
8
8
|
},
|
|
9
|
-
emits: ["
|
|
10
|
-
setup(r, { emit:
|
|
11
|
-
const
|
|
12
|
-
return
|
|
13
|
-
o(e.value,
|
|
14
|
-
}),
|
|
15
|
-
o(e.value,
|
|
16
|
-
}), (s, v) => (
|
|
9
|
+
emits: ["sortingChange", "update"],
|
|
10
|
+
setup(r, { emit: t }) {
|
|
11
|
+
const n = r, p = h("p-table"), e = d();
|
|
12
|
+
return f(() => {
|
|
13
|
+
o(e.value, n), a(e.value, "sortingChange", t), a(e.value, "update", t);
|
|
14
|
+
}), u(() => {
|
|
15
|
+
o(e.value, n);
|
|
16
|
+
}), (s, v) => (m(), c(i(g(p)), {
|
|
17
17
|
ref_key: "pdsComponentRef",
|
|
18
18
|
ref: e
|
|
19
19
|
}, {
|
|
20
|
-
default:
|
|
21
|
-
|
|
20
|
+
default: C(() => [
|
|
21
|
+
_(s.$slots, "default")
|
|
22
22
|
]),
|
|
23
23
|
_: 3
|
|
24
24
|
}, 512));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TabsBarGradientColor,
|
|
1
|
+
import type { TabsBarGradientColor, TabsBarUpdateEvent, BreakpointCustomizable, TabsBarSize, Theme, TabsBarWeight } from '../types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
/**
|
|
4
4
|
* Defines which tab to be visualized as selected (zero-based numbering), undefined if none should be selected.
|
|
@@ -30,9 +30,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
30
30
|
theme: string;
|
|
31
31
|
weight: string;
|
|
32
32
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
-
|
|
33
|
+
tabChange: (value: TabsBarUpdateEvent) => void;
|
|
34
34
|
} & {
|
|
35
|
-
|
|
35
|
+
update: (value: TabsBarUpdateEvent) => void;
|
|
36
36
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
37
37
|
/**
|
|
38
38
|
* Defines which tab to be visualized as selected (zero-based numbering), undefined if none should be selected.
|
|
@@ -64,8 +64,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
64
64
|
theme: string;
|
|
65
65
|
weight: string;
|
|
66
66
|
}>>> & {
|
|
67
|
-
|
|
68
|
-
onTabChange?: ((value:
|
|
67
|
+
onUpdate?: ((value: TabsBarUpdateEvent) => any) | undefined;
|
|
68
|
+
onTabChange?: ((value: TabsBarUpdateEvent) => any) | undefined;
|
|
69
69
|
}, {
|
|
70
70
|
weight: TabsBarWeight;
|
|
71
71
|
size: BreakpointCustomizable<TabsBarSize>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getPrefixedTagName as
|
|
3
|
-
const k = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as p, ref as s, onMounted as u, onUpdated as f, openBlock as m, createBlock as c, resolveDynamicComponent as i, unref as g, withCtx as C, renderSlot as b } from "vue";
|
|
2
|
+
import { getPrefixedTagName as h, syncProperties as n, addEventListenerToElementRef as o } from "../../utils.js";
|
|
3
|
+
const k = /* @__PURE__ */ p({
|
|
4
4
|
__name: "TabsBarWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
activeTabIndex: null,
|
|
@@ -10,19 +10,19 @@ const k = /* @__PURE__ */ d({
|
|
|
10
10
|
theme: { default: "light" },
|
|
11
11
|
weight: { default: "regular" }
|
|
12
12
|
},
|
|
13
|
-
emits: ["
|
|
13
|
+
emits: ["tabChange", "update"],
|
|
14
14
|
setup(r, { emit: t }) {
|
|
15
|
-
const a = r, l =
|
|
15
|
+
const a = r, l = h("p-tabs-bar"), e = s();
|
|
16
16
|
return u(() => {
|
|
17
|
-
n(e.value, a), o(e.value, "
|
|
17
|
+
n(e.value, a), o(e.value, "tabChange", t), o(e.value, "update", t);
|
|
18
18
|
}), f(() => {
|
|
19
19
|
n(e.value, a);
|
|
20
|
-
}), (
|
|
20
|
+
}), (d, v) => (m(), c(i(g(l)), {
|
|
21
21
|
ref_key: "pdsComponentRef",
|
|
22
22
|
ref: e
|
|
23
23
|
}, {
|
|
24
|
-
default:
|
|
25
|
-
|
|
24
|
+
default: C(() => [
|
|
25
|
+
b(d.$slots, "default")
|
|
26
26
|
]),
|
|
27
27
|
_: 3
|
|
28
28
|
}, 512));
|
|
@@ -31,9 +31,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
31
31
|
theme: string;
|
|
32
32
|
weight: string;
|
|
33
33
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
-
|
|
34
|
+
tabChange: (value: import("../types").TabsBarUpdateEvent) => void;
|
|
35
35
|
} & {
|
|
36
|
-
|
|
36
|
+
update: (value: import("../types").TabsBarUpdateEvent) => void;
|
|
37
37
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
38
38
|
/**
|
|
39
39
|
* Defines which tab to be visualized as selected (zero-based numbering).
|
|
@@ -66,8 +66,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
66
66
|
theme: string;
|
|
67
67
|
weight: string;
|
|
68
68
|
}>>> & {
|
|
69
|
-
|
|
70
|
-
onTabChange?: ((value: import("../types").
|
|
69
|
+
onUpdate?: ((value: import("../types").TabsBarUpdateEvent) => any) | undefined;
|
|
70
|
+
onTabChange?: ((value: import("../types").TabsBarUpdateEvent) => any) | undefined;
|
|
71
71
|
}, {
|
|
72
72
|
weight: TabsWeight;
|
|
73
73
|
size: BreakpointCustomizable<TabsSize>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getPrefixedTagName as
|
|
3
|
-
const k = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as p, ref as s, onMounted as u, onUpdated as f, openBlock as m, createBlock as c, resolveDynamicComponent as i, unref as g, withCtx as C, renderSlot as b } from "vue";
|
|
2
|
+
import { getPrefixedTagName as h, syncProperties as n, addEventListenerToElementRef as o } from "../../utils.js";
|
|
3
|
+
const k = /* @__PURE__ */ p({
|
|
4
4
|
__name: "TabsWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
activeTabIndex: { default: 0 },
|
|
@@ -10,19 +10,19 @@ const k = /* @__PURE__ */ d({
|
|
|
10
10
|
theme: { default: "light" },
|
|
11
11
|
weight: { default: "regular" }
|
|
12
12
|
},
|
|
13
|
-
emits: ["
|
|
13
|
+
emits: ["tabChange", "update"],
|
|
14
14
|
setup(r, { emit: t }) {
|
|
15
|
-
const a = r, l =
|
|
16
|
-
return
|
|
17
|
-
n(e.value, a), o(e.value, "
|
|
18
|
-
}),
|
|
15
|
+
const a = r, l = h("p-tabs"), e = s();
|
|
16
|
+
return u(() => {
|
|
17
|
+
n(e.value, a), o(e.value, "tabChange", t), o(e.value, "update", t);
|
|
18
|
+
}), f(() => {
|
|
19
19
|
n(e.value, a);
|
|
20
|
-
}), (
|
|
20
|
+
}), (d, v) => (m(), c(i(g(l)), {
|
|
21
21
|
ref_key: "pdsComponentRef",
|
|
22
22
|
ref: e
|
|
23
23
|
}, {
|
|
24
|
-
default:
|
|
25
|
-
|
|
24
|
+
default: C(() => [
|
|
25
|
+
b(d.$slots, "default")
|
|
26
26
|
]),
|
|
27
27
|
_: 3
|
|
28
28
|
}, 512));
|
package/lib/types.d.ts
CHANGED
|
@@ -194,17 +194,18 @@ declare const BUTTON_ARIA_ATTRIBUTES: readonly [
|
|
|
194
194
|
"aria-haspopup"
|
|
195
195
|
];
|
|
196
196
|
export declare type ButtonAriaAttribute = typeof BUTTON_ARIA_ATTRIBUTES[number];
|
|
197
|
-
declare const
|
|
197
|
+
declare const breakpoints: readonly [
|
|
198
198
|
"base",
|
|
199
199
|
"xs",
|
|
200
200
|
"s",
|
|
201
201
|
"m",
|
|
202
202
|
"l",
|
|
203
|
-
"xl"
|
|
203
|
+
"xl",
|
|
204
|
+
"xxl"
|
|
204
205
|
];
|
|
205
|
-
export
|
|
206
|
+
export type Breakpoint = (typeof breakpoints)[number];
|
|
206
207
|
export declare type BreakpointValues<T> = {
|
|
207
|
-
[key in
|
|
208
|
+
[key in Breakpoint]?: T;
|
|
208
209
|
} & {
|
|
209
210
|
base: T;
|
|
210
211
|
};
|
|
@@ -529,8 +530,8 @@ declare const ACCORDION_SIZES: readonly [
|
|
|
529
530
|
"small",
|
|
530
531
|
"medium"
|
|
531
532
|
];
|
|
532
|
-
export declare type AccordionSize = typeof ACCORDION_SIZES[number];
|
|
533
|
-
export declare type
|
|
533
|
+
export declare type AccordionSize = (typeof ACCORDION_SIZES)[number];
|
|
534
|
+
export declare type AccordionUpdateEvent = {
|
|
534
535
|
open: boolean;
|
|
535
536
|
};
|
|
536
537
|
export declare type AccordionTag = HeadingTag;
|
|
@@ -579,7 +580,7 @@ declare const CAROUSEL_ALIGN_HEADERS: readonly [
|
|
|
579
580
|
];
|
|
580
581
|
export declare type CarouselAlignHeader = (typeof CAROUSEL_ALIGN_HEADERS)[number];
|
|
581
582
|
export declare type CarouselInternationalization = Partial<Record<"prev" | "next" | "first" | "last" | "slideLabel" | "slide", string>>;
|
|
582
|
-
export declare type
|
|
583
|
+
export declare type CarouselUpdateEvent = {
|
|
583
584
|
activeIndex: number;
|
|
584
585
|
previousIndex: number;
|
|
585
586
|
};
|
|
@@ -937,8 +938,8 @@ declare const PAGINATION_NUMBER_OF_PAGE_LINKS: readonly [
|
|
|
937
938
|
5,
|
|
938
939
|
7
|
|
939
940
|
];
|
|
940
|
-
export declare type PaginationMaxNumberOfPageLinks = typeof PAGINATION_NUMBER_OF_PAGE_LINKS[number];
|
|
941
|
-
export declare type
|
|
941
|
+
export declare type PaginationMaxNumberOfPageLinks = (typeof PAGINATION_NUMBER_OF_PAGE_LINKS)[number];
|
|
942
|
+
export declare type PaginationUpdateEvent = {
|
|
942
943
|
page: number;
|
|
943
944
|
previousPage: number;
|
|
944
945
|
};
|
|
@@ -959,8 +960,8 @@ declare const SEGMENTED_CONTROL_BACKGROUND_COLORS: readonly [
|
|
|
959
960
|
"background-surface",
|
|
960
961
|
"background-default"
|
|
961
962
|
];
|
|
962
|
-
export declare type SegmentedControlBackgroundColor = typeof SEGMENTED_CONTROL_BACKGROUND_COLORS[number];
|
|
963
|
-
export declare type
|
|
963
|
+
export declare type SegmentedControlBackgroundColor = (typeof SEGMENTED_CONTROL_BACKGROUND_COLORS)[number];
|
|
964
|
+
export declare type SegmentedControlUpdateEvent = {
|
|
964
965
|
value: string | number;
|
|
965
966
|
};
|
|
966
967
|
export declare type SegmentedControlItemIcon = LinkButtonIconName;
|
|
@@ -986,8 +987,8 @@ declare const STEPPER_HORIZONTAL_SIZES: readonly [
|
|
|
986
987
|
"small",
|
|
987
988
|
"medium"
|
|
988
989
|
];
|
|
989
|
-
export declare type StepperHorizontalSize = typeof STEPPER_HORIZONTAL_SIZES[number];
|
|
990
|
-
export declare type
|
|
990
|
+
export declare type StepperHorizontalSize = (typeof STEPPER_HORIZONTAL_SIZES)[number];
|
|
991
|
+
export declare type StepperHorizontalUpdateEvent = {
|
|
991
992
|
activeStepIndex: number;
|
|
992
993
|
};
|
|
993
994
|
declare const STEPPER_ITEM_STATES: readonly [
|
|
@@ -997,7 +998,7 @@ declare const STEPPER_ITEM_STATES: readonly [
|
|
|
997
998
|
];
|
|
998
999
|
export declare type StepperHorizontalItemState = typeof STEPPER_ITEM_STATES[number];
|
|
999
1000
|
export declare type SwitchAlignLabel = AlignLabel;
|
|
1000
|
-
export declare type
|
|
1001
|
+
export declare type SwitchUpdateEvent = {
|
|
1001
1002
|
checked: boolean;
|
|
1002
1003
|
};
|
|
1003
1004
|
export declare type Direction = "asc" | "desc";
|
|
@@ -1006,19 +1007,19 @@ export declare type TableHeadCellSort = {
|
|
|
1006
1007
|
active?: boolean;
|
|
1007
1008
|
direction?: Direction;
|
|
1008
1009
|
};
|
|
1009
|
-
export declare type
|
|
1010
|
+
export declare type TableUpdateEvent = TableHeadCellSort;
|
|
1010
1011
|
declare const TABS_BAR_SIZES: readonly [
|
|
1011
1012
|
"small",
|
|
1012
1013
|
"medium"
|
|
1013
1014
|
];
|
|
1014
|
-
export declare type TabsBarSize = typeof TABS_BAR_SIZES[number];
|
|
1015
|
+
export declare type TabsBarSize = (typeof TABS_BAR_SIZES)[number];
|
|
1015
1016
|
declare const TABS_BAR_WEIGHTS: readonly [
|
|
1016
1017
|
"regular",
|
|
1017
1018
|
"semi-bold",
|
|
1018
1019
|
"semibold"
|
|
1019
1020
|
];
|
|
1020
|
-
export declare type TabsBarWeight = typeof TABS_BAR_WEIGHTS[number];
|
|
1021
|
-
export declare type
|
|
1021
|
+
export declare type TabsBarWeight = (typeof TABS_BAR_WEIGHTS)[number];
|
|
1022
|
+
export declare type TabsBarUpdateEvent = {
|
|
1022
1023
|
activeTabIndex: number;
|
|
1023
1024
|
};
|
|
1024
1025
|
/** @deprecated */
|
|
@@ -1029,7 +1030,7 @@ export declare type TabsWeight = TabsBarWeight;
|
|
|
1029
1030
|
/** @deprecated */
|
|
1030
1031
|
export declare type TabsGradientColorScheme = TabsBarGradientColorScheme;
|
|
1031
1032
|
export declare type TabsGradientColor = TabsBarGradientColor;
|
|
1032
|
-
export declare type
|
|
1033
|
+
export declare type TabsUpdateEvent = TabsBarUpdateEvent;
|
|
1033
1034
|
declare const TAG_DISMISSIBLE_COLORS: readonly [
|
|
1034
1035
|
"background-base",
|
|
1035
1036
|
"background-surface",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-vue",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.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.0.0-
|
|
20
|
+
"@porsche-design-system/components-js": "3.0.0-rc.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"vue": ">=3.0.0 <4.0.0"
|