@porsche-design-system/components-vue 3.0.0-rc.0 → 3.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +87 -25
- package/PorscheDesignSystemProvider.vue.d.ts +11 -3
- package/lib/components/AccordionWrapper.vue.d.ts +24 -41
- package/lib/components/BannerWrapper.vue.d.ts +25 -50
- package/lib/components/ButtonGroupWrapper.vue.d.ts +17 -13
- package/lib/components/ButtonPureWrapper.vue.d.ts +35 -80
- package/lib/components/ButtonTileWrapper.vue.d.ts +34 -82
- package/lib/components/ButtonWrapper.vue.d.ts +29 -57
- package/lib/components/CarouselWrapper.vue.d.ts +32 -74
- package/lib/components/CheckboxWrapperWrapper.vue.d.ts +29 -34
- package/lib/components/CheckboxWrapperWrapper.vue.js +6 -5
- package/lib/components/ContentWrapperWrapper.vue.d.ts +22 -28
- package/lib/components/CrestWrapper.vue.d.ts +15 -23
- package/lib/components/DisplayWrapper.vue.d.ts +26 -42
- package/lib/components/DividerWrapper.vue.d.ts +18 -30
- package/lib/components/FieldsetWrapper.vue.d.ts +24 -40
- package/lib/components/FieldsetWrapperWrapper.vue.d.ts +25 -41
- package/lib/components/FlexItemWrapper.vue.d.ts +28 -44
- package/lib/components/FlexWrapper.vue.d.ts +28 -44
- package/lib/components/GridItemWrapper.vue.d.ts +20 -20
- package/lib/components/GridWrapper.vue.d.ts +22 -27
- package/lib/components/HeadingWrapper.vue.d.ts +26 -42
- package/lib/components/HeadlineWrapper.vue.d.ts +26 -42
- package/lib/components/IconWrapper.vue.d.ts +22 -50
- package/lib/components/IconWrapper.vue.js +8 -8
- package/lib/components/InlineNotificationWrapper.vue.d.ts +27 -56
- package/lib/components/LinkPureWrapper.vue.d.ts +37 -90
- package/lib/components/LinkSocialWrapper.vue.d.ts +25 -45
- package/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +26 -46
- package/lib/components/LinkTileWrapper.vue.d.ts +31 -75
- package/lib/components/LinkWrapper.vue.d.ts +30 -62
- package/lib/components/MarqueWrapper.vue.d.ts +19 -35
- package/lib/components/ModalWrapper.vue.d.ts +22 -43
- package/lib/components/ModelSignatureWrapper.vue.d.ts +18 -30
- package/lib/components/PaginationWrapper.vue.d.ts +22 -59
- package/lib/components/PopoverWrapper.vue.d.ts +22 -30
- package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +22 -34
- package/lib/components/ScrollerWrapper.vue.d.ts +33 -49
- package/lib/components/ScrollerWrapper.vue.js +4 -3
- package/lib/components/SegmentedControlItemWrapper.vue.d.ts +20 -31
- package/lib/components/SegmentedControlWrapper.vue.d.ts +20 -25
- package/lib/components/SelectWrapperWrapper.vue.d.ts +27 -55
- package/lib/components/SpinnerWrapper.vue.d.ts +16 -24
- package/lib/components/StepperHorizontalItemWrapper.vue.d.ts +18 -17
- package/lib/components/StepperHorizontalWrapper.vue.d.ts +19 -17
- package/lib/components/SwitchWrapper.vue.d.ts +24 -45
- package/lib/components/TableBodyWrapper.vue.d.ts +6 -1
- package/lib/components/TableCellWrapper.vue.d.ts +16 -12
- package/lib/components/TableHeadCellWrapper.vue.d.ts +18 -22
- package/lib/components/TableHeadRowWrapper.vue.d.ts +6 -1
- package/lib/components/TableHeadWrapper.vue.d.ts +6 -1
- package/lib/components/TableRowWrapper.vue.d.ts +6 -1
- package/lib/components/TableWrapper.vue.d.ts +18 -19
- package/lib/components/TabsBarWrapper.vue.d.ts +25 -42
- package/lib/components/TabsItemWrapper.vue.d.ts +9 -8
- package/lib/components/TabsWrapper.vue.d.ts +26 -43
- package/lib/components/TagDismissibleWrapper.vue.d.ts +22 -30
- package/lib/components/TagWrapper.vue.d.ts +22 -30
- package/lib/components/TextFieldWrapperWrapper.vue.d.ts +31 -71
- package/lib/components/TextListItemWrapper.vue.d.ts +6 -1
- package/lib/components/TextListWrapper.vue.d.ts +22 -30
- package/lib/components/TextWrapper.vue.d.ts +28 -48
- package/lib/components/TextareaWrapperWrapper.vue.d.ts +25 -49
- package/lib/components/ToastWrapper.vue.d.ts +12 -12
- package/lib/components/WordmarkWrapper.vue.d.ts +19 -35
- package/lib/types.d.ts +219 -191
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -9,12 +9,71 @@ 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.2] - 2023-05-09
|
|
13
|
+
|
|
14
|
+
#### Fixed
|
|
15
|
+
|
|
16
|
+
- `Checkbox Wrapper` Safari visual state change while hovering
|
|
17
|
+
[#2508](https://github.com/porsche-design-system/porsche-design-system/pull/2508)
|
|
18
|
+
- `Checkbox Wrapper` keyboard arrow navigation
|
|
19
|
+
[#2508](https://github.com/porsche-design-system/porsche-design-system/pull/2508)
|
|
20
|
+
- `Modal` fix hover state of dismiss button
|
|
21
|
+
([#2510](https://github.com/porsche-design-system/porsche-design-system/pull/2510))
|
|
22
|
+
- `Link Pure`, `Button Pure`: adjust offset of `:hover` and `active` styles
|
|
23
|
+
([#2511](https://github.com/porsche-design-system/porsche-design-system/pull/2511))
|
|
24
|
+
- `Tabs Bar`, `Tabs` ([#2521](https://github.com/porsche-design-system/porsche-design-system/pull/2521)):
|
|
25
|
+
- `focus` state of tabpanel
|
|
26
|
+
- Indicator bar height
|
|
27
|
+
- Optimize icon/text alignment of `Link Pure` and `Button Pure` in Safari
|
|
28
|
+
- `Select Wrapper` multiline option height and scaling behavior
|
|
29
|
+
([#2524](https://github.com/porsche-design-system/porsche-design-system/pull/2524))
|
|
30
|
+
- Fixed accessibility issues of `Tabs`, `Tabs Bar` and `Stepper Horizontal` to comply with v.4.7.0 of `axe-core`
|
|
31
|
+
([#2530](https://github.com/porsche-design-system/porsche-design-system/pull/2530))
|
|
32
|
+
- React: `patchRemixRunProcessBrowserGlobalIdentifier` binary now supports Remix 1.16.0
|
|
33
|
+
([#2537](https://github.com/porsche-design-system/porsche-design-system/pull/2537))
|
|
34
|
+
- Angular: added optional modifier to optional properties for better type checking in strict mode
|
|
35
|
+
([#2544](https://github.com/porsche-design-system/porsche-design-system/pull/2544))
|
|
36
|
+
|
|
37
|
+
#### Added
|
|
38
|
+
|
|
39
|
+
- Deprecation warning to `Icon` component if `lazy` prop is used
|
|
40
|
+
([#2521](https://github.com/porsche-design-system/porsche-design-system/pull/2521))
|
|
41
|
+
- `aria` prop to `Scroller` component
|
|
42
|
+
([#2530](https://github.com/porsche-design-system/porsche-design-system/pull/2530))
|
|
43
|
+
|
|
44
|
+
#### Changed
|
|
45
|
+
|
|
46
|
+
- Model signature asset of 718 model ([#2532](https://github.com/porsche-design-system/porsche-design-system/pull/2532))
|
|
47
|
+
|
|
48
|
+
### [3.0.0-rc.1] - 2023-04-19
|
|
49
|
+
|
|
50
|
+
#### Added
|
|
51
|
+
|
|
52
|
+
- Prop `name` for `Icon` supports `push-pin`, `push-pin-off`, `qr`, `pin-filled`, `shopping-cart-filled`,
|
|
53
|
+
`shopping-bag-filled`, `logo-apple-podcast`, `logo-spotify` and `user-filled`
|
|
54
|
+
([#2471](https://github.com/porsche-design-system/porsche-design-system/pull/2471)).
|
|
55
|
+
- **[EXPERIMENTAL]** Prop `loading` for `Checkbox Wrapper`
|
|
56
|
+
([#2483](https://github.com/porsche-design-system/porsche-design-system/pull/2483))
|
|
57
|
+
|
|
58
|
+
#### Fixed
|
|
59
|
+
|
|
60
|
+
- `Wordmark`, `Crest` and `Model Signature` respect parent width/height
|
|
61
|
+
([#2479](https://github.com/porsche-design-system/porsche-design-system/pull/2479))
|
|
62
|
+
- `Button Tile`, `Link Tile` and `Link Tile Model Signature` are using correct border radius of
|
|
63
|
+
`pds-border-radius-large` ([#2473](https://github.com/porsche-design-system/porsche-design-system/pull/2473))
|
|
64
|
+
- `Text Field Wrapper` with `input type="search"` has better accessibility for clear button
|
|
65
|
+
([#2476](https://github.com/porsche-design-system/porsche-design-system/pull/2476))
|
|
66
|
+
- `Accordion` layout shift with nested accordions
|
|
67
|
+
([#2465](https://github.com/porsche-design-system/porsche-design-system/pull/2465))
|
|
68
|
+
- Color Contrast issues and rendering in Windows High Contrast Mode
|
|
69
|
+
([#2420](https://github.com/porsche-design-system/porsche-design-system/pull/2420))
|
|
70
|
+
|
|
12
71
|
### [3.0.0-rc.0] - 2023-04-11
|
|
13
72
|
|
|
14
|
-
|
|
73
|
+
#### Fixed
|
|
15
74
|
|
|
16
75
|
- Styles: `borderRadiusLarge` and `pds-border-radius-large` are exposing correct value
|
|
17
|
-
([#2463](https://github.com/porsche-design-system/porsche-design-system/pull/
|
|
76
|
+
([#2463](https://github.com/porsche-design-system/porsche-design-system/pull/2463))
|
|
18
77
|
|
|
19
78
|
### [3.0.0-alpha.6] - 2023-04-06
|
|
20
79
|
|
|
@@ -50,7 +109,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
50
109
|
|
|
51
110
|
```diff
|
|
52
111
|
- <PAccordion onAccordionChange={(e: CustomEvent<AccordionChangeEvent>) => {}} />
|
|
53
|
-
+ <PAccordion onUpdate={(e: CustomEvent<
|
|
112
|
+
+ <PAccordion onUpdate={(e: CustomEvent<AccordionUpdateEvent>) => {}} />
|
|
54
113
|
```
|
|
55
114
|
|
|
56
115
|
##### Banner:
|
|
@@ -89,7 +148,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
89
148
|
+ <PPagination onUpdate={(e: CustomEvent<PaginationUpdateEvent>) => {}} />
|
|
90
149
|
```
|
|
91
150
|
|
|
92
|
-
|
|
151
|
+
##### Segmented Control:
|
|
93
152
|
|
|
94
153
|
- Event `segmentedControlChange` is deprecated, use `update` event instead.
|
|
95
154
|
|
|
@@ -98,7 +157,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
98
157
|
+ <PSegmentedControl onUpdate={(e: CustomEvent<SegmentedControlUpdateEvent>) => {}} />
|
|
99
158
|
```
|
|
100
159
|
|
|
101
|
-
|
|
160
|
+
##### Stepper Horizontal:
|
|
102
161
|
|
|
103
162
|
- Event `stepChange` is deprecated, use `update` event instead.
|
|
104
163
|
|
|
@@ -107,7 +166,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
107
166
|
+ <PStepperHorizontal onUpdate={(e: CustomEvent<StepperHorizontalUpdateEvent>) => {}} />
|
|
108
167
|
```
|
|
109
168
|
|
|
110
|
-
|
|
169
|
+
##### Switch:
|
|
111
170
|
|
|
112
171
|
- Event `switchChange` is deprecated, use `update` event instead.
|
|
113
172
|
|
|
@@ -116,7 +175,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
116
175
|
+ <PSwitch onUpdate={(e: CustomEvent<SwitchUpdateEvent>) => {}} />
|
|
117
176
|
```
|
|
118
177
|
|
|
119
|
-
|
|
178
|
+
##### Table:
|
|
120
179
|
|
|
121
180
|
- Event `sortingChange` is deprecated, use `update` event instead.
|
|
122
181
|
|
|
@@ -149,6 +208,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
149
208
|
|
|
150
209
|
- `Wordmark` ([#2418](https://github.com/porsche-design-system/porsche-design-system/pull/2418))
|
|
151
210
|
- `Crest` ([#2437](https://github.com/porsche-design-system/porsche-design-system/pull/2437))
|
|
211
|
+
|
|
212
|
+
#### Changed
|
|
213
|
+
|
|
152
214
|
- Styles: changed color values of `theme[Light|Dark]ContrastMedium` and `theme[Light|Dark]Notification[*]` color tokens
|
|
153
215
|
of `Styles` subpackage ([#2436](https://github.com/porsche-design-system/porsche-design-system/pull/2436))
|
|
154
216
|
|
|
@@ -200,9 +262,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
200
262
|
|
|
201
263
|
- `Banner`: CSS variable `--p-banner-position-type`
|
|
202
264
|
([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
|
|
203
|
-
- `gridSafeZone`, `gridSafeZoneBase`, `gridSafeZoneXXL` and `pds-grid-safe-zone-base`, `pds-grid-safe-zone-xxl`
|
|
265
|
+
- Styles: `gridSafeZone`, `gridSafeZoneBase`, `gridSafeZoneXXL` and `pds-grid-safe-zone-base`, `pds-grid-safe-zone-xxl`
|
|
204
266
|
([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
|
|
205
|
-
- `gridWidth`, `gridWidthMin`, `gridWidthMax` and `pds-grid-width-min`, `pds-grid-width-max`
|
|
267
|
+
- Styles: `gridWidth`, `gridWidthMin`, `gridWidthMax` and `pds-grid-width-min`, `pds-grid-width-max`
|
|
206
268
|
([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
|
|
207
269
|
|
|
208
270
|
#### 🤖 Property deprecations 🤖
|
|
@@ -246,7 +308,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
246
308
|
+ <PAccordion onChange={(e: CustomEvent<AccordionChangeEvent>) => {}} />
|
|
247
309
|
```
|
|
248
310
|
|
|
249
|
-
|
|
311
|
+
##### Banner:
|
|
250
312
|
|
|
251
313
|
- Named `slot="title"` is deprecated, use `heading` prop or `slot="heading"` instead.
|
|
252
314
|
|
|
@@ -304,7 +366,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
304
366
|
+ <p-link-tile weight="semi-bold"></p-link-tile>
|
|
305
367
|
```
|
|
306
368
|
|
|
307
|
-
|
|
369
|
+
##### Modal:
|
|
308
370
|
|
|
309
371
|
- Prop `disableCloseButton` is deprecated, use `dismissButton` instead.
|
|
310
372
|
- Event `close` is deprecated, use `dismiss` event instead.
|
|
@@ -343,7 +405,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
343
405
|
+ <p-scroller align-scroll-indicator="top"></p-scroller>
|
|
344
406
|
```
|
|
345
407
|
|
|
346
|
-
|
|
408
|
+
##### Segmented Control:
|
|
347
409
|
|
|
348
410
|
- Event `segmentedControlChange` is deprecated, use `change` event instead.
|
|
349
411
|
|
|
@@ -352,7 +414,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
352
414
|
+ <PSegmentedControl onChange={(e: CustomEvent<SegmentedControlChangeEvent>) => {}} />
|
|
353
415
|
```
|
|
354
416
|
|
|
355
|
-
|
|
417
|
+
##### Stepper Horizontal:
|
|
356
418
|
|
|
357
419
|
- Event `stepChange` is deprecated, use `change` event instead.
|
|
358
420
|
|
|
@@ -361,7 +423,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
361
423
|
+ <PStepperHorizontal onChange={(e: CustomEvent<StepperHorizontalChangeEvent>) => {}} />
|
|
362
424
|
```
|
|
363
425
|
|
|
364
|
-
|
|
426
|
+
##### Switch:
|
|
365
427
|
|
|
366
428
|
- Event `switchChange` is deprecated, use `change` event instead.
|
|
367
429
|
|
|
@@ -370,7 +432,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
370
432
|
+ <PSwitch onChange={(e: CustomEvent<SwitchChangeEvent>) => {}} />
|
|
371
433
|
```
|
|
372
434
|
|
|
373
|
-
|
|
435
|
+
##### Table:
|
|
374
436
|
|
|
375
437
|
- Event `sortingChange` is deprecated, use `change` event instead.
|
|
376
438
|
|
|
@@ -434,9 +496,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
434
496
|
- Prop `showCharacterCount` is deprecated, use `showCounter` instead.
|
|
435
497
|
|
|
436
498
|
```diff
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
499
|
+
- <p-text-field-wrapper show-character-count="false">
|
|
500
|
+
+ <p-text-field-wrapper show-counter="false">
|
|
501
|
+
<input type="text" maxlength="20" />
|
|
440
502
|
</p-text-field-wrapper>
|
|
441
503
|
```
|
|
442
504
|
|
|
@@ -445,9 +507,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
445
507
|
- Prop `showCharacterCount` is deprecated, use `showCounter` instead.
|
|
446
508
|
|
|
447
509
|
```diff
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
510
|
+
- <p-textarea-wrapper show-character-count="false">
|
|
511
|
+
+ <p-textarea-wrapper show-counter="false">
|
|
512
|
+
<textarea maxlength="80"></textarea>
|
|
451
513
|
</p-textarea-wrapper>
|
|
452
514
|
```
|
|
453
515
|
|
|
@@ -485,10 +547,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
485
547
|
- `Pagination` emits `change` and deprecated `pageChange` event
|
|
486
548
|
- `Segmented Control` emits `change` and deprecated `segmentedControlChange` event
|
|
487
549
|
- `Stepper Horizontal` emits `change` and deprecated `stepChange` event
|
|
488
|
-
- `Switch` emits `change`and deprecated `switchChange` event
|
|
489
|
-
- `Table` emits `change`and deprecated `sortingChange` event
|
|
490
|
-
- `Tabs` emits `change`and deprecated `tabChange` event
|
|
491
|
-
- `Tabs Bar` emits `change`and deprecated `tabChange` event
|
|
550
|
+
- `Switch` emits `change` and deprecated `switchChange` event
|
|
551
|
+
- `Table` emits `change` and deprecated `sortingChange` event
|
|
552
|
+
- `Tabs` emits `change` and deprecated `tabChange` event
|
|
553
|
+
- `Tabs Bar` emits `change` and deprecated `tabChange` event
|
|
492
554
|
- Props have consistent names across components and deprecated old props
|
|
493
555
|
- `Carousel` got `pagination` prop and deprecated `disablePagination` prop
|
|
494
556
|
- `Divider` got `direction` prop and deprecated `orientation` prop
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** __vue_virtual_code_placeholder */
|
|
1
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
3
|
prefix?: string | undefined;
|
|
3
4
|
}>, {
|
|
@@ -9,7 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
10
|
}>>>, {
|
|
10
11
|
prefix: string;
|
|
11
12
|
}>, {
|
|
12
|
-
default
|
|
13
|
+
default?(_: {}): any;
|
|
13
14
|
}>;
|
|
14
15
|
export default _default;
|
|
15
16
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -22,12 +23,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
22
23
|
};
|
|
23
24
|
};
|
|
24
25
|
type __VLS_WithDefaults<P, D> = {
|
|
25
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
26
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
27
|
default: D[K];
|
|
27
|
-
} : P[K];
|
|
28
|
+
}> : P[K];
|
|
28
29
|
};
|
|
29
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
31
|
new (): {
|
|
31
32
|
$slots: S;
|
|
33
|
+
$props: __VLS_PropsChildren<S>;
|
|
32
34
|
};
|
|
33
35
|
};
|
|
36
|
+
type __VLS_PropsChildren<S> = {
|
|
37
|
+
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
38
|
+
};
|
|
39
|
+
type __VLS_Prettify<T> = {
|
|
40
|
+
[K in keyof T]: T[K];
|
|
41
|
+
} & {};
|
|
@@ -1,63 +1,39 @@
|
|
|
1
|
+
/** __vue_virtual_code_placeholder */
|
|
1
2
|
import type { AccordionUpdateEvent, BreakpointCustomizable, AccordionSize, AccordionTag, Theme } from '../types';
|
|
2
|
-
|
|
3
|
+
type PAccordionProps = {
|
|
3
4
|
/**
|
|
4
5
|
* Displays the Accordion as compact version with thinner border and smaller paddings.
|
|
5
6
|
*/
|
|
6
|
-
compact?: boolean
|
|
7
|
+
compact?: boolean;
|
|
7
8
|
/**
|
|
8
9
|
* Defines the heading used in accordion.
|
|
9
10
|
*/
|
|
10
|
-
heading?: string
|
|
11
|
+
heading?: string;
|
|
11
12
|
/**
|
|
12
13
|
* Defines if accordion is open.
|
|
13
14
|
*/
|
|
14
|
-
open?: boolean
|
|
15
|
+
open?: boolean;
|
|
15
16
|
/**
|
|
16
17
|
* The text size.
|
|
17
18
|
*/
|
|
18
|
-
size?: BreakpointCustomizable<
|
|
19
|
+
size?: BreakpointCustomizable<AccordionSize>;
|
|
19
20
|
/**
|
|
20
21
|
* Sets a headline tag, so it fits correctly within the outline of the page.
|
|
21
22
|
*/
|
|
22
|
-
tag?:
|
|
23
|
+
tag?: AccordionTag;
|
|
23
24
|
/**
|
|
24
25
|
* Adapts the color when used on dark background.
|
|
25
26
|
*/
|
|
26
|
-
theme?:
|
|
27
|
-
}
|
|
27
|
+
theme?: Theme;
|
|
28
|
+
};
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PAccordionProps>, {
|
|
28
30
|
size: string;
|
|
29
31
|
tag: string;
|
|
30
32
|
theme: string;
|
|
31
33
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
34
|
accordionChange: (value: AccordionUpdateEvent) => void;
|
|
33
|
-
} & {
|
|
34
35
|
update: (value: AccordionUpdateEvent) => void;
|
|
35
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
36
|
-
/**
|
|
37
|
-
* Displays the Accordion as compact version with thinner border and smaller paddings.
|
|
38
|
-
*/
|
|
39
|
-
compact?: boolean | undefined;
|
|
40
|
-
/**
|
|
41
|
-
* Defines the heading used in accordion.
|
|
42
|
-
*/
|
|
43
|
-
heading?: string | undefined;
|
|
44
|
-
/**
|
|
45
|
-
* Defines if accordion is open.
|
|
46
|
-
*/
|
|
47
|
-
open?: boolean | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* The text size.
|
|
50
|
-
*/
|
|
51
|
-
size?: BreakpointCustomizable<"small" | "medium"> | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* Sets a headline tag, so it fits correctly within the outline of the page.
|
|
54
|
-
*/
|
|
55
|
-
tag?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* Adapts the color when used on dark background.
|
|
58
|
-
*/
|
|
59
|
-
theme?: "light" | "dark" | undefined;
|
|
60
|
-
}>, {
|
|
36
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PAccordionProps>, {
|
|
61
37
|
size: string;
|
|
62
38
|
tag: string;
|
|
63
39
|
theme: string;
|
|
@@ -65,11 +41,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
65
41
|
onAccordionChange?: ((value: AccordionUpdateEvent) => any) | undefined;
|
|
66
42
|
onUpdate?: ((value: AccordionUpdateEvent) => any) | undefined;
|
|
67
43
|
}, {
|
|
68
|
-
size: BreakpointCustomizable<
|
|
69
|
-
tag:
|
|
70
|
-
theme:
|
|
44
|
+
size: BreakpointCustomizable<"small" | "medium">;
|
|
45
|
+
tag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
46
|
+
theme: "light" | "dark";
|
|
71
47
|
}>, {
|
|
72
|
-
default
|
|
48
|
+
default?(_: {}): any;
|
|
73
49
|
}>;
|
|
74
50
|
export default _default;
|
|
75
51
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -82,12 +58,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
82
58
|
};
|
|
83
59
|
};
|
|
84
60
|
type __VLS_WithDefaults<P, D> = {
|
|
85
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
61
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
86
62
|
default: D[K];
|
|
87
|
-
} : P[K];
|
|
63
|
+
}> : P[K];
|
|
88
64
|
};
|
|
89
65
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
90
66
|
new (): {
|
|
91
67
|
$slots: S;
|
|
68
|
+
$props: __VLS_PropsChildren<S>;
|
|
92
69
|
};
|
|
93
70
|
};
|
|
71
|
+
type __VLS_PropsChildren<S> = {
|
|
72
|
+
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
73
|
+
};
|
|
74
|
+
type __VLS_Prettify<T> = {
|
|
75
|
+
[K in keyof T]: T[K];
|
|
76
|
+
} & {};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/** __vue_virtual_code_placeholder */
|
|
2
|
+
import type { BannerState, Theme, BannerWidth } from '../types';
|
|
3
|
+
type PBannerProps = {
|
|
3
4
|
/**
|
|
4
5
|
* Description of the banner.
|
|
5
6
|
*/
|
|
6
|
-
description?: string
|
|
7
|
+
description?: string;
|
|
7
8
|
/**
|
|
8
9
|
* If false, the banner will not have a dismiss button.
|
|
9
10
|
*/
|
|
10
|
-
dismissButton?: boolean
|
|
11
|
+
dismissButton?: boolean;
|
|
11
12
|
/**
|
|
12
13
|
* Heading of the banner.
|
|
13
14
|
*/
|
|
14
|
-
heading?: string
|
|
15
|
+
heading?: string;
|
|
15
16
|
/**
|
|
16
17
|
* If true, the banner is open.
|
|
17
18
|
*/
|
|
@@ -19,21 +20,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
19
20
|
/**
|
|
20
21
|
* @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.
|
|
21
22
|
*/
|
|
22
|
-
persistent?: boolean
|
|
23
|
+
persistent?: boolean;
|
|
23
24
|
/**
|
|
24
25
|
* State of the banner.
|
|
25
26
|
*/
|
|
26
|
-
state?:
|
|
27
|
+
state?: BannerState;
|
|
27
28
|
/**
|
|
28
29
|
* Adapts the banner color depending on the theme.
|
|
29
30
|
*/
|
|
30
|
-
theme?:
|
|
31
|
+
theme?: Theme;
|
|
31
32
|
/**
|
|
32
33
|
* Has no effect anymore
|
|
33
34
|
* @deprecated since v3.0.0, will be removed with next major release
|
|
34
35
|
*/
|
|
35
|
-
width?:
|
|
36
|
-
}
|
|
36
|
+
width?: BannerWidth;
|
|
37
|
+
};
|
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PBannerProps>, {
|
|
37
39
|
description: string;
|
|
38
40
|
dismissButton: boolean;
|
|
39
41
|
heading: string;
|
|
@@ -42,41 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
42
44
|
theme: string;
|
|
43
45
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
46
|
dismiss: (value?: void | undefined) => void;
|
|
45
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
46
|
-
/**
|
|
47
|
-
* Description of the banner.
|
|
48
|
-
*/
|
|
49
|
-
description?: string | undefined;
|
|
50
|
-
/**
|
|
51
|
-
* If false, the banner will not have a dismiss button.
|
|
52
|
-
*/
|
|
53
|
-
dismissButton?: boolean | undefined;
|
|
54
|
-
/**
|
|
55
|
-
* Heading of the banner.
|
|
56
|
-
*/
|
|
57
|
-
heading?: string | undefined;
|
|
58
|
-
/**
|
|
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.
|
|
64
|
-
*/
|
|
65
|
-
persistent?: boolean | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* State of the banner.
|
|
68
|
-
*/
|
|
69
|
-
state?: "warning" | "error" | "info" | "neutral" | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* Adapts the banner color depending on the theme.
|
|
72
|
-
*/
|
|
73
|
-
theme?: "light" | "dark" | undefined;
|
|
74
|
-
/**
|
|
75
|
-
* Has no effect anymore
|
|
76
|
-
* @deprecated since v3.0.0, will be removed with next major release
|
|
77
|
-
*/
|
|
78
|
-
width?: "extended" | "basic" | "fluid" | undefined;
|
|
79
|
-
}>, {
|
|
47
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PBannerProps>, {
|
|
80
48
|
description: string;
|
|
81
49
|
dismissButton: boolean;
|
|
82
50
|
heading: string;
|
|
@@ -88,12 +56,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
88
56
|
}, {
|
|
89
57
|
heading: string;
|
|
90
58
|
open: boolean;
|
|
91
|
-
theme:
|
|
59
|
+
theme: "light" | "dark";
|
|
92
60
|
description: string;
|
|
93
61
|
dismissButton: boolean;
|
|
94
|
-
state:
|
|
62
|
+
state: "warning" | "error" | "info" | "neutral";
|
|
95
63
|
}>, {
|
|
96
|
-
default
|
|
64
|
+
default?(_: {}): any;
|
|
97
65
|
}>;
|
|
98
66
|
export default _default;
|
|
99
67
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -106,12 +74,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
106
74
|
};
|
|
107
75
|
};
|
|
108
76
|
type __VLS_WithDefaults<P, D> = {
|
|
109
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
77
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
110
78
|
default: D[K];
|
|
111
|
-
} : P[K];
|
|
79
|
+
}> : P[K];
|
|
112
80
|
};
|
|
113
81
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
114
82
|
new (): {
|
|
115
83
|
$slots: S;
|
|
84
|
+
$props: __VLS_PropsChildren<S>;
|
|
116
85
|
};
|
|
117
86
|
};
|
|
87
|
+
type __VLS_PropsChildren<S> = {
|
|
88
|
+
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
89
|
+
};
|
|
90
|
+
type __VLS_Prettify<T> = {
|
|
91
|
+
[K in keyof T]: T[K];
|
|
92
|
+
} & {};
|
|
@@ -1,28 +1,25 @@
|
|
|
1
|
+
/** __vue_virtual_code_placeholder */
|
|
1
2
|
import type { BreakpointCustomizable, ButtonGroupDirection } from '../types';
|
|
2
|
-
|
|
3
|
+
type PButtonGroupProps = {
|
|
3
4
|
/**
|
|
4
5
|
* Defines the direction of the main and cross axis. The default is ’{base: ‘column’, xs: ‘row’}' showing buttons vertically stacked on mobile viewports and side-by-side in a horizontal row from breakpoint ‘xs’. You always need to provide a base value when using breakpoints.
|
|
5
6
|
*/
|
|
6
|
-
direction?: BreakpointCustomizable<
|
|
7
|
-
}
|
|
7
|
+
direction?: BreakpointCustomizable<ButtonGroupDirection>;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PButtonGroupProps>, {
|
|
8
10
|
direction: () => {
|
|
9
11
|
base: string;
|
|
10
12
|
xs: string;
|
|
11
13
|
};
|
|
12
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
-
/**
|
|
14
|
-
* Defines the direction of the main and cross axis. The default is ’{base: ‘column’, xs: ‘row’}' showing buttons vertically stacked on mobile viewports and side-by-side in a horizontal row from breakpoint ‘xs’. You always need to provide a base value when using breakpoints.
|
|
15
|
-
*/
|
|
16
|
-
direction?: BreakpointCustomizable<"row" | "column"> | undefined;
|
|
17
|
-
}>, {
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PButtonGroupProps>, {
|
|
18
15
|
direction: () => {
|
|
19
16
|
base: string;
|
|
20
17
|
xs: string;
|
|
21
18
|
};
|
|
22
19
|
}>>>, {
|
|
23
|
-
direction: BreakpointCustomizable<
|
|
20
|
+
direction: BreakpointCustomizable<"row" | "column">;
|
|
24
21
|
}>, {
|
|
25
|
-
default
|
|
22
|
+
default?(_: {}): any;
|
|
26
23
|
}>;
|
|
27
24
|
export default _default;
|
|
28
25
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -35,12 +32,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
35
32
|
};
|
|
36
33
|
};
|
|
37
34
|
type __VLS_WithDefaults<P, D> = {
|
|
38
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
35
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
39
36
|
default: D[K];
|
|
40
|
-
} : P[K];
|
|
37
|
+
}> : P[K];
|
|
41
38
|
};
|
|
42
39
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
40
|
new (): {
|
|
44
41
|
$slots: S;
|
|
42
|
+
$props: __VLS_PropsChildren<S>;
|
|
45
43
|
};
|
|
46
44
|
};
|
|
45
|
+
type __VLS_PropsChildren<S> = {
|
|
46
|
+
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
47
|
+
};
|
|
48
|
+
type __VLS_Prettify<T> = {
|
|
49
|
+
[K in keyof T]: T[K];
|
|
50
|
+
} & {};
|