@porsche-design-system/components-vue 2.20.0-rc.1 → 3.0.0-alpha.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.
Files changed (80) hide show
  1. package/CHANGELOG.md +403 -3
  2. package/lib/components/AccordionWrapper.vue.d.ts +5 -5
  3. package/lib/components/BannerWrapper.vue.d.ts +2 -2
  4. package/lib/components/BannerWrapper.vue.js +9 -9
  5. package/lib/components/ButtonPureWrapper.vue.d.ts +13 -24
  6. package/lib/components/ButtonPureWrapper.vue.js +7 -8
  7. package/lib/components/ButtonWrapper.vue.d.ts +9 -22
  8. package/lib/components/ButtonWrapper.vue.js +12 -13
  9. package/lib/components/CheckboxWrapperWrapper.vue.d.ts +12 -1
  10. package/lib/components/CheckboxWrapperWrapper.vue.js +13 -12
  11. package/lib/components/ContentWrapperWrapper.vue.d.ts +11 -6
  12. package/lib/components/DisplayWrapper.vue.d.ts +92 -0
  13. package/lib/components/DisplayWrapper.vue.js +32 -0
  14. package/lib/components/DisplayWrapper.vue2.js +4 -0
  15. package/lib/components/DividerWrapper.vue.d.ts +2 -2
  16. package/lib/components/FieldsetWrapperWrapper.vue.d.ts +12 -1
  17. package/lib/components/FieldsetWrapperWrapper.vue.js +11 -10
  18. package/lib/components/FlexItemWrapper.vue.d.ts +3 -2
  19. package/lib/components/FlexWrapper.vue.d.ts +1 -0
  20. package/lib/components/GridItemWrapper.vue.d.ts +5 -4
  21. package/lib/components/GridWrapper.vue.d.ts +5 -2
  22. package/lib/components/HeadingWrapper.vue.d.ts +92 -0
  23. package/lib/components/HeadingWrapper.vue.js +32 -0
  24. package/lib/components/HeadingWrapper.vue2.js +4 -0
  25. package/lib/components/HeadlineWrapper.vue.d.ts +8 -7
  26. package/lib/components/HeadlineWrapper.vue.js +5 -5
  27. package/lib/components/IconWrapper.vue.d.ts +17 -15
  28. package/lib/components/IconWrapper.vue.js +7 -7
  29. package/lib/components/InlineNotificationWrapper.vue.d.ts +4 -4
  30. package/lib/components/InlineNotificationWrapper.vue.js +7 -7
  31. package/lib/components/LinkPureWrapper.vue.d.ts +24 -11
  32. package/lib/components/LinkPureWrapper.vue.js +6 -5
  33. package/lib/components/LinkSocialWrapper.vue.d.ts +1 -0
  34. package/lib/components/LinkWrapper.vue.d.ts +9 -9
  35. package/lib/components/LinkWrapper.vue.js +10 -10
  36. package/lib/components/PopoverWrapper.vue.d.ts +12 -1
  37. package/lib/components/PopoverWrapper.vue.js +9 -8
  38. package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +12 -1
  39. package/lib/components/RadioButtonWrapperWrapper.vue.js +7 -6
  40. package/lib/components/ScrollerWrapper.vue.d.ts +4 -4
  41. package/lib/components/SegmentedControlItemWrapper.vue.d.ts +2 -3
  42. package/lib/components/SegmentedControlWrapper.vue.d.ts +3 -6
  43. package/lib/components/SegmentedControlWrapper.vue.js +14 -14
  44. package/lib/components/SpinnerWrapper.vue.d.ts +6 -6
  45. package/lib/components/SwitchWrapper.vue.d.ts +4 -17
  46. package/lib/components/SwitchWrapper.vue.js +7 -8
  47. package/lib/components/TabsBarWrapper.vue.d.ts +4 -4
  48. package/lib/components/TabsWrapper.vue.d.ts +4 -4
  49. package/lib/components/TagDismissibleWrapper.vue.d.ts +14 -3
  50. package/lib/components/TagDismissibleWrapper.vue.js +13 -12
  51. package/lib/components/TagWrapper.vue.d.ts +5 -5
  52. package/lib/components/TextFieldWrapperWrapper.vue.d.ts +12 -1
  53. package/lib/components/TextFieldWrapperWrapper.vue.js +8 -7
  54. package/lib/components/TextWrapper.vue.d.ts +9 -9
  55. package/lib/components/TextWrapper.vue.js +7 -7
  56. package/lib/components/TextareaWrapperWrapper.vue.d.ts +12 -1
  57. package/lib/components/TextareaWrapperWrapper.vue.js +10 -9
  58. package/lib/components/index.d.ts +2 -0
  59. package/lib/types.d.ts +275 -42
  60. package/package.json +2 -2
  61. package/partials/esm/{partials.js → index.js} +0 -0
  62. package/partials/{partials.d.ts → index.d.ts} +0 -0
  63. package/partials/{partials.js → index.js} +0 -0
  64. package/partials/package.json +3 -3
  65. package/public-api.js +94 -90
  66. package/styles/esm/index.js +1 -0
  67. package/styles/index.d.ts +1 -0
  68. package/styles/index.js +12 -0
  69. package/styles/package.json +6 -0
  70. package/styles/scss.scss +1 -0
  71. package/{testing.d.ts → testing/index.d.ts} +0 -0
  72. package/testing/{testing.js → index.js} +0 -0
  73. package/jsdom-polyfill.d.ts +0 -1
  74. package/testing/package.json +0 -5
  75. package/testing/testing.d.ts +0 -1
  76. package/utilities/js/esm/js.js +0 -1
  77. package/utilities/js/js.d.ts +0 -1
  78. package/utilities/js/js.js +0 -12
  79. package/utilities/js/package.json +0 -6
  80. package/utilities/scss.scss +0 -1
