@porsche-design-system/components-vue 3.15.0-rc.3 → 3.15.0-rc.5
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
CHANGED
|
@@ -14,6 +14,42 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
14
14
|
|
|
15
15
|
### [Unreleased]
|
|
16
16
|
|
|
17
|
+
### [3.15.0-rc.5] - 2024-05-16
|
|
18
|
+
|
|
19
|
+
#### Added
|
|
20
|
+
|
|
21
|
+
- `Button Pure`: Prop `underline` to show an underline for the label
|
|
22
|
+
([#3212](https://github.com/porsche-design-system/porsche-design-system/pull/3212))
|
|
23
|
+
|
|
24
|
+
#### Changed
|
|
25
|
+
|
|
26
|
+
- Banner: Refactor Banner to use native `popover`
|
|
27
|
+
([#3196](https://github.com/porsche-design-system/porsche-design-system/pull/3196))
|
|
28
|
+
|
|
29
|
+
#### Fixed
|
|
30
|
+
|
|
31
|
+
- `aria` property now supports escaped single quotes inside JSON strings, e.g.
|
|
32
|
+
`aria="{ 'aria-label': 'You can\'t do that? yes you can!' }"`
|
|
33
|
+
([#3217](https://github.com/porsche-design-system/porsche-design-system/pull/3217))
|
|
34
|
+
|
|
35
|
+
### [3.15.0-rc.4] - 2024-05-06
|
|
36
|
+
|
|
37
|
+
#### Added
|
|
38
|
+
|
|
39
|
+
- Partials: Added new partial `getFontFaceStyles` which returns an inline style containing all font-face definitions.
|
|
40
|
+
([#3188](https://github.com/porsche-design-system/porsche-design-system/pull/3188))
|
|
41
|
+
|
|
42
|
+
#### Changed
|
|
43
|
+
|
|
44
|
+
- Partials: Partial `getFontFaceStylesheet` is deprecated and will be removed with the next major release. Use the
|
|
45
|
+
`getFontFaceStyles` partial instead, which directly returns a `<style>` tag containing all font-face definitions and
|
|
46
|
+
can be used in the same way. ([#3188](https://github.com/porsche-design-system/porsche-design-system/pull/3188))
|
|
47
|
+
|
|
48
|
+
```diff
|
|
49
|
+
- getFontFaceStylesheet()
|
|
50
|
+
+ getFontFaceStyles()
|
|
51
|
+
```
|
|
52
|
+
|
|
17
53
|
### [3.15.0-rc.3] - 2024-04-23
|
|
18
54
|
|
|
19
55
|
#### Fixed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),t=require("../../utils.cjs"),
|
|
1
|
+
"use strict";const e=require("vue"),t=require("../../utils.cjs"),f=e.defineComponent({__name:"ButtonPureWrapper",props:{active:{type:Boolean,default:!1},alignLabel:{default:"end"},aria:{},disabled:{type:Boolean,default:!1},hideLabel:{default:!1},icon:{default:"arrow-right"},iconSource:{},loading:{type:Boolean,default:!1},name:{},size:{default:"small"},stretch:{default:!1},theme:{},type:{default:"submit"},underline:{type:Boolean,default:!1},value:{},weight:{default:"regular"}},setup(s){const u=t.usePrefix("p-button-pure"),n=s,o=e.ref(),l=e.inject(t.themeInjectionKey),r=()=>t.syncProperties(o,{...n,theme:n.theme||l.value});return e.onMounted(r),e.onUpdated(r),e.watch(l,a=>{t.syncProperties(o,{theme:n.theme||a})}),(a,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(u)),{ref_key:"pdsComponentRef",ref:o},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},512))}});module.exports=f;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const k = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as s, ref as u, inject as p, onMounted as d, onUpdated as c, watch as i, openBlock as m, createBlock as h, resolveDynamicComponent as y, unref as B, withCtx as _, renderSlot as b } from "vue";
|
|
2
|
+
import { usePrefix as g, themeInjectionKey as C, syncProperties as l } from "../../utils.mjs";
|
|
3
|
+
const k = /* @__PURE__ */ s({
|
|
4
4
|
__name: "ButtonPureWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
active: { type: Boolean, default: !1 },
|
|
@@ -16,19 +16,20 @@ const k = /* @__PURE__ */ f({
|
|
|
16
16
|
stretch: { default: !1 },
|
|
17
17
|
theme: {},
|
|
18
18
|
type: { default: "submit" },
|
|
19
|
+
underline: { type: Boolean, default: !1 },
|
|
19
20
|
value: {},
|
|
20
21
|
weight: { default: "regular" }
|
|
21
22
|
},
|
|
22
23
|
setup(r) {
|
|
23
|
-
const
|
|
24
|
+
const f = g("p-button-pure"), e = r, t = u(), a = p(C), n = () => l(t, { ...e, theme: e.theme || a.value });
|
|
24
25
|
return d(n), c(n), i(a, (o) => {
|
|
25
26
|
l(t, { theme: e.theme || o });
|
|
26
|
-
}), (o, w) => (m(), h(y(
|
|
27
|
+
}), (o, w) => (m(), h(y(B(f)), {
|
|
27
28
|
ref_key: "pdsComponentRef",
|
|
28
29
|
ref: t
|
|
29
30
|
}, {
|
|
30
|
-
default:
|
|
31
|
-
|
|
31
|
+
default: _(() => [
|
|
32
|
+
b(o.$slots, "default")
|
|
32
33
|
]),
|
|
33
34
|
_: 3
|
|
34
35
|
}, 512));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-vue",
|
|
3
|
-
"version": "3.15.0-rc.
|
|
3
|
+
"version": "3.15.0-rc.5",
|
|
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.15.0-rc.
|
|
20
|
+
"@porsche-design-system/components-js": "3.15.0-rc.5"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"vue": ">=3.0.0 <4.0.0"
|