package/CHANGELOG.md CHANGED
@@ -9,6 +9,408 @@ 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-alpha.0] - 2023-02-08
13
+
14
+ #### Note to the new `v3` major release of the Porsche Design System
15
+
16
+ With the new **Porsche Design Language** comes a lot of changes regarding layout and design principles. To keep
17
+ refactoring efforts as low as possible when upgrading from `v2` to `v3`, **breaking changes** were avoided as far as
18
+ possible. Nevertheless, there are a few breaking changes and some more deprecations which should receive attention.
19
+
20
+ #### 👹 Breaking Changes 👹
21
+
22
+ ##### Button:
23
+
24
+ - Removed deprecated prop `tabbable`.
25
+
26
+ ```diff
27
+ - <p-button tabbable="false">Some label</p-button>
28
+ + <p-button tabindex="-1">Some label</p-button>
29
+ ```
30
+
31
+ - Default value of prop `icon` has changed from `arrow-head-right` to `none`. Therefore, the `icon` property **must** be
32
+ set if the component has the `hide-label` property.
33
+
34
+ ```diff
35
+ - <p-button hide-label="true">Some label</p-button>
36
+ + <p-button hide-label="true" icon="arrow-right">Some label</p-button>
37
+
38
+ - <p-button hide-label="{ base: true, m: false }">Some label</p-button>
39
+ + <p-button hide-label="{ base: true, m: false }" icon="arrow-right">Some label</p-button>
40
+ ```
41
+
42
+ ##### Button Pure:
43
+
44
+ - Removed `subline` slot (visually not intended anymore).
45
+
46
+ ```diff
47
+ <p-button-pure>
48
+ Some label
49
+ - <p slot="subline">Some Subline</p>
50
+ </p-button-pure>
51
+ ```
52
+
53
+ - Removed deprecated prop `tabbable`.
54
+
55
+ ```diff
56
+ - <p-button-pure tabbable="false">Some label</p-button-pure>
57
+ + <p-button-pure tabindex="-1">Some label</p-button-pure>
58
+ ```
59
+
60
+ ##### Icon:
61
+
62
+ - Value `inherit` for prop `color` works slightly different to the previous major version. A CSS filter is required to
63
+ apply custom coloring to take advantage of using an SVG embedded in an `<img/>` for better SSR support and loading
64
+ performance in general.
65
+
66
+ ```diff
67
+ - <p-icon color="inherit" style="color: white;"></p-icon>
68
+ + <p-icon color="inherit" style="filter: invert(100%);"></p-icon>
69
+ ```
70
+
71
+ - Camel case syntax for `name` prop isn't supported, please use param case syntax instead (TypeScript typings have been
72
+ updated too).
73
+
74
+ ```diff
75
+ - <p-icon name="arrowRight"></p-icon>
76
+ + <p-icon name="arrow-right"></p-icon>
77
+ ```
78
+
79
+ ##### Link:
80
+
81
+ - Default value of prop `icon` has changed from `arrow-head-right` to `none`. Therefore, the `icon` property **must** be
82
+ set if the component has the `hide-label` property.
83
+
84
+ ```diff
85
+ - <p-link href="#" hide-label="true">Some label</p-link>
86
+ + <p-link href="#" hide-label="true" icon="arrow-right">Some label</p-link>
87
+
88
+ - <p-link href="#" hide-label="{ base: true, m: false }">Some label</p-link>
89
+ + <p-link href="#" hide-label="{ base: true, m: false }" icon="arrow-right">Some label</p-link>
90
+ ```
91
+
92
+ ##### Link Pure:
93
+
94
+ - Removed `subline` slot (visually not intended anymore).
95
+
96
+ ```diff
97
+ <p-link-pure href="#">
98
+ Some label
99
+ - <p slot="subline">Some Subline</p>
100
+ </p-link-pure>
101
+ ```
102
+
103
+ ##### Switch:
104
+
105
+ - Removed deprecated prop `tabbable`.
106
+
107
+ ```diff
108
+ - <p-switch tabbable="false">Some label</p-switch>
109
+ + <p-switch tabindex="-1">Some label</p-switch>
110
+ ```
111
+
112
+ ##### Partials:
113
+
114
+ - `getIconLinks()` partial accepts only param-cased icon names.
115
+
116
+ ```diff
117
+ - require('@porsche-design-system/components-js/partials').getIconLinks({ icons: ['arrowRight'] })
118
+
119
+ + require('@porsche-design-system/components-js/partials').getIconLinks({ icons: ['arrow-right'] })
120
+ ```
121
+
122
+ ##### CSS global scope:
123
+
124
+ - Changed naming of CSS global variables names.
125
+
126
+ ```diff
127
+ - --p-animation-duration__spinner
128
+ - --p-animation-duration__banner
129
+ + --p-animation-duration
130
+ ```
131
+
132
+ #### 🤡 Component deprecations 🤡
133
+
134
+ All deprecated components are refactored to match the new design language, therefor it's technically not breaking, but
135
+ we highly recommend to migrate to the mentioned alternative, since those deprecated components will be removed with next
136
+ major version.
137
+
138
+ ##### Content Wrapper:
139
+
140
+ - Component is deprecated and will be removed with the next major release. Please use **[Porsche Grid](styles/grid)**
141
+ instead, which is based on [CSS Grid](https://css-tricks.com/snippets/css/complete-guide-grid) covering the specific
142
+ layout needs for a harmonic appearance across all digital Porsche touch-points.
143
+
144
+ ##### Flex:
145
+
146
+ - Component is deprecated and will be removed with the next major release. In general, please use native
147
+ [CSS Flex](https://css-tricks.com/snippets/css/a-guide-to-flexbox) instead for better performance and more
148
+ standardized layout technique.
149
+
150
+ ##### Grid:
151
+
152
+ - Component is deprecated and will be removed with the next major release. In general, please use native
153
+ [CSS Grid](https://css-tricks.com/snippets/css/complete-guide-grid) in combination with
154
+ **[Porsche Grid](styles/grid)** instead for better performance and more standardized layout technique.
155
+
156
+ ##### Headline:
157
+
158
+ ```diff
159
+ - <p-headline>The quick brown fox jumps over the lazy dog</p-headline>
160
+ + <p-heading>The quick brown fox jumps over the lazy dog</p-heading>
161
+ ```
162
+
163
+ ##### Link Social:
164
+
165
+ - Component is deprecated and will be removed with the next major release. Please use the **[Link](components/link)**
166
+ component instead.
167
+
168
+ #### 🤖 Property deprecations 🤖
169
+
170
+ All deprecated properties are still present without any effect, therefor it's technically not breaking, but we highly
171
+ recommend to migrate and remove the deprecated props since those ones will be removed with next major version.
172
+
173
+ ##### Button Pure:
174
+
175
+ - Prop `weight` is deprecated, only regular font weight will be applied.
176
+
177
+ ```diff
178
+ - <p-button-pure weight="thin">Some label</p-button-pure>
179
+ - <p-button-pure weight="regular">Some label</p-button-pure>
180
+ - <p-button-pure weight="semibold">Some label</p-button-pure>
181
+ - <p-button-pure weight="bold">Some label</p-button-pure>
182
+ + <p-button-pure>Some label</p-button-pure>
183
+ ```
184
+
185
+ ##### Content Wrapper (deprecated):
186
+
187
+ - Prop `theme` and `background-color` are deprecated.
188
+
189
+ ```diff
190
+ - <p-content-wrapper theme="dark" background-color="default">Some content</p-content-wrapper>
191
+ + <p-content-wrapper>Some content</p-content-wrapper>
192
+ ```
193
+
194
+ ##### Grid (deprecated):
195
+
196
+ - The `gutter` property is deprecated and has no effect anymore. Instead, a fluid gutter depending on the viewport width
197
+ is used.
198
+
199
+ ```diff
200
+ - <p-grid gutter="16">Some content</p-grid>
201
+ - <p-grid gutter="24">Some content</p-grid>
202
+ - <p-grid gutter="36">Some content</p-grid>
203
+ + <p-grid>Some content</p-grid>
204
+ ```
205
+
206
+ ##### Icon:
207
+
208
+ - Prop `lazy` is deprecated.
209
+
210
+ ```diff
211
+ - <p-icon lazy="true"></p-icon>
212
+ + <p-icon></p-icon>
213
+ ```
214
+
215
+ ##### Link Pure:
216
+
217
+ - Prop `weight` is deprecated, only regular font weight will be applied.
218
+
219
+ ```diff
220
+ - <p-link-pure href="#" weight="thin">Some label</p-link-pure>
221
+ - <p-link-pure href="#" weight="regular">Some label</p-link-pure>
222
+ - <p-link-pure href="#" weight="semibold">Some label</p-link-pure>
223
+ - <p-link-pure href="#" weight="bold">Some label</p-link-pure>
224
+ + <p-link-pure href="#">Some label</p-link-pure>
225
+ ```
226
+
227
+ ##### Segmented Control:
228
+
229
+ - Prop `background-color` is deprecated.
230
+
231
+ ```diff
232
+ - <p-segmented-control background-color="background-surface">
233
+ <p-segmented-control-item value="xs">XS</p-segmented-control-item>
234
+ <p-segmented-control-item value="s">S</p-segmented-control-item>
235
+ </p-segmented-control>
236
+ + <p-segmented-control>
237
+ <p-segmented-control-item value="xs">XS</p-segmented-control-item>
238
+ <p-segmented-control-item value="s">S</p-segmented-control-item>
239
+ </p-segmented-control>
240
+ ```
241
+
242
+ #### 👾 Property value deprecations 👾
243
+
244
+ All deprecated values are mapped to new ones, therefor it's technically not breaking, but we highly recommend to migrate
245
+ to the new values since those ones will be removed with next major version.
246
+
247
+ ##### Banner:
248
+
249
+ - Prop value `fluid` of `width` prop is deprecated.
250
+
251
+ ```diff
252
+ - <p-banner width="fluid"></p-banner>
253
+ + <p-banner></p-banner>
254
+ ```
255
+
256
+ - Prop value `neutral` of `state` prop is deprecated.
257
+
258
+ ```diff
259
+ - <p-banner state="neutral">
260
+ <span slot="title">Some banner title</span>
261
+ <span slot="description">Some banner description. You can also add inline <a href="https://porsche.com">links</a> to route to another page.</span>
262
+ </p-banner>
263
+ + <p-banner state="info">
264
+ <span slot="title">Some banner title</span>
265
+ <span slot="description">Some banner description. You can also add inline <a href="https://porsche.com">links</a> to route to another page.</span>
266
+ </p-banner>
267
+ ```
268
+
269
+ ##### Content Wrapper:
270
+
271
+ - Prop value `fluid` of `width` prop is deprecated.
272
+
273
+ ```diff
274
+ - <p-content-wrapper width="fluid">Some content</p-content-wrapper>
275
+ + <p-content-wrapper>Some content</p-content-wrapper>
276
+ ```
277
+
278
+ ##### Icon:
279
+
280
+ - Prop values
281
+ `brand | default | neutral-contrast-low | neutral-contrast-medium | neutral-contrast-high | notification-neutral` of
282
+ `color` prop are deprecated.
283
+
284
+ ```diff
285
+ - <p-icon color="brand"></p-icon>
286
+ + <p-icon color="primary"></p-icon>
287
+
288
+ - <p-icon color="default"></p-icon>
289
+ + <p-icon color="primary"></p-icon>
290
+
291
+ - <p-icon color="neutral-contrast-low"></p-icon>
292
+ + <p-icon color="contrast-low"></p-icon>
293
+
294
+ - <p-icon color="neutral-contrast-medium"></p-icon>
295
+ + <p-icon color="contrast-medium"></p-icon>
296
+
297
+ - <p-icon color="neutral-contrast-high"></p-icon>
298
+ + <p-icon color="contrast-high"></p-icon>
299
+
300
+ - <p-icon color="neutral-contrast-neutral"></p-icon>
301
+ + <p-icon color="contrast-info"></p-icon>
302
+ ```
303
+
304
+ ##### Inline Notification:
305
+
306
+ - Prop value `neutral` of `state` prop is deprecated.
307
+
308
+ ```diff
309
+ - <p-inline-notification state="neutral"></p-inline-notification>
310
+ + <p-inline-notification state="info"></p-inline-notification>
311
+ ```
312
+
313
+ ##### Tag:
314
+
315
+ - Prop value `notification-neutral | neutral-contrast-high | background-default` of `color` prop is deprecated.
316
+
317
+ ```diff
318
+ - <p-tag color="notification-neutral">Color label</p-tag>
319
+ + <p-tag color="notification-info">Color label</p-tag>
320
+
321
+ - <p-tag color="neutral-contrast-high">Color label</p-tag>
322
+ + <p-tag color="primary">Color label</p-tag>
323
+
324
+ - <p-tag color="background-default">Color label</p-tag>
325
+ + <p-tag color="background-base">Color label</p-tag>
326
+ ```
327
+
328
+ ##### Tag Dismissible:
329
+
330
+ - Prop value `background-default` of `color` prop is deprecated.
331
+
332
+ ```diff
333
+ - <p-tag-dismissible color="background-default">Color label</p-tag-dismissible>
334
+ + <p-tag-dismissible color="background-base">Color label</p-tag-dismissible>
335
+ ```
336
+
337
+ ##### Text:
338
+
339
+ - Prop value `thin | semibold` of `weight` prop is deprecated.
340
+
341
+ ```diff
342
+ - <p-text weight="thin">Some text</p-text>
343
+ + <p-text>Some text</p-text>
344
+
345
+ - <p-text weight="semibold">Some text</p-text>
346
+ + <p-text weight="semi-bold">Some text</p-text>
347
+ ```
348
+
349
+ - Prop value
350
+ `brand | default | neutral-contrast-low | neutral-contrast-medium | neutral-contrast-high | notification-neutral` of
351
+ `color` prop is deprecated.
352
+
353
+ ```diff
354
+ - <p-text color="brand">Some text</p-text>
355
+ + <p-text>Some text</p-text>
356
+
357
+ - <p-text color="default">Some text</p-text>
358
+ + <p-text>Some text</p-text>
359
+
360
+ - <p-text color="neutral-contrast-low">Some text</p-text>
361
+ + <p-text color="contrast-low">Some text</p-text>
362
+
363
+ - <p-text color="neutral-contrast-medium">Some text</p-text>
364
+ + <p-text color="contrast-medium">Some text</p-text>
365
+
366
+ - <p-text color="neutral-contrast-high">Some text</p-text>
367
+ + <p-text color="contrast-high">Some text</p-text>
368
+
369
+ - <p-text color="notification-neutral">Some text</p-text>
370
+ + <p-text color="notification-info">Some text</p-text>
371
+ ```
372
+
373
+ ##### ToastManager:
374
+
375
+ - Prop value `neutral` of `state` parameter is deprecated.
376
+
377
+ ```diff
378
+ - …addMessage({ text: `Some message`, state: 'neutral' })
379
+ + …addMessage({ text: `Some message`, state: 'info' })
380
+ ```
381
+
382
+ #### Added
383
+
384
+ - `Display` component
385
+ - `Heading` component
386
+ - Prop `underline` for `Link Pure`
387
+ - Prop `theme` for `Checkbox Wrapper`, `Radio Button Wrapper`, `Popover`, `Tag Dismissible`, `Textarea Wrapper`,
388
+ `Text Field Wrapper` and `Fieldset Wrapper`
389
+ - Prop `size` for `Icon` supports `x-small` and `x-large`
390
+ - Prop `size` for `Accordion` `compact="true"` supports `medium`
391
+
392
+ #### Changed
393
+
394
+ - `Spinner`, `Icon`, `Link Pure`, `Button Pure`, `Link`, `Link Social`, `Button`, `Checkbox Wrapper`,
395
+ `Radio Button Wrapper`, `Popover`, `Modal`, `Select Wrapper`, `Tag`, `Tag Dismissible`, `Textarea Wrapper`,
396
+ `Inline Notification`, `Banner`, `Toast`, `Grid`, `Flex`, `Pagination`, `Scroller`, `Accordion`, `Text`,
397
+ `Text Field Wrapper`, `Content Wrapper`, `Segmented Control`, `Tabs`, `Tabs Bar`, `Headline` and `Fieldset Wrapper` matches new design language.
398
+ - `Icon` supports
399
+ `primary | contrast-low | contrast-medium | contrast-high | notification-success | notification-warning | notification-error | notification-info | inherit`
400
+ for `color` prop.
401
+ - Default value of prop `width` of `Banner` has changed from `basic` to `extended`
402
+ - Default value of prop `action-icon` of `Inline Notification` has changed from `arrow-head-right` to `arrow-right`
403
+ - Default value of prop `name` of `Icon` has changed from `arrow-head-right` to `arrow-right`
404
+ - Default value of prop `variant` of `Link` and `Button` has changed from `secondary` to `primary`
405
+
406
+ #### Removed
407
+
408
+ - Custom slotted CSS for mostly all components. Equivalent styles are now provided by `getInitialStyles()` partial
409
+ instead.
410
+ - `applyNormalizeStyles` option from `getInitialStyles()` partial which is applied by default now.
411
+
412
+ ### [2.20.0] - 2023-02-06
413
+
12
414
  ### [2.20.0-rc.1] - 2023-02-06
13
415
 
14
416
  ### [2.20.0-rc.0] - 2023-01-30
@@ -923,9 +1325,7 @@ supporting `:focus-visible` otherwise it will fallback to `:focus` CSS implement
923
1325
 
924
1326
  Color and outline of general focus styling has changed to `currentColor` for light/dark theme with an outline of 1px
925
1327
  width/offset. If you have custom components build with the usage of our `@porsche-design-system/utilities` package then
926
- update it to the latest version (we also provide a focus
927
- [SCSS mixin](https://designsystem.porsche.com/latest/utilities/scss/functions) and
928
- [JS function](https://designsystem.porsche.com/latest/utilities/js/functions)).
1328
+ update it to the latest version.
929
1329
 
930
1330
  #### Improved geometry of Porsche Next font
931
1331
 
@@ -1,4 +1,4 @@
1
- import type { AccordionChangeEvent, BreakpointCustomizable, AccordionSize, HeadlineTag, ThemeExtendedElectric } from '../types';
1
+ import type { AccordionChangeEvent, 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.
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
23
23
  /**
24
24
  * Adapts the color when used on dark background.
25
25
  */
26
- theme?: "light" | "dark" | "light-electric" | undefined;
26
+ theme?: "light" | "dark" | undefined;
27
27
  }>, {
28
28
  size: string;
29
29
  tag: string;
@@ -54,7 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
54
54
  /**
55
55
  * Adapts the color when used on dark background.
56
56
  */
57
- theme?: "light" | "dark" | "light-electric" | undefined;
57
+ theme?: "light" | "dark" | undefined;
58
58
  }>, {
59
59
  size: string;
60
60
  tag: string;
@@ -63,8 +63,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
63
63
  onAccordionChange?: ((value: AccordionChangeEvent) => any) | undefined;
64
64
  }, {
65
65
  size: BreakpointCustomizable<AccordionSize>;
66
- tag: HeadlineTag;
67
- theme: ThemeExtendedElectric;
66
+ tag: AccordionTag;
67
+ theme: Theme;
68
68
  }>, {
69
69
  default: (_: {}) => any;
70
70
  }>;
@@ -4,7 +4,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
4
4
  /**
5
5
  * State of the banner.
6
6
  */
7
- state?: "warning" | "error" | "neutral" | undefined;
7
+ state?: "warning" | "error" | "info" | "neutral" | undefined;
8
8
  /**
9
9
  * Adapts the banner color depending on the theme.
10
10
  */
@@ -25,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
25
25
  /**
26
26
  * State of the banner.
27
27
  */
28
- state?: "warning" | "error" | "neutral" | undefined;
28
+ state?: "warning" | "error" | "info" | "neutral" | undefined;
29
29
  /**
30
30
  * Adapts the banner color depending on the theme.
31
31
  */
@@ -1,31 +1,31 @@
1
1
  import { defineComponent as p, ref as d, onMounted as f, onUpdated as l, openBlock as i, createBlock as m, resolveDynamicComponent as u, unref as c, withCtx as _, renderSlot as C } from "vue";
2
2
  import { getPrefixedTagName as h, syncProperties as n, addEventListenerToElementRef as v } from "../../utils.js";
3
- const b = /* @__PURE__ */ p({
3
+ const B = /* @__PURE__ */ p({
4
4
  __name: "BannerWrapper",
5
5
  props: {
6
6
  persistent: { type: Boolean, default: !1 },
7
- state: { default: "neutral" },
7
+ state: { default: "info" },
8
8
  theme: { default: "light" },
9
- width: { default: "basic" }
9
+ width: { default: "extended" }
10
10
  },
11
11
  emits: ["dismiss"],
12
- setup(o, { emit: a }) {
13
- const t = o, r = h("p-banner"), e = d();
12
+ setup(o, { emit: r }) {
13
+ const t = o, s = h("p-banner"), e = d();
14
14
  return f(() => {
15
- n(e.value, t), v(e.value, "dismiss", a);
15
+ n(e.value, t), v(e.value, "dismiss", r);
16
16
  }), l(() => {
17
17
  n(e.value, t);
18
- }), (s, g) => (i(), m(u(c(r)), {
18
+ }), (a, g) => (i(), m(u(c(s)), {
19
19
  ref_key: "pdsComponentRef",
20
20
  ref: e
21
21
  }, {
22
22
  default: _(() => [
23
- C(s.$slots, "default")
23
+ C(a.$slots, "default")
24
24
  ]),
25
25
  _: 3
26
26
  }, 512));
27
27
  }
28
28
  });
29
29
  export {
30
- b as default
30
+ B as default
31
31
  };
@@ -1,4 +1,4 @@
1
- import type { BreakpointCustomizable, AlignLabel, SelectedAriaAttributes, LinkButtonPureIconName, TextSize, ThemeExtendedElectricDark, ButtonType, TextWeight } from '../types';
1
+ import type { BreakpointCustomizable, AlignLabel, SelectedAriaAttributes, LinkButtonIconName, TextSize, Theme, ButtonType, TextWeight } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Display button in active state.
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
23
23
  /**
24
24
  * The icon shown.
25
25
  */
26
- icon?: LinkButtonPureIconName | undefined;
26
+ icon?: LinkButtonIconName | undefined;
27
27
  /**
28
28
  * A URL path to a custom icon.
29
29
  */
@@ -35,28 +35,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
35
35
  /**
36
36
  * Size of the button.
37
37
  */
38
- size?: BreakpointCustomizable<"x-small" | "small" | "medium" | "large" | "x-large" | "inherit"> | undefined;
38
+ size?: BreakpointCustomizable<"inherit" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
39
39
  /**
40
40
  * Stretches the area between icon and label to max available space.
41
41
  */
42
42
  stretch?: BreakpointCustomizable<boolean> | undefined;
43
- /**
44
- * To remove the element from tab order.
45
- * @deprecated since v2.8.0, use `tabindex="-1"` instead
46
- */
47
- tabbable?: boolean | undefined;
48
43
  /**
49
44
  * Adapts the button color depending on the theme.
50
45
  */
51
- theme?: "light" | "dark" | "light-electric" | "dark-electric" | undefined;
46
+ theme?: "light" | "dark" | undefined;
52
47
  /**
53
48
  * Specifies the type of the button.
54
49
  */
55
50
  type?: "reset" | "button" | "submit" | undefined;
56
51
  /**
57
52
  * The weight of the text (only has effect with visible label).
53
+ * @deprecated since v3.0.0, will be removed with next major release
58
54
  */
59
- weight?: "thin" | "regular" | "semibold" | "bold" | undefined;
55
+ weight?: "thin" | "regular" | "semibold" | "semi-bold" | "bold" | undefined;
60
56
  }>, {
61
57
  active: boolean;
62
58
  alignLabel: string;
@@ -66,7 +62,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
66
62
  loading: boolean;
67
63
  size: string;
68
64
  stretch: boolean;
69
- tabbable: boolean;
70
65
  theme: string;
71
66
  type: string;
72
67
  weight: string;
@@ -94,7 +89,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
94
89
  /**
95
90
  * The icon shown.
96
91
  */
97
- icon?: LinkButtonPureIconName | undefined;
92
+ icon?: LinkButtonIconName | undefined;
98
93
  /**
99
94
  * A URL path to a custom icon.
100
95
  */
@@ -106,28 +101,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
106
101
  /**
107
102
  * Size of the button.
108
103
  */
109
- size?: BreakpointCustomizable<"x-small" | "small" | "medium" | "large" | "x-large" | "inherit"> | undefined;
104
+ size?: BreakpointCustomizable<"inherit" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
110
105
  /**
111
106
  * Stretches the area between icon and label to max available space.
112
107
  */
113
108
  stretch?: BreakpointCustomizable<boolean> | undefined;
114
- /**
115
- * To remove the element from tab order.
116
- * @deprecated since v2.8.0, use `tabindex="-1"` instead
117
- */
118
- tabbable?: boolean | undefined;
119
109
  /**
120
110
  * Adapts the button color depending on the theme.
121
111
  */
122
- theme?: "light" | "dark" | "light-electric" | "dark-electric" | undefined;
112
+ theme?: "light" | "dark" | undefined;
123
113
  /**
124
114
  * Specifies the type of the button.
125
115
  */
126
116
  type?: "reset" | "button" | "submit" | undefined;
127
117
  /**
128
118
  * The weight of the text (only has effect with visible label).
119
+ * @deprecated since v3.0.0, will be removed with next major release
129
120
  */
130
- weight?: "thin" | "regular" | "semibold" | "bold" | undefined;
121
+ weight?: "thin" | "regular" | "semibold" | "semi-bold" | "bold" | undefined;
131
122
  }>, {
132
123
  active: boolean;
133
124
  alignLabel: string;
@@ -137,7 +128,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
137
128
  loading: boolean;
138
129
  size: string;
139
130
  stretch: boolean;
140
- tabbable: boolean;
141
131
  theme: string;
142
132
  type: string;
143
133
  weight: string;
@@ -145,15 +135,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
145
135
  weight: TextWeight;
146
136
  stretch: BreakpointCustomizable<boolean>;
147
137
  size: BreakpointCustomizable<TextSize>;
148
- theme: ThemeExtendedElectricDark;
138
+ theme: Theme;
149
139
  type: ButtonType;
150
140
  active: boolean;
151
141
  alignLabel: BreakpointCustomizable<AlignLabel>;
152
142
  disabled: boolean;
153
143
  hideLabel: BreakpointCustomizable<boolean>;
154
- icon: LinkButtonPureIconName;
144
+ icon: LinkButtonIconName;
155
145
  loading: boolean;
156
- tabbable: boolean;
157
146
  }>, {
158
147
  default: (_: {}) => any;
159
148
  }>;
@@ -1,6 +1,6 @@
1
- import { defineComponent as r, ref as u, onMounted as f, onUpdated as d, openBlock as p, createBlock as s, resolveDynamicComponent as i, unref as c, withCtx as m, renderSlot as g } from "vue";
1
+ import { defineComponent as r, ref as f, onMounted as u, onUpdated as d, openBlock as p, createBlock as s, resolveDynamicComponent as i, unref as c, withCtx as m, renderSlot as g } from "vue";
2
2
  import { getPrefixedTagName as h, syncProperties as a } from "../../utils.js";
3
- const _ = /* @__PURE__ */ r({
3
+ const B = /* @__PURE__ */ r({
4
4
  __name: "ButtonPureWrapper",
5
5
  props: {
6
6
  active: { type: Boolean, default: !1 },
@@ -8,23 +8,22 @@ const _ = /* @__PURE__ */ r({
8
8
  aria: null,
9
9
  disabled: { type: Boolean, default: !1 },
10
10
  hideLabel: { default: !1 },
11
- icon: { default: "arrow-head-right" },
11
+ icon: { default: "arrow-right" },
12
12
  iconSource: null,
13
13
  loading: { type: Boolean, default: !1 },
14
14
  size: { default: "small" },
15
15
  stretch: { default: !1 },
16
- tabbable: { type: Boolean, default: !0 },
17
16
  theme: { default: "light" },
18
17
  type: { default: "submit" },
19
18
  weight: { default: "regular" }
20
19
  },
21
20
  setup(o) {
22
- const t = o, l = h("p-button-pure"), e = u();
23
- return f(() => {
21
+ const t = o, l = h("p-button-pure"), e = f();
22
+ return u(() => {
24
23
  a(e.value, t);
25
24
  }), d(() => {
26
25
  a(e.value, t);
27
- }), (n, b) => (p(), s(i(c(l)), {
26
+ }), (n, y) => (p(), s(i(c(l)), {
28
27
  ref_key: "pdsComponentRef",
29
28
  ref: e
30
29
  }, {
@@ -36,5 +35,5 @@ const _ = /* @__PURE__ */ r({
36
35
  }
37
36
  });
38
37
  export {
39
- _ as default
38
+ B as default
40
39
  };